pamfe-package {pamfe} | R Documentation |
Fits additive panel data models with fixed effects via a first-difference transformation and estimates simultaneous confidence bands.
As described in Puetz and Kneib (2016), the mixed model representation of penalized splines is used as it enables both smoothing parameter estimation and inferences via simultaneous confidence bands. So far, only the first-difference transformation for removing fixed effects from the corresponding panel data model is supported. Further, only gaussian responses, homoscedastic error terms without autocorrelation are supported. The estimation of additive panel data models with fixed effects (pam
) is based on the gam
function from package mgcv
and the plm
function from package plm
. The estimation of simultaneous confidence bands (scb
) uses the scbM
function from package AdaptFitOS
. For details of the underlying statistical concepts, see Puetz and Kneib (2016), Wood (2006) and Wiesenfarth et. al (2012).
Peter Puetz
Maintainer: Peter Puetz <ppuetz@uni-goettingen.de>
Puetz, P., Kneib, T. (2016). A Penalized Spline Estimator For Fixed Effects Panel Data Models. https://www.uni-goettingen.de/de/Puetz_03_2016/534166.html
Wiesenfarth, M., Krivobokova, T., Klasen, S., Sperlich, S. (2012). Direct Simultaneous Inference in Additive Models and its Application to Model Undernutrition. Journal of the American Statistical Association, 107(500): 1286-1296.
Wood, S.N. (2006). Generalized Additive Models: An Introduction with R. Chapman & Hall/CRC.