DPPC: Distributed Projection Principal Component Method

View source: R/DPPC.R

DPPCR Documentation

Distributed Projection Principal Component Method

Description

Estimates a covariance matrix using a distributed projection principal component method. Local loading matrices are aligned using singular value decomposition before aggregation.

Usage

DPPC(data, m, n1, K)

Arguments

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.

Value

Abarpro, Dbarpro, Sigmahatbarpro.

Examples

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)


CoFM documentation built on Nov. 18, 2026, 5:08 p.m.

Related to DPPC in CoFM...