coef.nonprob | R Documentation |
Returns a list
of coefficients for the selection and the outcome models
## S3 method for class 'nonprob'
coef(object, ...)
object |
a |
... |
other arguments passed to methods (currently not supported) |
a list
with two entries:
"coef_sel"
a matrix of coefficients for the selection equation if possible, else NULL
"coef_dr"
a matrix of coefficients for the outcome equation(s) if possible, else NULL
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
)
coef(ipw_est1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.