ercomp(object, ...)
## S3 method for class 'formula':
ercomp(object, data, effect = c("individual", "time", "twoways"),
method = c("swar", "walhus", "amemiya", "nerlove"),
index = NULL, ...)
## S3 method for class 'plm':
ercomp(object, ...)formula or a plm object,data.frame,lm for details,lm for details,"ercomp": a list containing a list called
sigma2 which contains the estimation of the components of the
variance of the errors, and theta which is the parameters used
for the transformation of the variables.Nerlove, M. (1971) Further evidence on the estimation of dynamic economic relations from a time--series of cross--sections, Econometrica, 39, pp.359--382.
Swamy, P.A.V.B. and Arora, S.S. (1972) The exact finite sample properties of the estimators of coefficients in the error components regression models, Econometrica, 40, pp.261--275.
Wallace, T.D. and Hussain, A. (1969) The use of error components models in combining cross section with time series data, Econometrica, 37(1), pp.55--72.
plm where the estimation of the components of the
variance of the errors are used