update.nonprob | R Documentation |
The update
method for the nonprob
class object that allows to re-estimate
a given model with changed parameters. This is in particular useful if a user
would like to change method or estimate standard errors if they were not
estimated in the first place.
## S3 method for class 'nonprob'
update(object, ..., evaluate = TRUE)
object |
the |
... |
arguments passed to the |
evaluate |
If true evaluate the new call else return the call |
returns nonprob
object
Maciej Beręsewicz
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
)
ipw_est1
update(ipw_est1, se = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.