data_array_product: Sample mortality data stratified by insurance products

Ext_array_productR Documentation

Sample mortality data stratified by insurance products

Description

This is a sample data set used for demonstration purposes. They consist of two 3-dimensional arrays, one for number of deaths (dxt_array_product) and another for the the corresponding central exposures to risk (Ext_array_product).

Usage

data("Ext_array_product")

data("dxt_array_product")

Format

An object of class array of dimension 4 x 83 x 5.

A 3-dimensional data array (dim 1: strata, dim 2: ages, dim 3: years) with 4 strata (products), 83 ages, and 5 years:

Strata/Products

Character. Names of the insurance products considered in the dataset. There are in total 4 products:
"ACI": ;
"DB": ;
"SCI": ;
"Annuities": Note that this product contains a lot of missing values.

Ages

Numeric. Ages at claims, ranging between 18-100.

Years

Numeric. Years at claims, spanning years 2016-2020.

Examples

##Load exposure data
data("Ext_array_product")
str(Ext_array_product)
head(Ext_array_product)

#extracting a subset of the data (3 products, ages 35-65, years 2016-2020)
Ext_array_product[c("ACI","DB","SCI"),as.character(35:65),as.character(2016:2020)]

##Load death data
data("dxt_array_product")
str(dxt_array_product)
head(dxt_array_product)

#extracting a subset of the data (3 products, ages 35-65, years 2016-2020)
dxt_array_product[c("ACI","DB","SCI"),as.character(35:65),as.character(2016:2020)]


BayesMoFo documentation built on Aug. 11, 2025, 1:07 a.m.