I don't know if I'm allowed to replicate my question here, but in this forum I usually always get a good answer!
Originally posted here: http://stats.stackexchange.com/quest...cox-regression
I have a sample of 3000 patients and, for each of them, I know the number of years they lived. I was able to monitor these patients over 10 months (at a random time of their life). So I have left and right censoring in my data.
We were able to measure a specific variable named X (is continuous). We noticed that when the values of X is very high then is more probable that the patient will die exactly in 6 months (X has not a constant trend afterwards, so 5 to 1 months before dying it can increase or decrease with no meaning).
I'm using Cox Regression to assess the influence of variable X over the probability to die. As a base for the regression I use the age of patients. I only want to focus on the value of X in the exact month 6 before dying, for patients who died and compare it with the average values of patients who didn't die. This to predict patients who are more probable to die.
To resume my variable X is equal to: - the average over the 10 monitoring months, for patients who did not die; - the value measured at month 6 before dying, for patients who died. This variable I put into Cox Regression.
I would really appreciate your help to know if there's any error in my procedure.
Thanks a lot!
Andrea
Originally posted here: http://stats.stackexchange.com/quest...cox-regression
I have a sample of 3000 patients and, for each of them, I know the number of years they lived. I was able to monitor these patients over 10 months (at a random time of their life). So I have left and right censoring in my data.
We were able to measure a specific variable named X (is continuous). We noticed that when the values of X is very high then is more probable that the patient will die exactly in 6 months (X has not a constant trend afterwards, so 5 to 1 months before dying it can increase or decrease with no meaning).
I'm using Cox Regression to assess the influence of variable X over the probability to die. As a base for the regression I use the age of patients. I only want to focus on the value of X in the exact month 6 before dying, for patients who died and compare it with the average values of patients who didn't die. This to predict patients who are more probable to die.
To resume my variable X is equal to: - the average over the 10 monitoring months, for patients who did not die; - the value measured at month 6 before dying, for patients who died. This variable I put into Cox Regression.
I would really appreciate your help to know if there's any error in my procedure.
Thanks a lot!
Andrea
Comment