Learn R Programming

rpact (version 2.0.6)

getFinalPValue: Get Final P Value

Description

Returns the final p-value for given stage results.

Usage

getFinalPValue(design, stageResults, ...)

Arguments

design

The trial design.

stageResults

The results at given stage, obtained from getStageResults.

stage

The stage number (optional). Default: total number of existing stages in the data input.

Details

The calculation of the final p-value is based on the stagewise ordering of the sample space. This enables the calculation for both the non-adaptive and the adaptive case. For Fisher's combination test, it is available for kMax = 2 only.