set_treatment function

Specifiy a treatment variable for a controlled direct effect