Can I hope for the answer of someone who already faced with this question.
I'm not wait for general directions to see there or here. I already looked there or here and ... did not understand... (including prof. Jenkins explanations here).
I ask only to indicate to me a concrete example (!) suitable for my case.
My variables (this is model example) are:
id patient
event time (survival time, months)
event (1 - yes, 0 -censore)
age (as a covariate)
sex (as a covariate)
pain1 (1 - yes, 0 - no, the patient's condition is assessed in the 1st time point)
pain2 (1 - yes, 0 - no, 2nd time point)
pain3 (1 - yes, 0 - no, 3rd time point)
(pain - it is time-dependent covariate! patient either has pain, or has not it)
Pls, note: variables columns go one after another.
Conditions:
Left-censored data, discrete time, Cox-proportional hazards mode.
(No, I do not want to check model. I need at least some concrete example. Without additional questions to my data!!)
I just want to see the significance level p of all three covariates. Nothing more!
(and, IF POSSIBLE, without any data conversions).
Is there a concrete example with such a data structure (that I could just repeat such code)? P.S. Instead of a binary variable "pain", example may contain a continuous variable, for example, "temperature". Thank you for reading to the end ))
I'm not wait for general directions to see there or here. I already looked there or here and ... did not understand... (including prof. Jenkins explanations here).
I ask only to indicate to me a concrete example (!) suitable for my case.
My variables (this is model example) are:
id patient
event time (survival time, months)
event (1 - yes, 0 -censore)
age (as a covariate)
sex (as a covariate)
pain1 (1 - yes, 0 - no, the patient's condition is assessed in the 1st time point)
pain2 (1 - yes, 0 - no, 2nd time point)
pain3 (1 - yes, 0 - no, 3rd time point)
(pain - it is time-dependent covariate! patient either has pain, or has not it)
Pls, note: variables columns go one after another.
Conditions:
Left-censored data, discrete time, Cox-proportional hazards mode.
(No, I do not want to check model. I need at least some concrete example. Without additional questions to my data!!)
I just want to see the significance level p of all three covariates. Nothing more!
(and, IF POSSIBLE, without any data conversions).
Is there a concrete example with such a data structure (that I could just repeat such code)? P.S. Instead of a binary variable "pain", example may contain a continuous variable, for example, "temperature". Thank you for reading to the end ))
Comment