Hi everyone! I have a problem while trying to do the graphic illustration of the RDD using rdplot. The graph looks OK when I use a simple specification - just the dependent variable and one independent (running) variable. However, as I include covariates to see how they affect the point estimation and the slope of the lines at both sides of the cutoff point, the plotted line is suddenly well below the points on the graph. I looks like the intercept is not adjusted after the inclusion of the covariates. I know I probably do some stupid mistake but I can't find any way to fix it, and the help file is not verey informative
I will be grateful for help. Below I paste the syntax, and the graph
rdplot wynik_gm_m_std2015 dist_rus_aus_bord if abs(dist_rus_aus_bord)<50& ordinary==1&(ktory_zabor==2|ktory_zabor==3), p(1) covs (perc_boys l_uczG perc_dysl log_popul proc_pom_spol_2008 log_doch_wlas_pc_2015 perc_higher ) weights(l_uczG) h(50)
I will be grateful for help. Below I paste the syntax, and the graph
rdplot wynik_gm_m_std2015 dist_rus_aus_bord if abs(dist_rus_aus_bord)<50& ordinary==1&(ktory_zabor==2|ktory_zabor==3), p(1) covs (perc_boys l_uczG perc_dysl log_popul proc_pom_spol_2008 log_doch_wlas_pc_2015 perc_higher ) weights(l_uczG) h(50)
Comment