MSEpca | R Documentation |
Caculate the MSE value on PCA
MSEpca(V = V, X = X, n = n, p = p, m = m, K = K, L = L)
V |
is the right singular matrix |
X |
is the orignal data set |
n |
is the sample size |
p |
is the number of variables |
m |
is the number of eigenvalues |
K |
is the number of nodes |
L |
is the number of subgroups |
MSEpca |
the MSE value on PCA |
data(Application) X=Application n=nrow(Application);p=ncol(Application) m=5;L=4;K=4 DLPCA_result=DLPCA(X=X,n=n,p=p,m=m,K=K,L=L) V=DLPCA_result$V MSEpca_result=MSEpca(V=V,X=X,n=n,p=p,m=m,K=K,L=L) MSE_PCA=MSEpca_result$MSEpca
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.