logistic model fitting
documentation.
more documentation