Learn R Programming

DSFM (version 1.0.1)

DGulPC: Distributed Gul Principal Component Analysis

Description

Performs distributed Gul-type principal component analysis on a numeric dataset split across multiple nodes.

Usage

DGulPC(data, m, n1, K)

Value

A list with the following components:

AU1

List of estimated first-stage loading matrices for each node.

AU2

List of estimated second-stage loading matrices for each node.

DU3

List of diagonal residual variance matrices for each node.

shat

List of covariance matrices of reconstructed data for each node.

Arguments

data

A numeric matrix containing the total dataset.

m

An integer specifying the number of principal components for the first stage.

n1

An integer specifying the length of each data subset.

K

An integer specifying the number of nodes.

Examples

Run this code
set.seed(123)
data <- matrix(rnorm(500), nrow = 100, ncol = 5)
DGulPC(data = data, m = 3, n1 = 20, K = 5)

Run the code above in your browser using DataLab