powered by
General estimator useful for testing the within specification
piest(formula, data, subset, na.action, index = NULL, robust = TRUE, ...)# S3 method for piest print(x, ...)# S3 method for piest summary(object, ...)# S3 method for summary.piest print( x, digits = max(3, getOption("digits") - 2), width = getOption("width"), subset = NULL, ... )
# S3 method for piest print(x, ...)
# S3 method for piest summary(object, ...)
# S3 method for summary.piest print( x, digits = max(3, getOption("digits") - 2), width = getOption("width"), subset = NULL, ... )
An object of class "piest".
"piest"
a symbolic description for the model to be estimated,
a data.frame,
data.frame
see lm(),
lm()
the indexes,
logical, if FALSE, the error is assumed to be spherical, if TRUE, a robust estimation of the covariance matrix is computed,
FALSE
TRUE
further arguments.
an object of class "piest" and of class "summary.piest" for the print method of summary for piest objects,
"summary.piest"
number of digits for printed output,
the maximum length of the lines in the printed output,
Yves Croissant
The Chamberlain method consists in using the covariates of all the periods as regressors. It allows to test the within specification.
CHAM:82plm
aneweytest()
data("RiceFarms", package = "plm") pirice <- piest(log(goutput) ~ log(seed) + log(totlabor) + log(size), RiceFarms, index = "id") summary(pirice)
Run the code above in your browser using DataLab