Hello everyone, I have a simple question.
I use the next data
I also have the variables "number_of_men" and "number_of_women" which are the numbers of men and women I calculated the variables and "mean_income_men" "mean_income_women" from.
Now what I look for is simply that in the bottom left side of the graph will be the text "Number of Men = " and after it the mean value of the variable "number_of_men" (all the observations in the data have the same value in this variable), and below it the same thing but for the number of women.
How can I do that? I'll be very glad if someone can show it to me with a simple code.
Thank you!
Fitzgerald
I use the next data
Code:
twoway (scatter mean_income_men year) (line mean_income_men year) (scatter mean_income_women year) (line mean_income_women year)
Now what I look for is simply that in the bottom left side of the graph will be the text "Number of Men = " and after it the mean value of the variable "number_of_men" (all the observations in the data have the same value in this variable), and below it the same thing but for the number of women.
How can I do that? I'll be very glad if someone can show it to me with a simple code.
Thank you!
Fitzgerald

Comment