|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.studentmodel2.simulation.IRT
public class IRT
The IRT class implements some aspects of the dichotomous Rasch-Model of the item response theory. Especially, the estimation of a response given the mastery of a simulee (student) and the difficulty of an item. Additionally it's possible to set the discrimination value and a value for guessing. Those values default to no guessing and a discrimination value of 1.117 (according to a Desmarais Paper).
| Constructor Summary | |
|---|---|
IRT()
|
|
| Method Summary | |
|---|---|
double |
getAnswer(double itemDifficulty,
double studentMastery)
Get the response of a student with given mastery for an exercise with a given difficulty by using the random function to create a dichotomous response. |
double |
getCorrectProb(double itemDifficulty,
double studentMastery)
Calculates the IRT-probability that a student gives a correct answer |
double |
getCorrectProb(double itemDifficulty,
double studentMastery,
double discriminationFactor)
Calculates the IRT-probability that a student gives a correct answer |
double |
getDiscriminationVal()
|
double |
getGuessingProb()
|
static IRT |
getInstance()
get the IRT singleton |
void |
setDiscriminationVal(double discriminationVal)
|
void |
setGuessingProb(double guessingProb)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IRT()
| Method Detail |
|---|
public static IRT getInstance()
public double getAnswer(double itemDifficulty,
double studentMastery)
itemDifficulty - - the difficulty of an exercisestudentMastery - - the mastery of the student
public double getCorrectProb(double itemDifficulty,
double studentMastery)
itemDifficulty - - difficulty of the exercise (IRT-style) in [0,1]studentMastery - - mastery of the student in [0,1]
public double getCorrectProb(double itemDifficulty,
double studentMastery,
double discriminationFactor)
itemDifficulty - - difficulty of the exercise (IRT-style) in [0,1]studentMastery - - mastery of the student in [0,1]dicriminationFactor - - the discrimination facor of an exercise
public double getDiscriminationVal()
public void setDiscriminationVal(double discriminationVal)
discriminationVal - the discriminationVal to setpublic double getGuessingProb()
public void setGuessingProb(double guessingProb)
guessingProb - the guessingProb to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||