swh:1:snp:ff0951ca787d0b7f47dc2335f47fed43820a6324
Raw File
Tip revision: f8bc6dd76108930cd30d580fba1f84b318439b67 authored by Venkatraman E. Seshan on 06 December 2010, 00:00:00 UTC
version 0.9.3
Tip revision: f8bc6dd
ph2single.Rd
\name{ph2single}
\title{Exact single stage Phase II design}
\alias{ph2single}
\keyword{design}
\description{
  Calculates the exact one stage Phase II design
}
\usage{
ph2single(pu,pa,ep1,ep2,nsoln=5)
}
\arguments{
  \item{pu}{unacceptable response rate}
  \item{pa}{response rate that is desirable}
  \item{ep1}{threshold for the probability of declaring drug desirable
    under p0}
  \item{ep2}{threshold for the probability of rejecting the drug under
    p1}
  \item{nsoln}{number of designs with given alpha and beta}
}
\value{
  ph2single returns a data frame with variables: n, r, and the Type I
  and Type II errors.
}
back to top