Package: Q2q 0.1.1

Farid FLICI

Q2q: Interpolating Age-Specific Mortality Rates at All Ages

Mortality rates are typically provided in an abridged format, i.e., by age groups 0, [1, 5], [5, 10]', '[10, 15]', and so on. Some applications necessitate a detailed (single) age description. Despite the large number of proposed approaches in the literature, only a few methods ensure great performance at both younger and higher ages. For example, the 6-term 'Lagrange' interpolation function is well suited to mortality interpolation at younger ages (with irregular intervals), but not at older ages. The 'Karup-King' method, on the other hand, performs well at older ages but is not suitable for younger ones. Interested readers can find a full discussion of the two stated methods in the book Shryock, Siegel, and Associates (1993).The Q2q package combines the two methods to allow for the interpolation of mortality rates across all age groups. It begins by implementing each method independently, and then the resulting curves are linked using a 5-age averaged error between the two partial curves.

Authors:Farid FLICI [aut, cre]

Q2q_0.1.1.tar.gz
Q2q_0.1.1.tar.gz(r-4.5-noble)Q2q_0.1.1.tar.gz(r-4.4-noble)
Q2q_0.1.1.tgz(r-4.4-emscripten)Q2q_0.1.1.tgz(r-4.3-emscripten)
Q2q.pdf |Q2q.html
Q2q/json (API)

# Install 'Q2q' in R:
install.packages('Q2q', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:
  • LT - Mortality data

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.70 score 2 scripts 146 downloads 2 exports 0 dependencies

Last updated 16 days agofrom:58e7faebd5. Checks:OK: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 08 2024
R-4.5-linuxOKNov 08 2024

Exports:getqxgetqxt

Dependencies: