errGEN: Calculates error, long term power and pass/fail criteria for...

Description Usage Arguments Details Value References Examples

View source: R/523.Error-Failure_LimitBased_GENERAL.R

Description

Calculates error, long term power and pass/fail criteria for CI obtained from any method

Usage

1
errGEN(n, LL, UL, alp, phi, f)

Arguments

n

- Number of trials

LL

- Lower limit

UL

- Upper limit

alp

- Alpha value (significance level required)

phi

- Null hypothesis value

f

- Failure criterion

Details

Evaluation of intervals obtained from any method using error due to the difference of achieved and nominal level of significance for the n + 1 intervals

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

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

Examples

1
2
3
4
LL=c(0,0.01,0.0734,0.18237,0.3344,0.5492)		#Lower and Upper Limits
UL=c(0.4507,0.6655,0.8176,0.9265,0.9899,1)
n= 5; alp=0.05;phi=0.05; f=-2
errGEN(n,LL,UL,alp,phi,f)

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