estimates inverse probability weighting (IPW) based on propensity score estimates
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
data |
A data frame to be used |
treatment |
Treatment variable name |
trt_indicator |
Value that indicates the unit is treated |
outcome |
Outcome variable name |
weight |
If weighting column exists, it can be specified for computing efficiency |
object |
A |
formula |
If not, write a formula to be fitted. Remember that you don't have to worry about group variable. .SD do exclude |
method |
Estimating methods
|
mc_col |
Indicator column name for MC simulation if exists |
sc_col |
Indicator column name for various scenarios if exists |
parallel |
parallelize some operation |
... |
Additional arguments of fitting functions |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.