com.datumbox.framework.core.statistics.descriptivestatistics
Class Ranks
- java.lang.Object
-
- com.datumbox.framework.core.statistics.descriptivestatistics.Ranks
-
public class Ranks extends java.lang.ObjectUtility class which provides methods related to Rank estimation.
-
-
Constructor Summary
Constructors Constructor and Description Ranks()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static AssociativeArraygetRanksFromValues(AssociativeArray associativeArray)Replaces the actual values of the associativeArray with their ranks and returns in the tieCounter the keys that occur more than once and the number of occurrences.static AssociativeArraygetRanksFromValues(FlatDataList flatDataCollection)Replaces the actual values of the flatDataCollection with their ranks and returns in the tieCounter the keys that occur more than once and the number of occurrences.
-
-
-
Method Detail
-
getRanksFromValues
public static AssociativeArray getRanksFromValues(FlatDataList flatDataCollection)
Replaces the actual values of the flatDataCollection with their ranks and returns in the tieCounter the keys that occur more than once and the number of occurrences. The tieCounter does not store the list and ranks of the actual ties because we never use them.- Parameters:
flatDataCollection-- Returns:
-
getRanksFromValues
public static AssociativeArray getRanksFromValues(AssociativeArray associativeArray)
Replaces the actual values of the associativeArray with their ranks and returns in the tieCounter the keys that occur more than once and the number of occurrences. The tieCounter does not store the list and ranks of the actual ties because we never use them.- Parameters:
associativeArray-- Returns:
-
-
DataMelt 3.0 © DataMelt by jWork.ORG