binseqtest (version 1.0.3)

EN: Expected sample size for boundary.

Description

Calculate expected sample size for bound object, after inputing theta.

Usage

EN(object, theta = 0.6)

Value

a vector of expected sample sizes associated with the theta argument.

Arguments

object

a object representing a binary sequential class (bound-class)

theta

a vector of parameters representing the probability of a success

See Also

See Also powerBsb

Examples

Run this code
B<-designAb(Nk=c(20,40),a=c(5),b=c(15),theta0=.5)
En<-EN(B,theta=c(.1,.5,.6))
En

Run the code above in your browser using DataLab