hi, everyone, I'm using Stata to learning RDD(I'm a new learner), I received the error below when I have a try to use RDDENSITY(I already install it), I wonder how to deal with it?
option graph_options() not allowed r(198);
and the following is my code:
#delimit ; cap drop temp_*;
rddensity cut, plot plot_range(-40 40)
fitselect(restricted) genvars(temp)
graph_options(title("RDDENSITY PLOT: Housing Data") xtitle("area-90") xlabel(-20(5)20) legend(off));
#d cr
graph export "Fig_2.png", replace
option graph_options() not allowed r(198);
and the following is my code:
#delimit ; cap drop temp_*;
rddensity cut, plot plot_range(-40 40)
fitselect(restricted) genvars(temp)
graph_options(title("RDDENSITY PLOT: Housing Data") xtitle("area-90") xlabel(-20(5)20) legend(off));
#d cr
graph export "Fig_2.png", replace
Comment