tests/test_Evaluation.R

library(plm)
## testing whether parameters in variables work (bug by Ulrich Morawtz)
data("Produc", package="plm")
estimation_method <- "within"
estimation_effect <- "individual"
zz <- plm(log(gsp)~log(pcap)+log(pc)+log(emp)+unemp,
          data=Produc, 
          index=c("state","year"),
          model=estimation_method, 
          effect=estimation_effect
          )
print(summary(zz))

Try the plm package in your browser

Any scripts or data that you put into this service are public.

plm documentation built on Sept. 21, 2021, 3:01 p.m.