Hi,
I’m trying to create a time series plot with the data below. I´m trying to create one plot for men (Gender = 1) and one for women (Gender = 0) and use the mean of savings each year in the plot.
X-axis Year and Savings at the y-axis.
Year Savings Gender
2001 2 1
2002 3 1
2003 2 1
2004 5 1
2001 1 0
2002 3 0
2003 4 0
2004 5 0
2001 3 1
2002 5 1
2003 4 1
2004 1 1
.....
I appreciate all your help; thank you in advance!
Best,
Anders Hansen
Related Posts with Times series plot
Twoway subtitle options using -by-How to adjust text options for subtitles in a simple twoway plot using -by- ? Code: sysuse auto, c…
Difficulty in accessing my results tables via LaTexHello, I am practicing how to create customised LaTex regression results tables in STATA. However, …
merging data with different time frequenciesHello, I have looked for guidance from other posts but could not solve this: I have two datasets- 'D…
Stata not showing results/command/log window?Hi Everyone, I'm running into a weird issue with Stata - the main results/command/log window is ~in…
Is there a way to format variable?Hello friends, I am currently using data that has one variable that shows the value of the date, fo…
Subscribe to:
Post Comments (Atom)
0 Response to Times series plot
Post a Comment