da.lmerMod.fit {dominanceanalysis}R Documentation

Provides fit indices for hierarchical linear models, based on Nakagawa et al.(2017) and Luo and Azen (2013).

Description

Provides fit indices for hierarchical linear models, based on Nakagawa et al.(2017) and Luo and Azen (2013).

Usage

da.lmerMod.fit(original.model, null.model, newdata = NULL, ...)

Arguments

original.model

Original fitted model

null.model

needed for HLM models

newdata

Data used in update statement

...

ignored

Value

A function described by using-fit-indices description for interface. By default, four indices are provided:

rb.r2.1

Amount of Level-1 variance explained by the addition of the predictor.

rb.r2.2

Amount of Level-2 variance explained by the addition of the predictor.

sb.r2.1

Proportional reduction in error of predicting scores at Level 1

sb.r2.2

Proportional reduction in error of predicting cluster means at Level 2

If performance library is available, the two following indices are also available:

n.marg

Marginal R2 coefficient based on Nakagawa et al. (2017). Considers only the variance of the fixed effects.

n.cond

Conditional R2 coefficient based on Nakagawa et al. (2017). Takes both the fixed and random effects into account.

References

See Also

Other fit indices: da.betareg.fit(), da.clm.fit(), da.dynlm.fit(), da.glm.fit(), da.lm.fit(), da.lmWithCov.fit(), da.mlmWithCov.fit()


[Package dominanceanalysis version 2.1.0 Index]