Questions tagged [recurrent-events]
80 questions
22
votes
2 answers
How do I analytically calculate variance of a recursive random variable?
Suppose I have a chest. When you open the chest, there is a 60% chance of getting a prize and a 40% chance of getting 2 more chests. Let $X$ be the number of prizes you get. What is its variance?
Computing $E[X]$ is fairly straight forward: $E[X] =…

Brian
- 331
- 1
- 5
13
votes
4 answers
A regression model whose response variable is the day of year that an annual event (usually) occurs
In this particular case I'm referring to the day on which a lake freezes. This "ice-on" date only occurs once a year, but sometimes it doesn't occur at all (if the winter is warm). So on one year the lake may freeze on day 20 (january 20th), and…

rbatt
- 739
- 1
- 8
- 20
9
votes
3 answers
Random effects model handling redundancies
I am trying to deal with a time-to-event analysis using repeated binary outcomes. Suppose that time-to-event is measured in days but for the moment we discretize time to weeks. I want to approximate a Kaplan-Meier estimator (but allow for…

Frank Harrell
- 74,029
- 5
- 148
- 322
8
votes
1 answer
Cumulative hazard in the setting of Cox regression of repeated events
Cox regression is commonly extended to estimate repeated events processes (for a quick review see [ 1 ] and [ 2 ]).
In Clark et al's first article in their excellent review series of survival analysis [ 3 ] cumulative hazard is explained in the…

user6571411
- 231
- 1
- 9
6
votes
1 answer
Using Keras LSTM RNN for variable length sequence prediction
I have a set of sequences. Each sequence is the form $\{(s_1,l_1),(s_2,l_2) \ldots\}$ where $s_i$'s are real valued numbers and $l_i$s are labels from a fixed alphabet. It is important to note that the sequences may be of different lengths.…

curryage
- 263
- 3
- 10
5
votes
2 answers
What Survival Analysis Model Should I Use?
I'm sorry if this question is too broad for this board. I'm trying to figure out a survival model for my data. Right now I have it organized by country, year, "cur" which is my main IV, and event. I have an example of my data below. My issue is my…

Daniel
- 75
- 5
5
votes
0 answers
Recurrent neural network for object tracking & position filtering?
Would a recurrent neural network be appropriate for object tracking tasks? Mainly I will have 3D feature vectors $(x, y, t)$ where $x$ and $y$ are the positions of an object in the image and $t$ is either the current timecode or a number indexing…

daniel451
- 2,635
- 6
- 22
- 26
4
votes
1 answer
Why does regression model theory not use measure-theoretic sigma-field type notation but counting process models do?
I have been studying counting process theory for time to recurrent event processes and am interested in the explicit use of the conditioning set in the model notation;
$$E[dN(t)|\mathcal{F}_{t^{-}}]=\lambda(t)dt$$
where $\lambda(t)$ is called the…

dandar
- 638
- 5
- 14
4
votes
2 answers
Best way to visualise timing of seasonal events?
I have a spreadsheet in which I track various seasonal event – first snow, arrival of migratory birds, that kind of thing. You can view it here.
What I would love to do is be able to visualise – as I get more data over several years – those events…

James Brady
- 143
- 3
4
votes
0 answers
Modelling recurrent events using Cox regression (in R)
I would appreciate a sanity check of whether I am using Cox PH regression in R correctly to analyse recurrent events.
My work has used the instructions proposed in "Modelling recurrent events: a tutorial for analysis in epidemiology." Leila DAF…

Anthony Nash
- 499
- 1
- 3
- 12
4
votes
1 answer
Prediction with accelerated failure time in r for clinical data
So I have the following problem and I want to discuss it with you to see if I am thinking correctly.
Data description:
I have recurrent data from clinical trial. The data has a specific mtest that is performed each year to indicate disease degree…

Abdal
- 125
- 1
- 8
4
votes
1 answer
Survival Analysis Applied when Individuals that "Died" can still Return
I'm running an AB Test and using Survival Analysis to estimate the Return Rate to the website.
Each day (in a total of 7 days) I randomly assign 100 users to group A and 100 users to group B and after 7 days I stop the test.
Each day I also check…

Thiago
- 389
- 1
- 2
- 10
4
votes
1 answer
Finding significant predictors of psychiatric readmissions
The set of data I am working contains nearly 17,000 independent spells (each spell consists of a number of hospital episodes) each belonging to a unique patient ID. I have spent a very long time cleaning the data to get it into a suitable format to…

Rachel
- 41
- 2
4
votes
0 answers
Multivariate survival with recurrent events and spikes back to 100% alive
I am trying to solve for what seems to be a multivariate survival model, but am getting stuck as there are both recurrent events and also jumps back to 100% alive.
Rephrasing the larger project in everyday terminology: Assume the survival…

sheppa28
- 1,287
- 8
- 15
3
votes
1 answer
Recurrent events analysis software (python)
I am looking for tips for adapting usual survival analysis software to recurrent events analysis, within the framework of the Cox regression. Specifically: whether it is always possible to do? What are the limitations? Can this be done for the…

Roger Vadim
- 1,481
- 6
- 17