Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
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/