Hi ,

I am trying to get the estimate of smooth functions from a gam model
 by in the library(gam). 


What I get by constructing this model below are " edf. values ...and
 p-values" for the smooths functions and intercept. 
 
 model <- gam(y~ s(height)+ s(weight)+s(time)+s(pol))
 
and I also get the smoothing parameters estimation by typing
 coef(model). 

The difficulty I am having is I dont know how to get these estimated
 smooth functions estimates- the realizations of the estimator ? 
 
GAM is used to find such smooth functions estimates                             
                           in contrast to estimate the
 parameters B in Regression Analysis, isn't it? 

I hope I could explain my trouble clearly,
Thanks,
 Niki

       
---------------------------------
[[replacing trailing spam]]

        [[alternative HTML version deleted]]

______________________________________________
R-help@stat.math.ethz.ch 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.

Reply via email to