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??
--
View this message in context:
http://www.nabble.com/help%3A-what-are-the-basis-functions-in-%7Bmgcv%7D%3A-gam--tp22673295p22673295.html
Sent from the R help mailing list archive at Nabble.com.
Andrew Robinson
2009-Mar-24 04:04 UTC
[R] help: what are the basis functions in {mgcv}: gam?
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:>
> 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??
> --
> View this message in context:
http://www.nabble.com/help%3A-what-are-the-basis-functions-in-%7Bmgcv%7D%3A-gam--tp22673295p22673295.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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.
--
Andrew Robinson
Department of Mathematics and Statistics Tel: +61-3-8344-6410
University of Melbourne, VIC 3010 Australia (prefer email)
http://www.ms.unimelb.edu.au/~andrewpr Fax: +61-3-8344-4599
http://blogs.mbs.edu/fishing-in-the-bay/
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:> > 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?? >-- View this message in context: http://www.nabble.com/help%3A-what-are-the-basis-functions-in-%7Bmgcv%7D%3A-gam--tp22673295p22674337.html Sent from the R help mailing list archive at Nabble.com.