Learn R Programming

rpact (version 2.0.6)

getRepeatedPValues: Get Repeated P Values

Description

Calculates the repeated p-values for given test results.

Usage

getRepeatedPValues(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 repeated p-value at a given stage of the trial is defined as the smallest significance level under which at given test design the test results obtain rejection of the null hypothesis. It can be calculated at each stage of the trial and can thus be used as a monitoring tool.

The repeated p-values are provided up to the specified stage.