Skip to main content

Questions tagged [recurrent-events]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
30 views

Literature for a supervised task on time series

I was introduced to the following project at my company. We have $n$ time series coming from $n$ sensors. Each sensor has monitored a physical signal at a specific location. For each time series, a ...
brised by Linear Algebra's user avatar
0 votes
0 answers
9 views

Recurrent event model - time to multiple medication discontinuations

I am using the following recurrent event model (counting process style input) to plot cumulative mean frequency of multiple medication initiations. Just like patients in the study can initiate ...
Chris's user avatar
  • 1
0 votes
0 answers
15 views

Multi-state survival analysis

I'm wondering if my use case fits this problem. I have a bunch of retail consumers, and I want to model the interval between their purchases. Because its' an online platform, we can observe other ...
bachts's user avatar
  • 21
0 votes
0 answers
15 views

How to compare frequencies of type of stress events with repeated measurements over time in a weekly diary study?

We hope you can help clarify whether a Chi-square test of equal frequencies (in SPSS) would be the correct choice. Study participants have reported experienced stress events (text variable) in a ...
Andi04's user avatar
  • 1
2 votes
0 answers
46 views

Survival analysis with recurrent events: What is the difference between the "cluster" method from "lifelines" and the Andersen-Gill method?

Good afternoon, I would like to better understand how the cluster method from the lifelines Python package differs from the Andersen-Gill method. Based on the definition of each (see below), the ...
xmfm45's user avatar
  • 41
0 votes
0 answers
34 views

Survival analysis but every observation is an event

I'm trying to formulate a problem using survival analysis to forecast the next occurrence, but every observation is an event, i.e you can't observe an event not happening. Each observation has a user ...
bachts's user avatar
  • 21
3 votes
1 answer
97 views

Can a subject appear multiple times in a risk set in recurrent event analyses?

To fit a Cox model to recurrent event data (Andersen & Gill), using the R survival package, requires the user to cast the data into counting process format (see [1]). For recurrent event analyses, ...
ermeel's user avatar
  • 143
3 votes
1 answer
158 views

Definition of recurrent stochastic process, in general

This interesting question: Recurrence definition for a Markov chain gives the definition of a recurrent state for some discrete process. I was wondering, in the case of a continuous (time) process, ...
Jada's user avatar
  • 33
1 vote
0 answers
5 views

Multiple groups with multiple events of different character

In my team we do a study on a group of patients undergoing abdominal surgery and we evaluate the correlation between frailty amongst patients and complications. Background knowledge: We use a frailty-...
ThomasKorgaard's user avatar
0 votes
0 answers
48 views

Graphic presentation/analysis of multiple events of different character

Edited; Ive troede to specify my problem. Hope it makes more sense. Im a surgeon doing research. I use SPSS for statistics but in the group we are also able to use 'R'. We are performing af study ...
ThomasKorgaard's user avatar
1 vote
1 answer
26 views

Survival curves, counter-intuitive results for customer churn -- lower risk of churn for users who've previously churned? [closed]

I'm trying to work out some explanation for a result I'm seeing where I have the Kaplan-Meier plots for monthly customer churn risk. In aggregate, it looks fine, but I've broken it down into subgroups ...
halycos's user avatar
  • 121
1 vote
1 answer
637 views

Should the proportional hazards assumption be met for cox model with time dependent covariates? What about recurrent event models?

This question has been asked here before but in each thread I found, there was some disagreement about whether the proportional hazards (PH) assumption needs to be met for cox models with time ...
Ava's user avatar
  • 37
1 vote
1 answer
360 views

Why am I getting such different hazard ratios from the Andersen-Gill model compared with the Prentice-Williams-Peterson model?

I am trying to model recurrent composite events to compare differences in recurrent events between two therapy groups. I have completed time to first event Cox regression as well as recurrent event ...
Ava's user avatar
  • 37
1 vote
1 answer
289 views

Understand robust se vs naive se from marginal means survival model [duplicate]

I ran a marginal means survival model that included some time-invariant and time-varying covariates (see this post for relevant information). I am trying to understand why the robust standard errors ...
cliu's user avatar
  • 211
0 votes
1 answer
126 views

Nonlinear effects of time-varying covariates from marginal rates model

This is a followup analysis on this post, inspired by the comments from @EdM. I fitted a marginal rates model (Lin, Wei, Yang, & Ying, 2002) on recurrent event data but don't know how to include ...
cliu's user avatar
  • 211
1 vote
1 answer
712 views

Poisson regression with time dependent covariates

