est_glm function

Construct estimator for the treatment effect in RCT