/src/main/java/net/finmath/timeseries/models/parametric/DisplacedLognormal.java
guessParameters[3] = -Math.log( 1.0/( ( guessDisplacement-lowerBoundDisplacement) /( quantile-lowerBoundDisplacement) ) -1.0) ;
guessParameters[3] = -Math.log ( 1.0/ ( ( guessDisplacement-lowerBoundDisplacement ) / ( upperBoundDisplacement-lowerBoundDisplacement ) ) -1.0 ) ;
final double guessMucorr = guessAlpha + guessBeta; final double guessMuema = guessBeta / (guessAlpha+guessBeta); 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)); <extra_id_0> final org.apache.commons.math3.optimization.direct.CMAESOptimizer optimizer2 = new org.apache.commons.math3.optimization.direct.CMAESOptimizer(); double[] bestParameters = null; try { final PointValuePair result = optimizer2.optimize( maxIterations, objectiveFunction,