get_treatment_effect function

Get treatment effect scale corresponding to a link function