Skip to content

help: what are the basis functions in {mgcv}: gam?

5 messages · oliviax, Andrew Robinson, Simon Wood

#
I am writing my thesis with the function gam(), with the package {mgcv}. 

My command is: gam(y~s(x1,bs="cr")+s(x2, bs="cr")). 

I need help to know what are the default basis funcitons for gam. I have not
found any detailed reference for this. 

Can anyone help me with this??
#
Try

     Wood S.N. (2006) Generalized Additive Models: An Introduction
     with R. Chapman and Hall/CRC Press.

listed in the references in the help file of the function.

It's a great read.

Andrew
On Mon, Mar 23, 2009 at 07:36:44PM -0700, oliviax wrote:

  
    
#
Thanks for Andrew Robinson's suggestion. 

I am sorry that I have been looking for the book Wood (2006) "Generalized
Additive Models: Introduction with R" for a long time in my univerity and
book stores, but I failed to find one. I think it may take a long time to
buy one from the Internet, and we are required to submit the master thesis
soon... 

Could any one help me if you know other references or have knowledge about
this?? 

I will be very very thankful. 

Sincerely yours, 
Olivia
oliviax wrote:

  
    
#
If you can't get hold of the book, try appendix A of 
http://www.maths.bath.ac.uk/~sw283/simon/papers/psm.pdf
-- what's described there is the "cr" basis

best,
Simon
On Tuesday 24 March 2009 05:01, oliviax wrote:

  
    
#
Thank you very much. 
I have downloaded your paper.

Best regards.

Olivia
Simon Wood-4 wrote: