sbic: Structural Bayesian information criterion for multivariate...

Description Usage Arguments Value Author(s) Examples

View source: R/sbic.R

Description

This function estimates the novel structural Bayesian information criterion given the data and a given graph structure

Usage

1
sbic(data, theta, prob, P)

Arguments

data

A n by p dataframe representing observations

theta

The p by p matrix representing the given graph structure

prob

The expected error rate

P

The prior adjacency matrix

Value

The value of sbic with given temperature parameter and prior adjacency matrix

Author(s)

Jie Zhou

Examples

1
2
3
4
5
6
7
  set.seed(1)
  d=simulate(n=100, p=100, m1 = 100, m2 = 30)
  data=d$data
  P=d$priornetwork
  theta=d$realnetwork
  prob=0.15
  index=sbic(data=data, theta=theta, prob=prob, P=P)

hoenlab/SBIC documentation built on March 6, 2021, 11:58 a.m.