Hey so I am doing a paper about mental health and how it is both affected by our living standards and how it affects our social economics, well being and productivity.
Sadly I am fairly new to Stata and am having some trouble with it.
My data is like so in excel
Which I then import into Stata the data is for active cases of people on sick leave because of mental health issues on a quarterly basis per year for a total of 24 county's (84 obs) from year 2005 - 2015 and split in gender. What I would like to do with the data is to combine the quarterly data into yearly data.
Any help or points in the right direction on where to read about this would be greatly appreciated.
Sadly I am fairly new to Stata and am having some trouble with it.
My data is like so in excel
Observation | County | Year 2005 | Year 2006 | Year 2007 | Year 2008 | Year 2009 | Year 2010 |
1 | Stockholms county Q1 | 9334 | 8480 | 7999 | 7114 | 5830 | 4474 |
2 | Stockholms county Q2 | 8610 | 7940 | 7713 | 6216 | 5248 | 4656 |
3 | Stockholms county Q3 | 8011 | 7615 | 7178 | 6045 | 5069 | 4583 |
4 | Stockholms county Q4 | 8468 | 8019 | 7195 | 6147 | 5110 | 5458 |
5 | Uppsala county Q1 | 1661 | 1465 | 1372 | 1229 | 978 | 680 |
6 | Uppsala county Q2 | 1441 | 1311 | 1354 | 1067 | 847 | 721 |
7 | Uppsala county Q3 | 1356 | 1271 | 1283 | 1050 | 810 | 763 |
8 | Uppsala county Q4 | 1430 | 1313 | 1246 | 1054 | 841 | 958 |
Which I then import into Stata the data is for active cases of people on sick leave because of mental health issues on a quarterly basis per year for a total of 24 county's (84 obs) from year 2005 - 2015 and split in gender. What I would like to do with the data is to combine the quarterly data into yearly data.
Any help or points in the right direction on where to read about this would be greatly appreciated.
Comment