I have a data like the following:
| Year | Firm | Gender |
| 2009 | A | M |
| 2009 | A | M |
| 2009 | A | F |
| 2010 | A | M |
| 2010 | A | M |
| 2010 | A | F |
| 2010 | A | M |
| 2011 | A | M |
| 2011 | A | F |
| 2011 | A | F |
| 2015 | B | F |
| 2015 | B | F |
| 2015 | B | F |
| 2017 | B | M |
| 2017 | B | M |
| 2017 | B | F |
| 2017 | B | F |
For example, in 2009, firm A should have 33%
For example, in 2015, firm B should have 100% and so on.
Can anyone tell me how to do it on stata?
Thank you in advance.
Kind Regards,
Hesham Ali
No comments:
Post a Comment