Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: areg - number of categories
From 
 
Richard Goldstein <[email protected]> 
To 
 
[email protected] 
Subject 
 
Re: st: areg - number of categories 
Date 
 
Wed, 12 Jan 2011 13:11:31 -0500 
it is not quite reported but e(df_a) is the number of categories minus 1
(apparently) so you could use that by adding 1 to it
Rich
On 1/12/11 1:05 PM, Ben Hoen wrote:
> Hello,
> 
> When using areg, below the regression results a total "x categories" is
> provided indicating the number of fixed effects controlled for in the absorb
> variable.  
> 
> I would like to provide that total in summary results (using estout).  Is
> that number stored in e()?  If so, what is it entitled.  If not, is there a
> way to store that number in eststo manually to be used later?
> 
> Ben
> 
> Ben Hoen
> Principal Research Associate
> Lawrence Berkeley National Laboratory
> Office: 845-758-1896
> Cell: 718-812-7589
> [email protected]
*
*   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/