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

2007-12-24 Thread Kunio takezawa
R-users E-mail: r-help@r-project.org Murdoch>You may have a binary install of the package; you need the source. Look Murdoch>in http://cran.r-project.org/src/contrib/gam_0.98.tar.gz, files Murdoch>gam/src/backfit.f and gam/src/backlo.f Thank you very much. I obtained the source codes of backfi

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

2007-12-24 Thread Duncan Murdoch
On 24/12/2007 6:59 PM, Kunio takezawa wrote: > R-users > E-mail: r-help@r-project.org > >>> I found the answer myself. >>> '.Fortran("baklo",' in lo.wam() and .Fortran("bakfit",in >>> s.wam() may carry out backfitting. But I cannot >>> create an R code which gives the same results as those of >

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

2007-12-24 Thread Kunio takezawa
R-users E-mail: r-help@r-project.org >> I found the answer myself. >> '.Fortran("baklo",' in lo.wam() and .Fortran("bakfit",in >> s.wam() may carry out backfitting. But I cannot >> create an R code which gives the same results as those of >> "bakfit". If someone knows the detail of "bakfit" alg

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

2007-12-21 Thread Thomas Lumley
On Thu, 20 Dec 2007, Kunio takezawa wrote: > R-users > E-mail: r-help@r-project.org > > I found the answer myself. > '.Fortran("baklo",' in lo.wam() and .Fortran("bakfit",in > s.wam() may carry out backfitting. But I cannot > create an R code which gives the same results as those of > "bakfit".

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

2007-12-19 Thread Kunio takezawa
R-users E-mail: r-help@r-project.org I found the answer myself. '.Fortran("baklo",' in lo.wam() and .Fortran("bakfit",in s.wam() may carry out backfitting. But I cannot create an R code which gives the same results as those of "bakfit". If someone knows the detail of "bakfit" algorithm, pleas

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

2007-12-18 Thread Kunio takezawa
R-users E-mail: r-help@r-project.org > 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. Let me tell you something about my guess above. The iteration below is f

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

2007-12-18 Thread Kunio takezawa
R-users E-mail: r-help@r-project.org >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

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

2007-12-17 Thread Kunio takezawa
R-users E-mail: r-help@r-project.org I have a quenstion on "gam()" in "gam" package. The help of gam() says: 'gam' uses the _backfitting algorithm_ to combine different smoothing or fitting methods. On the other hand, lm.wfit(), which is a routine of gam.fit() contains: z