R2Z: Estimates R2 of each subregression
Description
Estimates R2 of each subregressionUsage
R2Z(Z = Z, X = X, methode = 1, adj = F, crit = c("R2", "F", "sigmaX"))
Arguments
Z
binary adjacency matrix of the structure (size p)
methode
parameter for OLS (matrix inversion) methode_BIC parameter for OLS (matrix inversion) 1:householderQr, 2:colPivHouseholderQr
adj
boolean to choose between adjusted R-squared and classical one
crit
to choose between the R-squared and the F statistic (p-value)