Questions tagged [recurrent-events]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
21 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 ...
user avatar
  • 11
0 votes
0 answers
18 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 ...
user avatar
  • 2,012
1 vote
0 answers
11 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 ...
user avatar
  • 11
1 vote
0 answers
23 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.) ...
user avatar
0 votes
1 answer
16 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 ...
user avatar
  • 21
1 vote
1 answer
46 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 ...
user avatar
0 votes
0 answers
15 views

Generate event profile in R for timestamp format

I'd like to have your thoughts about an approach I'm trying to work on, and I'm a little bit lost would like to have your insight where I'm reading some research papers and looking into different ...
user avatar
  • 101
1 vote
1 answer
41 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 ...
user avatar
2 votes
1 answer
29 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 ...
user avatar
  • 365
0 votes
0 answers
12 views

In sequence to sequence RNN(Eg: English to Spanish translation), why gradients are summed in reverse order of time?

In sequence to sequence RNN(Eg: English to Spanish translation), multiple inputs & outputs are there(or multiple timesteps, say T). Below equations are used to predict output at each timestep: ...
user avatar
  • 21
0 votes
0 answers
5 views

Event uptime over a course of time

Event Trigger Check Interval: 3 minutes Trigger Chance of Event: 5% Event Length: 10 minutes The above are the 3 variables in this problem. To give it a story, ...
user avatar
  • 1
0 votes
0 answers
12 views

Recurrent event treatment effect - natural disasters and labor market

I am working on the impact of hurricane on the labor market. In my sample, there are a total of 9 hurricanes and they happen exclusively in the second half of the year. In addition, the country is ...
user avatar
0 votes
0 answers
17 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 ...
user avatar
  • 9
1 vote
1 answer
90 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 ...
user avatar
1 vote
1 answer
50 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 ...
user avatar
1 vote
1 answer
165 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 ...
user avatar
0 votes
1 answer
59 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 ...
user avatar
  • 9
1 vote
1 answer
32 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 ...
user avatar
  • 113
1 vote
0 answers
42 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 ...
user avatar
  • 11
2 votes
1 answer
13 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 ...
user avatar
  • 21
3 votes
1 answer
697 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 ...
user avatar
  • 1,580
0 votes
1 answer
88 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?
user avatar
  • 1,580
1 vote
1 answer
71 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 ...
user avatar
0 votes
1 answer
51 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 ...
user avatar
  • 41
2 votes
0 answers
58 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 ...
user avatar
  • 117
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? ...
user avatar
  • 331
0 votes
0 answers
44 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 ...
user avatar
2 votes
1 answer
1k views

Interpret survival curve for multiple-event Cox proportional hazard model

I am using the bladder2 dataset, which is setup in "conditional" long format: ...
user avatar
2 votes
0 answers
128 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 ...
user avatar
  • 21
1 vote
0 answers
21 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 ...
user avatar
9 votes
3 answers
570 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 ...
user avatar
1 vote
0 answers
58 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 ...
user avatar
  • 113
1 vote
1 answer
43 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 ...
user avatar
1 vote
0 answers
77 views

How can I change the 'baseline hazard function' from its default?

I have implemented a gap time-conditional (aka PWP) recurrent Cox regression model in R. However, rather then baseline hazard function (delta_0(t)) acting as a constant, I would like to incorporate a ...
user avatar
3 votes
1 answer
625 views

Changing the baseline hazard ratio at each event in a PWP Cox model

I am performing a PWP (conditional) recurrent cox regression analysis over medical records. For each individual, events are indicated by dates in their medical record. It is, therefore very easy to ...
user avatar
0 votes
1 answer
750 views

Survival analysis with recurrent events with subjects that move in and out of risk periods

I would like to model a recurrent event with subjects that move in and out of risk over the course of the observation period of the study. I have data on the out-of-risk periods (start and end dates) ...
user avatar
2 votes
1 answer
201 views

Intensity function in Poisson random effect model

I have a somewhat general question about intensity functions in Poisson random effect models. Consider the Poisson random effects model in which conditional on a random effect $u$, an individual ...
user avatar
  • 470
1 vote
0 answers
41 views

Is this a Diff and Diff kind of problem?

I have a sample of 500 firms and I need to study if an observed variable $y_i$ is different before and after a firm-specific event (happens 4 times in a year). I have 6 years of data for each firm. ...
user avatar
0 votes
1 answer
246 views

Survival Analysis on recurrent behavior time series predictor

We are trying to build a credit model to predict the default time (or finally closed the loans as censored). The predictor is a high-dimension time series of current observed previous payment behavior....
user avatar
  • 106
4 votes
1 answer
268 views

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^{-}}]=\...
user avatar
  • 638
4 votes
2 answers
102 views

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 ...
user avatar
1 vote
0 answers
222 views

Survival analysis per group for recurrent events

I am new to survival analysis, but I have a task to find the survival of groups that contain recurrent events. Without taking any predictor into account. Each group (ID) may have the same subjects, ...
user avatar
0 votes
1 answer
108 views

Calculating censoring proportion in recurrent event time data

My question pertains to how to calculate censoring proportion in the perspective of recurrent event data in which an individual subject can have multiple survival times related to repeated occurrences ...
user avatar
  • 123
4 votes
0 answers
2k views

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 ...
user avatar
0 votes
0 answers
172 views

Regression Analysis with Events

how can I use the event's to predict number of visitors per month, I have history of three years of Data. the layout of the data like this : Month_Year , Number of Visitors (target variable), count ...
user avatar
1 vote
0 answers
86 views

How to treat maximum remission time in survival analysis?

I am performing a Kaplan–Meier estimator to determine the probability of remission time before a relapse. I have seen many examples, typically using cancer as an example. These focus on the singular ...
user avatar
3 votes
1 answer
260 views

How to code output in survival analysis with interval data

I have data of several patients with several observation points. At each observation points we test if the patient has a condition (0) or not (1). I want to perform survival analysis on this data but ...
user avatar
  • 324
2 votes
1 answer
1k views

Event Correlation

I understand that this is a popular topic in the field of networking and telecommunication [see https://en.wikipedia.org/wiki/Event_correlation . In my problem context, I have to find correlation ...
user avatar
0 votes
1 answer
125 views

Time Series Classification?

I have univariate time series data for 70 subjects sampled at 1000 Hz. When graphing the single subject plots, time is on the x-axis and amplitude (arbitarty unit) on the y-axis. When looking at the ...
user avatar
  • 25
0 votes
1 answer
179 views

Recurret Data structurring

I am confused with the structure of recurrent data that can be used with recurrent models. I know that in order to use the recurrent data models(Anderson-Gill (AG), ...
user avatar
  • 125