summary.nonprob | R Documentation |
Summarises the nonprob
class object. The summary depends on the type of
the estimator (i.e. IPW, MI, DR)
## S3 method for class 'nonprob'
summary(object, ...)
object |
object of the |
... |
Additional optional arguments |
An object of nonprob_summary
class containing:
call
call
estimator
type of estimator
control
list of controls
ipw_weights
estimated IPW weights
ipw_weights_total
estimated IPW total (sum)
ps_scores_nonprob
estimated propensity scores for non-probability sample
ps_scores_prob
estimated propensity scores for probability sample
case_weights
case weights
output
estimated means and standard errors
SE
estimated standard errors of V1 and V2
confidence_interval
confidence intervals
nonprob_size
size of the non-probability sample
prob_size
size of the probability sample
pop_size
population size
pop_size_fixed
whether the population size is treated as fixed
no_prob
whether probability sample was provided
outcome
model details
selection
selection details
estimator_method
estimator method
selection_formula
selection formula
outcome_formula
outcome formula
vars_selection
whether variable selection algorithm was applied
vars_outcome
variables of the outcome models
ys_rand_pred
predicted values for the random sample (if applies)
ys_nons_pred
predicted values for the non-probability sample
ys_resid
residuals for the non-probability sample
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"
)
summary(ipw_est1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.