Description Usage Arguments Value Author(s) See Also Examples
Compute a matrix of partial (co)variances for a group of variables with respect to another.
Take Σ as the covariance matrix of dimension p. Now consider dividing Σ into two groups of variables. The partial covariance matrices are calculate by:
Σ_{11.2} = Σ_{11} - Σ_{12} Σ_{22}^{-1} Σ_{21}
Σ_{22.1} = Σ_{22} - Σ_{21} Σ_{11}^{-1} Σ_{12}
1 |
m |
a square numeric matrix. |
vars1 |
a numeric vector indicating the position (rows or columns in |
vars2 |
a numeric vector indicating the position (rows or columns in |
A square numeric matrix.
Anderson Rodrigo da Silva <anderson.agro at hotmail.com>
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.