Hello,
I need to have the trend of employment for total, male, and female in one plot. It is easy to have it for male and female using collapse, but how can I overlay the trend for total sample?
use temp,clear
collapse (mean) emp , by( sex year)
twoway (connect emp year if sex==1) (connect emp year if sex==2)
I appreciate it if somebody could help me !
I need to have the trend of employment for total, male, and female in one plot. It is easy to have it for male and female using collapse, but how can I overlay the trend for total sample?
use temp,clear
collapse (mean) emp , by( sex year)
twoway (connect emp year if sex==1) (connect emp year if sex==2)
I appreciate it if somebody could help me !
Comment