@PublicationReference(author="Wikipedia", title="Bonferroni correction", type=WebPage, year=2011, url="http://en.wikipedia.org/wiki/Bonferroni_correction") public class AdjustedPValueStatistic extends AbstractPairwiseMultipleHypothesisComparison.Statistic
| Modifier and Type | Field and Description |
|---|---|
protected double |
adjustedAlpha
Adjusted alpha term to account for multiple comparisons
|
pairwiseTestStatisticsnullHypothesisProbabilities, testStatistics, treatmentCount, uncompensatedAlpha| Constructor and Description |
|---|
AdjustedPValueStatistic(java.util.Collection<? extends java.util.Collection<? extends java.lang.Number>> data,
double uncompensatedAlpha,
double adjustedAlpha,
NullHypothesisEvaluator<java.util.Collection<? extends java.lang.Number>> pairwiseTest)
Creates a new instance of StudentizedMultipleComparisonStatistic
|
| Modifier and Type | Method and Description |
|---|---|
AdjustedPValueStatistic |
clone()
This makes public the clone method on the
Object class and
removes the exception that it throws. |
double |
getAdjustedAlpha()
Getter for adjustedAlpha
|
double |
getAdjustedAlpha(int i,
int j)
Gets the adjusted alpha (p-value threshold) for the given comparison
|
acceptNullHypothesis, computePairwiseTestResults, getPairwiseTestStatisticsgetNullHypothesisProbability, getTestStatistic, getTreatmentCount, getUncompensatedAlpha, toStringprotected double adjustedAlpha
public AdjustedPValueStatistic(java.util.Collection<? extends java.util.Collection<? extends java.lang.Number>> data,
double uncompensatedAlpha,
double adjustedAlpha,
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
testadjustedAlpha - Adjusted alpha term to account for multiple comparisonspairwiseTest - Confidence test used for pair-wise null-hypothesis tests.public AdjustedPValueStatistic clone()
AbstractCloneableSerializableObject class and
removes the exception that it throws. Its default behavior is to
automatically create a clone of the exact type of object that the
clone is called on and to copy all primitives but to keep all references,
which means it is a shallow copy.
Extensions of this class may want to override this method (but call
super.clone() to implement a "smart copy". That is, to target
the most common use case for creating a copy of the object. Because of
the default behavior being a shallow copy, extending classes only need
to handle fields that need to have a deeper copy (or those that need to
be reset). Some of the methods in ObjectUtil may be helpful in
implementing a custom clone method.
Note: The contract of this method is that you must use
super.clone() as the basis for your implementation.clone in interface CloneableSerializableclone in class AbstractPairwiseMultipleHypothesisComparison.Statisticpublic double getAdjustedAlpha()
public double getAdjustedAlpha(int i,
int j)
AbstractPairwiseMultipleHypothesisComparison.StatisticgetAdjustedAlpha in class AbstractPairwiseMultipleHypothesisComparison.Statistici - First treatment to comparej - Second treatment to compare