Summarizing Generalized Linear Model Fits with Odds Ratios for Survey Data
RDS::summary.svyglm.RDS
is a version of summary.svyglm
that
reports odds-ratios in place of coefficients in the summary table.
This only applies for the binomial
family. Otherwise it is identical to
summary.svyglm
.
The default in summary.svyglm
is to display the log-odds-ratios
and this displays the exponetiated from
and a 95
p-values are still displayed.
## S3 method for class 'svyglm.RDS' summary(object, correlation = FALSE, df.resid = NULL, odds = TRUE, ...)
object |
an object of class |
correlation |
logical; if |
df.resid |
Optional denominator degrees of freedom for Wald tests. |
odds |
logical; Should the coefficients be reported as odds (rather than log-odds)? |
... |
further arguments passed to or from other methods. |
svyglm
fits a generalised linear model to data from a complex survey design, with
inverse-probability weighting and design-based standard errors.
There is no anova
method for svyglm
as the models are not
fitted by maximum likelihood.
See the manual page on svyglm
for detail of that function.
RDS::summary.svyglm
returns an object of class "summary.svyglm.RDS"
,
a list with components
call |
the component from |
family |
the component
from |
deviance |
the component from |
contrasts |
the component from |
df.residual |
the
component from |
null.deviance |
the component from
|
df.null |
the component from |
deviance.resid |
the deviance residuals: see
|
coefficients |
the matrix of coefficients, standard errors, z-values and p-values. Aliased coefficients are omitted. |
aliased |
named logical vector showing if the original coefficients are aliased. |
dispersion |
either the supplied argument or
the inferred/estimated dispersion if the latter is |
df |
a 3-vector of the rank of the model and the number of residual degrees of freedom, plus number of coefficients (including aliased ones). |
cov.unscaled |
the unscaled ( |
cov.scaled |
ditto,
scaled by |
correlation |
(only if |
symbolic.cor |
(only if |
odds |
Are the coefficients reported as odds (rather than log-odds)? |
## For examples see example(svyglm)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.