Last chance! 50% off unlimited learning
Sale ends in
pooltest(plms,nopool=NULL,effect=FALSE)
"plms"
,"nopool"
(if the plms
object does not contain any "nopool"
model,TRUE
the nopool
model is compared to
the within
model, if FALSE
to the pooling
model."htest"
.pooltest
is a F test of stability (or Chow
test) for the coefficients of a panel model.library(Ecdat)
data(Gasoline)
Gasoline <- pdata.frame(Gasoline,"country","year")
form <- lgaspcar~lincomep+lrpmg+lcarpcap
gas <- plm(form,data=Gasoline,np=TRUE)
pooltest(gas)
pooltest(gas,effect=TRUE)
Run the code above in your browser using DataLab