PlotcovpEX: Graphs of Coverage Probability - exact method

Description Usage Arguments Details See Also Examples

View source: R/202.CoverageProb_BASE_All_Graph.R

Description

Graphs of Coverage Probability - exact method

Usage

1
PlotcovpEX(n, alp, e, a, b, t1, t2)

Arguments

n

- Number of trials

alp

- Alpha value (significance level required)

e

- Exact method indicator (1:Clop-Pear,0.5:MID-p)

a

- Beta parameters for hypo "p"

b

- Beta parameters for hypo "p"

t1

- Lower tolerance limit to check the spread of coverage Probability

t2

- Upper tolerance limit to check the spread of coverage Probability

Details

The graphs of basic Coverage Probability methods

See Also

Other Basic coverage probability methods: PlotcovpAS, PlotcovpAll, PlotcovpBA, PlotcovpLR, PlotcovpLT, PlotcovpSC, PlotcovpTW, PlotcovpWD, covpAS, covpAll, covpBA, covpEX, covpLR, covpLT, covpSC, covpTW, covpWD

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
n= 10; alp=0.05; e=0.5; a=1;b=1; t1=0.93;t2=0.97 # Mid-p
PlotcovpEX(n,alp,e,a,b,t1,t2)
n= 10; alp=0.05; e=1; a=1;b=1; t1=0.93;t2=0.97 #Clop-Pear
PlotcovpEX(n,alp,e,a,b,t1,t2)
n=5; alp=0.05;
e=c(0.1,0.5,0.95,1) #Range including Mid-p and Clopper-Pearson
a=1;b=1; t1=0.93;t2=0.97
PlotcovpEX(n,alp,e,a,b,t1,t2)

## End(Not run)

proportion documentation built on May 1, 2019, 7:54 p.m.