Hi everyone, I'm doing a panel data analisys and I want to run three
estimation methods against my available dataset:pooled OLS, random and fixed
effects. I have 9 individuals and 5 observation for each individual. this is
my code,what's wrong?

X <- cbind(y,x)
X <-data.frame(X)
ooo<-pdata.frame(X,9)
vedo<-plm(y~x, data=ooo)

and this is the error:
Errore in X.m[, coef.within, drop = F] : numero di dimensione errato
thanks

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to