I cannot figure out how to include year dummies for a relogit regression I am running.
My data is at the company level, and looks like this:
My outcome (lobby) is binary, main IV (owned) is also binary. I have some time-varying variables (such as firm revenue and unemployment) and I am trying to find a way to include a time dummy.
Relogit analysis look like this:
relogit lobby owned rev size unemployment unempl
Corrected logit estimates Number of obs = 371157
------------------------------------------------------------------------------
| Robust
lobby | Coefficient std. err. z P>|z| [95% conf. interval]
-------------+----------------------------------------------------------------
owned | 2.472867 .0862355 28.68 0.000 2.303848 2.641885
rev | .4859777 .0303513 16.01 0.000 .4264902 .5454652
size | -.1088001 .0322689 -3.37 0.001 -.172046 -.0455543
unempl | -.0027092 .0344196 -0.08 0.937 -.0701703 .064752
Any thoughts on how to include a year dummy and how to include it in a model? I can do include a separate variable for each year but then the model includes 10 additional variables …
Thanks. in advance,
Aydin
My data is at the company level, and looks like this:
id | year | lobby | size | rev | country | owned | unempl |
A | 2001 | 1 | 15 | 130422 | DE | 0 | 8 |
A | 2002 | 1 | 15 | 187222 | DE | 0 | 8.2 |
A | 2003 | 1 | 28 | 167543 | DE | 0 | 8.4 |
A | 2004 | 1 | 33 | 168322 | DE | 0 | 9 |
A | 2005 | 1 | 33 | 182333 | DE | 0 | 8.7 |
B | 2000 | 0 | 6 | UK | 1 | 8.1 | |
B | 2001 | 0 | 6 | UK | 1 | 8 | |
B | 2002 | 0 | 7 | UK | 1 | 8.2 | |
C | 2000 | 0 | 12 | AT | 0 | 8.1 | |
C | 2001 | 0 | 12 | AT | 0 | 8 | |
C | 2002 | 0 | 82 | AT | 0 | 8.2 | |
C | 2003 | 0 | 76 | AT | 0 | 8.4 |
My outcome (lobby) is binary, main IV (owned) is also binary. I have some time-varying variables (such as firm revenue and unemployment) and I am trying to find a way to include a time dummy.
Relogit analysis look like this:
relogit lobby owned rev size unemployment unempl
Corrected logit estimates Number of obs = 371157
------------------------------------------------------------------------------
| Robust
lobby | Coefficient std. err. z P>|z| [95% conf. interval]
-------------+----------------------------------------------------------------
owned | 2.472867 .0862355 28.68 0.000 2.303848 2.641885
rev | .4859777 .0303513 16.01 0.000 .4264902 .5454652
size | -.1088001 .0322689 -3.37 0.001 -.172046 -.0455543
unempl | -.0027092 .0344196 -0.08 0.937 -.0701703 .064752
Any thoughts on how to include a year dummy and how to include it in a model? I can do include a separate variable for each year but then the model includes 10 additional variables …
Thanks. in advance,
Aydin
Comment