Description Usage Arguments Details See Also Examples
View source: R/302.Expec_Leng_BASE_All_Graph.R
Plot the Bayesian method of expected length calculation
1 | PlotexplBA(n, alp, a, b, a1, a2)
|
n |
- Number of trials |
alp |
- Alpha value (significance level required) |
a |
- Beta parameters for hypo "p" |
b |
- Beta parameters for hypo "p" |
a1 |
- Beta Prior Parameters for Bayesian estimation |
a2 |
- Beta Prior Parameters for Bayesian estimation |
Plots of Bayesian Highest Probability Density (HPD) and two tailed
intervals using expected length of the n + 1
intervals for the Beta - Binomial conjugate prior model for the probability of success p
Other Expected length of base methods: PlotexplAS,
PlotexplAll, PlotexplEX,
PlotexplLR, PlotexplLT,
PlotexplSC, PlotexplTW,
PlotexplWD, PlotlengthAS,
PlotlengthAll, PlotlengthBA,
PlotlengthEX, PlotlengthLR,
PlotlengthLT, PlotlengthSC,
PlotlengthTW, PlotlengthWD,
lengthAS, lengthAll,
lengthBA, lengthEX,
lengthLR, lengthLT,
lengthSC, lengthTW,
lengthWD
1 2 3 4 5 | ## Not run:
n=5; alp=0.05;a=1;b=1;a1=1;a2=1
PlotexplBA(n,alp,a,b,a1,a2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.