AutoSULT-package | R Documentation |
Code to automatically generate selected types of problems and solutions from Chapters 3, 4, 5, 8, and 10 of Actuarial Mathematics for Life Contingent Risks, 3rd edition, by Dickson, Hardy, and Waters. The problems generated make use of the Standard Ultimate Survival Model (SUSM) a.k.a. Standard Ultimate Life Table (SULT), a mortality table based on Makeham's law and defined on pg. 82 of AMLCR3e. Problems and solutions are typeset in LaTeX and rendered to PDF files.
The DESCRIPTION file:
This package was not yet installed at build time.
Index: This package was not yet installed at build time.
Chris Groendyke [aut, cre]
Maintainer: Chris Groendyke <groendyke@rmu.edu>
Dickson, D.C.M., Hardy, M.R., Waters, H.R., 2020 Actuarial Mathematics for Life Contingent Risks, Third Edition, Cambridge, UK: Cambridge University Press.
D. Beauchemin and V. Goulet, Actuarial symbols of life contingencies and financial mathematics, 2019. URL: https://ctan.org/pkg/actuarialsymbol.
# Generate 15 problems total from Ch.3 (1 of type 1, 4 of type 2, etc.)
Ch3QA(probspec = c(1, 4, 2, 0, 3, 5))
# Generate 2 problems of each type from Ch.4.
Ch4QA(probspertype = 2)
# Generate 10 problems from among the 13 Ch. 5 problem types.
probvec <- sample(1:13, 10, TRUE)
for (i in 1:13) probvec[i] <- sum(probvec == i)
Ch5QA(probspec = probvec)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.