BicZ: Compute the BIC of a given structure
Description
Compute the BIC of a given structureUsage
BicZ(X = X, Z = Z, Bic_null_vect = NULL, Bic_old = NULL, methode = 1,
Zold = NULL, star = FALSE)
Arguments
Z
binary adjacency matrix of the structure (size p)
Bic_null_vect
the BIC of the null hypothesis (used for independent variables)
Bic_old
BIC (vector) associated to Zold
methode
parameter for OLS (matrix inversion) methode_BIC parameter for OLS (matrix inversion) 1:householderQr, 2:colPivHouseholderQr
Zold
another structure with some common parts with Z (allows to compute only the differences)
star
boolean defining wether classical BIC or BIC* is computed