PlotciBA: Plots the CI estimation of Bayesian method

View source: R/102.Confidence_base_n_Graph.R

PlotciBAR Documentation

Plots the CI estimation of Bayesian method

Description

Plots the CI estimation of Bayesian method

Usage

PlotciBA(n, alp, a, b)

Arguments

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.

Details

The plot of Confidence Interval of n given alp using Bayesian method

See Also

Other Basic methods of CI estimation: PlotciAS(), PlotciAllg(), PlotciAll(), PlotciEX(), PlotciLR(), PlotciLT(), PlotciSC(), PlotciTW(), PlotciWD(), ciAS(), ciAll(), ciBA(), ciEX(), ciLR(), ciLT(), ciSC(), ciTW(), ciWD()

Examples

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)

RajeswaranV/proportion documentation built on June 17, 2022, 9:11 a.m.