Skip to content
Prev 361738 / 398525 Next

is there a package in R or functions to calculate odds/hasard ratio from spline regression

Hello,
thank you for the answer. it's true i was'nt clear enough.
the problem with glm()/gam or coxph() when the spline terms are used
(specialy spline of 3rd degree) the calculated coefficients for the spline
terms are difficult to interpret. for example for spline of degree=3 and 3
knots, there are 7 beta's calculated, and to represent the result clearly
we need to calculate OR/HR against a reference. just making exp(beta)
does'nt have a propre meaning.
On SAS there are some MACRO's like %regspline which help to make some
calcul to figure out the OR's.

Thank's again for the answers




2016-06-15 17:56 GMT+02:00 David Winsemius <dwinsemius at comcast.net>: