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: theory reg vs. qreg


From   David Hoaglin <dchoaglin@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: theory reg vs. qreg
Date   Mon, 29 Apr 2013 07:54:58 -0400

Roman,

What is the fact?  How is Y1 related to Y2?  Apparently, you have
tried something with a -reg- command.  Please show us the command and
the output.

David Hoaglin

On Mon, Apr 29, 2013 at 7:49 AM, Kasal Roman <kasalroman@gmail.com> wrote:
> but this is a fact, just try it with the simple "reg" command:
>
> A) Y1 = b1
> B) Y2 = a2*X + b2
>
> on the same data
> then MUST be:
>
> Y2 = mean(x)*X + b2 = b1 = Y1
>
> and I'd like to know if there is something like this possible with the
> "qreg" command.
>
> thx
>
> roman
*
*   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/


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