Some notes:
- The main reference is Basic term S. Model S, M and SC are basically the same.
- The computation heavy work load is performed with Rust.
- Post run analysis is stored at notebooks folder. This is a Marimo Notebook. Its purpose is to explain a practical smoothing technique after crude premium calculation is performed by Rust model. The method is reproducible and reduces labor intensity from manual practise.
What can be taken out from this repo?
- The project introduces the implementation of Rust language and its latest dataframe technology to support actuarial work.
- The project also shows that spreadsheet, although being convinient, is not the best suited tool to handle full projections which might consist of millions records even for the most basic products.
Install Rust
- Clone the repo:
git clone https://github.com/hnlearndev/Basic-Term-Model-Rust-lifelibBasicTermSM
- Go to the local repo and build dependencies:
cargo build
- Run the package
cargo run
- Add Changelog
- Add premium rate plot and introduce technique (eg: spline...) to smooth curve.
Trung-Hieu Nguyen - hieunt.hello@gmail.com
Project Link: https://github.com/hnlearndev/Basic-Term-Model-Rust-lifelibBasicTermSM