bfifield / hettx

hettx: Detecting and Measuring Treatment Effect Variation
9 stars 0 forks source link

Merge estbeta #9

Closed bfifield closed 5 years ago

bfifield commented 5 years ago

As described above, chooses appropriate method given the formula argument form (Y1 + Y0 ~ Z chooses calc.beta.oracle, Y ~ Z chooses calc.beta.ITT, Y ~ T | Z chooses calc.beta.LATE). Also, there is a master R2 function that chooses R2.ITT or R2.LATE depending on the output class of calc.beta.

If you'd rather keep the est.beta functions separate, I think that also makes sense, but I think we can keep the R2 functions merged together.

lmiratrix commented 5 years ago

I like it!