Description Usage Arguments Value
View source: R/get_estimate_and_se.R
Use marginal probabilities to compute either the risk difference, risk ratio, or odds ratio.
1 | get_estimate_and_se(estimate_type, p0, p1, sigma_margins)
|
estimate_type |
One of either "risk_difference", "risk_ratio", or "odds_ratio". |
p0 |
The marginal probability corresponding to the case where the main effect equals 0. |
p1 |
The marginal probability corresponding to the case where the main effect equals 1. |
sigma_margins |
The variance-covariance matrix for the margins |
The requested estimate and its standard error.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.