I apologize for the inconvenience, but I've encountered some issues while reproducing the Kaplan-Meier analysis results. The C-index I obtained is quite similar to what was reported in your paper using Seed 2. However, when I attempt to perform the Kaplan-Meier analysis in Python using the calculated risk scores, the resulting p-value is significantly different from what was presented in your paper.
I'm wondering if the observed discrepancy might be attributed to the choice of using R instead of Python for the Kaplan-Meier analysis, or if it could be due to differences in using hazard ratios rather than risk scores, or perhaps other underlying factors.Here is my Python code for the Kaplan-Meier analysis,
KM_analysis.txt
I'm hoping you could provide some guidance on this discrepancy.
I apologize for the inconvenience, but I've encountered some issues while reproducing the Kaplan-Meier analysis results. The C-index I obtained is quite similar to what was reported in your paper using Seed 2. However, when I attempt to perform the Kaplan-Meier analysis in Python using the calculated risk scores, the resulting p-value is significantly different from what was presented in your paper.
I'm wondering if the observed discrepancy might be attributed to the choice of using R instead of Python for the Kaplan-Meier analysis, or if it could be due to differences in using hazard ratios rather than risk scores, or perhaps other underlying factors.Here is my Python code for the Kaplan-Meier analysis,
KM_analysis.txt
I'm hoping you could provide some guidance on this discrepancy.