Learn R Programming

proportion (version 2.0.0)

PlotlengthCAll: Plots the sum of length for 5 continuity corrected methods (Wald, Wald-T, Score, Logit-Wald, ArcSine)

Description

Plots the sum of length for 5 continuity corrected methods (Wald, Wald-T, Score, Logit-Wald, ArcSine)

Usage

PlotlengthCAll(n, alp, c, a, b)

Arguments

n
- Number of trials
alp
- Alpha value (significance level required)
c
- Continuity correction
a
- Beta parameters for hypo "p"
b
- Beta parameters for hypo "p"

Details

The plots for 5 continuity corrected methods (Wald, Wald-T, Score, Logit-Wald, ArcSine). Sum of the length is shown as bar graph.

See Also

Other Expected length of continuity corrected methods: PlotexplCAS, PlotexplCAll, PlotexplCLT, PlotexplCSC, PlotexplCTW, PlotexplCWD, PlotlengthCAS, PlotlengthCLT, PlotlengthCSC, PlotlengthCTW, PlotlengthCWD, lengthCAS, lengthCAll, lengthCLT, lengthCSC, lengthCTW, lengthCWD

Examples

Run this code
## Not run: ------------------------------------
# n= 10; alp=0.05; c=1/(2*n);a=1;b=1;
# PlotlengthCAll(n,alp,c,a,b)
## ---------------------------------------------

Run the code above in your browser using DataLab