Dear Statalisters,
I have the following dataset:
Trying to set up the following fixed effect regression
xtset industry year
I get the following error (which I understand)
repeated time values within panel
r(451);
Does anybody has a solution, how I can run a fixed effect regression controlling for industry and year?
Thanks in advance!
I have the following dataset:
company | industry | year | size_sboard | women |
1 | 202 | 2017 | 16 | 0.25 |
1 | 202 | 2016 | 16 | 0.25 |
1 | 202 | 2015 | 12 | 0.33333333 |
1 | 202 | 2014 | 12 | 0.33333333 |
1 | 202 | 2013 | 12 | 0.16666667 |
1 | 202 | 2012 | 12 | 0.16666667 |
1 | 202 | 2011 | 12 | 0.16666667 |
1 | 202 | 2010 | 12 | 0.16666667 |
1 | 202 | 2009 | 12 | 0.16666667 |
1 | 202 | 2008 | 12 | 0.16666667 |
2 | 204 | 2017 | 6 | 0.33333333 |
2 | 204 | 2016 | 6 | 0.33333333 |
2 | 204 | 2015 | 6 | 0.16666667 |
2 | 204 | 2014 | 6 | 0.16666667 |
2 | 204 | 2013 | 6 | 0.16666667 |
2 | 204 | 2012 | 6 | 0.16666667 |
2 | 204 | 2011 | 6 | 0.16666667 |
2 | 204 | 2010 | 6 | 0 |
2 | 204 | 2009 | 6 | 0 |
2 | 204 | 2008 | 5 | 0 |
3 | 207 | 2017 | 12 | 0.16666667 |
3 | 207 | 2016 | 12 | 0.16666667 |
3 | 207 | 2015 | 12 | 0.16666667 |
3 | 207 | 2014 | 12 | 0.16666667 |
3 | 207 | 2013 | 12 | 0.16666667 |
3 | 207 | 2012 | 12 | 0.08333333 |
...and so on...
Trying to set up the following fixed effect regression
xtset industry year
I get the following error (which I understand)
repeated time values within panel
r(451);
Does anybody has a solution, how I can run a fixed effect regression controlling for industry and year?
Thanks in advance!
Comment