Description Usage Arguments Value
For a given dataset with monotone missingness, conduct sequential imputation based on linear / robust / rank regression
1 2 3 4 5 6 7 8 | rr_seq_imp(
seq_formula,
data_wide,
trt_name,
M,
fit_model,
estimator = "reg with interaction"
)
|
seq_formula |
a list of formulas for sequential regression |
data_wide |
wide-form of the data frame |
trt_name |
name of the treatment variable |
M |
imputation size |
fit_model |
type of the analysis model. Available: lm, Rfit::rfit (rank regression), MASS::rlm (robust regression) |
estimator |
type of the estimator. Available: sample mean, reg with interaction, reg without interaction |
Rubin's point and variance estimate
ate_estMI point estimation of the ATE
var_rubinMI variance estimation by Rubin's rule
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.