confint.nonprob | R Documentation |
A generic function that returns the confidence interval
for the estimated mean. If standard errors have not been estimated, the function
updates the nonprob
object to obtain standard errors.
## S3 method for class 'nonprob'
confint(object, parm, level = 0.95, ...)
object |
object of |
parm |
names of parameters for which confidence intervals are to be computed, if missing all parameters will be considered. |
level |
confidence level for intervals. |
... |
additional arguments |
returns a data.frame
with confidence intervals for the target variables
data(admin)
data(jvs)
jvs_svy <- svydesign(ids = ~ 1, weights = ~ weight,
strata = ~ size + nace + region, data = jvs)
ipw_est1 <- nonprob(selection = ~ region + private + nace + size,
target = ~ single_shift,
svydesign = jvs_svy,
data = admin, method_selection = "logit", se = FALSE
)
confint(ipw_est1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.