Hi, Stata users!
I want to determine the economic effects on individual happiness, more specifically, if individuals in a specific country are happier because that country has a better economic performance. I am using two surveys where I have cross-sectional data, the World Values Survey. My code is:
oprobit Happiness GDPgrowth unemployment Male age i.Married i.Religion i.Education i.Townsize i.Country i.Year, vce(robust)
I used in the end country and year fixed effects in order to control for omitted variable bias, but Stata omitts me countries and year and I think that is because I have GDPgrowth and unemployment in my regression.
However, if I just write:
oprobit Happiness GDPgrowth unemployment i.Country i.Year, vce(robust)
it does not omitt countries or years
Can anyone explain me how I should solve this?
I want to determine the economic effects on individual happiness, more specifically, if individuals in a specific country are happier because that country has a better economic performance. I am using two surveys where I have cross-sectional data, the World Values Survey. My code is:
oprobit Happiness GDPgrowth unemployment Male age i.Married i.Religion i.Education i.Townsize i.Country i.Year, vce(robust)
I used in the end country and year fixed effects in order to control for omitted variable bias, but Stata omitts me countries and year and I think that is because I have GDPgrowth and unemployment in my regression.
However, if I just write:
oprobit Happiness GDPgrowth unemployment i.Country i.Year, vce(robust)
it does not omitt countries or years
Can anyone explain me how I should solve this?