Learn R Programming

proportion (version 2.0.0)

PloterrCTW: Plots the error, long term power and pass/fail criteria for continuity corrected Wald-t method

Description

Plots the error, long term power and pass/fail criteria for continuity corrected Wald-t method

Usage

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

Plot 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

See Also

Other Error for continuity corrected methods: PloterrCAS, PloterrCAll, PloterrCLT, PloterrCSC, 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
PloterrCTW(n,alp,phi,c,f)

Run the code above in your browser using DataLab