Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Re: Avplots


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: Re: Avplots
Date   Thu, 6 Feb 2003 09:12:22 -0000

Alejandro Ria�o

> > 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 ?

Scott Merryman

> -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-

Another alternative in Stata 7, in some ways more general
than -sparl-, is -regplot-. Both on SSC.

Nick
[email protected]

*
*   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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index