Inference following a two-stage design for binary response
twostage.inference.Rd
Calculates the p-value, UMVUE and CI for the data from a study using a two stage design for response.
Arguments
- x
number of responses observed at the end of the study
- r1
first stage threshold to declare treatment undesirable
- n1
first stage sample size
- n
total sample size
- pu
unacceptable response rate (null hypothesis)
- alpha
the confidence level. For consistency with the design use the same value from the design. (default is 0.05)