logistic_bin_outcome function

Legacy function for binary logistic regression