des_gehan: Design a two-stage Gehan single-arm trial for a single binary...

Description Usage Arguments Details Value Examples

View source: R/des_gehan.R

Description

Determines two-stage Gehan single-arm clinical trial designs for a single binary primary endpoint.

Usage

1
2
3
des_gehan(pi1 = 0.3, beta1 = 0.1, gamma = 0.05,
  alpha_pi_hat = 0.25, method = "A", f = "G", alpha = 0.05,
  pi0 = 0.1, find_D = F, summary = F)

Arguments

pi1

The (desirable) response probability used in computing the first stage sample size.

beta1

The desired maximal type-II error-rate for stage one.

gamma

The desired standard error for the estimate of the response probability by the end of stage two.

alpha_pi_hat

The confidence level to use in the formula for computing the interim estimated of the response rate.

method

Should be either "A" or "B", signifying the method used for computing the interim response rate.

f

Should be either "G", "L", or "EL", signifying the function used for determining the second stage sample sizes.

alpha

The confidence level to use in the formula for computing the second stage sample sizes.

pi0

The null response rate. Only used when find_D = T.

find_D

A logical variable indicating whether an optimal discrete conditional error function should be found.

summary

A logical variable indicating a summary of the function's progress should be printed to the console.

Details

des_gehan() supports the determination of two-stage Gehan single-arm clinical trial designs for a single binary primary endpoint.

Value

A list of class "sa_des_gehan" containing the following elements

Examples

1
2
# The default design
gehan <- des_gehan()

mjg211/singlearm documentation built on May 8, 2021, 3:17 a.m.