Hi, all

I want to choose same knots in GAM for 10 different studies so that they has
the same basis function. Even though I choose same knots and same dimensions
of basis  smoothing, the basis representations are still not same.

My command is as follows:
data.gam<-gam(y~s(age,bs='cr',k=10)+male,family=binomial,knots=list(age=seq(45,64,length=10)))


What is my mistake for choice of knots and dimension? Thank you very much.

Lee

	[[alternative HTML version deleted]]


