invest function

Inverse estimation for linear, nonlinear, and generalized linear models