Hello everybody!
I would kindly want to ask you about an issue I have with dummy variables (in panel data).
Specifically, which is the difference between: " yr* " and " i.year " ?
I specify better. I have a panel data of N=500 and T=20 (from 1994 to 2013).
I want to analyze the impact of yearly dummies and income on consumption.
I hence start with a pooled gls regression:
“ reg consumption income yr* ” (which is the same of: “ reg consumption income yr1 yr2 yr3 … yr20 ”.
However, when I carry out:
“ reg consumption income i.year ”
I obtain different results; moreover, in the results table, in this case I obtain a variable “year” but starting from 2000 instead of 1994.
The same thing if I carry out a FE regression:
“ xtreg consumption income yr* ”
and
“ xtreg consumption income i.year ”
Also in this case, I always end up obtaining different results between the two.
What is the difference, hence, between yr* and i.year ? Why aren't they the same? In the sense that they should both refer (?) to the impact of (yearly) time over consumption.
So why do I obtain different results?
Could someone please kindly help me to understand this? I would be really grateful.
Thank you very much!
K
I would kindly want to ask you about an issue I have with dummy variables (in panel data).
Specifically, which is the difference between: " yr* " and " i.year " ?
I specify better. I have a panel data of N=500 and T=20 (from 1994 to 2013).
I want to analyze the impact of yearly dummies and income on consumption.
I hence start with a pooled gls regression:
“ reg consumption income yr* ” (which is the same of: “ reg consumption income yr1 yr2 yr3 … yr20 ”.
However, when I carry out:
“ reg consumption income i.year ”
I obtain different results; moreover, in the results table, in this case I obtain a variable “year” but starting from 2000 instead of 1994.
The same thing if I carry out a FE regression:
“ xtreg consumption income yr* ”
and
“ xtreg consumption income i.year ”
Also in this case, I always end up obtaining different results between the two.
What is the difference, hence, between yr* and i.year ? Why aren't they the same? In the sense that they should both refer (?) to the impact of (yearly) time over consumption.
So why do I obtain different results?
Could someone please kindly help me to understand this? I would be really grateful.
Thank you very much!
K
Comment