I recently changed from STATA to R and somehow tried to find some relevant commands. I would like to get standard panel errors downloaded from the Fixed Effect model using the plm library as described here for plm users here :
First enter some panel data:
library(plm) data(EmplUK) # from plm library test<-function(data, i) coef(plm(wage~emp+sector,data = data[i,], index=c("firm","year"),model="within"))
Secondly:
library(boot) boot<-boot(EmplUK, test, R = 100) > boot<-boot(EmplUK, test, R = 100) duplicate couples (time-id) Error in pdim.default(index[[1]], index[[2]]) : Called from: top level Browse[1]>
user3833190
source share