Displaying 1 result from an estimated 1 matches for "holiday_flag".
2006 Aug 31
0
periodic spline in glm
I have been trying to find a command similiar to bs or ns to add a
periodic/or cyclical splie term to a regression model in glm.nb
I have been using ns to fit a spline to day of the year (1:365):
glm.nb(CNT ~ WKDY + ns(DY,df=6) + HOLIDAY_FLAG + Trend)
but I think a periodic spline might be more appropriate. Any suggestions
would be appreciated.
best,
Spencer Jones, M.Stat.
NLM Fellow
Dept. Biomedical Informatics
University of Utah
On 8/31/06, Berton Gunter <gunter.berton@gene.com> wrote:
>
> I perhaps should have...