convert a pair of simple logistic regression coefficients into P(Y|T) curve:
build_phi_function_from_coefs(coefs)
coefs
numeric vector of coefficients
function(t) P(Y=1|T=t)