Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: ANOVA in panel


From   "Andrea Molinari" <[email protected]>
To   <[email protected]>
Subject   st: ANOVA in panel
Date   Thu, 15 Jul 2004 16:44:26 +0100

Dear Statalisters,
This is probably a very basic question, but I couldn't find the answer (or
the correct syntax) for it.
I am trying to run an ANOVA command on my regression, to see how much of the
variation in the dependent variable do my fixed effects explain.
Any suggestions will be more than welcomed!
Thanks
Andrea

----- Original Message ----- 
From: "Kenneth Higbee, Stata" <[email protected]>
To: <[email protected]>
Sent: Thursday, July 15, 2004 4:07 PM
Subject: Re: Re: st: Memory Usage


> Bill Gould <[email protected]> and Vince Wiggins
> <[email protected]> provided a nice solution to the large -areg-
> problem Tim Sass <[email protected]> presented.
>
> I just want to point out 2 typos that might confuse you.  In
> part of the instructions they say
>
> > . by group: gen double mu_x2 = sum(x2)/_N
> > . gen double x1dev = x2 - mu_x2
>
> It should be
>
>   . by group: gen double mu_x2 = sum(x2)/_N
>   . gen double x2dev = x2 - mu_x2
>
> They accidentally typed x1dev where they should have had x2dev.
>
> Then later, they say:
>
> > Think about the values that can appear in d1dev.  Because Tim has only
> > two groups, the values of d1 are (0,0), (1,1), (1,0), or (0,1).  The
> > mean is thus 0, 1, .5, or .5, and d1dev is -.5, 0, or .5.
>
> Instead of saying "... Tim has only two group, ..." they meant to
> say "... Tim has groups with only two observations per group, ..."
>
> The solution they provide depends on there being at most two
> observations in each group.
>
> Ken Higbee    [email protected]
> StataCorp     1-800-STATAPC
>
> *
> *   For searches and help try:
> *   http://www.stata.com/support/faqs/res/findit.html
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index