mixed_search {GGMnonreg}R Documentation

Mixed Graphical Model: automated search

Description

Data mining to learn the graph.

Usage

mixed_search(Y, data_type = NULL, IC = "BIC")

Arguments

Y

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

data_type

Vector of length p. The type of data, with options of "b" (binary), "p" (Poisson), and "g" (Gaussian).

IC

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

Details

Only backwards selection is currently implemented. Only an adjacency matrix is provided.

Value

An object of class mixed_search, including wadj (weighted adjacency matrix) and adj (adjacency matrix).

Examples


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

# search data (ising model)
fit <- mixed_search(Y, data_type = rep("b", 5))


[Package GGMnonreg version 1.0.0 Index]