In this notebook, we define a term life policy, implement the mechanics for "outer" projected values, as well as "inner" projections so that we can determine a projection-based reserve. This is done with both a deterministic and stochastic "inner" loop.
The image above shows a Pluto.jl notebook which shows how to project life insurance policy mechanics with an inner/outer loop (stochastically and deterministically).
Assuming that you already have Julia installed but still need to install Pluto notebooks:
Open a Julia REPL and copy and paste the following:
# install these dependencies import Pkg; Pkg.add(["Pluto"]) # use and start Pluto using Pluto; Pluto.run()
In the Pluto window that opens, enter this URL into the
Open from file: box: