Assume I have the following data
DATA LIST FREE / sex (A) year. BEGIN DATA m 2011 m 2011 m 2012 f 2011 f 2011 f 2011 f 2011 f 2012 f 2012 END DATA.
How can I plot a line of how the proportions of males and females change over the years. Not the absolute values and not the total percentages, but the percentages per year.
I also need a crosstab where the percentages per year are shown.
A syntax would be nice, thank you.