Bookmark and Share

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


From   Kasal Roman <[email protected]>
To   [email protected]
Subject   Re: st: theory reg vs. qreg
Date   Mon, 29 Apr 2013 14:08:32 +0200

Later I will put it here more detailed but its quite clear that on the
same dataset with a simple regression we get:

Y1=Y2 when replaced "a2" for "mean(x)" in the equation

thx

r


On Mon, Apr 29, 2013 at 1:54 PM, David Hoaglin <[email protected]> wrote:
> 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 <[email protected]> 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/
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index