get_OR_matching | R Documentation |
Computes the odds ratio for a binary outcome after applying propensity score matching.
Computes the risk ratio for a binary outcome after applying propensity score matching.
Computes the hazard ratio for a time-to-event outcome after propensity score matching.
Computes OR, RR, and HR for a binary or time-to-event outcome after stratification.
Computes the risk ratio for a binary outcome after applying propensity score stratification.
Computes the hazard ratio for a time-to-event outcome after propensity score stratification.
Computes the odds ratio for a binary outcome after applying propensity score weighting.
Computes the risk ratio for a binary outcome after applying propensity score weighting.
Computes the hazard ratio for a time-to-event outcome after applying propensity score weighting.
get_OR_matching(data, names_outcome)
get_RR_matching(data, names_outcome)
get_HR_matching(data, names_outcome)
get_OR_stratification(data, names_outcome)
get_RR_stratification(data, names_outcome)
get_HR_stratification(data, names_outcome)
get_OR_weighting(data, names_outcome, IPTW)
get_RR_weighting(data, names_outcome, IPTW)
get_HR_weighting(data, names_outcome, IPTW)
data |
A dataset containing treatment assignment and outcome variables. |
names_outcome |
A character vector of outcome variable names. |
IPTW |
A numeric vector of inverse probability of treatment weights. |
A data frame with the estimated log odds ratio, standard error, and p-value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.