Learn R Programming

plm (version 1.2-1)

pccep: Common Correlated Effects Pooled estimator

Description

Common Corrleated Effects Pooled (CCEP) estimator for panel data with common factors (balanced or unbalanced)

Usage

pccep(formula, data, subset, na.action,
 residuals = c("standard", "cce","ccemg"),
 index = NULL, trend = FALSE, ...)
## S3 method for class 'pccep':
summary(object, ...)
## S3 method for class 'summary.pccep':
print(x,digits = max(3, getOption("digits") -
2), width = getOption("width"),...)

Arguments

formula
a symbolic description of the model to be estimated,
object, x
an object of class pccep,
data
a data.frame,
subset
see lm,
na.action
see lm,
residuals
one of c("standard", "cce","ccemg"), allows for returning different inds of residuals for diagnostic purposes,
index
the indexes, see plm.data,
trend
logical specifying whether an individual-specific trend has to be included,
digits
digits,
width
the maximum length of the lines in the print output,
...
further arguments.

Value

  • An object of class c("pccep","panelmodel") containing:
  • coefficientsthe vector of coefficients,
  • residualsthe vector of residuals,
  • fitted.valuesthe vector of fitted.values,
  • vcovthe covariance matrix of the coefficients,
  • df.residualdegrees of freedom of the residuals,
  • modela data.frame containing the variables used for the estimation,
  • callthe call,
  • sigmaalways NULL, sigma is here only for conmpatibility reasons (to allow using the same summary and print methods as pggls),
  • indcoefthe matrix of individual coefficients from separate time series regressions.

Details

pccep is a function for the estimation of linear panel models by the Common Correlated Effects Pooled estimator, consistent under the hypothesis of unobserved common factors and idiosyncratic factor loadings; the CCEP estimator works by augmenting the model by cross-sectional averages of the dependent variable and regressors in order to account for the common factors, and adding individual intercepts and possibly trends.

References

G. Kapetanios, M. Hashem Pesaran, T. Yamagata (2011), Panels with non-stationary multifactor error structures, Journal of Econometrics, 160(2), 326--348.

Examples

Run this code
data("Produc", package = "plm")
ccepmod <- pccep(log(gsp) ~ log(pcap) + log(pc) + log(emp) + unemp, data = Produc)
summary(ccepmod)

Run the code above in your browser using DataLab