Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
R - Mortality Tables
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
10
Issues
10
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
R
R - Mortality Tables
Commits
92c1602f
Commit
92c1602f
authored
Sep 13, 2017
by
Reinhold Kainhofer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix docstring (lists)
parent
2e9e7333
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
34 deletions
+39
-34
R/pensionTable.R
R/pensionTable.R
+20
-17
man/pensionTable-class.Rd
man/pensionTable-class.Rd
+19
-17
No files found.
R/pensionTable.R
View file @
92c1602f
...
...
@@ -8,23 +8,26 @@ NULL
#' 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
#' transition probabilities. Possible states are:
#' * active: healty, no pension, typically paying some kin of premium
#' * incapacity: disablity pension, in most cases permanent, not working, early pension
#' * retirement: old age pension, usually starting with a fixed age
#' * dead
#' * Widow/widower pension
#'
#' 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)
#' \itemize{
#' \item active: healty, no pension, typically paying some kin of premium
#' \item incapacity: disablity pension, in most cases permanent, not working, early pension
#' \item retirement: old age pension, usually starting with a fixed age
#' \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)}
#' }
#'
#' @slot qx Death probability table of actives (derived from mortalityTable)
#' @slot ix Invalidity probability of actives (derived from mortalityTable)
...
...
man/pensionTable-class.Rd
View file @
92c1602f
...
...
@@ -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
types of tables. In particular, it holds individual tables for each of the
transition probabilities. Possible states are:
* active: healty, no pension, typically paying some kin of premium
* incapacity: disablity pension, in most cases permanent, not working, early pension
* retirement: old age pension, usually starting with a fixed age
* dead
* Widow/widower pension
\itemize{
\item active: healty, no pension, typically paying some kin of premium
\item incapacity: disablity pension, in most cases permanent, not working, early pension
\item retirement: old age pension, usually starting with a fixed age
\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}{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment