Re: [R] restricted coefficient and factor in linear regression.

2008-06-15 Thread Paul Johnson
On Sat, Jun 14, 2008 at 7:49 AM, Oh Dong-hyun <[EMAIL PROTECTED]> wrote: > Hi, > > my data set is data.frame(id, yr, y, l, e, k). > > I would like to estimate Lee and Schmidts (1993, OUP) model in R. > > My colleague wrote SAS code as follows: > ** procedures for creating dummy variables are omitte

[R] restricted coefficient and factor in linear regression.

2008-06-14 Thread Oh Dong-hyun
Hi, my data set is data.frame(id, yr, y, l, e, k). I would like to estimate Lee and Schmidts (1993, OUP) model in R. My colleague wrote SAS code as follows: ** procedures for creating dummy variables are omitted ** ** di# and dt# are dummy variables for industry and time ** data a2; merge a1 a2