public abstract class AbstractItemResponseModelWithGradient extends java.lang.Object implements ItemResponseModel
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
groupId |
protected boolean |
isFixed |
protected int |
maxCategory |
protected double |
maxWeight |
protected int |
minCategory |
protected double |
minWeight |
protected VariableName |
name |
protected int |
ncat |
protected double[] |
scoreWeight |
| Constructor and Description |
|---|
AbstractItemResponseModelWithGradient() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
defaultScoreWeights() |
java.lang.String |
getGroupId()
Gets the item group ID code.
|
ItemFitStatistic |
getItemFitStatistic() |
ItemScoring |
getItemScoring() |
double |
getMaxScoreWeight()
Gets the largest possible score weight.
|
double |
getMinScoreWeight()
Gets the lowest possible score weight.
|
VariableName |
getName()
Gets the name of the item.
|
int |
getNcat()
Gets the number of response categories.
|
byte[] |
getScoreWeights()
Gets an array fo score weights.
|
boolean |
isFixed()
A fixed item will use its initial values as the item parameters and no further estimation or update will be
applied to the item parameters.
|
void |
setFixed(boolean isFixed)
If parameters can be estimated, the isFixed should be false.
|
void |
setGroupId(java.lang.String groupId)
An item may be assigned to a group of items.
|
void |
setItemFitStatistic(ItemFitStatistic itemFitStatistic) |
void |
setItemScoring(ItemScoring itemScoring) |
void |
setName(VariableName name)
Sets the name of the item.
|
void |
setScoreWeights(double[] scoreWeight)
A polytomous item is scored with two or more ordinal categories such as 0, 1, 2, 3 or 1, 2, 3, 4, 5.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacceptAllProposalValues, addPriorsToLogLikelihood, addPriorsToLogLikelihoodGradient, cumulativeProbability, derivTheta, expectedValue, getDifficulty, getDifficultyStdError, getDiscrimination, getDiscriminationStdError, getGuessing, getGuessingStdError, getItemParameterArray, getNumberOfEstimatedParameters, getNumberOfParameters, getProposalDifficulty, getScalingConstant, getSlipping, getSlippingStdError, getStepParameters, getStepStdError, getThresholdParameters, getThresholdStdError, getType, gradient, gradient, incrementMeanMean, incrementMeanSigma, itemInformationAt, nonZeroPrior, probability, probability, scale, setDifficulty, setDifficultyPrior, setDifficultyStdError, setDiscrimination, setDiscriminationPrior, setDiscriminationStdError, setGuessing, setGuessingPrior, setGuessingStdError, setProposalDifficulty, setProposalDiscrimination, setProposalGuessing, setProposalSlipping, setProposalStepParameters, setProposalThresholds, setSlipping, setSlippingPrior, setSlippingStdError, setStandardErrors, setStepParameters, setStepPriorAt, setStepStdError, setThresholdParameters, setThresholdStdError, tSharpExpectedValue, tSharpProbability, tStarExpectedValue, tStarProbabilityprotected java.lang.String groupId
protected VariableName name
protected double[] scoreWeight
protected int ncat
protected int minCategory
protected int maxCategory
protected boolean isFixed
protected double minWeight
protected double maxWeight
public AbstractItemResponseModelWithGradient()
public void setName(VariableName name)
ItemResponseModelsetName in interface ItemResponseModelname - an item namepublic VariableName getName()
ItemResponseModelgetName in interface ItemResponseModelpublic void setGroupId(java.lang.String groupId)
ItemResponseModelsetGroupId in interface ItemResponseModelgroupId - the group ID.public java.lang.String getGroupId()
ItemResponseModelgetGroupId in interface ItemResponseModelpublic int getNcat()
ItemResponseModelgetNcat in interface ItemResponseModelpublic void setItemFitStatistic(ItemFitStatistic itemFitStatistic)
setItemFitStatistic in interface ItemResponseModelpublic ItemFitStatistic getItemFitStatistic()
getItemFitStatistic in interface ItemResponseModelpublic boolean isFixed()
ItemResponseModelisFixed in interface ItemResponseModelpublic void setFixed(boolean isFixed)
setFixed in interface ItemResponseModelisFixed - protected void defaultScoreWeights()
public void setScoreWeights(double[] scoreWeight)
throws org.apache.commons.math3.exception.DimensionMismatchException
ItemResponseModelsetScoreWeights in interface ItemResponseModelscoreWeight - an array of category score weights.org.apache.commons.math3.exception.DimensionMismatchExceptionpublic double getMinScoreWeight()
ItemResponseModelgetMinScoreWeight in interface ItemResponseModelpublic double getMaxScoreWeight()
ItemResponseModelgetMaxScoreWeight in interface ItemResponseModelpublic byte[] getScoreWeights()
ItemResponseModelgetScoreWeights in interface ItemResponseModelpublic void setItemScoring(ItemScoring itemScoring)
setItemScoring in interface ItemResponseModelpublic ItemScoring getItemScoring()
getItemScoring in interface ItemResponseModel