xtife - Interactive Fixed Effects Estimator for Panel Data
Implements the interactive fixed effects ('IFE') panel
estimator of Bai (2009) <doi:10.3982/ECTA6135> with analytical
standard errors ('homoskedastic', 'HC1' robust, and
cluster-robust by unit). Supports asymptotic bias correction
for large panels (Bai 2009) and a dynamic extension for
predetermined regressors (Moon and Weidner 2017
<doi:10.1017/S0266466615000328>). Includes
information-criterion-based factor number selection (Bai and Ng
2002 <doi:10.1111/1468-0262.00273>). Also implements an
unbalanced panel extension using the expectation-maximisation
algorithm of Bai (2009) with exact inferential statistics from
Su, Wang and Wang (2025) <doi:10.2139/ssrn.5177283>, including
nuclear-norm regularisation initialisation, singular value
thresholding for factor number selection, and analytical bias
correction for both strictly and weakly exogenous regressors.
All computations use base R only with no external dependencies.