I have quite a simple problem. But STATA is new to me.

my code is :

y age gender: egen UIdur_mean = mean(UIdur)
sort age gender

and I should Plot the average unemployment duration created by age, separately for men and women.
How to code that?

Matt