Calculates the repeated p-values for given test results.
getRepeatedPValues(design, stageResults, ...)
The trial design.
The results at given stage, obtained from getStageResults
.
The stage number (optional). Default: total number of existing stages in the data input.
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.