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
92c1602f
Commit
92c1602f
authored
7 years ago
by
Reinhold Kainhofer
Browse files
Options
Downloads
Patches
Plain Diff
Fix docstring (lists)
parent
2e9e7333
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
R/pensionTable.R
+20
-17
20 additions, 17 deletions
R/pensionTable.R
man/pensionTable-class.Rd
+19
-17
19 additions, 17 deletions
man/pensionTable-class.Rd
with
39 additions
and
34 deletions
R/pensionTable.R
+
20
−
17
View file @
92c1602f
...
@@ -8,23 +8,26 @@ NULL
...
@@ -8,23 +8,26 @@ NULL
#' tables. It contains the name and some general values applying to all
#' tables. It contains the name and some general values applying to all
#' types of tables. In particular, it holds individual tables for each of the
#' types of tables. In particular, it holds individual tables for each of the
#' transition probabilities. Possible states are:
#' transition probabilities. Possible states are:
#' * active: healty, no pension, typically paying some kin of premium
#' \itemize{
#' * incapacity: disablity pension, in most cases permanent, not working, early pension
#' \item active: healty, no pension, typically paying some kin of premium
#' * retirement: old age pension, usually starting with a fixed age
#' \item incapacity: disablity pension, in most cases permanent, not working, early pension
#' * dead
#' \item retirement: old age pension, usually starting with a fixed age
#' * Widow/widower pension
#' \item dead \itemize{
#'
#' \item Widow/widower pension
#' Correspondingly, the following transition probabilities can be given:
#' }
#' * qxaa: death probability of actives (active -> dead)
#' }
#' * ix: invalidity probability (active -> incapacity)
#' Correspondingly, the following transition probabilities can be given:\describe{
#' * qix: death probability of invalid (invalid -> dead)
#' \item{qxaa}{death probability of actives (active -> dead)}
#' * rx: reactivation probability (incapacity -> active)
#' \item{ix}{invalidity probability (active -> incapacity)}
#' * apx: retirement probability (active -> retirement), typically 1 for a fixed age
#' \item{qix}{death probability of invalid (invalid -> dead)}
#' * apx: retirement probability of invalids (invalid -> retirement), typically 0 or 1 for a fixed age
#' \item{rx}{reactivation probability (incapacity -> active)}
#' * qpx: death probability of retired (retired -> dead)
#' \item{apx}{retirement probability (active -> retirement), typically 1 for a fixed age}
#' * hx: probability of a widow at moment of death (dead -> widow), y(x) age differene
#' \item{apx}{retirement probability of invalids (invalid -> retirement), typically 0 or 1 for a fixed age}
#' * qxw: death probability of widows/widowers
#' \item{qpx}{death probability of retired (retired -> dead)}
#' * qgx: death probability of total group (irrespective of state)
#' \item{hx}{probability of a widow at moment of death (dead -> widow), y(x) age difference}
#' \item{qxw}{death probability of widows/widowers}
#' \item{qgx}{death probability of total group (irrespective of state)}
#' }
#'
#'
#' @slot qx Death probability table of actives (derived from mortalityTable)
#' @slot qx Death probability table of actives (derived from mortalityTable)
#' @slot ix Invalidity probability of actives (derived from mortalityTable)
#' @slot ix Invalidity probability of actives (derived from mortalityTable)
...
...
This diff is collapsed.
Click to expand it.
man/pensionTable-class.Rd
+
19
−
17
View file @
92c1602f
...
@@ -10,24 +10,26 @@ Class \code{pensionTable} is the (virtual) base class for all pensions
...
@@ -10,24 +10,26 @@ Class \code{pensionTable} is the (virtual) base class for all pensions
tables. It contains the name and some general values applying to all
tables. It contains the name and some general values applying to all
types of tables. In particular, it holds individual tables for each of the
types of tables. In particular, it holds individual tables for each of the
transition probabilities. Possible states are:
transition probabilities. Possible states are:
* active: healty, no pension, typically paying some kin of premium
\itemize{
* incapacity: disablity pension, in most cases permanent, not working, early pension
\item active: healty, no pension, typically paying some kin of premium
* retirement: old age pension, usually starting with a fixed age
\item incapacity: disablity pension, in most cases permanent, not working, early pension
* dead
\item retirement: old age pension, usually starting with a fixed age
* Widow/widower pension
\item dead \itemize{
\item Widow/widower pension
}
}
Correspondingly, the following transition probabilities can be given:\describe{
\item{qxaa}{death probability of actives (active -> dead)}
\item{ix}{invalidity probability (active -> incapacity)}
\item{qix}{death probability of invalid (invalid -> dead)}
\item{rx}{reactivation probability (incapacity -> active)}
\item{apx}{retirement probability (active -> retirement), typically 1 for a fixed age}
\item{apx}{retirement probability of invalids (invalid -> retirement), typically 0 or 1 for a fixed age}
\item{qpx}{death probability of retired (retired -> dead)}
\item{hx}{probability of a widow at moment of death (dead -> widow), y(x) age difference}
\item{qxw}{death probability of widows/widowers}
\item{qgx}{death probability of total group (irrespective of state)}
}
}
\details{
Correspondingly, the following transition probabilities can be given:
* qxaa: death probability of actives (active -> dead)
* ix: invalidity probability (active -> incapacity)
* qix: death probability of invalid (invalid -> dead)
* rx: reactivation probability (incapacity -> active)
* apx: retirement probability (active -> retirement), typically 1 for a fixed age
* apx: retirement probability of invalids (invalid -> retirement), typically 0 or 1 for a fixed age
* qpx: death probability of retired (retired -> dead)
* hx: probability of a widow at moment of death (dead -> widow), y(x) age differene
* qxw: death probability of widows/widowers
* qgx: death probability of total group (irrespective of state)
}
}
\section{Slots}{
\section{Slots}{
...
...
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