Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: arega and post regression tests


From   Nick Cox <n.j.cox@durham.ac.uk>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   RE: st: arega and post regression tests
Date   Wed, 2 Nov 2011 12:45:42 +0000

No; you don't need to do that as you can use factor variable notation. 

Nick 
n.j.cox@durham.ac.uk 

Ozgur Ozdemir

Hi Kit,
my industry codes are one on single column, do you mean that I need to create one dummy variable for each industry code first and then I can use normal regression ?

> From: kit.baum@bc.edu

> I have been requested to use areg in my regression due to large dummy variable (15 industry codes in a sample of 1100 firms) set...
>
> The requestor is being silly. What's wrong with having 15 additional coefficients in a sample of 1100? The areg command is estimating those same coefficients; it is just not displaying them.
>
> Using a table-producing routine such as built-in -estimates table-, you can produce output not showing the dummy coefficients with drop() or keep(). Same goes for user-written routines like Ben Jann's -estout- on SSC. Use -regress- and show the requestor the edited output.

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index