Description Usage Arguments Value Examples
Computing the proportion of treatment difference for stratified data. The stratification is done over time.
1 | prop_strata(treatment, outcome, block)
|
treatment |
vector. The vector with treatment assignment, 0 for control and 1 for treatment group. |
outcome |
vector. The vector with outcome, 0 for failure and 1 for success. Must be the same length as treatment variable. |
block |
vector. The vector with factor level of the block. Must be same lenhth as treatment variable. |
the weighted mean of proportion difference (treatment - control).
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.