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 at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: theory reg vs. qreg


From   Kasal Roman <kasalroman@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: theory reg vs. qreg
Date   Mon, 29 Apr 2013 12:23:58 +0200

Please,


the "reg" command gives me these results:

A) Y1=b1

B) Y2=a2*x+b2

then

Y2=mean(x)*x+b2=b1=Y1


How is it with "qreg"? How could I deactivate the "a2" coefficient
without a need to estimate two functions with the "qreg" command? How
to get the result of "b1" just with the B) method through the "qreg"
command? I know neither mean(x) nor median(x) fit.



Thank you



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