public class ClassicalItemStatistics
extends java.lang.Object
Constructor and Description |
---|
ClassicalItemStatistics(java.lang.Object id,
boolean biasCorrection,
boolean pearson) |
ClassicalItemStatistics(java.lang.Object id,
boolean biasCorrection,
boolean pearson,
boolean dIndex) |
Modifier and Type | Method and Description |
---|---|
double |
getDifficulty() |
double |
getDIndex() |
double |
getDindexLower() |
double |
getDindexUpper() |
double |
getDiscrimination() |
java.lang.Object |
getId() |
double |
getStdDev() |
void |
increment(double testScore,
double itemScore)
Incrementally update the item statistics
|
void |
incrementDindex(double itemScore,
double testScore,
double lowCut,
double upperCut)
The D index must be incremented in a second loop after test scores have been computed and
percentiles computed.
|
java.lang.String |
toString()
A string that contains all of the item statistics.
|
public ClassicalItemStatistics(java.lang.Object id, boolean biasCorrection, boolean pearson)
public ClassicalItemStatistics(java.lang.Object id, boolean biasCorrection, boolean pearson, boolean dIndex)
public void increment(double testScore, double itemScore)
testScore
- sum score on teh total testitemScore
- score on teh individual item (or response option)public void incrementDindex(double itemScore, double testScore, double lowCut, double upperCut)
itemScore
- item response scoretestScore
- test summed scorelowCut
- cutoff value for lower groupupperCut
- cutoff value for the upper grouppublic java.lang.Object getId()
public double getDifficulty()
public double getStdDev()
public double getDiscrimination()
public double getDindexLower()
public double getDindexUpper()
public double getDIndex()
public java.lang.String toString()
toString
in class java.lang.Object