Survival Function — Definition, Formula & Example
The survival function is the probability that something, such as a patient, a machine part, or a light bulb, is still working or alive after time t. It starts at 1 and falls toward 0 as time passes.
For a nonnegative random variable with cumulative distribution function , the survival function is for . is non-increasing and right-continuous, with . If , then . When has a density , and .
Key Formula
Where:
- = Random lifetime, the time until failure or death
- = A fixed time, with t ≥ 0
- = Cumulative distribution function, P(T ≤ t)
- = Probability density function of T
Worked Example
Problem: A water pump's lifetime T, in years, has survival function . Find the probability that the pump lasts more than 5 years and the probability that it lasts more than 10 years. Then find the probability that a pump still running at year 5 is still running at year 10.
Step 1: Evaluate the survival function at t = 5.
Step 2: Evaluate the survival function at t = 10.
Step 3: Lasting past 10 years already implies lasting past 5 years. So the conditional probability is a ratio of survival values.
Answer: and . A pump that is still running at year 5 has about a 47.24% chance of reaching year 10.
Visualization
Why It Matters
Engineers use survival functions to set warranty periods and maintenance schedules. Medical researchers use them to compare treatments, often estimating S(t) from patient data with the Kaplan–Meier method. The hazard rate, the main tool for modeling failure risk, is defined as .
Common Mistakes
Mistake: Assuming a unit that has survived 5 years is as good as new, so its chance of lasting 5 more years is just S(5) ≈ 0.7788.
Correction: Among continuous lifetime distributions, that shortcut works only for the exponential distribution, which is memoryless. For this pump the conditional chance is S(10)/S(5) ≈ 0.4724, because older pumps wear out faster. In general, compute P(T > t + s | T > t) as S(t + s)/S(t).
