public static class MultipleComparisonExperiment.Statistic extends AbstractCloneableSerializable implements ConfidenceStatistic, MultipleHypothesisComparison.Statistic
Modifier and Type | Field and Description |
---|---|
protected ConfidenceStatistic |
blockExperimentResult
Result from the block-experiment null-hypothesis test
|
protected MultipleHypothesisComparison.Statistic |
multipleComparisonResult
Result from the multiple hypothesis comparison null-hypothesis test,
which will exist if the block-experiment null hypothesis is rejected
|
Constructor and Description |
---|
Statistic(ConfidenceStatistic blockExperimentResult,
MultipleHypothesisComparison.Statistic multipleComparisonResult)
Creates a new instance of Statistic
|
Modifier and Type | Method and Description |
---|---|
boolean |
acceptNullHypothesis(int i,
int j)
Determines if the (i,j) null hypothesis should be accepted (true) or
rejected (false) .
|
ConfidenceStatistic |
getBlockExperimentResult()
Getter for blockExperimentResult
|
MultipleHypothesisComparison.Statistic |
getMultipleComparisonResult()
Getter for multipleComparisonResult
|
double |
getNullHypothesisProbability()
Gets the probability that the null hypothesis is correct.
|
double |
getNullHypothesisProbability(int i,
int j)
Gets the Null Hypothesis probability associated with the (i,j)
treatment comparison
|
double |
getTestStatistic()
Gets the statistic from which we compute the null-hypothesis probability.
|
double |
getTestStatistic(int i,
int j)
Gets the test statistic associated with the (i,j) treatment
comparison
|
int |
getTreatmentCount()
Gets the number of treatments being compared
|
double |
getUncompensatedAlpha()
Gets the uncompensated alpha (p-value threshold) for the multiple
comparison test
|
java.lang.String |
toString() |
clone
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clone
protected ConfidenceStatistic blockExperimentResult
protected MultipleHypothesisComparison.Statistic multipleComparisonResult
public Statistic(ConfidenceStatistic blockExperimentResult, MultipleHypothesisComparison.Statistic multipleComparisonResult)
blockExperimentResult
- Result from the block-experiment null-hypothesis testmultipleComparisonResult
- Result from the multiple hypothesis comparison null-hypothesis test,
which will exist if the block-experiment null hypothesis is rejectedpublic double getTestStatistic()
ConfidenceStatistic
getTestStatistic
in interface ConfidenceStatistic
public int getTreatmentCount()
MultipleHypothesisComparison.Statistic
getTreatmentCount
in interface MultipleHypothesisComparison.Statistic
public double getUncompensatedAlpha()
MultipleHypothesisComparison.Statistic
getUncompensatedAlpha
in interface MultipleHypothesisComparison.Statistic
public double getTestStatistic(int i, int j)
MultipleHypothesisComparison.Statistic
getTestStatistic
in interface MultipleHypothesisComparison.Statistic
i
- First treatment indexj
- Second treatment indexpublic double getNullHypothesisProbability(int i, int j)
MultipleHypothesisComparison.Statistic
getNullHypothesisProbability
in interface MultipleHypothesisComparison.Statistic
i
- First treatment indexj
- Second treatment indexpublic boolean acceptNullHypothesis(int i, int j)
MultipleHypothesisComparison.Statistic
acceptNullHypothesis
in interface MultipleHypothesisComparison.Statistic
i
- First treatment indexj
- Second treatment indexpublic double getNullHypothesisProbability()
ConfidenceStatistic
getNullHypothesisProbability
in interface ConfidenceStatistic
public ConfidenceStatistic getBlockExperimentResult()
public MultipleHypothesisComparison.Statistic getMultipleComparisonResult()
public java.lang.String toString()
toString
in class java.lang.Object