MCbound.precalc1 {MChtest}R Documentation

Precalculated object of class MCbound

Description

Because the calculation of this truncated sequential probability ratio test stopping boundary takes a long time, it is calculated ahead of time and included in the package. It is created with the following code, MCbound("tsprt",parms=c(p0=p0.given.p1(0.04),p1=0.04,alpha0=.0001,beta0=0.0001,Nmax=9999),conf.level=.99).

Usage

MCbound.precalc1

Format

The format is: List of 10

S
: num [1:10000] 22 22 22 22 22 22 22 22 22 22 ...
N
: num [1:10000] 22 23 24 25 26 27 28 29 30 31 ...
p.value
: num [1:10000] 1.000 0.957 0.917 0.880 0.846 ...
ci.lower
: num [1:10000] 0.786 0.719 0.668 0.626 0.590 ...
ci.upper
: num [1:10000] 1.000 1.000 0.995 0.985 0.972 ...
Kstar
: num [1:10000] 0.0435 0.0399 0.0367 0.0338 0.0313 ...
conf.level
: num 0.99
type
: chr "tsprt"
parms
: Named num [1:5] 6.14e-02 4.00e-02 1.00e-04 1.00e-04 1.00e+04
..-
attr(*, "names")= chr [1:5] "p0" "p1" "alpha0" "beta0" ...
check
: num 1
-
attr(*, "class")= chr "MCbound"

Examples

plot(MCbound.precalc1) 

[Package MChtest version 1.0 Index]