Re: [R] NA when trying to calculate AIC value for DLNM

2015-02-09 Thread Prof Brian Ripley
On 09/02/2015 14:28, Malgosia Lubczynska wrote: Dear all, I am trying to run a sensitivity analysis for a DLNM combined with a case crossover design and select the best parameters based on AIC values for different model set-ups. model <- glm(mortality ~ cb.temp + ns(soo, 7*7) + dow, family=qu

[R] NA when trying to calculate AIC value for DLNM

2015-02-09 Thread Malgosia Lubczynska
Dear all, I am trying to run a sensitivity analysis for a DLNM combined with a case crossover design and select the best parameters based on AIC values for different model set-ups. model <- glm(mortality ~ cb.temp + ns(soo, 7*7) + dow, family=quasipoisson(), my.data) where cb.temp is the c