makes kernel density graphs. To see why this is important, see lab6.
(note line may wrap around)
kdensity wage_re if (wage_re>0 & wage_re<70) & (sex==1), width(.8) title("men") saving(lab6a, replace)
kdensity wage_re if (wage_re>0 & wage_re<70) & (sex==2), width(.8) title("women") saving(lab6b, replace)
graph combine lab6a.gph lab6b.gph, ycommon saving(lab6c, replace) title("2005 wage distribution, by gender") note("CPS data")
Categories: Lab6