Skip to content
Prev 181899 / 398513 Next

save plm coefficients

I'm not sure what you are asking, especially since I do not have 
access to "regaccdis". However, will something like the following do 
what you want?


caeLvls <- c(1, 5, 10)
for(i in 1:3)
coef[i,2:4] <- 
coef(plm(ff,data=regaccdis,na.action=na.omit,model="pooling",subset=(regaccdis$caedois==caeLvls[i]))) 



If this does NOT answer your question, PLEASE do read the posting guide 
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Hope this helps.
Spencer
Cecilia Carmo wrote: