
Customer level survival prediction using R
- or -
Post a project like this2127
$30
- Posted:
- Proposals: 5
- Remote
- #2521949
- Awarded
Description
Experience Level: Entry
I need customer level survival prediction.
- .csv file with all output
- Plot the baseline survival function with showing all individual predicted survival curves using R (publication standard plot)
Hi there,
I need to generate survival curves showing all individual predicted survival curves.
Preferred packages:
- library(survival)
- library(survminer)
- library(ggplot2)
one can use this dataset to predict patient survival, which it would more or less the same for my purpose.
http://www.sthda.com/english/wiki/survminer-0-3-0
# Data preparation and computing cox model
library(survival)
lung$sex <- factor(lung$sex, levels = c(1,2),
labels = c("Male", "Female"))
res.cox <- coxph(Surv(time, status) ~ sex + age + ph.ecog, data = lung)
# Plot the baseline survival function
# with showing all individual predicted surv. curves
Thanks in advance
- .csv file with all output
- Plot the baseline survival function with showing all individual predicted survival curves using R (publication standard plot)
Hi there,
I need to generate survival curves showing all individual predicted survival curves.
Preferred packages:
- library(survival)
- library(survminer)
- library(ggplot2)
one can use this dataset to predict patient survival, which it would more or less the same for my purpose.
http://www.sthda.com/english/wiki/survminer-0-3-0
# Data preparation and computing cox model
library(survival)
lung$sex <- factor(lung$sex, levels = c(1,2),
labels = c("Male", "Female"))
res.cox <- coxph(Surv(time, status) ~ sex + age + ph.ecog, data = lung)
# Plot the baseline survival function
# with showing all individual predicted surv. curves
Thanks in advance

South D.
100% (29)Projects Completed
22
Freelancers worked with
18
Projects awarded
42%
Last project
25 Jan 2023
Netherlands
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies