|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttrans.main.WilcoxonRankSumTest
Implementation of a Wilcoxon Rank Sum Test. Note, if the number of samples for either the treatment or control group is <10, no test statistics are calculated and the pValue is set to 1, logTPvalue is set to 0, and z to -10.
Constructor Summary | |
WilcoxonRankSumTest()
|
Method Summary | |
double |
calculateZ()
Only valid when # treatment samples and # control samples >9 each. |
double |
getLogTPvalue()
|
int |
getNumberTreatmentsControls()
|
static void |
main(java.lang.String[] args)
|
void |
makeSamples(float[][] treatment,
float[][] control,
int startIndex,
int stopIndex)
Builds samples from part of a float[replica][intensities] for treat and control. |
void |
makeSamples(float[] treatment,
float[] control)
|
void |
rankSamples()
Ranks a sorted array of WilcoxonSamples based on value. |
void |
setTwoTailed(boolean twoTailed)
|
void |
sumRanks()
|
double |
test(float[][] treatment,
float[][] control,
int startIndex,
int stopIndex)
Returns a -10LogBase10(pValue) if n1 and n2 >9 |
double |
test(float[] treatment,
float[] control)
Returns a -10LogBase10(pValue) if n1 and n2 >9. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WilcoxonRankSumTest()
Method Detail |
public double test(float[] treatment, float[] control)
public double test(float[][] treatment, float[][] control, int startIndex, int stopIndex)
public double calculateZ()
public void sumRanks()
public void rankSamples()
public void makeSamples(float[] treatment, float[] control)
public void makeSamples(float[][] treatment, float[][] control, int startIndex, int stopIndex)
public static void main(java.lang.String[] args)
public double getLogTPvalue()
public int getNumberTreatmentsControls()
public void setTwoTailed(boolean twoTailed)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |