/src/main/java/net/finmath/timeseries/models/parametric/DisplacedLognormalARMAGARCH.java
return upperBoundDisplacement;
return logLikelihood;
double logLikelihood = getLogLikelihoodForParameters(variables); logLikelihood -= Math.max(1E-30-omega,0)/1E-30; logLikelihood -= Math.max(1E-30-alpha,0)/1E-30; logLikelihood -= Math.max((alpha-1)+1E-30,0)/1E-30; logLikelihood -= Math.max(1E-30-beta,0)/1E-30; logLikelihood -= Math.max((beta-1)+1E-30,0)/1E-30; <extra_id_0> } } final GARCHMaxLikelihoodFunction objectiveFunction = new GARCHMaxLikelihoodFunction(); final double[] guessParameters = new double[6]; System.arraycopy(parameterGuess, 0, guessParameters, 0, parameterGuess.length); if(guess != null) {