| DPPC | R Documentation |
Estimates a covariance matrix using a distributed projection principal component method. Local loading matrices are aligned using singular value decomposition before aggregation.
DPPC(data, m, n1, K)
data |
A numeric matrix or data frame with observations in rows and variables in columns. |
m |
A positive integer specifying the number of principal components. |
n1 |
An integer specifying the sample size of each local subset. |
K |
A positive integer specifying the number of local subsets. |
Abarpro, Dbarpro, Sigmahatbarpro.
set.seed(123)
n <- 100; p <- 10; m <- 3
F <- matrix(rnorm(n * m), nrow = n, ncol = m)
A <- matrix(runif(p * m, -1, 1), nrow = p, ncol = m)
E <- matrix(rnorm(n * p, sd = 0.5), nrow = n, ncol = p)
X <- F %*% t(A) + E
fit <- DPPC(data = X, m = 3, n1 = 50, K = 2)
dim(fit$Abarpro)
dim(fit$Dbarpro)
dim(fit$Sigmahatbarpro)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.