Common DecL clauses.
In Python: build('agg Book ...') or an %%agg cell.
agg Book | label | keyword, then a label you choose |
250 claims |
exposure | volume: amount of business |
1000 xs 0 | optional coverage: limit xs deductible | |
sev lognorm 100 cv 1.5 | severity | severity curve: family, mean, cv |
occurrence net of 250 xs 750 | occurrence reinsurance | optional, before frequency |
poisson | frequency | claim count distribution |
aggregate net of 5000 xs 30000 | aggregate reinsurance | optional, after frequency |
note{main book} | trailer | optional note |
hints{bs=1;log2=16;} | trailer | optional update hints |
port Two.Books agg Book 250 claims 1000 xs 0 sev lognorm 100 cv 1.5 poisson agg Casualty 20 claims 2000 xs 0 sev lognorm 250 cv 2 mixed gamma 0.4
Units are independent and share one grid; each may carry its own reinsurance. A unit can come from
the library, agg.BasicBook. Pricing allocates the total to the units.
38000 premiumless
agg Book ...less
25% premium expense=margin
xpnl Book.PnL
38000 premium # or inherit premium or derive premium
less
agg Book 250 claims 1000 xs 0 sev lognorm 100 cv 1.5
occurrence net of 250 xs 250 deposit 3400
and 500 xs 500 deposit 1600
poisson
less 25% premium expense as "G&A"
1000 fixed expense as "Overhead"
peel top-down # or bottom-up
| Exposure | Severity | Frequency | Reinsurance | |
|---|---|---|---|---|
| volume | coverage (optional) | |||
250 claims expected count25000 loss expected loss40000 premium at 65% lr1000 exposure at 25 rate units × rate |
1000 xs 0 limit xs deductibleomit for unlimited
[500 1000] xs [0 0] a mix |
sev lognorm 100 cv 1.5 mean, cvsev gamma 100 cv 1 any scipy.statssev 50 * invgamma 2.5 scale, shapesev ... ! unconditional |
poissonmixed gamma 0.3 mixing cv 0.3fixed exactly the count |
occurrence net of 75% po 600 xs 400 partial placementaggregate ceded to 250 xs 250 and 500 xs 500 limit xs attachment, lowest firstaggregate net of 66% po inf xs 0 rate 100% cede 30% 66% quota share w 30% ceding commission |
| less common | ||||
[100 200 50] claims vectorized exposuredfreq [1 2 3] [.5 .3 .2] listed counts and probabilities (optional, default equally likely) |
4000 xs 1000 an excess layer |
dsev [1 2 10] [.4 .4 .2] listedsev 40 * expon + 10 scale and shiftpicks [250 1000] [20000 4500] adjust expected loss by layer |
negbin 2 variance multiplebinomial 0.5 |
50% po 500 xs 500 partial placementtower [0 250 500 1000] program breakpointsrol 5% deposit 600 reinstatements 1 at 100% |