or_ci_bayes: Calculates CI for Odds Ratio bayesian way Extracted from...

Description Usage Arguments Value

View source: R/odds_ratio.R

Description

Calculates CI for Odds Ratio bayesian way Extracted from PropCIs::orci.bayes() Can return HDI instead of equal tailed CI interval as well.

Usage

1
or_ci_bayes(counts, conf.level = 0.89, k = 0.5, nsim = 1e+07, hdi = FALSE)

Arguments

counts

double of length 4

conf.level

double

k

double; prior for beta distribution

nsim

integer

hdi

boolean; should HDI be used instead of equaly tailes CI?

Value

double of length 2


Famondir/birtms documentation built on Feb. 18, 2022, 2:51 a.m.