23 lowerBound = std::log( std::numeric_limits<double>::epsilon());
24 upperBound = -lowerBound;
29 return std::log(mu / (1 - mu));
34 return 1 / (mu * (1 - mu));
42 result = 1 / (1 + std::exp(-lowerBound));
44 else if (eta > upperBound)
46 result = 1 / (1 + std::exp(-upperBound));
50 result = (1 / (1 + std::exp(-eta)));
52 if (result <0 ) result = 0;
53 if (result > 1) result = 1;
double InverseLink(double eta)