|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsbrt.kernel.math.stat.comp.MannWhitneyResults
public class MannWhitneyResults
This class is used to store the results of a Mann-Whitney U test.
Constructor Summary | |
---|---|
MannWhitneyResults(double u,
double tApprox,
int n1,
int n2)
Constructs a new set of results for a Mann-Whitney U test. |
|
MannWhitneyResults(double u,
int n1,
int n2)
Constructs a new set of results for a Mann-Whitney U test. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Indicates if the provided object is equal to this results object. |
double |
getApproxT()
Returns the t value approximated from the computed U statistic. |
int |
getN1()
Returns the size of the larger sample. |
int |
getN2()
Returns the size of the smaller sample. |
double |
getU()
Returns the computed U statistic. |
int |
hashCode()
Returns a content-based hash code. |
java.lang.String |
toString()
Returns a string represenation of these results. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MannWhitneyResults(double u, double tApprox, int n1, int n2)
u
- the computed U statistic.tApprox
- the approximated t value.n1
- the size of the larger sample.n2
- the size of the smaller sample.public MannWhitneyResults(double u, int n1, int n2)
Double.NaN
;
u
- the computed U statistic.n1
- the size of the larger sample.n2
- the size of the smaller sample.Method Detail |
---|
public double getU()
public double getApproxT()
public int getN1()
public int getN2()
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
MannWhitneyResults
and its U, t value, and sample sizes
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 |