| getFinalPValue {rpact} | R Documentation |
Get Final P Value
Description
Returns the final p-value for given stage results.
Usage
getFinalPValue(stageResults, ...)
Arguments
stageResults |
The results at given stage, obtained from |
... |
Only available for backward compatibility. |
Details
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.
Value
Returns a list containing
-
finalStage, -
pFinal.
See Also
Other analysis functions:
getAnalysisResults(),
getClosedCombinationTestResults(),
getClosedConditionalDunnettTestResults(),
getConditionalPower(),
getConditionalRejectionProbabilities(),
getFinalConfidenceInterval(),
getRepeatedConfidenceIntervals(),
getRepeatedPValues(),
getStageResults(),
getTestActions()
Examples
## 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)
[Package rpact version 4.0.0 Index]