Re: [R] Help with loess

2012-11-19 Thread Don McKenzie
In your case j$y are the original Y values (response), not the fitted values. Try plot(j$x,fitted(j)) On 19-Nov-12, at 7:20 PM, eric wrote: Not sure what I'm doing wrong. Can't seem to get loess values. It looks like loess is returning the same values as the input. j <-loess(x1$total~a

Re: [R] Help with loess

2012-11-19 Thread Pascal Oettli
Hello, Your problem is not reproducible. Regards, Pascal Le 20/11/2012 12:20, eric a écrit : Not sure what I'm doing wrong. Can't seem to get loess values. It looks like loess is returning the same values as the input. j <-loess(x1$total~as.numeric(index(x1) plot(x1$total,type='l', ylab='M

[R] Help with loess

2012-11-19 Thread eric
Not sure what I'm doing wrong. Can't seem to get loess values. It looks like loess is returning the same values as the input. j <-loess(x1$total~as.numeric(index(x1) plot(x1$total,type='l', ylab='M coms/y global',xlab='') lines(loess(total~as.numeric(index(x1)),x1)) The plot statement works fine

Re: [R] Help with loess "Standard Error of the Residuals"

2012-04-30 Thread peter dalgaard
On May 1, 2012, at 07:27 , Bert Gunter wrote: > John: > > 1. This is not really an R question. You should post on statistics > help list , e.f. stats.stackexchange.com > If it is about the concrete implementation, then it is actually an R question. It probably won't harm to take a look at the

Re: [R] Help with loess "Standard Error of the Residuals"

2012-04-30 Thread Bert Gunter
John: 1. This is not really an R question. You should post on statistics help list , e.f. stats.stackexchange.com Also, inline below. -- Bert On Mon, Apr 30, 2012 at 8:44 AM, John Haslett wrote: > Dear All > > I'm having trouble working out what exactly loess means by its "Standard > Error of

[R] Help with loess "Standard Error of the Residuals"

2012-04-30 Thread John Haslett
Dear All I'm having trouble working out what exactly loess means by its "Standard Error of the Residuals" denoted s and in particular when the weights argument is invoked. For example, if the weights are weights are all =1, then s^2 is nearly sum sq res/ (n -1 - 'equiv num paras') If the wei