pwtest(x, data, effect = c("individual","time"), index = NULL, ...)
"formula"
,data.frame
"individual"
or "time"
data.frame
,"htest"
.effect="individual"
, which is the most
likely usage. If effect="time"
, symmetrically, the test relies on
T-asymptotics and has power against time effects and, more generally,
against cross-sectional correlation.pbltest
, pbgtest
, pdwtest
for tests for serial
correlation in panel models. plmtest
for tests for random
effects.data("Produc", package="Ecdat")
pwtest(log(gsp)~log(pcap)+log(pc)+log(emp)+unemp, data=Produc)
Run the code above in your browser using DataLab