Description Usage Arguments Value Examples
Summarises Odds Ratio statistic Returns odds ratio values for actual dataset and posterior predictions. Summarises the median and HDI of their difference and returns the ppp-value.
1 2 3 4 5 6 7 8 9 10 |
model |
birtmsfit |
n_samples |
int - Number of posterior samples to use |
ci_width |
double |
zero_correction |
character; 'none', 'Haldane', 'compromise' or 'Bayes' |
ci_method |
character; 'Woolf', 'unconditional', 'compromise', 'BayesEqTails' or 'BayesHDI' |
nsim_ci |
integer; number of draws used to get a distribution of the odds ratio value to calculate CIs |
nsim_median |
integer; number of draws used to get a distribution of the odds ratio value to calculate the median |
cores |
#' @param cores int; number of CPU cores used for parallel processing |
birtmsdata; tibble with additinal attributes
1 2 3 4 | ## Not run:
get_or(fit, n_samples = 500)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.