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

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: Mon, 24 Dec 2007 19:46:15 -0500

On 24/12/2007 6:59 PM, Kunio takezawa wrote:
> R-users
> E-mail: r-help_at_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,

>
> Thomas>The source code for both Fortran routines is in the package. If I
> recal
> Thomas>correctly the book by Hastie & Tibshirani has descriptions of
> Thomas>the algorithms they used.
>
> I failed to find the Fortran source codes. Please specify the names
> of folder and files.

You may have a binary install of the package; you need the source. Look in http://cran.r-project.org/src/contrib/gam_0.98.tar.gz, files gam/src/backfit.f and gam/src/backlo.f

Duncan Murdoch



R-help_at_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. Received on Tue 25 Dec 2007 - 00:49:04 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 Tue 25 Dec 2007 - 03:30:20 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.