Learn R Programming

proportion (version 2.0.0)

PlotcovpEX: Graphs of Coverage Probability - exact method

Description

Graphs of Coverage Probability - exact method

Usage

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

Run this code
## 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)
## ---------------------------------------------

Run the code above in your browser using DataLab