search for: regaccdis

Displaying 2 results from an estimated 2 matches for "regaccdis".

2009 May 29
1
save plm coefficients
Hi R-helpers, I want to determine the coefficients of the following regression for several subsets, and I want to save it in a dataframe: The data is in ?regaccdis?, ?regaccdis$caedois? is the column that defines the subsets and the function I have runned is coef(plm(ff,data=regaccdis,na.action=na.omit,model="pooling",subset=(regaccdis$caedois==i))) I?ve created a dataframe named ?coef? to store the coefficients like this : caedois...
2009 May 29
1
error message in plm
Hi everyone, Could anyone tell me what means the follow error message Error in xj[i] : invalid subscript type 'closure' It happens when I run the function plm, like this: >ff<-totaccz~lactivoz+varvolnegz >ss<-plm(ff,data=regaccdis,na.omit) Error in xj[i] : invalid subscript type 'closure' > coef(ss) (Intercept) lactivoz varvolnegz 0.02571212 6.94227541 0.10340165 Thank you, Cec?lia (Universidade de Aveiro - Portugal)