I am an epidemiologist and recently our team receive a data from nursing homes in our city. We have weekly data for each elderly person for about 3 years during their stay in nursing homes. The ...
Ronald Carlos's user avatar
1 vote
1 answer
86 views

Choosing an appropriate model for survival analysis with recurrent events and competing risks

I’m having some difficulties in selecting the appropriate model(s) for analyzing survival data which includes recurrent events and (potentially) competing risks. There is no particular ‘terminal’ ...
Noa's user avatar
  • 11
0 votes
1 answer
95 views

In joint frailty model with competing risks and recurrent events - how to interpret the coefficients?

I took the output from the example described in manual to one of R's packags for frailty modelling. Apart from the statistical package, how to interpret the outcome for recurrent events? Is this HR ...
Kitzaka's user avatar
7 votes
1 answer
190 views

In survival analysis, is it OK to standardize length of stay by dividing by length of followup?

I am reviewing an article, so I cannot give a lot of detail, but the study looked at length of stay for patients who had very different amounts of follow up, in a situation where multiple admissions ...
Peter Flom's user avatar
  • 125k
3 votes
1 answer
28 views

Modelling/testing for dependence between the *times* at which two sets of events occur

I have a set of events of type 1, and their start and end times. And a set of events of type 2, and their start and end times. I'm struggling to wrap my head around how I can test whether these two ...
justme's user avatar
  • 775
2 votes
1 answer
240 views

Recurrent event analysis: What approach to choose?

I am trying to examine if the interval between recurrent suicide episodes becomes shorter over the course of repeated incidents. My data is in long format with each participant occupying multiple rows ...
Fallela's user avatar
  • 21
0 votes
0 answers
33 views

Predicting repeated binary response from contacts over time

From their initial entry date, people must be contacted each month for three months. It often takes several unsuccessful attempts before you establish contact. Once you reach someone, contact attempts ...
Eli's user avatar
  • 2,672
1 vote
0 answers
18 views

Find combination of time-dependent values that shows largest anomaly after event

What I have are timeseries of about 500 variables (which are more or less correlated to each other). The variables refer to standardized anomalies (mean=0, std=1). I now define certain event dates in ...
jspaeth's user avatar
  • 111
1 vote
0 answers
96 views

How to model the likelihood of multiple binary outcomes occurring after an event?

Wanting to know if 3-5 binary outcomes are more likely to occur after an event. For example, are people who experience the event more likely to experience an outcome (within a year or 6 months, etc.) ...
rivera116's user avatar
0 votes
1 answer
84 views

Independence of events in repeated trials

Just a bit confused about whenever "Independent" event is used in probability/stats videos/books. When we say an "Independent" event, are we referring to an event standalone or in ...
DDG's user avatar
  • 21
2 votes
1 answer
261 views

Recurrent event data modelling - Cox PH or AFT?

I am attempting to model recurrent event data in Stata. My data is dataset of patient records and I am modelling a patients first delivery of a mobility aid and the subsequent deliveries of new ...
owen1995's user avatar
1 vote
1 answer
221 views

Confirming the censoring state transition with a multi-state Cox model with recurrent events

I am working with data that contains information about the age at which each person enrolled in a study; zero or more hospitalization events for a disease (with age information); the age at which they ...
carbocation's user avatar
2 votes
1 answer
58 views

In cases where neural attention is used for machine translation, how they deal with translating sentences that have different lengths?

