Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
R - Mortality Tables
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
R
R - Mortality Tables
Commits
eec954b4
Commit
eec954b4
authored
8 years ago
by
Reinhold Kainhofer
Browse files
Options
Downloads
Patches
Plain Diff
Better explain age-shifting in the vignette
parent
f97db277
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vignettes/using-the-mortalityTables-package.Rmd
+10
-0
10 additions, 0 deletions
vignettes/using-the-mortalityTables-package.Rmd
with
10 additions
and
0 deletions
vignettes/using-the-mortalityTables-package.Rmd
+
10
−
0
View file @
eec954b4
...
@@ -316,6 +316,16 @@ same, unmodified base table for all cohorts. Basically, it works like this:
...
@@ -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
So, an age-shifted cohort life table just needs the base table and for each
birth year the amount the age is modified.
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}
```{r}
baseTableShift = getCohortTable(atPlus2, YOB=2011);
baseTableShift = getCohortTable(atPlus2, YOB=2011);
baseTableShift@name = "Base table of the shift (YOB 2011)"
baseTableShift@name = "Base table of the shift (YOB 2011)"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment