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

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

breakeven acceptability: the distortion that values the margin at zero
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+Ksearch the example library Ctrl+Spaceautocomplete Ctrl+ step through history Ctrl+Shift+ step through the example library (loads, does not build) Ctrl+Shift+Uflip every table between static and interactive Alt+16jump to an output group clear the editor
Controls

Each of the three writes DecL into the editor, so you can read what it did, edit it, and build it again anywhere.

Output groups

A group or a leaf greyed out is one this object cannot answer. Nothing is hidden, so the menu is always the same shape.

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
Learn more