Hello,
I have a dataset with several countries and quarterly values.
i' m running the following regression where i want to control for time (quarter) effects.
Xtrifreg Y X1 X2 X3, fe i(country_) q(10)
My doubt is that i don't understand the difference between the following issues to calculate the appropriate dummies:
1 - estimate the regression using only 4 dummies (one for each quarter). In that case i'll have: xtrifreg Y X1 X2 X3 dum1 dum2 dum3 dum4, fe i(country_) q(10)
2 - estimate the regression using several dummies for each quarter of each year. For example 1980q1, 1980q2, 1980q3, 1980q4, 1985q1, 1985q2 and so on. In that case I will have;
xtrifreg Y X1 X2 X3 dum1980q1 dum19080q2 dum1980q3 ...dum2013q1, fe i(country_) q(10).
Can you help me to understand the difference between these two approaches and which one is better to use?
thank you in advance.
best regards
Related Posts with Dummies time fixed effects
Collapse and generate average valuesDear, I want to collapse the years into periods of, say, two years each. For example, if I have a p…
How to create an aggregate observational unit by adding values by country and year.Hello, I have the following dataset for a number of countries. I would like to generate an aggregate…
Finding Market SharesHi all, I have a data in the following format. I need to calculate the market share where market sh…
egen, groupDear All, Suppose that I have this data set (the original question is here), Code: * Example genera…
Robust Standard Errors how to get value for Wald Chi^2?Hello everyone! I am running panel data regressions and am using the 'robust' command as I think my…
Subscribe to:
Post Comments (Atom)
0 Response to Dummies time fixed effects
Post a Comment