I am not familiar with your syntax but in Stata 9.2 you would write
twoway (lfitci y x) (scatter y x), by(z)
Raphael
On Thu, Apr 10, 2008 at 9:47 AM, Berthold Hoppe
<[email protected]> wrote:
> Dear all,
>
> I try to overlay two linear prediction plots using
>
> overlay y x, by(z) function(twoway lfitci).
>
> The linear regressions are made, but before graphing a black screen, the
> error "unrecognized command: sto" r(199) is shown.
>
> Does anyone know, what to do.
>
> Thanks,
> Berthold
> *
> * 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/