# Kaplan-Meier curve implementation

**URL:** <https://datashield.discourse.group/t/kaplan-meier-curve-implementation/615>\
**Category:** Analyst Support\
**Created:** [3 October 2022 06:56 UTC](https://datashield.discourse.group/t/kaplan-meier-curve-implementation/615 "2022-10-03T06:56:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jch](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@jch](https://datashield.discourse.group/u/jch)\
**Post date:** [3 October 2022 06:56 UTC](https://datashield.discourse.group/t/kaplan-meier-curve-implementation/615/1 "2022-10-03T06:56:20Z")

</div>

Is this implementation already there? Is it planned soon?

Are there any 3rd party implementations that you recommend?

What do you suggest as an aggregation method in case of writing a custom function?

---

<div class="post-metadata">

**Author:** ![tombishop](https://yyz2.discourse-cdn.com/free1/user_avatar/datashield.discourse.group/tombishop/32/23_2.png) [@tombishop](https://datashield.discourse.group/u/tombishop)\
**Post date:** [3 October 2022 08:59 UTC](https://datashield.discourse.group/t/kaplan-meier-curve-implementation/615/2 "2022-10-03T08:59:38Z")

</div>

Hi Jacek,

Have you looked at dsSurvival which provides survival curves?

> **[GitHub - neelsoumya/dsSurvival: Survival functions for DataSHIELD. Package...](https://github.com/neelsoumya/dsSurvival)**
>
> Survival functions for DataSHIELD. Package for building survival models, Cox proportional hazards models and Cox regression models in DataSHIELD. - GitHub - neelsoumya/dsSurvival: Survival function...

Tom

---

<div class="post-metadata">

**Author:** ![jch](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@jch](https://datashield.discourse.group/u/jch)\
**Post date:** [3 October 2022 13:56 UTC](https://datashield.discourse.group/t/kaplan-meier-curve-implementation/615/3 "2022-10-03T13:56:53Z")

</div>

Cox proportional hazards model is NOT Kaplan-Meier, I’m looking for K-M specifically.

---

<div class="post-metadata">

**Author:** ![tombishop](https://yyz2.discourse-cdn.com/free1/user_avatar/datashield.discourse.group/tombishop/32/23_2.png) [@tombishop](https://datashield.discourse.group/u/tombishop)\
**Post date:** [3 October 2022 14:10 UTC](https://datashield.discourse.group/t/kaplan-meier-curve-implementation/615/4 "2022-10-03T14:10:11Z")

</div>

Hi Jacek,

If you look here:

> **[Chapter 3 Computational workflow | dsSurvival: Privacy preserving survival...](https://neelsoumya.github.io/dsSurvivalbookdown/computational-workflow.html#plotting-of-privacy-preserving-survival-curves)**
>
> This is a bookdown demonstrating how to build privacy preserving survival models using dsSurvival in DataSHIELD. The output format for this example is bookdown::gitbook.

You can plot a Kaplan-Meier survival curve. Or is it something else you wanted to do?
