Skip to content

Conversation

@ESCRI11
Copy link
Contributor

@ESCRI11 ESCRI11 commented May 26, 2023

Implemented life tables. This allows to obtain pooled survival curves. Reference: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5338193/

We obtain the pooled table:

    time n.risk n.event survival_rate       surv strata
1      0      0       0     1.0000000 1.00000000      1
2     10    227       1     0.9955947 0.99559471      1
3     20    220       7     0.9681818 0.96391670      1
4     30    219       2     0.9908676 0.95511381      1
...

And then we can plot the pooled curves
image

Code examples included on dsSurvival/vignettes/simple_script.R

@neelsoumya
Copy link
Owner

@tombisho @StuartWheater can you please also independently test this code and do checks for disclosures/privacy ?

@neelsoumya
Copy link
Owner

@ESCRI11 can you please update the version to be 2.1.5 in the DESCRIPTION file to match the version in dsSurvival?

@ESCRI11
Copy link
Contributor Author

ESCRI11 commented Jul 3, 2023

Yes, done

@neelsoumya
Copy link
Owner

@ESCRI11 I see a man file man/dot-compute_survival_rates.Rd

Is there an R function corresponding to this?

@neelsoumya
Copy link
Owner

@ESCRI11 I see a man file man/dot-compute_survival_rates.Rd

Is there an R function corresponding to this?

If not, can you please remove the .Rd file?

ESCRI11 pushed a commit to ESCRI11/dsSurvivalClient that referenced this pull request May 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants