-twoway lfit mpg weight || scatter mpg weight- will produce a very nice graph.
or, with confidence intervals:
twoway lfitci mpg weight || scatter mpg weight
As an alternative (Stata 7) you could use Nick Cox's -sparl-
Scott
----- Original Message -----
From: "Alejandro Ria�o" <[email protected]>
To: <[email protected]>
Sent: Wednesday, February 05, 2003 5:45 PM
Subject: st: Avplots
> Hello Statalisters,
>
> My question is very simple..., it regards avplots, we
> I do it after running a simple regress the range in
> the graph axes dont correspond to the ones of my
> variables. Do you know how can i create a scatterplot
> of my data with the regression line included so I can
> overcome this problem ?
>
> thank you
>
> Alejandro
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> *
> * For searches and help try:
> * http://www.stata.com/support/faqs/res/findit.html
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
>
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/