Compute model variance
model_variance(object, ...)
object
: A model object implementing residuals()
and nobs()
...
: currently ignoredA double
vector of length 1
Using the generic functions residuals()
and nobs()
, this function computes the variance of the residuals.
Note that unlike stats::var()
, it does not use as the denominator.