Good day everyone,
I am studying the relationship between the unemployment rate and wage rates, and I am running into a problem where the sign of coefficients does not come out as expected (i.e., the estimated coefficient of the unemployment rate should be negative, but I got a positive). Specifically, the dep.var is the log of wages, and the indep.vars are the unemployment rate and other variables as well, of course. The codes that gave the wrong side are as follows:
However, when I changed from -i.year- to -c.year
the estimated coefficient of the unemployment rate is negative, which it should be.
I know that my current model is not flawless, and that may cause the wrong sign. However, let's say we put everything else aside and focus on -i.year- vs -c.year-. Which one should I go for? Should I go for the conventional -i.year- and accept the wrong sign? Or should I go with -c.year-, which, to be honest, I have never used in my life; however, in return, I have the correct sign. And I do know what the differences are between -i.year- and -c.year-, just in case you are wondering.
I have much appreciated it if you skilled and experienced people could give me some advice.
Thank you. I hope you have a good day.
I am studying the relationship between the unemployment rate and wage rates, and I am running into a problem where the sign of coefficients does not come out as expected (i.e., the estimated coefficient of the unemployment rate should be negative, but I got a positive). Specifically, the dep.var is the log of wages, and the indep.vars are the unemployment rate and other variables as well, of course. The codes that gave the wrong side are as follows:
Code:
xtset ID year xtreg, ln_wage unemp_rate x1 x2 x3 i.year, re vce(cluster ID)
Code:
xtset ID year xtreg, ln_wage unemp_rate x1 x2 x3 c.year, re vce(cluster ID)
I know that my current model is not flawless, and that may cause the wrong sign. However, let's say we put everything else aside and focus on -i.year- vs -c.year-. Which one should I go for? Should I go for the conventional -i.year- and accept the wrong sign? Or should I go with -c.year-, which, to be honest, I have never used in my life; however, in return, I have the correct sign. And I do know what the differences are between -i.year- and -c.year-, just in case you are wondering.
I have much appreciated it if you skilled and experienced people could give me some advice.
Thank you. I hope you have a good day.

Comment