Description Usage Arguments Details Value Note References Examples
Data mining to learn the graph of binary variables with an Ising model \insertCitelenz1920beitrvsge,ising1925beitragGGMnonreg.
1 | ising_search(Y, IC = "BIC", progress = TRUE)
|
Y |
A data matrix of dimensions n (observations) by p (nodes). |
IC |
Character string. The desired information criterion. Options include
|
progress |
Logical. Should a progress bar be included (defaults to |
Currently only backwards selection is currently implemented.
An object of class ising_search
including:
wadj: Weighted adjacency matrix, corresponding to the partial correlation network.
adj: Adjacency matrix (detected effects).
pcors: Partial correlations.
n: Sample size.
p: Number of nodes.
Y: Data.
For an excellent overview of the Ising model see \insertCitemarsman2018introduction;textualGGMnonreg.
1 2 3 4 5 | # data
Y <- ifelse( ptsd[,1:5] == 0, 0, 1)
# search data
fit <- ising_search(Y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.