Questions tagged [survival-analysis]

Survival analysis is concerned with modelling the time before subjects change state, typically time until death or failure. One key feature of such data is that they can be censored, that is, some subjects will not have changed state before the study ends.

Filter by
Sorted by
Tagged with
2
votes
1answer
36 views

Survival analysis to estimate kanban tasks completion times

I am working on a problem to estimate task completion time in kanban (project management tool). While doing EDA, I looked at tasks that are either done or cancelled. In this case, I defined the ...
0
votes
0answers
16 views

Why is CoxTimeVaryingFitter().predict_log_partial_hazard creating NaN for hazard values? [closed]

I am using the Nasa Turbofan Engine Degradation Simulation Data Set. I have preprocessed it and sure that there is no null value in the dataset yet when I input it to ...
0
votes
0answers
8 views

When should I use Cox propotional hazard model, KAPLAN-MEIER’S ESTIMATOR or NELSON-AALEN ESTIMATOR for survival analysis?

I know there is a lot of journal and article about this I have read about it and I don't understand a lot of thing but mainly I don't understand the difference and when to use it.
1
vote
0answers
15 views

How to do prediction on survival data, using Random Forest

I should make prediction on survival data, using the random Forest method. My question is: should I follow the same approach as in logistic regression? taking into account only the status variable or ...
0
votes
0answers
9 views

Modelling probability of switching of label from 0 to 1 in next time period for multivariate time series data

I have a data set consisting of unbalanced panel data, i.e. longitudinal multivariate measurements on multiple individuals. I want to estimate a probability that the individual will become 1 in next ...
1
vote
0answers
12 views

analyze the effect of some new changes to business rules on customers retention and sales

I am trying to analyze the effect of a particular business rule on customer behavior. Background: I have two call centers operating in my company. One is an in-house call center and the other one is a ...
0
votes
1answer
17 views

Can I use survival analysis model to predict probability of an item sold

I am building a model to calculate probability of items being sold( at least within a reasonable amount of time). I know when the item hit the market and when/if the item sold. What is the best ...
2
votes
2answers
43 views

How to compute score and predict for outcome after N days

Let's say I have a medical dataset/EHR dataset that is retrospective and longitudinal in nature. Meaning one person has multiple measurements across multiple time points (in the past). I did post here ...
1
vote
0answers
20 views

Modeling count data with time-dependent rate

For processes of discrete events occurring in continuous time with time-independent rate, we can use count models like Poisson or Negative Binomial. For discrete events that can occur once per sample ...
0
votes
0answers
11 views

Risk analysis on the uptime of web applications (classification? survival analysis?)

I've conducted a couple studies examining how "risky" several web applications are based on whether the respective support teams raise a major incident ticket. The data we have includes the ...
1
vote
0answers
20 views

state transition classification on terminal state

I have data on a unit $i$ which enters an entry state $S_0$. This unit has some covariates $x_i$ I would like to predict the probability the unit will reach the terminal state $S_{pos}$ or $S_{neg}$. ...
0
votes
0answers
14 views

Cox proportional hazards with multiclass dependent variable

Is it possible to perform a multiclass Cox proportional hazards model? I'm interested in finding the probability of self cure on consumer loans, or just study how self-curing clients behave so as to ...
0
votes
0answers
11 views

Measuring chance (“risk”) of being in some class

I don't know if this question fits better here or in statistics, but I think here is more appropriate. I have a dataset with several companies and its features and also I have the information if they ...
0
votes
0answers
16 views

Model architecture approaches for event prediction at different timestamps

I would like to model a user event outcome (currently its binary). the data I have is aggregated user activity and static user data. here is an example of what the data looks like for clarity: ...
0
votes
0answers
18 views

Cox regression model with time-varying covariates

I am trying to build a trail conversion survival model using daily cumulative feature usage and time to conversion as my inputs. I am using lifelines from python for the modeling. I have out of time ...
0
votes
1answer
88 views

How to impute right-censored data

I have a dataset of vectors representing movement with various characteristics. Some vectors represents the movement that was stopped by external factor and therefore, observed value for length of ...
2
votes
1answer
93 views

In survival analysis, which is the correct way to introduce a variable which changes the survival rate but occurs at different times?

I am making a survival analysis with a cox regression with proportional hazards, we want to analyze wheter the introduction of a phenomenon influences the time until the death of an individual. A ...
3
votes
1answer
2k views

How do I predict survival curves using xgboost?

The xgboost package enables survival modeling using parameter arguments: objective = "survival:cox" and eval_metric = "cox-nloglik". The predict method for the resulting model only outputs risk ...
3
votes
1answer
78 views

Can I apply survival analysis to predict if a user will revisit the website?

I have one business problem in hand which is to predict if a user will revisit the website or not within 6 months. I need to majorly understand what are the factors which make the user return and also ...
1
vote
0answers
32 views

Can i use survival analysis to predict if a person will “die” or not, and then get the survival time if the person does?

I want to determine, given a project, "How long will it take for this project to be successful ?" Therefore, survival analysis seems like a perfect fit in this case (as I do have some projects that ...
0
votes
2answers
622 views

Python lifelines - ConvergenceWarning: Newton-Raphson failed to converge sufficiently in Cox prop hazard

When calling CoxPHFitter() on my full dataset I'm getting the following error: ...
1
vote
1answer
112 views

Time Series Classification with multiple rows per date

I have a time series data set with the lifecycle of 9000 different B2B sales leads. What I call lifecycle consists of a dataset with one registry per day for every different sales Lead identifier with ...
2
votes
1answer
57 views

Survival regression with major event that won't happen

I would like to do some survival regression about the duration before the "death" of an individual. The final purpose is to know, given an individual, how long it should take before he'll most likely "...
3
votes
1answer
3k views

What is the outcome of a Cox regression in xgboost?

I am creating a model using xgboost. Regarding its parameters, its objective is survival:cox ...
3
votes
1answer
97 views

How to get the survival duration prediction for each individual in the data by using the Kaplan-Meier method?

I am trying to learn how to use the Kaplan-Meier survival estimator model in the lifelines package. The documentation says that the KaplanMeierFitter.fit function ...
0
votes
1answer
92 views

How to do multivariate survival analysis on dataset having only categorical variables

I have a dataset where I have around 50 independent variables used to run survival analysis on the target variables. But out of these 50 variables, 46 variables are categorical variables i.e. having ...
1
vote
0answers
180 views

Variable selection methods in survival analysis

I am using two models for my research. One is the coxph regression model and other is survival trees. I have found the scikit-survival package in python which is able to identify contributing ...
1
vote
0answers
47 views

What kind of algorithm should I use to build ML model that can predict just next reoccurence of an event in the future (at irregular time interval)?

I'm quite new to machine learning and statistics. I've a dataset from some ecommerce sale's history. It's almost 2k instances, and features include personId (string), productCategory (string/...
3
votes
1answer
643 views

How to treat missing data for survival analysis

I have a dataset consisting of questionnaires from patient survey data. There are around 10 questions which are asked during several stages of treatment like during first day of visit, after a week, ...
0
votes
1answer
54 views

How to model manufacturing shift data with irregular production times?

Problem Setting: Let's say there are three shifts a day in a manufacturing plant. The plant suffers from irregular power supply thereby affecting in how it is functioning in time and the shift's ...
3
votes
1answer
126 views

Survival Analysis: Pseudo Observation Vs Stratified Cox Regression. Which one is better?

I've been looking into the Cox Regression method for Survival Analysis in Churn Prediction. Cox regression will allow us to determine the probability that a subscriber will unsubscribe after a time $t$...
10
votes
2answers
2k views

Predict task duration

I'm trying to create a regression model that predicts the duration of a task. The training data I have consists of roughly 40 thousand completed tasks with these variables: Who performed the task (~...
6
votes
1answer
5k views

How to use survival analysis for predictive maintenance for time series data?

So, I have a dataset with daily operating conditions for different machines and a flag saying if it failed or not. Here is a snapshot of the data. How can I use survival analysis or any other ...
3
votes
2answers
2k views

Machine Learning or Survival Analysis?

I am working on building prediction model for disk failures (time taken to occur a disk failure and what parameters could strongly affect disk failures). I am bit confused on- What data preprocessing ...
1
vote
0answers
487 views

Predicting purchase order?

What is the best option or rather options to predict how much order a customer will place in the future, say next 3 months on a monthly basis. Also will a customer place an order. I used ARIMA to ...
4
votes
1answer
1k views

Time dependent Classification problem

I am trying to solve a decision making problem. In it, information evolves and increases with time for each event observed, and the history of the event may be useful. The problem is as follows: in ...
1
vote
2answers
632 views

R plot(surv(), newdata=…) draws same lines many times - why?

I'm new to R and cannot make plotting work as desired. The problem is that R seems to draw the same four lines over and over again, redundantly. The details of the case I'm having are as follows. I ...
6
votes
3answers
654 views

Data driven approach to define a churn user

I'm trying to define a churn prediction model for an online service (betting/gambling). A lot of papers talk about churn analysis/prediction for telco companies where defining a churn user is ...
4
votes
1answer
261 views

What are available methods for modeling startup survival rates?

I am interested in modeling startup companies failure and success rates to describe what is the representative startup. I have 40 companies in a dataset. Each company is represented as a list of all ...