powered by
This function estimates the novel structural Bayesian information criterion given the data and a given graph structure
sbic(data, theta, prob, P)
A n by p dataframe representing observations
n
p
The p by p matrix representing the given graph structure
The expected error rate
The prior adjacency matrix
The value of sbic with given temperature parameter and prior adjacency matrix
# NOT RUN { 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) # }
Run the code above in your browser using DataLab