pCOpBICAll: Performs p-Confidence and p-Bias estimation for 5 continuity...

Description Usage Arguments Details Value References See Also Examples

View source: R/421.p-Confidence_p-Bias_CC_All.R

Description

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

Usage

1
pCOpBICAll(n, alp, c)

Arguments

n

- Number of trials

alp

- Alpha value (significance level required)

c

- Continuity correction

Details

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

Value

A dataframe with

x1

Number of successes (positive samples)

pconf

p-Confidence

pbias

p-Bias

method

Method name

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

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

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