POET: Projection-on-Orthogonal-Complement Estimation and...

View source: R/POET.R

POETR Documentation

Projection-on-Orthogonal-Complement Estimation and Transformation

Description

Projection-on-Orthogonal-Complement Estimation and Transformation

Usage

POET(X, r.max = 10, delta = 0.01, eps = 1e-08)

Arguments

X

A numeric n by p data matrix, with observations in rows and variables in columns.

r.max

A positive integer specifying the maximum number of factors considered for selection. The effective upper bound is limited by the sample size and number of variables.

delta

A non-negative numeric value added to the diagonal of the residual covariance estimate. Default is 0.01.

eps

A positive numeric tolerance used to stabilize eigenvalue-based calculations and residual variances. Default is 1e-8.

Value

Ahat, Dhat, Sigmahat, Fhat.

References

Fan, J., Liao, Y. and Mincheva, M. (2013). Large covariance estimation by thresholding principal orthogonal complements. Journal of the Royal Statistical Society: Series B, 75(4), 603–680.

Examples

set.seed(123)
n <- 100; p <- 10; r <- 3
F <- matrix(rnorm(n * r), nrow = n, ncol = r)
A <- matrix(runif(p * r, -1, 1), nrow = p, ncol = r)
E <- matrix(rnorm(n * p, sd = 0.5), nrow = n, ncol = p)
X <- F %*% t(A) + E
res <- POET(X = X, r.max = 5, delta = 0.01, eps = 1e-8)
dim(res$Sigmahat)
res$rhat
Sigma.true <- A %*% t(A) + diag(0.25, p)
MSESigma <- mean((res$Sigmahat - Sigma.true)^2)
MSESigma

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

Related to POET in CoFM...