public static class FisherSignConfidence.Statistic extends AbstractConfidenceStatistic
nullHypothesisProbability
Constructor and Description |
---|
Statistic(int numPositiveSign,
int numDifferent)
Creates a new instance of Statistic
|
Modifier and Type | Method and Description |
---|---|
int |
getNumDifferent()
Getter for numDifferent
|
int |
getNumPositiveSign()
Getter for numPositiveSign
|
double |
getTestStatistic()
Gets the statistic from which we compute the null-hypothesis probability.
|
protected void |
setNumDifferent(int numDifferent)
Setter for numDifferent
|
protected void |
setNumPositiveSign(int numPositiveSign)
Setter for numPositiveSign
|
getNullHypothesisProbability, setNullHypothesisProbability, toString
clone
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clone
public Statistic(int numPositiveSign, int numDifferent)
numPositiveSign
- Number of samples where data1 was greater than data2numDifferent
- Number of samples where data1 was different than data2public int getNumDifferent()
protected void setNumDifferent(int numDifferent)
numDifferent
- Number of samples where data1 was different than data2public int getNumPositiveSign()
protected void setNumPositiveSign(int numPositiveSign)
numPositiveSign
- Number of sample where data1 was greater than data2public double getTestStatistic()
ConfidenceStatistic