| FanPC.CoFM | R Documentation |
Perform FanPC (eigen-structure thresholding) on CoFM data to estimate loadings (AF), uniquenesses (DF) and their errors.
FanPC.CoFM(data, m, A, D, p)
data |
n×p data matrix (generated by |
m |
Number of latent factors. |
A |
True p×m loading matrix (for error evaluation). |
D |
True p×p uniqueness matrix (for error evaluation). |
p |
Number of variables. |
List with components
AF |
Estimated loadings. |
DF |
Estimated uniquenesses. |
MSESigmaA, MSESigmaD, LSigmaA, LSigmaD |
Error metrics (same definition as FanPC.SFM). |
library(copula); library(MASS)
X <- CoFM(n=1000, p=10, m=5, theta=2, distribution_type="Clayton")
res <- FanPC.CoFM(X$data, m=5, X$A, diag(diag(X$D)), p=10)
print(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.