Re: [R] Heckman Selection MOdel Help in R

2009-07-13 Thread Arne Henningsen
On Mon, Jul 13, 2009 at 4:26 PM, saurav pathak wrote: > I am using R 2.9.1, That's good! > I am not sure about the version of sampleSelection and maxLik This is important! Please check the version numbers, e.g. with R> help(package="maxLik") R> help(package="sampleSelection") BTW: Did you insta

Re: [R] Heckman Selection MOdel Help in R

2009-07-13 Thread Arne Henningsen
On Mon, Jul 13, 2009 at 11:18 AM, Pathak, Saurav wrote: > Dear Arne > I have gone through the paper and I have tried it at my end, I would really > appreciate if you could address the following: > > 1. Based upon your suggestion I used the following: > > regmod2 <- selection(s ~ age + gender + gem

Re: [R] Heckman Selection MOdel Help in R

2009-07-12 Thread Arne Henningsen
Hi Saurav! On Sun, Jul 12, 2009 at 6:06 PM, Pathak, Saurav wrote: > I am new to R, I have to do a 2 step Heckman model, my selection equation is > below which I was successful in running but I am unable to proceed further, > > > > I have so far used the following command > > glm(formula = s ~ age