estEffect_matching | R Documentation |
Computes effect estimates using propensity score matching to reduce confounding.
Computes effect estimates using propensity score stratification to adjust for confounding.
Computes effect estimates using propensity score weighting to balance covariates between treatment groups.
estEffect_matching(form, data, yvars, ncovars, distance, outcome_measure)
estEffect_stratification(form, data, yvars, ncovars, distance, outcome_measure)
estEffect_weighting(form, data, yvars, ncovars, distance, outcome_measure)
form |
A formula specifying the treatment assignment model. |
data |
A dataset containing covariates and treatment assignment. |
yvars |
A character vector of outcome variable names. |
ncovars |
A character vector of negative control outcome variable names. |
distance |
The method for estimating propensity scores ("glm"). |
outcome_measure |
The outcome measure to estimate: "RR" (Risk Ratio), "OR" (Odds Ratio), or "HR" (Hazard Ratio). |
List of components
List of components
List of components
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.