Description Usage Arguments Examples
This function use standard IV estimator via additive marginal structural models to analyse a treatment effect
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
data |
data frame |
outcome |
outcome variable name |
exposure |
exposure variable name |
confounder |
list of confounders |
id |
patient id |
max_number_it |
max number of iterations |
steps |
number of steps if iteration |
corstr |
a character string specifying the correlation structure. The following are permitted: '"independence"', '"exchangeable"', '"ar1"', '"unstructured"' and '"userdefined"' |
verbose |
Boolean, if prelimnary results should be printed |
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.