Learn R Programming

proportion (version 2.0.0)

PlotciEX: Plots the CI estimation of exact methods

Description

Plots the CI estimation of exact methods

Usage

PlotciEX(n, alp, e)

Arguments

n
- Number of trials
alp
- Alpha value (significance level required)
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.

Details

The plot of Confidence Interval of n given alp.

See Also

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

Examples

Run this code
## Not run: ------------------------------------
# n=5; alp=0.05; e=0.5 #Mid-p
# PlotciEX(n,alp,e)
# n=5; alp=0.05;e=1 #Clopper-Pearson
# PlotciEX(n,alp,e)
# n=5; alp=0.05;e=c(0.05,0.1,0.5,0.95,1) #Range including Mid-p and Clopper-Pearson
# PlotciEX(n,alp,e)
## ---------------------------------------------

Run the code above in your browser using DataLab