Hi!
I have done a Cox regression on survival data. Unfortunately, the Schoenfeld residuals are not constant over time. In my model, therefore, I have included an interaction term between exposure and follow up time which significantly differs from 1 meaning there is an annual change to the HR I obtain from the model (which is the HR at time 0). If I instead want to center the model at say 5 years or 10 years to get the HR at this specific follow up time. Does anyone know how to do this?
Best wishes,
David Bergman
Related Posts with Estimate HR at different time points
Reformatting a monthly date variableI have a date variable in month-year format that looks like "2012m8". I got to that format using the…
Flipping models, coefficients, number of observations and number of clusters with esttabHello everyone, Firstly, I am a Stata 14 user. I have a question regarding esttab command and flipp…
Help with ML ProgramHello, I am trying to define and estimate the parameters from a log likelihood function using minimu…
How to rank value in each specific date of each firmsHi all, I have data as follow (from 04Jan2012 to 31Dec2021) Code: * Example generated by -dataex-. …
3 Dummy variables in panel dataHello everyone, I have a question since i need 3 dummy variables there must be always one dummy var…
Subscribe to:
Post Comments (Atom)
0 Response to Estimate HR at different time points
Post a Comment