Re: [R] Probelms on using gam(mgcv)

2007-12-13 Thread Simon Wood
A smooth of `disbinary' doesn't really make sense. It should enter the model parametrically. The problem is easy to see in 1D. Consider the model y_i = f(x_i) + error_i where `f' is a smooth function. If x_i only takes the values 0 and 1 then you really don't have much of a basis for estimating

[R] Probelms on using gam(mgcv)

2007-12-12 Thread zhijie zhang
Dear all, Following the help from gam(mgcv) help page, i tried to analyze my dataset with all the default arguments. Unfortunately, it can't be run successfully. I list the errors below.