[R] Problem with survfit when model has interaction with strata

2015-08-06 Thread Sebastian Pölsterl
riginal model. Since interactions with strata variables are a special cases in coxph, I believe similar care should be taken when creating the model matrix for newdata. Best regards, Sebastian Pölsterl library(foreign) library(survival) data <- data.frame(read.spss("http://web1.sph.emory

Re: [R] Odds Ratios in rms package

2012-06-21 Thread Sebastian Pölsterl
Thanks a lot David, I must have missed this sentence. Best regards, Sebastian Am 20.06.2012 21:05, schrieb David Winsemius: > > On Jun 20, 2012, at 12:12 PM, Sebastian Pölsterl wrote: > >> Hi, >> >> I'm using the rms package to do regression analysis using the

[R] Odds Ratios in rms package

2012-06-20 Thread Sebastian Pölsterl
Hi, I'm using the rms package to do regression analysis using the lrm function. Retrieving odds ratios is possible using summary.rms. However, I could not find any information on how exactly the odds ratios for continuous variables are calculated. It doesn't appear to be the odds ratio at 1 unit i