So attention and transformer models can be used for machine translation. Sometimes, a sentence in one language might consist of 5 words, but in the target language it consists of 8 words (so for ...
Kadaj13's user avatar
  • 395
0 votes
0 answers
19 views

No observations for specific group - group comparison still possible?

I am conducting a Weibull Survival analysis (recurrent event) with the time-frame between 1970 and 2010. One question is the difference in survival time between gender. However in the earlier years ...
MaiMai's user avatar
  • 9
1 vote
1 answer
329 views

Would you choose a joint frailty model or a multi-state model for survival analysis with recurrent events and competing risks?

I am going to analyse data with multiple recurring events and additional terminal event. The recurrent events are of the same kind, no hierarchy in them (like in the Prentice-Williams-Petersen). The ...
MissDoberty's user avatar
1 vote
1 answer
337 views

Which frailty model is better for survival analysis with recurrent events and competing (teminal) risks: joint or shared?

I am going to analyse data with multiple recurring events and additional terminal event. The recurrent events are of the same kind, no hierarchy in them (like in the Prentice-Williams-Petersen). The ...
MissDoberty's user avatar
1 vote
1 answer
714 views

Why do we need Fine-Gray, Andersen-Gill, joint fraily and multiple-state model to model complex survival if basic tools (Cox) can handle it?

The basic methods statistical packages, using K-M or Cox regression, are both to handle both recurrent events and competing risks. This setting is very common in medicine, where we have recurring ...
KartikNashallam44433's user avatar
0 votes
1 answer
245 views

Right censoring with recurrent events

I am dealing with retrospective survival data covering 60 years. Some people start their first spell in 1960, others start their first spell in 2000 (they are never left truncated). People can ...
MaiMai's user avatar
  • 9
1 vote
1 answer
358 views

What does it mean for a Markov CHAIN to be recurrent (not just a state)?

There are many resources offering equivalent definitions of recurrence for a state in a Markov Chain - for example, state $x$ is recurrent if, starting in state $x$ you will eventually return to state ...
Owen's user avatar
  • 113
1 vote
0 answers
55 views

How to analyze duration & frequency of different alternating events with generalized linear mixed models?

I have the following data. For each subject, there are observations of different brain states (i.e. brain state A, B, C & D) with varying duration which can also be seen as observations of ...
Ilanim's user avatar
  • 11
1 vote
1 answer
23 views

Correlation between Migraine Events and Barometric Pressure [closed]

I have historic air pressure line graphs and I have superimposed the dates on which I have suffered migraine attacks. I can see that my migraines are most likely to occur around 3 days after a sharp ...
Mark's user avatar
  • 11
4 votes
2 answers
2k views

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 ...
Roger V.'s user avatar
  • 4,429
1 vote
1 answer
294 views

Nelson-Aalen estimator for recurrent events

Can one modify the Nelson-Aalen estimator to use for processes with recurrent events, i.e. when more than one identical events are possible for each subject, with known times of the events?
Roger V.'s user avatar
  • 4,429
1 vote
1 answer
460 views

Can Cox be used to model recurrent events and competing risks at the same time? How?

I have heard that the Cox model can be extended to handle recurrent events and competing risks. But is this possible to analyse data, where both occur? For example two kinds of fractures that can ...
GibbsSampler10's user avatar
0 votes
1 answer
196 views

Survival Analysis for recurrent events

Not my exact setup, but for easier explanation imagine I'm working on a project that looks at user session data on a website (like netflix). The idea is to understand how video playback errors might ...
m55667's user avatar
  • 51
2 votes
0 answers
63 views

(Repeated) Event Model - How to model entry?

I am modeling the entry of 30 firms into 25 industries over time. The unit of analysis are industries. I have cross-sectional panel data on the industries and know when a firm enters. I have 5 ...
wake_wake's user avatar
  • 127
0 votes
0 answers
53 views

Probability of an event happening in a given istant

Simplified context: I'm watching traffic over a computer network. I consider "connection" as an event, which obviously can repeat many times during a period of time. I observe my network for ...
Simone Errico's user avatar
22 votes
2 answers
2k views

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? ...
Brian's user avatar
  • 331
0 votes
0 answers
52 views

Can a Recurrent Neural Network Detect Evenly Spaced Events?

In order to test the concept, I have created a toy example. I have created training data where each example is a sparse arrays of 0s and 1s. In each array, 1s appear at some regular interval. For ...
GreenBlue's user avatar
5 votes
1 answer
3k views

Interpret survival curve for multiple-event Cox proportional hazard model

I am using the bladder2 dataset, which is setup in "conditional" long format: ...
NickBraunagel's user avatar
2 votes
0 answers
238 views

Time Series/Longitudinal Survival Analysis in R- is this possible?

Wondering if it possible to incorporate time series/longitudinal data into a survival analysis. I have data that represents different cases over a span of 5 years, with the same data gathered during ...
JTepper's user avatar
  • 21
1 vote
0 answers
28 views

Specifying a multi-state model with unobservable terminal state

Suppose there is a multi-state process with three states, listed below and labelled as terminal/non-terminal and observable/unobservable: Initializing: non-terminal observable Active: non-terminal ...
Brash Equilibrium's user avatar
9 votes
3 answers
607 views

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 ...
Frank Harrell's user avatar
1 vote
0 answers
131 views

Test assumption of common baseline - Adersen-Gill Cox regression?

I'm running a Andersen-Gill recurrent (multiple events) cox model and I want to test the assumption of common baseline across events. Is this as simple as entering 'event' into the model and checking ...
shrub's user avatar
  • 113
1 vote
1 answer
52 views

Is it possible to use Survival Analyis on a time series to predict events?

I have a time-series of noisy data which occasionally triggers an event, and once that happens, the noise calms down and the cycle repeats itself (until the event is triggered once again). What I want ...
Coolio2654's user avatar