Hello Statlist Colleagues:
I am working on replicating code to make the figure on page 26 of this slide deck with my variables of interest: https://www.princeton.edu/~otorres/Panel101.pdf
Below is the code I used:
When I modify the code from the slide deck, I get the following error in the output:
I am working on replicating code to make the figure on page 26 of this slide deck with my variables of interest: https://www.princeton.edu/~otorres/Panel101.pdf
Below is the code I used:
Code:
twoway scatter economic_freedom_summary_index year, msymbol (circle_hollow) color(gs14) || ///
connected mean_economicfree year, msymbol(diamond) sort ///
ylabel (0(1)10, angle(0) labsize(2) format(%7.0fc)) ///
xlabel (2006(1)2018, angle(45) labsize(2) grid) ///
title(Economic Freedom) xtitle(Year, size (2.5)) ///
legend(label(1 "Economic Freedom per country") label(2 "Mean Economic Freedom per year"))

Comment