[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: -twoway kernreg- ?
-kernreg- is a user-written command published
in 1996. Thus it could not have been written
to be compatible with the new graphics of
Stata 8 released in 2003. The same
applies to later versions by other authors with
fewer bugs. (A corrected version of -kernreg- was never
released by its original authors.)
However, all that is now historical detail,
and other versions of -kernreg- would leave
you with the same graphics problem.
I guess that you would be much better off
. search locpoly
will identify the source, and something like
. locpoly mpg weight , <options>
plot(lfit mpg weight, <options>)
should do what you want.
> I wish to graph of a non-parametric plot of two variables
> over a regression plot
> using the -twoway- command, and compare the linearity imposed
> by a parametric
> -reg- fitting with a nonparametric smoothing.
> How is it possible to do that?
> The warning I get is that "kernreg is not a twoway plot type"
* For searches and help try: