Re: [R] how to interpret coefficients for a natural spline smooth function in a GLM

2009-06-28 Thread Frank E Harrell Jr
spencerg wrote: I have not seen a reply to this question, so I will offer a comment; someone who knows more than I may correct or add to my comments. There are many different kinds of splines. Perhaps the most common are B-splines, which sum to 1 inside their range of definition

Re: [R] how to interpret coefficients for a natural spline smooth function in a GLM

2009-06-27 Thread spencerg
I have not seen a reply to this question, so I will offer a comment; someone who knows more than I may correct or add to my comments. There are many different kinds of splines. Perhaps the most common are B-splines, which sum to 1 inside their range of definition and are 0

[R] how to interpret coefficients for a natural spline smooth function in a GLM

2009-06-15 Thread ltracy
Hello- I am trying to model infections counts over 120 months using a GLM in R. The model is simple really including a factor variable for year (10 yrs in total) and another variable consisting of a natural spline function for time in months. My code for the GLM is as follows:

Re: [R] how to interpret coefficients for a natural spline smooth function in a GLM

2009-06-15 Thread David Winsemius
Plot the predictions; you can almost never interpret the coefficients of a spline fit individually. They are not really independent or separately interpretable. Is this homework? -- David On Jun 15, 2009, at 10:19 AM, ltracy wrote: Hello- I am trying to model infections counts over 120