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
Dynamically rename variable (using "word()")I have a dataset that looks as follows: Code: clear input str7 index int data "EOSQ041" 42…
Problem with -import dbase-I am using -import dbase- to convert a DBF file to DTA. However, it is replacing some of the non-mis…
Pre-announcement driftDear Statalist, I would really apreciate any help/tips members have to offer on this topic. I am w…
import delimited and accidental carriage returnsHi Statalist, I am importing about 75 csv's and appending them together. I got these csvs from a go…
AR(1) simulationsHi, I'm new to stata programming and need some help on a simulation exercise. I need to simulate a…
Subscribe to:
Post Comments (Atom)
0 Response to Dummies time fixed effects
Post a Comment