Re: [R] Help me improving my code

2009-10-31 Thread David Winsemius
This is rather obviously homework, and you have not read the Posting Guide, and you have not addressed the question of academic integrity policies that are probably in force at your university. -- David On Oct 31, 2009, at 1:30 PM, md. jakir hussain talukdar wrote: Hi, I am new to R. My pr

[R] Help me improving my code

2009-10-31 Thread md. jakir hussain talukdar
Hi, I am new to R. My problem is with the ordered logistic model. Here is my question: Generate an order discrete variable using the variable wrwage1 = wages in first full calendar quarter after benefit application in the following way: * wage*1*Ordered *= 1 *if*0 *ยท wrwage*1 *< *1000 2 *if