Description Usage Arguments Value Examples
Model fit statistics for a svyglm weighted regression model
1 | fit.svyglm(svyglm, digits = 3)
|
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). |
Returns a numeric vector of R-Squared and Adjusted R-sSquared statistics.
1 2 3 4 5 |
Call:
svyglm(formula = ...)
Survey design:
survey::svydesign(id = ~1, data = nes, weights = ~wt)
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 53.4405 0.8619 62.001 < 2e-16 ***
genderFemale 5.7769 1.2349 4.678 2.97e-06 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
(Dispersion parameter for gaussian family taken to be 1166.301)
Number of Fisher Scoring iterations: 2
$R2
[1] 0.007
$adjR2
[1] 0.007
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.