statsmodels.tools.tools.monotone_fn_inverter is deprecated, use statsmodels.distributions.monotone_fn_inverter instead!
Given a monotone function x (no checking is done to verify monotonicity) and a set of x values, return an linearly interpolated approximation to its inverse from its values on x.