Hello all,
I would like to compare the log earnings of males and females in 1996 using a kdensity plot. I followed the advice here (http://ewens.caltech.edu/2013/06/13/...plot-in-stata/) but it doesn't seem to be working. The two commands work in isolation to each other, but that is futile as I don't want to have two plots, I want one!
I would like to compare the log earnings of males and females in 1996 using a kdensity plot. I followed the advice here (http://ewens.caltech.edu/2013/06/13/...plot-in-stata/) but it doesn't seem to be working. The two commands work in isolation to each other, but that is futile as I don't want to have two plots, I want one!
Code:
kdensity log if employee == 1 & indus != 1 & New_Gender==1 [aw=pweight], gaussian n(1000) width(0.2)), addplot (kdensity log if employee == 1 & indus != 1 & New_Gender==2 [aw=pweight], gaussian n(1000) width(0.2))
Comment