I am fitting a cox proportional hazards model looking at mortality. I have a number of covariates and a specific predictor of interest (inflammation), and I am also looking at how the effect of inflammation on mortality varies between two groups (Frail participants vs. Non-frail participants). Thus far, I have been stratifying by frailty status. As such, I have three different models:
overall_model.fit <- coxph(Surv(Follow_Up, Mortality) ~ Age + Sex + Assessment_Center + Smoking + Education + Ethnicity + Education + Inflammation, overall_df)
frail_model.fit <- coxph(Surv(Follow_Up, Mortality) ~ Age + Sex + Assessment_Center + Smoking + Education + Ethnicity + Education + Inflammation, frail_df)
non_frail_model.fit <- coxph(Surv(Follow_Up, Mortality) ~ Age + Sex + Assessment_Center + Smoking + Education + Ethnicity + Education + Inflammation, non_frail_df)
The sum of the frail and non-frail groups is the total set of participants, which is the "overall" model. My supervisor has told me that rather than stratify, I should get point estimates for the frail and non-frail "groups" from an interaction model:
interaction_model.fit <- coxph(Surv(Follow_Up, Mortality) ~ Age + Sex + Assessment_Center + Smoking + Education + Ethnicity + Education + Inflammation + Frailty + Inflammation*Frailty, overall_df)
Where I assign levels of frailty (i.e. Frail or Non-frail, 1 or 0) and see how the model estimate changes for different levels of inflammation (e.g. -1SD Inflammation, Mean Inflammation, +1SD Inflammation). Thus far, I have been trying to do this using predict.coxph - however, this has been problematic because predict.coxph compares the "newdata" field to the model means. Therefore, the levels that I set for each covariate have an impact on the risk of mortality (e.g. someone with no education has a higher mortality risk than someone with a university degree, but I have to set one of these levels). Worse, since the point estimates are relative to this mean, the results of predict.coxph do not tell me how the risk of mortality changes per unit increase/decrease in my predictor - it only tells me what the point estimate is for a given participant with those values of covariates relative to the mean. How can I get point estimates similar to the output of summary(coxph.model) (i.e. per unit increase/decrease in the predictor, Inflammation) for different levels of another predictor (i.e. frail or non-frail)?
I hope that this question makes sense.