| CoFM | R Documentation |
The function supports various elliptical distributions for generating the data, including: Elliptical-Normal Distribution, Elliptical-t Distribution, Elliptical Distribution.
CoFM(n, p, m, theta, distribution_type)
n |
Sample size. |
p |
Sample dimensionality. |
m |
Number of factors. |
theta |
A numerical parameter used in the copula distribution. |
distribution_type |
The type of distribution. |
A list containing:
data |
A matrix of generated data. |
A |
A matrix representing the factor loadings. |
D |
A diagonal matrix representing the unique variances. |
library(copula)
library(MASS)
n <- 1000
p <- 10
m <- 5
theta <- 2.0
distribution_type <- "Clayton"
X <- CoFM(n, p, m, theta, distribution_type)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.