Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Alfonso Sanchez-Penalver <alfonso.statalist@gmail.com> |
To | "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |
Subject | Re: st: XTREG |
Date | Mon, 25 Nov 2013 07:21:39 -0500 |
Yes -regress- is the right command. If you include all the dummy variables for the firms make sure to run it without a constant. Best, Alfonso Sanchez-Penalver > On Nov 25, 2013, at 7:10 AM, Andrea Rispoli <andrea.rspl@gmail.com> wrote: > > Dear Statalisters, > This is probably a very trivial question but if someone would be so > kind to respond and clarify my doubts, I would really appreciate. > > I am running a regression analysis on a panel dataset (in that I have > firms observations across multiple years) with repeated time values > (multiple observation for the DV in each year). > > In order to include fixed effects, I am manually entering dummy > variables for each firm. > My question is: in this case the right command to use is REG or XTREG? > My understanding from previous posts is that I should use REG, but a > confirmation would be really appreciated. > Thank you very much in advance for your time. > > Kind Regards > * > * For searches and help try: > * http://www.stata.com/help.cgi?search > * http://www.stata.com/support/faqs/resources/statalist-faq/ > * http://www.ats.ucla.edu/stat/stata/ * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/