27 August 2026 · Federica Gazzelloni
You receive policy and claims data.
Before modelling anything, can you trust the data?
Today we use R to answer that question step by step.
Write code that another actuary can understand, reproduce, and trust.
Welcome
Orientation
Session 1
Data checks
5-minute pause
Session 2
Analyse
5-minute pause
Session 3
Visualise and report
Practical
Mini-project
Raw data
Validation
Analysis
Visualisation
Quarto report
GitHub publication
The workflow is part of the actuarial deliverable.

One case study
Policies
Claims
Validation
Actuarial measures
Charts and report
r-for-actuaries-2026/
data/ -> raw/ and processed/
case-study/ -> mini-project notebook
sessions/ -> course pages
slides/ -> teaching deck
Open the R Project first. Work from the project root.
01
Import · Inspect · Validate
Start by making the data visible.
Missing values · Duplicates · Dates · Policy IDs · Numeric ranges
What would you check before calculating claim frequency?
Inspect the data · Talk to the person next to you · Name one risk
5
minute pause
Stretch, reset, and keep the project open.
02
Join · Derive · Summarise
Policies
Claims
Portfolio view
Frequency
claims / exposure
Severity
claim cost / claims
Pure premium
claim cost / exposure
Loss ratio
claim cost / premium
Use summaries to understand portfolio shape before interpretation.
Which product would you investigate first?
5
minute pause
Next: make the analysis communicable.
03
Visualise · Explain · Render
Charts should answer actuarial questions, not decorate reports.
Code
Text
Tables
Figures
Render the mini-project notebook into a report another actuary can review.
Try
Ask
Run
Check
Rewrite
AI is a tutor, reviewer, and debugging partner, not an autopilot.
Import data
Validate checks
Create measures
Produce plots
Render report
Write code that another actuary can understand, reproduce, and trust.
ACTEX Bootcamp: R for Actuaries 2026