getFinalPValue {rpact} | R Documentation |
Returns the final p-value for given stage results.
getFinalPValue(stageResults, ...)
stageResults |
The results at given stage, obtained from |
... |
Only available for backward compatibility. |
The calculation of the final p-value is based on the stage-wise 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.
Returns a list
containing
finalStage
,
pFinal
.
Other analysis functions:
getAnalysisResults()
,
getClosedCombinationTestResults()
,
getClosedConditionalDunnettTestResults()
,
getConditionalPower()
,
getConditionalRejectionProbabilities()
,
getFinalConfidenceInterval()
,
getRepeatedConfidenceIntervals()
,
getRepeatedPValues()
,
getStageResults()
,
getTestActions()
## Not run:
design <- getDesignInverseNormal(kMax = 2)
data <- getDataset(
n = c( 20, 30),
means = c( 50, 51),
stDevs = c(130, 140)
)
getFinalPValue(getStageResults(design, dataInput = data))
## End(Not run)