| tp_apc | R Documentation | 
tp_apc imputes the missing values in a given panel data using the
method of "Tall-Project".
tp_apc(X, kmax, center = FALSE, standardize = FALSE, re_estimate = TRUE)
X | 
 a matrix of size T by N with missing values.  | 
kmax | 
 integer, indicating the maximum number of factors.  | 
center | 
 logical, indicating whether or not X should be demeaned  | 
standardize | 
 logical, indicating whether or not X should be scaled.  | 
re_estimate | 
 logical, indicating whether or not output factors, 'Fhat', 'Lamhat', 'Dhat', and 'Chat', should be re-estimated from the imputed data.  | 
a list of elements:
Fhat | 
 estimated F  | 
Lamhat | 
 estimated Lambda  | 
Dhat | 
 estimated D  | 
Chat | 
 euqals Fhat x Lamhat'  | 
ehat | 
 equals Xhat - Chat  | 
data | 
 X with missing data imputed  | 
X | 
 the original data with missing values  | 
kmax | 
 the maximum number of factors  | 
center | 
 logical, indicating whether or not X was demeaned in the algorithm  | 
standardize | 
 logical, indicating whether or not X was scaled in the algorithm  | 
re_estimate | 
 logical, indicating whether or not output factors, 'Fhat', 'Lamhat', 'Dhat', and 'Chat', were re-estimated from the imputed data  | 
Yankang (Bennie) Chen <yankang.chen@yale.edu>
Serena Ng <serena.ng@columbia.edu>
Jushan Bai <jushan.bai@columbia.edu>
Ercument Cahan, Jushan Bai, and Serena Ng (2021), Factor-Based Imputation of Missing Values and Covariances in Panel Data of Large Dimensions. https://arxiv.org/abs/2103.03045
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.