search for: mrespal

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

Did you mean: mrespall
2004 Jan 19
2
Relative risk using GAM
I am a new user of R. I am trying to fit gam model with our air pollution data. I used Foreign package to call data from SPSS and used MGCV package to fit gam. The following are the steps I used: > dust<- read.spss("a:dust9600jan.sav") > c<-gam(MRESPALL~s(DUSTM)+s(TEMP)+s(RH),family=poisson,data=dust) > summary(c) Family: poisson Link function: log Formula: MRESPALL ~ s(DUSTM) + s(TEMP) + s(RH) Parametric coefficients: Estimate std. err. t ratio Pr(>|t|) constant -0.61508 0.03331 -18.47 < 2.22e-16 Appr...