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: Comparing mean of two regression models


From   David Hoaglin <dchoaglin@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Comparing mean of two regression models
Date   Sun, 11 Dec 2011 08:15:11 -0500

What is the justification for fitting separate models when it would be
customary to make the comparisons between slopes and intercepts within
a single model (which would give a better estimate of the residual
variance)?  You would estimate the difference in intercepts by
including  dummy  as a predictor, and the difference in slopes by
including the interaction that Joerg suggested earlier.

David Hoaglin

On Sun, Dec 11, 2011 at 3:11 AM, David Ashcraft
<ashcraftd@rocketmail.com> wrote:
> Thanks a lot Joerg,
>
> It worked. Please advise, if I want to compare the intercepts rather than slopes than hat should I do?
> David
*
*   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