[R] use of gam

From: Kerry Bush <kerryrekky_at_yahoo.com>
Date: Tue 14 Jun 2005 - 08:51:01 EST

Suppose I fit the following model:


>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?

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 Received on Tue Jun 14 08:57:18 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:33 EST