using-fit-indices: Provides fit indices for different regression models.

using-fit-indicesR Documentation

Provides fit indices for different regression models.

Description

dominanceAnalysis tries to infer, based on the class of the model provided, the appropriate fit indices, using the scheme da.CLASS.fit for name. This method has two interfaces, one for retrieving the names of the fit indices, and another to retrieve the indices based on the data.

Arguments

original.model

Original fitted model

newdata

Data used in update statement

null.model

Null model, only needed for HLM models.

base.cov

Required if only a covariance/correlation matrix is provided.

Details

Interfaces are:

  • da.CLASS.fit("names") returns a vector with names for fit indices

  • da.CLASS.fit(original.model, data, null.model, base.cov=NULL) returns a function with one parameter, the formula to calculate the submodel.


clbustos/dominanceAnalysis documentation built on March 8, 2024, 5:22 a.m.