public static class WilcoxonSignedRankConfidence.Statistic extends AbstractConfidenceStatistic
nullHypothesisProbability
Constructor and Description |
---|
Statistic(double T,
int numNonZero)
Creates a new instance of Statistic
|
Modifier and Type | Method and Description |
---|---|
protected static double |
computeNullHypothesisProbability(double z)
Computes the p-value given the z-value
|
protected static double |
computeZ(double T,
int numNonZero)
Computes the z-value from the T-statistic and numNonZero value
|
int |
getNumNonZero()
Getter fir numNonZero
|
double |
getT()
Getter for T
|
double |
getTestStatistic()
Gets the statistic from which we compute the null-hypothesis probability.
|
double |
getZ()
Getter for z
|
protected void |
setNumNonZero(int numNonZero)
Setter for numNonZero
|
protected void |
setT(double T)
Getter for T
|
protected void |
setZ(double z)
Setter for z
|
getNullHypothesisProbability, setNullHypothesisProbability, toString
clone
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clone
public Statistic(double T, int numNonZero)
T
- Wilcoxon T statistic, minimum sign-rank sumnumNonZero
- Number of nonzero differences in the dataprotected static double computeZ(double T, int numNonZero)
T
- Wilcoxon T statistic, minimum sign-rank sumnumNonZero
- Number of nonzero differences in the dataprotected static double computeNullHypothesisProbability(double z)
z
- Z-statistic for the Gaussian CDFpublic double getT()
protected void setT(double T)
T
- Wilcoxon T statistic, minimum sign-rank sumpublic int getNumNonZero()
protected void setNumNonZero(int numNonZero)
numNonZero
- Number of nonzero differences in the datapublic double getZ()
protected void setZ(double z)
z
- Z-statistic for the Gaussian CDFpublic double getTestStatistic()
ConfidenceStatistic