Learn R Programming

proportion (version 2.0.0)

PlotexplBA: Plot the Bayesian method of expected length calculation

Description

Plot the Bayesian method of expected length calculation

Usage

PlotexplBA(n, alp, a, b, a1, a2)

Arguments

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

Details

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

See Also

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

Examples

Run this code
## Not run: ------------------------------------
# n=5; alp=0.05;a=1;b=1;a1=1;a2=1
# PlotexplBA(n,alp,a,b,a1,a2)
## ---------------------------------------------

Run the code above in your browser using DataLab