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]
st: equation of a lfit in a scatter plot
From
Chiara Mussida <[email protected]>
To
statalist <[email protected]>
Subject
st: equation of a lfit in a scatter plot
Date
Fri, 9 Aug 2013 11:34:28 +0200
Dear Users,
is there an option to show the equation of a linear fit on a scatter
plot. In detail, my command is as follows:
twoway (scatter wage_dip urate, mlabel(regio)) (lfit wage_dip urate)
It shows the scatter plot between my variable and their linear fit.
How would I get the corresponding equation on my graph?
Thanks,
Chiara
*
* 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/