5.15.1.5. statsmodels.sandbox.utils_old.monotone_fn_inverter

statsmodels.sandbox.utils_old.monotone_fn_inverter(fn, x, vectorized=True, **keywords)[source]

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.