View source: R/521.Error-Failure_Limitbased_CC_All.R
errCTW | R Documentation |
Calculates error, long term power and pass/fail criteria for continuity corrected Wald-T method
errCTW(n, alp, phi, c, f)
n |
- Number of trials |
alp |
- Alpha value (significance level required) |
phi |
- Null hypothesis value |
c |
- Continuity correction |
f |
- Failure criterion |
Evaluation of approximate and continuity corrected method based on a t_approximation of the standardized point estimator using error due to the difference of achieved and nominal level of significance for the n + 1 intervals
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 |
[1] 2014 Martin Andres, A. and Alvarez Hernandez, M. Two-tailed asymptotic inferences for a proportion. Journal of Applied Statistics, 41, 7, 1516-1529
Other Error for continuity corrected methods:
PloterrCAS()
,
PloterrCAll()
,
PloterrCLT()
,
PloterrCSC()
,
PloterrCTW()
,
PloterrCWD()
,
errCAS()
,
errCAll()
,
errCLT()
,
errCSC()
,
errCWD()
n=5; alp=0.05; phi=0.05;c=1/(2*n); f=-2 errCTW(n,alp,phi,c,f)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.