[R] predicting from a local regression and plotting in lattice

Dieter Menne dieter.menne at menne-biomed.de
Mon Oct 13 08:20:41 CEST 2008


Alex Karner <aakarner <at> ucdavis.edu> writes:

> I realize these limitations. However, I know that my actual dataset is
> reasonably well behaved in the range I want to predict, and I'm not using
> the predicted values for any further analysis, only for schematic purposes
> in the plot.
> 
> I'm still curious if this type of extension of a loess line is possible,
> notwithstanding its statistical shortcomings.

I don't understand why you want to use a local method for a global job. Why not
use a spline, a logistic regression (also well behaved!) or some exp-derivate if
it is a growth curve?

Dieter



More information about the R-help mailing list