Re: [R] "gam()" in "gam" package

From: Kunio takezawa <>
Date: Wed, 19 Dec 2007 08:56:51 +0900


>Please don't ask the same question multiple times!

   I am really sorry about it. I thought that my first mail did not work.

>And no, backfitting and QR are unrelated concepts. You need to read up
>on the theory,

   To derive an additive model, we have two methods: (1) backfitting, (2) solving multiple linear equation using QR decomposition.

>If i read the code correctly, lm.wfit is called iteratively in,
>via the line
> fit <- eval(
>The iteration is necessary to the backfitting algorithm.

   This iteration seems to be for "iteratively reweighted least squares" not for backfitting. And lm.wfit may solve multiple linear equation using QR decomposition; but I am not sure.

*****    *****

	[[alternative HTML version deleted]]

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Wed 19 Dec 2007 - 00:00:30 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 19 Dec 2007 - 01:30:19 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.