Calling =TECHTO_RESERVING and =TECHTO_MLRESERVING for claims triangle reserving in Excel is just a matter of copying and pasting

[This article was first published on T. Moudiki's Webpage - R, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

=TECHTO_RESERVING and =TECHTO_MLRESERVING in Excel are based on R and Python code from the Techtonique project’s claims triangle reserving functions.

Here’s a unified way to use =TECHTO_RESERVING and =TECHTO_MLRESERVING directly and easily in Excel through xlwings Lite:

  • If you haven’t done it yet, install xlwings Lite https://lite.xlwings.org/installation and click on its icon in the top right corner to open the editor

  • Get a token from https://www.techtonique.net/token

  • In the xlwings Lite editor, click on the dropdown menu > Environment variables

  • Name the environment variable TECHTONIQUE_TOKEN, provide its token value, and push “Save”

  • In the main xlwings Lite code editor (main.py), paste:

from techtonique_apis import TECHTO_RESERVING
from techtonique_apis import TECHTO_MLRESERVING
  • In xlwings Lite’s requirements.txt, paste:
xlwings==0.33.14  # required
python-dotenv==1.1.0  # required
pyodide-http  # required
black  # required
techtonique_apis

image-title-here

To leave a comment for the author, please follow the link and comment on their blog: T. Moudiki's Webpage - R.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)