I have a dataset that looks like this
year month age
2007 1 17
2007 1 18
2007 1 19
2007 1 30
2007 1 31
2007 2 18
2007 2 19
2007 2 30
2008 2 41
2008 2 52
2008 2 49
2008 3 23
2008 3 19
2008 3 39
And I'm stuck trying to find quartile group by each year and month.
The results should be like:
2007 1 Q1 Q2 Q3 Q4
2007 2 Q1 Q2 Q3 Q4
etc..
Thanks