Description Usage Arguments Value
View source: R/get_odds_ratio.R
Get posterior distribution of odds ratio
1 | get_odds_ratio(x.star, x.base, beta_posterior, niter, nburn, K, refK)
|
x.star |
x.star matrix for odds ratio |
x.base |
x.base matrix for odds ratio |
beta_posterior |
(list) posterior distribution of betas from model fit |
niter |
total number of MCMC iterations for inference |
nburn |
number of burn-in iterations |
K |
number of outcome categories |
refK |
index of reference outcome category |
posterior distribution of odds ratio
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.