Displaying 1 result from an estimated 1 matches for "earn_plm".
2009 Apr 25
2
plm Hausman-Taylor model
...# STATA results in Sec 2 of: folk.uio.no/erikbi/ECON5120_H07_Note19.pdf
R> library("foreign")
R> fulldat <- read.dta("~/Desktop/psidextract.dta")
R> library("plm")
R>
R> fulldat.plm = plm.data(fulldat,index=c("id","t"))
R>
R> earn_plm <- plm(lwage~ occ+ south+ smsa+ ind+ exp+ exp2+ wks+
+ ms+ union+ fem+ blk+ ed | exp+ exp2+ wks+ ms+ union+ ed,
+ data = fulldat.plm,model="ht")
Error in names(result) <- nf : attempt to set an attribute on NULL
I have tried several variations and so...