| PC.CoFM | R Documentation |
Classical PCA solution for CoFM data.
PC.CoFM(data, m, A, D)
data |
n×p data matrix. |
m |
Number of factors. |
A |
True p×m loading matrix. |
D |
True p×p uniqueness matrix. |
List with components
A2 |
Estimated loadings. |
D2 |
Estimated uniquenesses. |
MSESigmaA, MSESigmaD, LSigmaA, LSigmaD |
Error metrics. |
X <- CoFM(n=1000, p=10, m=5, theta=2, distribution_type="Gumbel")
res <- PC.CoFM(X$data, m=5, X$A, diag(diag(X$D)))
print(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.