fit.svyglm {poliscidata}R Documentation

Calculates model fit statistics for a svyglm weighted regression model

Description

Model fit statistics for a svyglm weighted regression model

Usage

fit.svyglm(svyglm, digits = 3)

Arguments

svyglm

An object of type svyglm. This object is the output of the svyglm functon.

digits

Number of digits to report after decimal place, optional (default = 3).

Value

Returns a numeric vector of R-Squared and Adjusted R-sSquared statistics.

Examples

   library(poliscidata)
   
   obamaThermModel <- svyglm(obama_therm ~ gender, design=nesD, na.action="na.omit")
   summary(obamaThermModel)
   fit.svyglm(obamaThermModel)

[Package poliscidata version 2.3.0 Index]