From eec954b4544f7e0aed53f0990158d8fbaf2f6593 Mon Sep 17 00:00:00 2001 From: Reinhold Kainhofer <reinhold@kainhofer.com> Date: Wed, 7 Sep 2016 15:04:00 +0000 Subject: [PATCH] Better explain age-shifting in the vignette --- vignettes/using-the-mortalityTables-package.Rmd | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/vignettes/using-the-mortalityTables-package.Rmd b/vignettes/using-the-mortalityTables-package.Rmd index aa6ed2b..3b3e9c7 100644 --- a/vignettes/using-the-mortalityTables-package.Rmd +++ b/vignettes/using-the-mortalityTables-package.Rmd @@ -316,6 +316,16 @@ same, unmodified base table for all cohorts. Basically, it works like this: So, an age-shifted cohort life table just needs the base table and for each birth year the amount the age is modified. +For those people, who think visually, age shifting works on the death +probabilities as following: A normal trend moves the $q_x$ curve downwards. +Age-shifting approximates this by shifting the $q_x$ curve to the right without +modifying its values. + +The following example clearly shows this, with the blue curve being the base +table for YOB 2011. A full trend projection moves the curve down to the green line, +while age-shifting moves the base curve to the right so that it coincides as +much as possible with the exact (green) line. + ```{r} baseTableShift = getCohortTable(atPlus2, YOB=2011); baseTableShift@name = "Base table of the shift (YOB 2011)" -- GitLab