Dear R-users:

Im trying (using gam package) to develop a stepwise analysis. My gam 
object contains five pedictor variables (a,b,c,d,e,f). I define the 
step.gam:

step.gam(gamobject, scope=list("a"= ~s(a,4), "b"= ~s(b,4), "c"= ~s(c,4), 
"d"= ~s(d,4), "e"= ~s(e,4), "f"= ~s(f,4)))

However, the result shows a formula containing the whole model, without 
eliminating any variable.

Anybody can help me?

Thanks

-- 
David Nogués Bravo

Functional Ecology and Biodiversity Department
Pyrenean Institute of Ecology
Spanish Research Council

Av. Montañana 1005
Zaragoza - CP 50059
976716142 - 976716019 (fax)


	[[alternative HTML version deleted]]


