design_cont {gsMAMS}R Documentation

Design the clinical trial for continuous outcome

Description

This function generates the design parameters of a clinical trial for continuous outcome.

Usage

design_cont(delta0, delta1, alpha, beta, k, frac)

Arguments

delta0

numeric Standardized effect size in ineffective arm.

delta1

numeric Standardized effect size in effective arm.

alpha

numeric Type I error.

beta

numeric Type II error.

k

numeric Number of treatment arms.

frac

numeric Vector of fractions for information time at each look.

Value

List of cumulative sample size for each stage of treatment and control groups along with maximum total sample size of the trial. It also provides efficacy and futility boundaries of the trial.

Examples

design_cont(delta0 = 0.178, delta1 = 0.545, alpha = 0.05, beta = 0.1, k = 4, frac = c(1 / 2, 1))

[Package gsMAMS version 0.7.2 Index]