Hi everyone,
I'm working on plotting a regression discontinuity design. So the running variable is age which has a cut-off point at a specific age. My problem is defining the bins and one single fitted line on the two sides of the cut off point...So far I have been using the following code
"
which produces the following graph. Please let me know how I can have a better sense of the bins and the fitted lines. Any suggestions/comments are appreciated.
I'm working on plotting a regression discontinuity design. So the running variable is age which has a cut-off point at a specific age. My problem is defining the bins and one single fitted line on the two sides of the cut off point...So far I have been using the following code
cmogram searchnf ageint if ageint>18 & ageint<24, cut(21) scatter line(0) qfitci
which produces the following graph. Please let me know how I can have a better sense of the bins and the fitted lines. Any suggestions/comments are appreciated.
Comment