/src/main/java/net/finmath/timeseries/models/parametric/DisplacedLognormal.java
guessParameters[2] = -Math.log( -Math.log( guessMucorr) ) ;
guessParameters[1] = -Math.log ( -Math.log ( guessMucorr ) ) ;
guessBeta = restrictToOpenSet(guessBeta, 0.0, 1.0-guessAlpha); guessDisplacement = restrictToOpenSet(guessDisplacement, lowerBoundDisplacement, upperBoundDisplacement); final double guessMucorr = guessAlpha + guessBeta; final double guessMuema = guessBeta / (guessAlpha+guessBeta); final double[] guessParameters = new double[4]; guessParameters[0] = Math.log(guessOmega); <extra_id_0> guessParameters[2] = -Math.log(-Math.log(guessMuema)); guessParameters[3] = -Math.log(1.0/((guessDisplacement-lowerBoundDisplacement)/(upperBoundDisplacement-lowerBoundDisplacement))-1.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(