mqriskR

CRAN status

mqriskR provides a comprehensive collection of functions for actuarial mathematics and life contingency modeling. It supports actuarial present values, premiums, reserves, pensions, multiple-life models, multiple-decrement models, mortality improvement, and both life table and parametric survival model calculations using standard actuarial notation.

The package is designed to support actuarial education, professional exam preparation, research, and reproducible actuarial analysis.

Installation

Install the stable release from CRAN:

install.packages("mqriskR")

Or install the development version from GitHub:

# install.packages("remotes")
remotes::install_github("aokine/mqriskR")

Example

Compute the actuarial present value of a whole life annuity under a uniform distribution of deaths.

library(mqriskR)

ax(
  x = 40,
  i = 0.05,
  model = "uniform",
  omega = 100
)

Main Features

Latest Release (Version 0.1.2)

Version 0.1.2 builds on the improvements introduced in Version 0.1.1, with further refinements to package functionality, documentation, and numerical examples.

Highlights include:

Existing function arguments and numerical behavior remain unchanged. The AG 38 reserve calculation now includes an additional named output for the total AG 38 reserve.

For a complete history of package updates, see NEWS.md.

Intended Audience

The package is intended for:

Documentation

Complete documentation for all exported functions is available on the pkgdown website:

https://aokine.github.io/mqriskR/

References

The methods implemented in mqriskR are based on standard actuarial references, including: