public static class HolmCorrection.Statistic extends AbstractPairwiseMultipleHypothesisComparison.Statistic
Modifier and Type | Field and Description |
---|---|
protected Matrix |
adjustedAlphas
Matrix of adjusted alphas (p-value thresholds) for each comparison
|
pairwiseTestStatistics
nullHypothesisProbabilities, testStatistics, treatmentCount, uncompensatedAlpha
Constructor and Description |
---|
Statistic(java.util.Collection<? extends java.util.Collection<? extends java.lang.Number>> data,
double uncompensatedAlpha,
NullHypothesisEvaluator<java.util.Collection<? extends java.lang.Number>> pairwiseTest)
Creates a new instance of Statistic
|
Modifier and Type | Method and Description |
---|---|
double |
getAdjustedAlpha(int i,
int j)
Gets the adjusted alpha (p-value threshold) for the given comparison
|
acceptNullHypothesis, clone, computePairwiseTestResults, getPairwiseTestStatistics
getNullHypothesisProbability, getTestStatistic, getTreatmentCount, getUncompensatedAlpha, toString
protected Matrix adjustedAlphas
public Statistic(java.util.Collection<? extends java.util.Collection<? extends java.lang.Number>> data, double uncompensatedAlpha, NullHypothesisEvaluator<java.util.Collection<? extends java.lang.Number>> pairwiseTest)
data
- Data from each treatment to consideruncompensatedAlpha
- Uncompensated alpha (p-value threshold) for the multiple comparison
testpairwiseTest
- Confidence test used for pair-wise null-hypothesis tests.public double getAdjustedAlpha(int i, int j)
AbstractPairwiseMultipleHypothesisComparison.Statistic
getAdjustedAlpha
in class AbstractPairwiseMultipleHypothesisComparison.Statistic
i
- First treatment to comparej
- Second treatment to compare