Expected sample size for boundary.

Description

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

Usage

1
EN(object, theta = 0.6)

Arguments

object

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

theta

a vector of parameters representing the probability of a success

Value

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

See Also

See Also powerBsb

Examples

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