Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Kasal Roman <kasalroman@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
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 <dchoaglin@gmail.com> 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 <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/ * * 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/