search for: pneucount

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

Did you mean: pe_count
2007 Jul 02
1
gam function & time trend splines
...looking at the relationship between daily pneumonia hospitalizations and daily temperature. To mimic some of the literature, I've been including a time-trend to try to account for normal cyclical trends in hospitalization. So I've been using a function that looks something like this: gam(pneucount ~ temp_f + s(day,bs="cr",k=(4*totalyears)+1), day being the enumerated day in the analysis (1-365 for a 1 year analysis). This seems to work well enough. What troubles me is when I think about doing an analysis focusing on winter days using more than one year of data. If I just delet...