StatLabStudent EditionUser guideGalleryFeaturesAbout

Life tables

Summarises time-to-event data in fixed intervals: how many were at risk, had the event or were withdrawn, and the cumulative proportion surviving.

Menu: Analyze → Survival → Life Tables…

When should I use it?

What are the assumptions?

How do I run it in StatLab?

  1. Choose time and status, type the event code(s) (default 1) and the interval width.
  2. With a factor, keep 'Compare factor levels' ticked for the Wilcoxon (Gehan) test.

How do I read the output?

OutputMeaning
Number Exposed to RiskEntering minus half the withdrawals.
Cumulative Proportion SurvivingProbability of surviving past the end of the interval.
Hazard RateEvent rate per unit time within the interval.
Wilcoxon (Gehan) StatisticOverall comparison of the survival distributions of the factor levels (chi-square, df = levels − 1).
Mean ScorePositive = this group tends to survive longer.

Worked example

On the clinic follow-up practice dataset, this command — which the dialog's Paste button also produces — runs the procedure:

PROC svLifeTable /time=months /status=relapse /event=1 /factor=treatment /plot=YES /compare=YES /width=6 /to=36.

Output tables: Life Table — Treatment = Standard · Life Table — Treatment = New · Comparisons for Control Variable · Mean Scores.

How would I report it in APA style?

A Wilcoxon (Gehan) comparison of the survival distributions across Treatment gave χ²(1) = 10.07, p = .002.

Computed by StatLab's validated procedure code when this page was built. The example only illustrates the steps; choose variables that fit your own research question.

What are common mistakes?

Open StatLab   All guide topics