/src/main/java/net/finmath/timeseries/models/parametric/ARMAGARCH.java
final double omega = parameters[0];final double omega = variables[0];
final double omega = variables[0];
@Override public Map<String, Object> getBestParameters(final Map<String, Object> guess) { class GARCHMaxLikelihoodFunction implements MultivariateFunction, Serializable { private static final long serialVersionUID = 7072187082052755854L; @Override public double value(final double[] variables) { <extra_id_0> final double alpha = variables[1]; final double beta = variables[2]; final double theta = variables[3]; final double mu = variables[4]; final double phi = variables[5]; double logLikelihood = getLogLikelihoodForParameters(variables);