PPC1_TFM {TFM} | R Documentation |
Projected Principal Component Analysis
Description
This function computes Projected Principal Component Analysis (PPC) for the provided input data, estimating factor loadings and uniquenesses. It calculates mean squared errors and loss metrics for the estimated values compared to true values.
Usage
PPC1_TFM(x, m, A, D, p)
Arguments
x |
A matrix of input data. |
m |
The number of principal components to extract (integer). |
A |
The true factor loadings matrix (matrix). |
D |
The true uniquenesses matrix (matrix). |
p |
The number of variables (integer). |
Value
A list containing:
Ap |
Estimated factor loadings. |
Dp |
Estimated uniquenesses. |
MSESigmaA |
Mean squared error for factor loadings. |
MSESigmaD |
Mean squared error for uniquenesses. |
LSigmaA |
Loss metric for factor loadings. |
LSigmaD |
Loss metric for uniquenesses. |
Examples
## Not run:
library(MASS)
library(relliptical)
library(SOPC)
PPC_MSESigmaA <- c()
PPC_MSESigmaD <- c()
PPC_LSigmaA <- c()
PPC_LSigmaD <- c()
result <- PPC1_TFM(data, m, A, D, p)
print(result)
## End(Not run)
[Package TFM version 0.5.2 Index]