Last chance! 50% off unlimited learning
Sale ends in
pooltest(x, ...)
## S3 method for class 'plm':
pooltest(x, z, ...)
## S3 method for class 'formula':
pooltest(x, data, ...)
"plm"
,"pvcm"
obtained with
model="within"
,data.frame
,"htest"
.pooltest
is an F test of stability (or Chow test) for the coefficients of a panel model. The estimated plm
object should be a "pooling"
model or a "within"
model (the default); intercepts are assumed to be identical in the first case and different in the second case.data("Gasoline", package = "plm")
form <- lgaspcar ~ lincomep + lrpmg + lcarpcap
gasw <- plm(form, data = Gasoline, model = "within")
gasp <- plm(form, data = Gasoline, model = "pooling")
gasnp <- pvcm(form, data = Gasoline, model = "within")
pooltest(gasw, gasnp)
pooltest(gasp, gasnp)
pooltest(form, data = Gasoline, effect = "individual", model = "within")
pooltest(form, data = Gasoline, effect = "individual", model = "pooling")
Run the code above in your browser using DataLab