# Algorithms for the Survival Output Table

The relative survival algorithms of the survival output table depend on numbers obtained from the observed survival algorithms and the expected survival table. The observed survival algorithms are independent of both the relative survival algorithms and the expected survival table.

### Observed Survival Section of Output Table

L1 = total number of cases included in the survival output table.

Lx = number of cases alive at the beginning of interval x.

Dx = number of cases dying during interval x.

Ux = number of cases untraced (lost to follow-up) during interval x, where the definition for "lost to follow-up" is "alive with follow-up date prior to some prescribed date".

Wx = number of cases withdrawn alive during interval x, where the definition of "withdrawn alive" is "alive with follow-up date later than some specified date". (This is the same date as in the previous definition.)

Lx = Lx– 1 – Dx– 1 – Ux– 1 – Wx– 1

If the Actuarial Method is used, then the Adjusted Alive formula is as follows: If the Kaplan-Meier method is used, then the Adjusted Alive is set to the alive count for the interval. This is done so that any formula that uses Adjusted Alive would use the alive count when the Kaplan-Meier method is used. Adjusted Alive is not displayed in any Life Page when the Kaplan-Meier method is used.

L*x  = Lx  ### Relative Survival Section of Output Table where

1. = each individual's (i's) expected probability for surviving interval x.

2. The sum is over all individuals entering interval x alive. where refers to the expected probability of each individual (i) for surviving intervals 1,2,....,x and the sum is over all individuals in the table.

Rx = Px / P*x

CRx = CPx / CP*x      #### Crude probability of death calculated using expected survival

Details of this calculation are described in:

Cronin KA, Feuer EJ. Cumulative cause-specific mortality for cancer patient in the presence of other causes: a crude analogue to relative survival. Stat Med 2000 Jul 15;19:1729-40.

#### Crude probability of death using cause of death information

Details of this calculation are found in:

Marubini E, Valsecchi MG. Analysing Survival Data from Clinical Trials and Observational Studies. John Wiley & Sons: England, 1995.

### Survival Confidence Intervals

The endpoints of a p × 100% confidence interval are calculated as:

#### Normal Approximation

CIlow = surv_prob – ( p × SEsurv_prob )

CIhigh = surv_prob + ( p × SEsurv_prob )

#### Log( - ( Log ) ) Transformation

CIlow = surv_probe(p × abs(SEsurv_prob / (surv_prob × log(surv_prob))))

CIhigh = surv_probe(-p × abs(SEsurv_prob / (surv_prob × log(surv_prob))))