sim_death_rh: Simulation of death counts from the Renshaw-Haberman...

View source: R/sim_mortality_data.R

sim_death_rhR Documentation

Simulation of death counts from the Renshaw-Haberman mortality model

Description

Simulation of death counts from the Renshaw-Haberman mortality model

Usage

sim_death_rh(a, b, k, g, phi, years, ages, exposure)

Arguments

a

vector of age component

b

vector of age/year component

k

vector of period component

g

vector of cohort component

phi

dispersion parameter

years

vector of calendar years

ages

vectors of ages

exposure

matrix of exposure data

Value

matrix of death count


StanMoMo documentation built on Sept. 24, 2023, 1:06 a.m.