Good evening,
I am rurnning a RD design for my Master thesis and I am trying to plot the most intuitive (and pretty) graphs of RD effect.
I have seen from past posts on this forum and googling around that there are at least three commands (ssc) that do the job: -rd-, -rdplot- and -cmogram-. The issue I am stucking against is the fact that each command has something missing: -rdplot-, which seemed to me the most up-to-date lack confidence intervals (as far as I know); -rd- gives me a strange error message and compute a bandwidth that is clearly wrong; -cmogram- does not permit an intuitive representation of the results.
I post here my code examples
Is anybody of you experienced with this commands and willing to help me chosing the best one?
Thank you
I am rurnning a RD design for my Master thesis and I am trying to plot the most intuitive (and pretty) graphs of RD effect.
I have seen from past posts on this forum and googling around that there are at least three commands (ssc) that do the job: -rd-, -rdplot- and -cmogram-. The issue I am stucking against is the fact that each command has something missing: -rdplot-, which seemed to me the most up-to-date lack confidence intervals (as far as I know); -rd- gives me a strange error message and compute a bandwidth that is clearly wrong; -cmogram- does not permit an intuitive representation of the results.
I post here my code examples
Code:
*-rd- rd educ_years T run_var, z0(0) gr bin bin(educ_years) ox k(rectangle) *-rdplot- rdplot educ_years run_var, c(0) binselect(espr) *-cmogram- cmogram educ_years run_var, cut(0) ci(95) l(0) lowess scatter
Thank you
Comment