public class ItemStats
extends java.lang.Object
Constructor and Description |
---|
ItemStats(java.lang.Object id,
boolean biasCorrection,
boolean pearson,
boolean continuousItem) |
ItemStats(java.lang.Object id,
boolean biasCorrection,
boolean pearson,
boolean continuousItem,
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 ItemStats(java.lang.Object id, boolean biasCorrection, boolean pearson, boolean continuousItem)
public ItemStats(java.lang.Object id, boolean biasCorrection, boolean pearson, boolean continuousItem, 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 scorelowCut
- test score cutoff value for lower groupupperCut
- test score 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