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

Leonardo Fontenelle leonardof at leonardof.med.br
Wed Jun 15 18:08:19 CEST 2016


Em Ter 14 jun. 2016, às 11:43, takiy berrandou escreveu:
> Hello,
> 
> I'm looking for a package or function, which calculate OR/HR from spline
> model regression. for example in SAS it exist some MACRO helping to do
> that
> easiely.
> 
> i had make some research on the forum here and on the web but without any
> succes.
> 

One, there are functions/packages to calculate OR/HR.
Two, there are functions/packages to use splines as predictors, instead
of the usual linear effect.

As David said, "odds ration in R" and so on is a great way to find what
you want.

Att,

Leonardo Ferreira Fontenelle, MD, MPH

PhD candidate in epidemiology, Federal University of Pelotas
Professor of medicine, Vila Velha University
Legislative consultant in health, Municipal Chamber of Vitória.



More information about the R-help mailing list