# How To do patient alignment in survival analysis

**URL:** <https://deeptalk.lambda.ai/t/how-to-do-patient-alignment-in-survival-analysis/1583>\
**Category:** Machine Learning Research\
**Created:** [April 25, 2020, 12:26pm UTC](https://deeptalk.lambda.ai/t/how-to-do-patient-alignment-in-survival-analysis/1583 "2020-04-25T12:26:08Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![SepGol](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@SepGol](https://deeptalk.lambda.ai/u/SepGol)\
**Post date:** [April 25, 2020, 12:26pm UTC](https://deeptalk.lambda.ai/t/how-to-do-patient-alignment-in-survival-analysis/1583/1 "2020-04-25T12:26:08Z")

</div>

Hello All,

I have a question regarding sample alignment for doing survival analysis. How do we do that? Is there any R or python package for doing that? How we should align the patient based on their failure event?

Any kind of help would be appreciated in advance.

Best

---

_[View the full topic](https://deeptalk.lambda.ai/t/how-to-do-patient-alignment-in-survival-analysis/1583)._
