Re: [R] GAM, GAMM and numerical integration, help please

2010-05-14 Thread Simon Wood
On Thursday 13 May 2010 21:59, Claudia Penaloza wrote: > I am trying to apply methods used by Chaloupka & Limpus (1997) ( > http://www.int-res.com/articles/meps/146/m146p001.pdf) to my own turtle > growth data. > > I am having trouble with two things... > > 1) After the GAM is fit, the residuals

[R] GAM, GAMM and numerical integration, help please

2010-05-13 Thread Claudia Penaloza
I am trying to apply methods used by Chaloupka & Limpus (1997) ( http://www.int-res.com/articles/meps/146/m146p001.pdf) to my own turtle growth data. I am having trouble with two things... 1) After the GAM is fit, the residuals are skewed. >m1 <- gam(growth~s(mean.size, bs="cr")+s(year,bs="cr",k