Description Usage Arguments Value
Get the odds ratio distribution combines prior with actual data to posterior beta distributions and initiates sampling Extracted from PropCIs::orci.bayes()
| 1 | or_distribution_bayes(x1, n1, x2, n2, a, b, c, d, nsim = 1e+07)
 | 
| x1 | number of successes in sample 1 | 
| n1 | sample size in sample 1 | 
| x2 | number of successes in sample 2 | 
| n2 | sample size in sample 2 | 
| a | beta prior for x1 | 
| b | beta prior for x2 | 
| c | beta prior for n1 | 
| d | beta prior for n2 | 
| nsim | integer | 
vector of doubles, distribution od odds ratios
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.