public class CategoryResponseSummary
extends java.lang.Object
Constructor and Description |
---|
CategoryResponseSummary(VariableName itemName,
java.lang.Object categoryID,
boolean correctForSpuriousness,
DiscriminationType discriminationType) |
Modifier and Type | Method and Description |
---|---|
double |
getDifficulty() |
double |
getDindexLowerMean() |
double |
getDindexUpperMean() |
double |
getDiscrimination()
Returns the discrimination for the response category, which may also be the whole item.
|
double |
getMaximumObservedItemScore() |
double |
getMinimumObservedItemScore() |
double |
getStandardDeviation() |
void |
increment(double itemScore,
double testScore)
Use this incremental update if the item is continuous or the response is already scored.
|
void |
increment(java.lang.Object response,
double testScore)
Use this incremental update for each response option.
|
void |
incrementDindex(double itemScore,
double testScore,
double lowerBound,
double upperBound)
This method is called when computing teh D-index for the overall item.
|
void |
incrementDindex(java.lang.Object response,
double testScore,
double lowerBound,
double upperBound) |
public CategoryResponseSummary(VariableName itemName, java.lang.Object categoryID, boolean correctForSpuriousness, DiscriminationType discriminationType)
public void increment(java.lang.Object response, double testScore)
response
- the examinee response to an itemtestScore
- the examinee's test scorepublic void increment(double itemScore, double testScore)
itemScore
- an examinee's item scoretestScore
- an examinee's test scorepublic void incrementDindex(java.lang.Object response, double testScore, double lowerBound, double upperBound)
public double getMinimumObservedItemScore()
public double getMaximumObservedItemScore()
public void incrementDindex(double itemScore, double testScore, double lowerBound, double upperBound)
itemScore
- an examinee's item scoretestScore
- an examinee's summed scorelowerBound
- the value at lower pth percentileupperBound
- the value at the 100-pth percentilepublic double getDifficulty()
public double getStandardDeviation()
public double getDiscrimination()
public double getDindexLowerMean()
public double getDindexUpperMean()