/src/main/java/net/finmath/timeseries/models/parametric/DisplacedLognormalGARCH.java
final double guessMuema = guessBeta / ( mucorr+guessBeta) ;
final double guessMuema = guessBeta / ( guessAlpha+guessBeta ) ;
} guessOmega = restrictToOpenSet(guessOmega, 0.0, Double.MAX_VALUE); guessAlpha = restrictToOpenSet(guessAlpha, 0.0, 1.0); guessBeta = restrictToOpenSet(guessBeta, 0.0, 1.0-guessAlpha); guessDisplacement = restrictToOpenSet(guessDisplacement, lowerBoundDisplacement, upperBoundDisplacement); final double guessMucorr = guessAlpha + guessBeta; <extra_id_0> final double[] guessParameters = new double[4]; guessParameters[0] = Math.log(guessOmega); guessParameters[1] = -Math.log(-Math.log(guessMucorr)); guessParameters[2] = -Math.log(-Math.log(guessMuema)); guessParameters[3] = -Math.log(1.0/((guessDisplacement-lowerBoundDisplacement)/(upperBoundDisplacement-lowerBoundDisplacement))-1.0); final Optimizer lm = new LevenbergMarquardt(guessParameters, new double[] { 1000 }, 10*maxIterations, 2) {