[R] Difference between gam() and loess().
Rolf Turner
r.turner at auckland.ac.nz
Thu Mar 19 22:06:24 CET 2009
It seems that in general
gam(y~lo(x)) # gam() from the gam package.
and
loess(y~x)
give slightly different results (in respect of the predicted/fitted
values).
Most noticeable at the endpoints of the range of x.
Can anyone enlighten me about the reason for this difference?
Is it possible to twiddle the control parameters, for either or both
functions,
so as to obtain identical results?
Thanks.
cheers,
Rolf Turner
######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}
More information about the R-help
mailing list