Compute the fit of a submodel
fit.submodel(x, sigma2, mu, chosen, xt, yt, logistic)Design matrix.
Residual variance (1 for logistic regression).
Matrix of fitted values for the full model.
Vector of indices of the columns of x in the current submodel.
Design matrix for test data.
Outcome variable for test data.
Set to TRUE for a logistic regression model.