Description Usage Arguments Value Examples
View source: R/Estimate_pCorrs.R
An inverse precision matrix (Theta), either penalized or unpenalized, of a dataset can be used to estimate the partial correlation matrix (Omega), which describes the correlations between members of the dataset, adjusted for correlation with all other members of the set. Lemma 1 from Peng, et al, is used to here to estimate partial correlations (w): w_ij = -t_ij*(t_ii*t_jj)^-0.5, where t_ij denotes the element at the ith row and jth column in Theta, when i != j. The main diagnonal of Omega (w_ii) is typically 1, but here is set to 0 to remove loops from the resultant. Note that w_ij = 0 wherever t_ij is 0.
1 | Estimate_pCorrs(theta)
|
theta |
A precision matrix, typically produced by the graphical LASSO procedure. |
A partial correlation matrix produced by transforming theta.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.