Hello, I have a question for researchers who have tried running a replication code of a graph syntax.
When I try to replicate using the syntax files, I often found out the commands usually like this (example from Mostly Harmless Econometrics).
But to run the syntax, I had to delete those /// in each line and type the syntax in a single row of the command line. (The do file editors could not read the replication code).
But then why do the researchers upload the syntax using /// and separate each option?
And can I get a quick way to replicate the graph using the commands by not deleting all the ///?
I googled a lot but could not figure it out...
Thank you all in advance!
graph twoway (line lwklywge yqob, lcolor(black)) /// (scatter lwklywge yqob if qob == 1, /// mlabel(qob) msize(small) msymbol(S) mcolor(black)) /// (scatter lwklywge yqob if qob != 1, /// mlabel(qob) msize(small) msymbol(Sh) mcolor(black)), /// xlabel(, format(%tqY)) /// title("B. Average weekly wage by quarter of birth (reduced form)") /// ytitle("Log weekly earnings") /// xtitle("Year of birth") /// legend(off) /// name(lwklywge) /// scheme(s1mono)