Learn R Programming

rpact (version 3.3.4)

TrialDesignFisher: Fisher Design

Description

Trial design for Fisher's combination test.

Arguments

Fields

kMax

The maximum number of stages K. Is a positive integer of length 1 (default value is 3). The maximum selectable kMax is 20 for group sequential or inverse normal and 6 for Fisher combination test designs.

alpha

The significance level alpha, default is 0.025. Is a positive numeric of length 1.

stages

The stage numbers of the trial. Is an integer vector of length kMax.

informationRates

The information rates (that must be fixed prior to the trial), default is (1:kMax) / kMax. Is a numeric vector of length kMax (the maximum number of stages).

userAlphaSpending

The user defined alpha spending. Numeric vector of length kMax containing the cumulative alpha-spending (Type I error rate) up to each interim stage: 0 <= alpha_1 <= ... <= alpha_K <= alpha.

criticalValues

The critical values for each stage of the trial. Is a numeric vector of length kMax (the maximum number of stages).

stageLevels

The levels for each stage.

alphaSpent

The cumulative alpha spent at each stage. Is a numeric vector with length kMax (the maximum number of stages).

bindingFutility

Logical. If bindingFutility = TRUE is specified the calculation of the critical values is affected by the futility bounds and the futility threshold is binding in the sense that the study must be stopped if the futility condition was reached (default is FALSE).

tolerance

The numerical tolerance, default is 1e-06. Is a positive numeric of length 1.

method

"equalAlpha", "fullAlpha", "noInteraction", or "userDefinedAlpha", default is "equalAlpha" (for details, see Wassmer, 1999)

alpha0Vec

Stopping for futility bounds for stage-wise p-values.

scale

Is a numeric vector of length kMax-1 that applies to Fisher's design with unequally spaced information rates.

nonStochasticCurtailment

Logical. If TRUE, the stopping rule is based on the phenomenon of non-stochastic curtailment rather than stochastic reasoning.

sided

Is the alternative one-sided (1) or two-sided (2), default is 1. Is a positive integer of length 1.

simAlpha

The observed alpha error, if simulations have been performed. Is a numeric vector of length 1.

iterations

The number of iterations used for simulations. Is an integer of length 1.

seed

The seed used for random number generation. Is a numeric vector of length 1.

Details

This object should not be created directly; use getDesignFisher() with suitable arguments to create a Fisher combination test design.

See Also

getDesignFisher() for creating a Fisher combination test design.