public class PercentileRank
extends java.lang.Object
| Constructor and Description |
|---|
PercentileRank() |
PercentileRank(java.lang.Integer min,
java.lang.Integer max) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllValues(double[] x) |
void |
addAllValues(int[] x) |
void |
addValue(java.lang.Double score)
All doubles are converted to integers see page 44, Kolen and Brennan(2004).
|
void |
addValue(java.lang.Integer score) |
void |
clear() |
void |
createLookupTable()
Creates a TreeMap
|
double[][] |
evaluate()
For r number of score levels between min and max, inclusive, this method
returns a r x 2 array with integer based scores in first column
and percentile ranks in the second column.
|
double[][] |
evaluate(double[] score) |
double[][] |
evaluate(int[] score) |
long |
getCount(java.lang.Integer score) |
double |
getPercentileRankAt(int value) |
int |
getSize() |
java.lang.String |
toString() |
java.util.Iterator<java.lang.Integer> |
valueIterator() |
public PercentileRank(java.lang.Integer min,
java.lang.Integer max)
public PercentileRank()
public int getSize()
public void addValue(java.lang.Integer score)
public void addValue(java.lang.Double score)
score - a test score.public void addAllValues(int[] x)
public void addAllValues(double[] x)
public void clear()
public long getCount(java.lang.Integer score)
public void createLookupTable()
public double[][] evaluate()
public double[][] evaluate(int[] score)
public double[][] evaluate(double[] score)
public double getPercentileRankAt(int value)
public java.util.Iterator<java.lang.Integer> valueIterator()
public java.lang.String toString()
toString in class java.lang.Object