On Friday 05 October 2007 16:25, Michela Leone wrote:
> I'm fitting a Poisson gam model, say
>
> model<-gam(a65tm~as.factor(day.week
> )+as.factor(week)+offset(log(pop65))+s(time,k=10,bs="cr",fx=FALSE,by=NA,m=1
>),sp=c( 0.001),data=dati1,family=poisson)
>
>
>
> Currently I've difficulties in obtain
I'm fitting a Poisson gam model, say
model<-gam(a65tm~as.factor(day.week
)+as.factor(week)+offset(log(pop65))+s(time,k=10,bs="cr",fx=FALSE,by=NA,m=1),sp=c(
0.001),data=dati1,family=poisson)
Currently I've difficulties in obtaining right predictions by using
gam.predict function with MGCV packag
2 matches
Mail list logo