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}}

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to