Chamberlain estimator and test for fixed effects
General estimator useful for testing the within specification
piest(formula, data, subset, na.action, index = NULL, robust = TRUE, ...) ## S3 method for class 'piest' print(x, ...) ## S3 method for class 'piest' summary(object, ...) ## S3 method for class 'summary.piest' print(x, ...)
formula |
a symbolic description for the model to be estimated, |
data |
a |
subset |
see |
na.action |
see |
index |
the indexes, |
robust |
if |
... |
further arguments. |
object, x |
an object of class |
The Chamberlain method consists on using the covariates of all the periods as regressors. It allows to test the within specification.
An object of class "piest"
.
Yves Croissant
Chamberlain G (1982). “Multivariate regression models for panel data.” Journal of Econometrics, 18, 5–46.
data("RiceFarms", package = "plm") pirice <- piest(log(goutput) ~ log(seed) + log(totlabor) + log(size), RiceFarms, index = "id") summary(pirice)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.