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

View source: R/511.Error-Failure_LimitBased_ADJ_All.R

errAAllR Documentation

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

Description

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

Usage

errAAll(n, alp, h, phi, f)

Arguments

n

- Number of trials

alp

- Alpha value (significance level required)

h

- Adding factor

phi

- Null hypothesis value

f

- Failure criterion

Details

Calculates error, long term power and pass/fail criteria using 6 adjusted 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

See Also

Other Error for adjusted methods: PloterrAAS(), PloterrAAll(), PloterrALR(), PloterrALT(), PloterrASC(), PloterrATW(), PloterrAWD(), errAAS(), errALR(), errALT(), errASC(), errATW(), errAWD()

Examples

n=20; alp=0.05;h=2; phi=0.99; f=-2
errAAll(n,alp,h,phi,f)

RajeswaranV/proportion documentation built on June 17, 2022, 9:11 a.m.