Description Usage Arguments Value
For a given dataset, compute the bootstrap variance estimate by a prespecified method
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
formula |
a symbolic description of the model to be fitted |
data_wide |
wide-form of the data frame |
data_long |
long-form of the data frame |
time_name |
name of the time variable (needed for long-form data) |
id_name |
name of the id variable |
trt_name |
name of the treatment variable |
M |
imputation size |
B |
number of bootstrap replicates |
fit_model |
type of the analysis model. Available: lm, Rfit::rfit (rank regressoin), MASS::rlm (robust regression) |
estimator |
type of the estimator. Available: sample mean, reg with interaction, reg without interaction |
method |
several methods to use. Available: naive MI, sequential MI, naive likelihood, sequential likelihood |
llh_method |
name of the likelihood-based method. Available: PMM, CBMI |
variance estimation by nonparametric bootstrap
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.