calculate probability from logistic regression coefficients