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