# errAll: Calculates error, long term power and pass/fail criteria...

### Description

Calculates error, long term power and pass/fail criteria using 6 base methods (Wald, Wald-T, Likelihood, Score, Logit-Wald, ArcSine)

### Usage

 `1` ```errAll(n, alp, phi, f) ```

### Arguments

 `n` - Number of trials `alp` - Alpha value (significance level required) `phi` - Null hypothesis value `f` - Failure criterion

### Details

Calculation of error, long term power and pass/fail criteria using 6 base methods (Wald, Wald-T, Likelihood, Score, Logit-Wald, ArcSine)

### 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 `method` Name of the method

### 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

Other Error for base methods: `PloterrAS`, `PloterrAll`, `PloterrBA`, `PloterrEX`, `PloterrLR`, `PloterrLT`, `PloterrSC`, `PloterrTW`, `PloterrWD`, `errAS`, `errBA`, `errEX`, `errLR`, `errLT`, `errSC`, `errTW`, `errWD`

### Examples

 ```1 2``` ```n=20; alp=0.05; phi=0.05; f=-2 errAll(n,alp,phi,f) ```

Search within the proportion package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.