PlotciEXx: Plots the CI estimation of the exact method

Description Usage Arguments Details See Also Examples

View source: R/104.ConfidenceIntervals_BASE_n_x_Graph.R

Description

Plots the CI estimation of the exact method

Usage

1
PlotciEXx(x, n, alp, e)

Arguments

x

- Number of sucess

n

- Number of trials

alp

- Alpha value (significance level required)

e

- Exact method indicator in [0, 1] 1: Clopper Pearson, 0.5: Mid P

Details

Plot of the Confidence interval for exact method

See Also

Other Base methods of CI estimation given x & n: PlotciAllxg, PlotciAllx, ciASx, ciAllx, ciBAx, ciEXx, ciLRx, ciLTx, ciSCx, ciTWx, ciWDx

Examples

1
2
3
4
5
6
x=5; n=5; alp=0.05;e=0.5
PlotciEXx(x,n,alp,e) #Mid-p
x=5; n=5; alp=0.05;e=1 #Clopper Pearson
PlotciEXx(x,n,alp,e)
x=5; n=5; alp=0.05;e=c(0.1,0.5,0.95,1) #Range including Mid-p and Clopper-Pearson
PlotciEXx(x,n,alp,e)

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