A Simple DEMO of the Procedures
All values in this demo are hypothetical and are only meant to serve as an illustration of the procedure used to construct the actual calculator.
Assume that we want to calculate the life expectancy of a 71 year-old, white female, whose height is 1.50 meters; who is in the fittest quartile among women of her age; had 11 years of formal education; and resides in Pennsylvania.
We first obtain a life table for white females (for simplicity, the life table is truncated at 80 for the demo):
The probabilities are then converted to lambda values (of an exponential distribution) via the formula lambda = - ln (1-Probability)
The lambda value is then distributed among the factors that we consider: Stroke, Heart Diseases, Cancer, Homicide and All Others; according to the actual proportion of people dying of each cause for that particular sex and age group. In our case, the proportion of deaths are 0.2 : 0.3 : 0.15 : 0.1 :0.25
|
Age |
Probability of death at that age given survival to that age |
Lambda |
Stroke |
Heart Diseases |
Cancer |
Homicide |
All Others |
|
71 |
0.2 |
0.22314 |
0.0446 |
0.0669 |
0.0334 |
0.0223 |
0.0557 |
|
72 |
0.25 |
0.28768 |
0.0575 |
0.0863 |
0.0431 |
0.0287 |
0.0719 |
|
73 |
0.3 |
0.35667 |
0.0713 |
0.1070 |
0.0535 |
0.0356 |
0.0891 |
|
74 |
0.35 |
0.43078 |
0.0861 |
0.1292 |
0.0646 |
0.0430 |
0.1076 |
|
75 |
0.4 |
0.51082 |
0.1021 |
0.1532 |
0.0766 |
0.0510 |
0.1277 |
|
76 |
0.45 |
0.59783 |
0.1195 |
0.1793 |
0.0896 |
0.0597 |
0.1494 |
|
77 |
0.5 |
0.69314 |
0.1386 |
0.2079 |
0.1039 |
0.0693 |
0.1732 |
|
78 |
0.6 |
0.91629 |
0.1832 |
0.2748 |
0.1374 |
0.0916 |
0.2290 |
|
79 |
0.7 |
1.20397 |
0.2407 |
0.3611 |
0.1805 |
0.1203 |
0.3009 |
|
80 |
0.8 |
1.60943 |
0.3218 |
0.4828 |
0.2414 |
0.1609 |
0.4023 |
Now, we start to take into account of the individual characteristics of the person. Each of her characteristics will change the lambda values of the associated risk factors (all values are truncated at 4 or 5 decimal places for simplicity):
|
Age |
Probability of death at that age given survival to that age |
Lambda |
Modified Stroke |
Modified Heart Diseases |
Modified Cancer |
Modified Homicide |
Modified All Others |
Final Lambda |
Final Probability of Death |
|
71 |
0.2 |
0.22314 |
0.0913 |
0.0220 |
0.0073 |
0.0171 |
0.0613 |
0.1993 |
0.1807 |
|
72 |
0.25 |
0.28768 |
0.1177 |
0.0284 |
0.0094 |
0.0221 |
0.0791 |
0.2569 |
0.2266 |
|
73 |
0.3 |
0.35667 |
0.1459 |
0.0353 |
0.0117 |
0.0274 |
0.0980 |
0.3185 |
0.2728 |
|
74 |
0.35 |
0.43078 |
0.1762 |
0.0426 |
0.0142 |
0.0331 |
0.1184 |
0.3847 |
0.3193 |
|
75 |
0.4 |
0.51082 |
0.2090 |
0.0505 |
0.0168 |
0.0393 |
0.1404 |
0.4562 |
0.3663 |
|
76 |
0.45 |
0.59783 |
0.2446 |
0.0591 |
0.0197 |
0.0460 |
0.1644 |
0.5339 |
0.4137 |
|
77 |
0.5 |
0.69314 |
0.2836 |
0.0686 |
0.0228 |
0.0533 |
0.1906 |
0.6191 |
0.4615 |
|
78 |
0.6 |
0.91629 |
0.3749 |
0.0907 |
0.0302 |
0.0705 |
0.2519 |
0.8184 |
0.5588 |
|
79 |
0.7 |
1.20397 |
0.4926 |
0.1191 |
0.0397 |
0.0927 |
0.3310 |
1.0753 |
0.6588 |
|
80 |
0.8 |
1.60943 |
0.6585 |
0.1593 |
0.0531 |
0.1239 |
0.4425 |
1.4375 |
0.7624 |
From the column of probabilities her life expectancy can be easily calculated. In this case, her life expectancy works out to be 74 years.
The actual calculator takes into account approximately 50 characteristics affecting approximately 20 risk factors. The degree of accuracy used range from 5 decimal places for relative risks to 9 decimal places for lambda. The life table used has data for ages 0 to 119, beyond which death is assumed.