View source: R/102.Confidence_base_n_Graph.R
| PlotciBA | R Documentation |
Plots the CI estimation of Bayesian method
PlotciBA(n, alp, a, b)
n |
- Number of trials |
alp |
- Alpha value (significance level required) |
a |
- Shape parameter 1 for prior Beta distribution in Bayesian model. Can also be a vector of priors. |
b |
- Shape parameter 2 for prior Beta distribution in Bayesian model. Can also be a vector of priors. |
The plot of Confidence Interval of n given alp using Bayesian method
Other Basic methods of CI estimation:
PlotciAS(),
PlotciAllg(),
PlotciAll(),
PlotciEX(),
PlotciLR(),
PlotciLT(),
PlotciSC(),
PlotciTW(),
PlotciWD(),
ciAS(),
ciAll(),
ciBA(),
ciEX(),
ciLR(),
ciLT(),
ciSC(),
ciTW(),
ciWD()
n=5; alp=0.05; a=0.5;b=0.5; PlotciBA(n,alp,a,b) n=5; alp=0.05; a=c(0.5,2,1,1,2,0.5);b=c(0.5,2,1,1,2,0.5) PlotciBA(n,alp,a,b)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.