Description Usage Arguments Value Examples
This function calculates the Bayesian posterior probability P(Delta>Dcut|n,x) ~beta(beta_par[1]+x,beta_par[2]+n-x) with prior beta distribution beta_par
1 | Post_Prob(n, x, beta_par, Dcut)
|
n |
number of patients |
x |
number of successes |
beta_par |
two shape parameters c(alpha,beta) for beta distribution |
Dcut |
Proportion corresponding with some hypothesis |
Bayesian posterior probability
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.