ising_search: Ising: automated search

Description Usage Arguments Details Value Note References Examples

View source: R/ising_search.R

Description

Data mining to learn the graph of binary variables with an Ising model \insertCitelenz1920beitrvsge,ising1925beitragGGMnonreg.

Usage

1
ising_search(Y, IC = "BIC", progress = TRUE)

Arguments

Y

A data matrix of dimensions n (observations) by p (nodes).

IC

Character string. The desired information criterion. Options include "AIC" and "BIC" (default).

progress

Logical. Should a progress bar be included (defaults to TRUE)?

Details

Currently only backwards selection is currently implemented.

Value

An object of class ising_search including:

Note

For an excellent overview of the Ising model see \insertCitemarsman2018introduction;textualGGMnonreg.

References

\insertAllCited

Examples

1
2
3
4
5
# data
Y <- ifelse( ptsd[,1:5] == 0, 0, 1)

# search data
fit <- ising_search(Y)

donaldRwilliams/GGMnonreg documentation built on Nov. 13, 2021, 9:57 a.m.