BicZcurve: Curve of the BIC for each possible p2 with a fixed Z and truncature of Z
Description
Curve of the BIC for each possible p2 with a fixed Z and truncature of ZUsage
BicZcurve(X = X, Z = Z, Bic_null_vect = Bic_null_vect, plot = T,
star = F, trunc = NULL)
Arguments
X
matrix containing the dataset
Z
adjacency matrix (binary) describing the structure between the variables
Bic_null_vect
vector of the BIC for each variable. used when the variable is independant
plot
boolean to plot or not the curve
star
boolean to use BIC* (hierarchical uniform law on the structure)
trunc
number of sub-regression to keep (best R2). if NULL the min of BIC is kept