edu.ucla.stat.SOCR.analyses.data
Class FriedmanTest

java.lang.Object
  extended by edu.ucla.stat.SOCR.util.QSortAlgorithm
      extended by edu.ucla.stat.SOCR.analyses.data.FriedmanTest

public class FriedmanTest
extends QSortAlgorithm


Field Summary
protected  boolean stopRequested
          When true stop sorting.
 
Fields inherited from class edu.ucla.stat.SOCR.util.QSortAlgorithm
FLIGNER_KILLEEN_NORMAL
 
Constructor Summary
FriedmanTest(DataCase[][] groups, java.lang.String[] groupNames)
           
 
Method Summary
 java.util.HashMap[] getCompleteArray()
           
 boolean[] getHasTie()
           
 int[] getMaxNumebrTie()
           
 DataCase[][] getRankedArray()
           
 double getRankGrandAverage()
           
 double[] getRankGroupAverage()
           
 double[] getRankGroupSum()
           
 DataCase[][] getResultTable()
           
 double getSingleGroupSize()
           
 java.util.HashMap[] getTieArray()
           
 void init()
          Initialize
protected  void pause()
          Pause for a while.
protected  void pause(int H1)
          Pause for a while and mark item 1.
protected  void pause(int H1, int H2)
          Pause for a while and mark item 1 & 2.
 void setParent(SortItem p)
          Set the parent.
 void stop()
          Stop sorting.
 
Methods inherited from class edu.ucla.stat.SOCR.util.QSortAlgorithm
getCompleteMap, getMaxNumberTies, getTieMap, getTotalCount, hasTie, main, max, min, rankCombinedLists, rankCombinedLists, rankCombinedLists, rankCombinedListsAssignQuantile, rankList, rankListAssignQuantile, sort, sort
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stopRequested

protected boolean stopRequested
When true stop sorting.

Constructor Detail

FriedmanTest

public FriedmanTest(DataCase[][] groups,
                    java.lang.String[] groupNames)
Method Detail

getResultTable

public DataCase[][] getResultTable()

getRankGroupAverage

public double[] getRankGroupAverage()

getRankGroupSum

public double[] getRankGroupSum()

getSingleGroupSize

public double getSingleGroupSize()

getRankGrandAverage

public double getRankGrandAverage()

getRankedArray

public DataCase[][] getRankedArray()

getTieArray

public java.util.HashMap[] getTieArray()

getCompleteArray

public java.util.HashMap[] getCompleteArray()

getHasTie

public boolean[] getHasTie()

getMaxNumebrTie

public int[] getMaxNumebrTie()

setParent

public void setParent(SortItem p)
Set the parent.


pause

protected void pause()
              throws java.lang.Exception
Pause for a while.

Throws:
java.lang.Exception

pause

protected void pause(int H1)
              throws java.lang.Exception
Pause for a while and mark item 1.

Throws:
java.lang.Exception

pause

protected void pause(int H1,
                     int H2)
              throws java.lang.Exception
Pause for a while and mark item 1 & 2.

Throws:
java.lang.Exception

stop

public void stop()
Stop sorting.


init

public void init()
Initialize