svyciprop_adjusted {surveytable} | R Documentation |
Confidence intervals for proportions, adjusted for degrees of freedom
Description
A version of survey::svyciprop()
that adjusts for the degrees of freedom when method = "beta"
.
Usage
svyciprop_adjusted(
formula,
design,
method = c("logit", "likelihood", "asin", "beta", "mean", "xlogit"),
level = 0.95,
df_method,
...
)
Arguments
formula |
see |
design |
see |
method |
see |
level |
see |
df_method |
how |
... |
see
|
Details
Written by Makram Talih in 2019.
To use this function in tabulations, type: options(surveytable.adjust_svyciprop = TRUE)
.
Value
The point estimate of the proportion, with the confidence interval as an attribute.
Examples
set_survey(namcs2019sv)
options(surveytable.adjust_svyciprop = TRUE)
tab("AGER")
options(surveytable.adjust_svyciprop = FALSE)
tab("AGER")
[Package surveytable version 0.9.2 Index]