Suppose I fit the following model:

>library(gam)
....
>fit <- gam(y~x1+x2+s(x3),family=binomial)

and then I use

> fitf$coef
       x1        x2     s(x3) 
4.1947460 2.7967200 0.0788252 

are the coefficients for x1 and x2 the estimated
coefficients? what is the meaning of s(x3)? since this
is a non-parametric component, it may not belong here
as a coefficient, am I right?

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to