Description Usage Arguments Value
View source: R/covariance-matrices.r
We define a p \times p intraclass covariance (correlation) matrix to be Σ = σ^2 (1 - ρ) J_p + ρ I_p, where -(p-1)^{-1} < ρ < 1, I_p is the p \times p identity matrix, and J_p denotes the p \times p matrix of ones.
1 | cov_intraclass(p, rho, sigma2 = 1)
|
p |
the size of the covariance matrix |
rho |
the intraclass covariance (correlation) constant |
sigma2 |
the coefficient of the intraclass covariance matrix |
an intraclass covariance matrix of size p \times p
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.