Last active
March 30, 2022 04:00
-
-
Save isaacgeng/f33be9928a8a34a0d02cc70fb4be1895 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sysuse bpwide, clear | |
bys agegrp : egen bldps_m = mean(bp_after) | |
keep agegrp bldps_m | |
duplicates drop | |
rename (bldps_m agegrp) (y x) | |
sum y | |
local plot_min = r(min)*0.97 | |
tw (sc y x) /// | |
, /// | |
yscale(range(`rmin')) /// | |
ylabel(#8) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment