Calculates adjusted R-Squared statistic based on user-defined inputs. This function can be used after estimating a model that does not report adjusted R-Squared statistic. For svyglm model fit statistics, see fit.svyglm function documentation.
Usage
AdjR2(tdf, null.dev, resid.dev, k)
Arguments
tdf
The total degrees of freedom
null.dev
The null deviance or total sum of squares
resid.dev
The residual deviance or error sum of squares
k
The number of parameters used (to reduce deviance)
Value
Returns an adjusted R-Squared statistic, a numeric value between 0 and 1