View source: R/502.Error-Failure_LimitBased_BASE_All_Graph.R
PloterrEX | R Documentation |
Plots error, long term power and pass/fail criteria using Exact method
PloterrEX(n, alp, phi, f, e)
n |
- Number of trials |
alp |
- Alpha value (significance level required) |
phi |
- Null hypothesis value |
f |
- Failure criterion |
e |
- Exact method indicator in [0, 1] 1: Clopper Pearson, 0.5: Mid P The input can also be a range of values between 0 and 1. |
Plots of Confidence interval for p
based on inverting equal-tailed binomial tests with null hypothesis H0: p = p0
using error due to the difference of achieved and nominal level of significance for the n + 1 intervals
Other Error for base methods:
PloterrAS()
,
PloterrAll()
,
PloterrBA()
,
PloterrLR()
,
PloterrLT()
,
PloterrSC()
,
PloterrTW()
,
PloterrWD()
,
errAS()
,
errAll()
,
errBA()
,
errEX()
,
errLR()
,
errLT()
,
errSC()
,
errTW()
,
errWD()
n=20; alp=0.05;phi=0.05; f=-2;e=0.5 # Mid-p PloterrEX(n,alp,phi,f,e) n=20; alp=0.05;phi=0.05; f=-2;e=1 #Clopper-Pearson PloterrEX(n,alp,phi,f,e) n=20; alp=0.05;phi=0.05; f=-2;e=c(0.1,0.5,0.95,1) #Range including Mid-p and Clopper-Pearson PloterrEX(n,alp,phi,f,e)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.