errCWD: Calculates error, long term power and pass/fail criteria for continuity corrected Wald method
Description
Calculates error, long term power and pass/fail criteria for continuity corrected Wald method
Usage
errCWD(n, alp, phi, c, f)
Arguments
n
- Number of trials
alp
- Alpha value (significance level required)
phi
- Null hypothesis value
c
- Continuity correction
f
- Failure criterion
Value
A dataframe with
delalp
Delta-alpha is the increase of the nominal error with respect to real error
theta
Long term power of the test
Fail_Pass
Fail/pass based on the input f criterion
Details
Evaluation of Wald-type interval with continuity correction using error
due to the difference of achieved and nominal level of significance for the \(n + 1\) intervals
References
[1] 2014 Martin Andres, A. and Alvarez Hernandez, M.
Two-tailed asymptotic inferences for a proportion.
Journal of Applied Statistics, 41, 7, 1516-1529