[R] strange behavior of loess() predict()

2005-12-06 Thread Leo Gürtler
Dear altogether, I tried local regression with the following data. These data are a part of a bigger dataset for which loess is no problem. However, the plot shows extreme values and by looking into the fits, it reveals very extreme values (up to 2 !) although the original data are

Re: [R] strange behavior of loess() predict()

2005-12-06 Thread Gavin Simpson
On Tue, 2005-12-06 at 18:09 +0100, Leo Gürtler wrote: Dear altogether, snip # here is the difference!! predict(mod, data.frame(x=X), se=TRUE) predict(mod, x=X, se=TRUE) --- end of snip --- I assume this has some reason but I do not understand this reason. Merci, Not sure if this is

Re: [R] strange behavior of loess() predict()

2005-12-06 Thread Leo Gürtler
Gavin Simpson wrote: Dear list, I am very sorry for being inaccurate in my question. But re-reading the predict.loess help site does not provide a solution. As long as predict is used on a new dataset based on this dataset, the strange values remain and can be reproduced. Adding a new element

Re: [R] strange behavior of loess() predict()

2005-12-06 Thread Hong Ooi
Gürtler Sent: Wednesday, 7 December 2005 8:10 AM To: r-help@stat.math.ethz.ch Cc: [EMAIL PROTECTED] Subject: Re: [R] strange behavior of loess() predict() Gavin Simpson wrote: Dear list, I am very sorry for being inaccurate in my question. But re-reading the predict.loess help site does not provide