Displaying 1 result from an estimated 1 matches for "1040qlink2".
Did you mean:
1040qlink1
2011 Nov 10
0
Help with gam
...> ABC<- read.table("Incidence Data.csv", header=TRUE, sep=",")
probably the next three lines can be omitted if you just say:
fit <- gam(incidence~te(age,birthyear), data=ABC, family=poisson, fit=TRUE)
<http://tolstoy.newcastle.edu.au/R/e14/help/11/05/1036.html#1040qlink2> >
incidence<- ABC[,1]
> age<- ABC[,2]
> birthyear<- ABC[,3]
> fit<-gam(incidence~te(age,birthyear), family=poisson, fit=TRUE)
>
<http://tolstoy.newcastle.edu.au/R/e14/help/11/05/1036.html#1040qlink3> >
All this works. Now, how can I see the fitted valu...