Hey, I just have trouble adding a object specific time trend with the plm-package. I recieve the following error: * **"Error in model.frame.default(terms(formula, lhs = lhs, rhs = rhs, data = data, : invalid type for the variable 'time' "*
I used the formula: / FE_trend<- plm(log(revenue) ~ log(supply)+ city*time, data=R_Test_log_Neu, model="within", effect = "twoways") // / Do you have an idea how to fix it? Toby [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.