search for: mat_temp

Displaying 1 result from an estimated 1 matches for "mat_temp".

Did you mean: mac_temp
2010 May 24
1
finding the best cubic spline fitting
...s="cs")) summary(fitgam) gam.check(fitgam However, if I smooth all the data 1900 to 1948 I get wierd residual plots. I have tried putting in knots i.e. fitgam=gam(logit_temp~te(age,year, bs="cs"), knot=list(years = c(1910,1920,1948,1958,1968,1978,1988,1998,2002,2005,2008)),data=mat_temp) But this doesn't work either. Any suggestions will be appreciated! Thanks, Usman [[alternative HTML version deleted]]