public class ItemLogLikelihood extends java.lang.Object implements DiffFunction, Uncmin_methods
MstepParallel.
This class is also used in computation of the starting values. See StartingValues.
It applies to binary and polytomous item response models.| Constructor and Description |
|---|
ItemLogLikelihood() |
| Modifier and Type | Method and Description |
|---|---|
double[] |
derivativeAt(double[] point)
Method required for DiffFunction interface to QNMinimizer
See ItemDichotomous.h in ETIRM
|
int |
domainDimension()
Method required for DiffFunction interface to QNMinimizer
|
double |
f_to_minimize(double[] x)
Method required by Uncmin_methods interface
|
void |
gradient(double[] x,
double[] g)
Method required by Uncmin_methods interface
|
void |
hessian(double[] x,
double[][] a)
Method required by Uncmin_methods interface
|
double |
logLikelihood(double[] iparam)
Log-likelihood for an item.
|
void |
setModel(ItemResponseModel model,
DistributionApproximation latentDistribution,
EstepItemEstimates r,
double[] nk) |
double[] |
stdError(double[] x,
double[][] hessian)
Computes the standard errors of the item parameter estimates.
|
void |
stdError(ItemResponseModel irm) |
double |
valueAt(double[] point)
Method required for DiffFunction interface to QNMinimizer
|
public void setModel(ItemResponseModel model, DistributionApproximation latentDistribution, EstepItemEstimates r, double[] nk)
public double logLikelihood(double[] iparam)
public int domainDimension()
domainDimension in interface Functionpublic double valueAt(double[] point)
public double[] derivativeAt(double[] point)
derivativeAt in interface DiffFunctionpoint - parameter values. The order of the parameters must match the order in the gradientAt function in the
ItemResponseModel class.public double f_to_minimize(double[] x)
f_to_minimize in interface Uncmin_methodsx - parameter valuespublic void gradient(double[] x,
double[] g)
gradient in interface Uncmin_methodsx - parameter valuesg - gradientAt valuespublic void hessian(double[] x,
double[][] a)
hessian in interface Uncmin_methodsx - parameter valuesa - hessian matrixpublic double[] stdError(double[] x,
double[][] hessian)
x - array of item parameter estimatespublic void stdError(ItemResponseModel irm)