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, wait
acceptAllProposalValues, 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, tStarProbability
protected 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)
ItemResponseModel
setName
in interface ItemResponseModel
name
- an item namepublic VariableName getName()
ItemResponseModel
getName
in interface ItemResponseModel
public void setGroupId(java.lang.String groupId)
ItemResponseModel
setGroupId
in interface ItemResponseModel
groupId
- the group ID.public java.lang.String getGroupId()
ItemResponseModel
getGroupId
in interface ItemResponseModel
public int getNcat()
ItemResponseModel
getNcat
in interface ItemResponseModel
public void setItemFitStatistic(ItemFitStatistic itemFitStatistic)
setItemFitStatistic
in interface ItemResponseModel
public ItemFitStatistic getItemFitStatistic()
getItemFitStatistic
in interface ItemResponseModel
public boolean isFixed()
ItemResponseModel
isFixed
in interface ItemResponseModel
public void setFixed(boolean isFixed)
setFixed
in interface ItemResponseModel
isFixed
- protected void defaultScoreWeights()
public void setScoreWeights(double[] scoreWeight) throws org.apache.commons.math3.exception.DimensionMismatchException
ItemResponseModel
setScoreWeights
in interface ItemResponseModel
scoreWeight
- an array of category score weights.org.apache.commons.math3.exception.DimensionMismatchException
public double getMinScoreWeight()
ItemResponseModel
getMinScoreWeight
in interface ItemResponseModel
public double getMaxScoreWeight()
ItemResponseModel
getMaxScoreWeight
in interface ItemResponseModel
public byte[] getScoreWeights()
ItemResponseModel
getScoreWeights
in interface ItemResponseModel
public void setItemScoring(ItemScoring itemScoring)
setItemScoring
in interface ItemResponseModel
public ItemScoring getItemScoring()
getItemScoring
in interface ItemResponseModel