Estimates a sparse Gaussian graphical model whose conditional-independence
structure is the chordal TMFG: the precision is the closed-form Gaussian
Markov random field on that graph (Barfuss et al. 2016). Equivalent in
purpose to NetworkToolbox::LoGo() / bootnet's "LoGo" default, pure base
R and self-certified via ggm_support_kkt() (the precision reproduces S
exactly on the TMFG support).
Arguments
- data
Numeric data frame or matrix (rows = observations). Optional if
cor_matrixis supplied.- cor_matrix
Optional correlation matrix; if given,
nis required.- n
Sample size (recorded on the result; required with
cor_matrix).- cor_method
Correlation when
datais supplied:"pearson"(default),"spearman","kendall", or"auto"(polychoric/polyserial; seecor_auto()).- threshold
Partial correlations with absolute value below this are zeroed. Default 0. With a positive value
$kktisNAfor the returned graph and the pre-threshold residual is stored as$fit_kkt.- na_method
Missing-data handling when
datais supplied:"pairwise"(default) or"listwise". Seeebic_glasso().- labels
Optional node labels.
Value
A psychnet object whose $weights is the partial-correlation matrix,
with $precision, $support (the TMFG graph), $cor_matrix, and $kkt.
References
Barfuss, W., Massara, G. P., Di Matteo, T., & Aste, T. (2016). Parsimonious modeling with information filtering networks. Physical Review E, 94(6), 062306. doi:10.1103/PhysRevE.94.062306