Hi, I want to run a simple fixed effect with multiple variables but am struggeling because it keeps showing me the following error:
Error in pdata.frame(data, index) : variable pid does not exist (individual index)
Here ist my code, maybe someone can help me:
within = plm(gh_nsb ~ kinderanz + educ + netto + migfilter + migback + arefback, factor(syear), data="df.Final", index = c("pid", "syear"), modell="within")
unfortunatly I can't offer the dataset because it is quiet big.
Thanks in advance!