|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsbrt.kernel.math.stat.comp.TauResult
public class TauResult
This class is used to store the results of a correlation computation.
Constructor Summary | |
---|---|
TauResult(double statistic,
double zApproximation,
int n)
Constructs a new correlation results. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Indicates if the provided object is equal to this correlation results object. |
double |
getApproxZ()
Returns the Z value approximated from the computed correlation statistic. |
double |
getCoeff()
Returns the computed correlation statistic. |
int |
getN()
Returns the sample size. |
int |
hashCode()
Returns a content-based hash code. |
java.lang.String |
toString()
Returns a string represenation of these correlation results. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TauResult(double statistic, double zApproximation, int n)
statistic
- the computed correlation statistic.zApproximation
- the Z value approximated from the computed
correlation statistic.n
- the size of the sample.Method Detail |
---|
public double getCoeff()
getCoeff
in interface CorrResult
public double getApproxZ()
public int getN()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the object with which to compare.
true
if obj
is an instance of
CorrelationResults
and its statistic, Z value, and sample size
are the same as this object's; false
otherwise.public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |