Model a book of insurance, investigate tail risk, allocate margin, apply and price reinsurance.

Use of this site signifies agreement with the terms.

derive
Ctrl+Enter build·Ctrl+Space complete Ctrl+↑↓ history·Ctrl+Shift+U tables
Type DecL above and press Ctrl+Enter to build.
Quick Re
placed, from attach to detach

Quick help

The aggregate Loss Lab. Build and explore compound (aggregate) loss distributions from simple DecL programs.

Try it
agg Demo 100 claims 1000 xs 0 sev lognorm 90 cv 1.5 poisson
then press Ctrl+Enter
Keys
Ctrl+Enterbuild Ctrl+Spaceautocomplete; Tab takes the suggestion Ctrl+Ksearch the example library Ctrl+↑ ↓step through history (or the two arrows in the editor's right margin) Ctrl+Shift+↑ ↓step through the example library (loads, does not build); the counter beside the editor says where you are, and walks whatever the Examples menu is filtered and searched down to Ctrl+Shift+Uflip every table between static and interactive Ctrl+Shift+Vflip every exhibit between the raw frame and the insurer reading; the pair beside the versions says which one you are on Alt+1…6jump to an output group, numbered in the order they are listed below ← → Home Endwalk a group or leaf row once it has focus, skipping whatever is dark ✕clear the editor; press it again on an empty box to clear your history

Ctrl+Shift+V stands aside inside the program box and the entry forms, where the browser claims it for paste, and works everywhere else. Menu ▸ Editor ▸ Emacs keys adds Ctrl+A/E/K/Y, N/P and F/B/D in the program box.

Controls

Each derivation writes DecL into the editor, so you can read what it did, edit it, and build it again anywhere. The ↑ in the editor's right margin walks back through the programs you built, which is how you undo one.

Output groups

A group or a leaf greyed out is one this object cannot answer; hover it to read why. Nothing is hidden, so the menu is always the same shape.

Tables and charts

Menu ▸ Download models saves every program you built this session as one .agg file.

Learn more

This is a shared, free demo, so builds are rate-limited. Want no limits? aggregate is open source, so you can run it locally.

About

The aggregate Loss Lab (aLL): build and explore compound (aggregate) loss distributions in the browser, powered by the open-source aggregate library.

Versions
aggregate
…
aggregate_api
…
csv-grid
…
greater-tables
…
ECharts
…
echarts-gl
…
Bootstrap
…
plugins
…
Disclaimer

aLL is a free research and educational tool built on the open source aggregate library (BSD 3-Clause). All results are provided as is, with no warranty of any kind. Nothing on this site constitutes actuarial, financial, or other professional advice, and no output is an actuarial communication within the meaning of ASOP 41. Verify results independently before relying on them. Submitted programs and sessions may be logged to operate the service; do not submit confidential data. The service is offered with no promise of availability and may change or be withdrawn at any time. Third-party components are used under their respective MIT, BSD, and Apache 2.0 licenses.

Learn more