Learn R Programming

proportion (version 2.0.0)

PlotlengthBA: Plot the Bayesian method of length summary

Description

Plot the Bayesian method of length summary

Usage

PlotlengthBA(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

Value

A dataframe with

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, PlotexplBA, PlotexplEX, PlotexplLR, PlotexplLT, PlotexplSC, PlotexplTW, PlotexplWD, PlotlengthAS, PlotlengthAll, PlotlengthEX, PlotlengthLR, PlotlengthLT, PlotlengthSC, PlotlengthTW, PlotlengthWD, lengthAS, lengthAll, lengthBA, lengthEX, lengthLR, lengthLT, lengthSC, lengthTW, lengthWD

Examples

Run this code
n=5; alp=0.05;a=1;b=1;a1=1;a2=1
PlotlengthBA(n,alp,a,b,a1,a2)

Run the code above in your browser using DataLab