Learn R Programming

proportion (version 2.0.0)

pCOpBICAll: Performs p-Confidence and p-Bias estimation for 5 continuity corrected methods (Wald, Wald-T, Score, Logit-Wald, ArcSine)

Description

Performs p-Confidence and p-Bias estimation for 5 continuity corrected methods (Wald, Wald-T, Score, Logit-Wald, ArcSine)

Usage

pCOpBICAll(n, alp, c)

Arguments

n
- Number of trials
alp
- Alpha value (significance level required)
c
- Continuity correction

Value

A dataframe with
x1
Number of successes (positive samples)
pconf
p-Confidence
pbias
p-Bias
method
Method name

Details

Evaluation of p-Confidence and p-Bias estimation of 5 continuity corrected methods (Wald, Wald-T, Score, Logit-Wald, ArcSine)

References

[1] 2005 Vos PW and Hudson S. Evaluation Criteria for Discrete Confidence Intervals: Beyond Coverage and Length. The American Statistician: 59; 137 - 142.

See Also

Other p-confidence and p-bias of continuity corrected methods: PlotpCOpBICAS, PlotpCOpBICAll, PlotpCOpBICLT, PlotpCOpBICSC, PlotpCOpBICTW, PlotpCOpBICWD, pCOpBICAS, pCOpBICLT, pCOpBICSC, pCOpBICTW, pCOpBICWD

Examples

Run this code
n=5; alp=0.05;c=1/(2*n)
pCOpBICAll(n,alp,c)

Run the code above in your browser using DataLab