ERSADO, LIRE
>
> I would like to superimpose (overlay) two or more
> non-parameteric regression
> lines on one graph. Does anyone have a program or know of
> an easier way for
> doing this?
>
There are several programs for nonparametric
regression (or smoothing) written in Stata.
Use -findit- to locate some.
However, -ksm- works very well in my experience.
Here is an example with the auto data:
foreach w of num 7/9 {
ksm mpg weight, lowess bw(0.`w') gen(p`w')
}
gra mpg p7 p8 p9 weight, c(.sss) sy(oiii)
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/