# Notes: Essentials of Survival Time Analysis

##### Posted on October 11, 2017 0 Comments

This post aims to clarify the relationship between rates and probabilities.

## Introduction

It is a common situation that individuals would change their state as time goes, such as from susceptible to infectious, or from juvenile to mature, etc. We are interested in the expected time that an individual stays in a given state.

## Terminology

- $a$: the time that an individual spends in a given state. It can be called soujourn time, the survival time.
- $F(a)$: the probability that an individual has not left the state before or at time $a$. It is non-increasing and $F(0)=1$.
- $T$: the time to exit a given state, then
- $G(a)=1-F(a)=P(T\le a)$: the probability to have left before time $a$.

It is worthy noting that the definition is the same as the definition in this post Cox Regression, just differ in notation.

## Conditional Probabilities and Exit Rates

Let us consider the conditional probabilities that individuals still remain in the state for $h$ time units longer, given that the individual stayed already up to time $a$. The conditional probability is given by

The conditional probability to exit exactly between time $a$ and $a+h$, given that the individual was in the state at time $a$ is then

If $F$ is differential, then we can define the exit rate as

### Exponential Distribution

Assuming the exit time is exponentially distributed and the survival function is given by

In that case, we can obtain

and the conditional probability

### Recovery Process

Denote $I(t)$ as the random variable for the number of infected individuals at time $t$, then

By subtracting $I(t)$ and divide by $\Delta t$, we have

Passing to the limit $\Delta t \rightarrow 0$, we arrive at an ODE