This function uses the procedure described in Renshaw and Haberman (2008)
fitted number of deaths (scalar)
deviance residual (scalar)
matching observed deaths
Renshaw, A. E., & Haberman, S. (2008). On simulation-based approaches to risk measurement in mortality with specific reference to Poisson Lee-Carter modelling. Insurance: Mathematics and Economics, 42(2), 797-816.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.