public class HaebaraMethod extends AbstractMultivariateFunction implements LinearTransformation, Uncmin_methods, org.apache.commons.math3.analysis.UnivariateFunction
| Constructor and Description |
|---|
HaebaraMethod(java.util.HashMap<java.lang.String,ItemResponseModel> itemFormX,
java.util.HashMap<java.lang.String,ItemResponseModel> itemFormY,
DistributionApproximation xDistribution,
DistributionApproximation yDistribution,
EquatingCriterionType criterion) |
| Modifier and Type | Method and Description |
|---|---|
double |
f_to_minimize(double[] x) |
double |
getIntercept() |
double |
getQ1(double[] coefficient) |
double |
getQ2(double[] coefficient) |
double |
getScale() |
void |
gradient(double[] x,
double[] g) |
void |
hessian(double[] x,
double[][] h) |
void |
setIntercept(double intercept) |
void |
setPrecision(int precision) |
void |
setScale(double scale) |
void |
setStandardized(boolean standardized)
Flag to standardize criterion function.
|
double |
transform(double x) |
double |
value(double x)
Method needed for Brent optimizer when minimizing teh objective function for the Rasch family of models.
|
double |
value(double[] coefficient)
Function to be minimized by ConjugateGradientSearch
Uncmin index starts at 1
argument[1]=B (intercept) equating constant
argument[2]=A (slope) equating constant
|
gradient, gradientAt, hessianAt, machineEpsilon, partialDerivativepublic HaebaraMethod(java.util.HashMap<java.lang.String,ItemResponseModel> itemFormX, java.util.HashMap<java.lang.String,ItemResponseModel> itemFormY, DistributionApproximation xDistribution, DistributionApproximation yDistribution, EquatingCriterionType criterion) throws org.apache.commons.math3.exception.DimensionMismatchException
org.apache.commons.math3.exception.DimensionMismatchExceptionpublic void setStandardized(boolean standardized)
standardized - if true the criterion function is standardized. If not, it is not standardized.public double value(double[] coefficient)
value in interface org.apache.commons.math3.analysis.MultivariateFunctionpublic double value(double x)
value in interface org.apache.commons.math3.analysis.UnivariateFunctionx - interceptpublic double getQ1(double[] coefficient)
public double getQ2(double[] coefficient)
public void setIntercept(double intercept)
public void setScale(double scale)
public double getIntercept()
getIntercept in interface LinearTransformationpublic double getScale()
getScale in interface LinearTransformationpublic void setPrecision(int precision)
public double transform(double x)
transform in interface LinearTransformationpublic double f_to_minimize(double[] x)
f_to_minimize in interface Uncmin_methodspublic void hessian(double[] x,
double[][] h)
hessian in interface Uncmin_methodspublic void gradient(double[] x,
double[] g)
gradient in interface Uncmin_methods