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: RE: lengthening lfit line to fill the entire graph
From
"Ariel Linden, DrPH" <[email protected]>
To
<[email protected]>
Subject
re: st: RE: lengthening lfit line to fill the entire graph
Date
Sun, 15 Jan 2012 12:33:03 -0500
Yes, that is exactly what I needed. Thank you Philip!
Date: Sun, 15 Jan 2012 11:47:02 +1030
From: "Philip Ryan" <[email protected]>
Subject: st: RE: lengthening lfit line to fill the entire graph
<<>>
Is this what you mean:
twoway (scatter length weight if foreign==1) (scatter length weight if ///
foreign==0) (lfit length weight if foreign==1, range(1500,5000))
Phil
Philip Ryan
Professor and Director
Data Management & Analysis Centre
School of Population Health & Clinical Practice University of Adelaide
- -----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Ariel Linden,
DrPH
Sent: Sunday, 15 January 2012 7:21 AM
To: [email protected]
Subject: st: lengthening lfit line to fill the entire graph
Hi All,
How can I lengthen the lfit line (or for that matter, any predicted line) to
fill the entire length of the x-axis (according the x-axis label).
For example:
twoway (scatter length weight if foreign==1) (scatter length weight if
foreign==0) (lfit length weight if foreign==1)
Thanks!
Ariel
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/