PloterrBA: Plots error, long term power and pass/fail criteria using...

View source: R/502.Error-Failure_LimitBased_BASE_All_Graph.R

PloterrBAR Documentation

Plots error, long term power and pass/fail criteria using Bayesian method

Description

Plots error, long term power and pass/fail criteria using Bayesian method

Usage

PloterrBA(n, alp, phi, f, a, b)

Arguments

n

- Number of trials

alp

- Alpha value (significance level required)

phi

- Null hypothesis value

f

- Failure criterion

a

- Beta parameters for hypo "p"

b

- Beta parameters for hypo "p"

Details

Plot of Bayesian Highest Probability Density (HPD) and two tailed intervals using error due to the difference of achieved and nominal level of significance for the n + 1 intervals for the Beta - Binomial conjugate prior model for the probability of success p

See Also

Other Error for base methods: PloterrAS(), PloterrAll(), PloterrEX(), PloterrLR(), PloterrLT(), PloterrSC(), PloterrTW(), PloterrWD(), errAS(), errAll(), errBA(), errEX(), errLR(), errLT(), errSC(), errTW(), errWD()

Examples

n=20; alp=0.05; phi=0.05; f=-2;a=0.5;b=0.5
PloterrBA(n,alp,phi,f,a,b)

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