Re: [R] Forcing the extrapolation of loess through the origin

2009-04-15 Thread Charles C. Berry
On Tue, 14 Apr 2009, jimm-pa...@gmx.de wrote: Hi all, I'm fitting a line to my dataset. Later I want to predict missing values that exceed the [min,max] interval of my empirical data, therefore I choose surface=direct for extrapolation.

[R] Forcing the extrapolation of loess through the origin

2009-04-14 Thread jimm-panse
Hi all, I'm fitting a line to my dataset. Later I want to predict missing values that exceed the [min,max] interval of my empirical data, therefore I choose surface=direct for extrapolation. l1-loess(y1~x1,span=0.1,data.frame(x=x1,y=y1),control=loess.control(surface=direct)) In my application

Re: [R] Forcing the extrapolation of loess through the origin

2009-04-14 Thread Bert Gunter
Below. Bert Gunter Genentech Nonclinical Biostatistics 650-467-7374 -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of jimm-pa...@gmx.de Sent: Tuesday, April 14, 2009 10:08 AM To: r-help@r-project.org Subject: [R] Forcing the

Re: [R] Forcing the extrapolation of loess through the origin

2009-04-14 Thread Stavros Macrakis
On Tue, Apr 14, 2009 at 1:08 PM, jimm-pa...@gmx.de wrote: I'm fitting a line to my dataset. Later I want to predict missing values that exceed the [min,max] interval of my empirical data, therefore I choose surface=direct for extrapolation.

Re: [R] Forcing the extrapolation of loess through the origin

2009-04-14 Thread Julian Burgos
Hi Torsten, If you are fitting a line, why are you using loess? Why not simply use lm to fit a regression line that goes through the origin? (i.e. with no intercept). Julian jimm-pa...@gmx.de wrote: Hi all, I'm fitting a line to my dataset. Later I want to predict missing values that