Learn R Programming

proportion (version 2.0.0)

PloterrCAll: Plots the calculated error, long term power and pass/fail criteria using 5 continuity

Description

Plots the calculated error, long term power and pass/fail criteria using 5 continuity corrected methods (Wald, Wald-T, Score, Logit-Wald, ArcSine)

Usage

PloterrCAll(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

Details

Plots the error, long term power and pass/fail criteria calculaed using 5 continuity corrected methods (Wald, Wald-T, Score, Logit-Wald, ArcSine)

See Also

Other Error for continuity corrected methods: PloterrCAS, PloterrCLT, PloterrCSC, PloterrCTW, PloterrCWD, errCAS, errCAll, errCLT, errCSC, errCTW, errCWD

Examples

Run this code
n=5; alp=0.05; phi=0.05; c=1/(2*n); f=-2
PloterrCAll(n,alp,phi,c,f)

Run the code above in your browser using DataLab