[R] About GAM in R, Need YOUR HELP!

pigpigmeow glorykwok at hotmail.com
Mon Jun 20 07:25:21 CEST 2011


I'm beginner in R! I have a lot of problems on R.....

I have three questions about GAM
1. What is the function of Gaussian distribution in GAM?(if I choose family
is Gaussian)
Is it used in the predictand value (Y)? 

2. How to plot a graph the gam function?
For example: y<-gam(a~s(b),family=gaussian (link=log)
,Data)
how to plot x axis is s(b) and y axis is log a???


3. if I use GAM to create an equation with smoothing function
For example: y<-gam(a~s(b)+s(c),family=gaussian (link=log),Data)
how to get the coefficient of s(b) , s(c)
My final target is getting the GAM equation to predict a, so I need to know
how to get the coefficient of equation and how to write the equation!!!


As I know, I'm silly to ask these questions. But GAM is very difficult to
me. From now on, I need to clear the concept of GAM.

Thank YOU! 


--
View this message in context: http://r.789695.n4.nabble.com/About-GAM-in-R-Need-YOUR-HELP-tp3610522p3610522.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list