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
Error message when trying to run MIHi All I don't have too much experience running multiple imputation, but I've been running the foll…
New version of xtdcce2 and xtcd2. New package xtcse2Thanks to Kit Baum a new version of xtdcce2 and xtcd2 is available on SSC. In addition a new program…
Create mean variables of a subgroup for the whole groupDear all, I have data on education attainment per year and state and I want to compute the percenta…
generate variable: birth order of children (ages 0 to 17) in householdHello I am using the South African NIDS (National Income Dynamic Survey) wave 1 to wave 5. I have s…
Using the foreach commandHello, I am using STATA 15 and wide-format dataset. My aim is to create a new variable (my data is…
Subscribe to:
Post Comments (Atom)
0 Response to Estimate HR at different time points
Post a Comment