aggregate
Packageaggregate
is a Python package providing fast, accurate, and expressive data structures that make working with aggregate (also called compound) probability distributions easy and intuitive. It allows students and practitioners to work with realistic real-world distributions that reflect the underlying frequency and severity generating processes. It has applications in insurance, risk management, actuarial science, and related areas.
I have produced a series of short videos that show how to use aggregate
to solve actuarial and risk management problems. There are two types of videos:
Everyone should read the first quick-start, QS1. Users should then work through the vignettes related to their use cases, referring back to later QS videos as needed. Programmers may find the QS videos more engaging.
The videos are supplemented by background material available on-line and in textbooks:
The course is designed for working actuaries and student actuaries. It assumes:
Some videos assume familiarity with individual risk rating and reinsurance pricing. These topics are covered in Fisher (2019) and Clark (2014).
Background | Quick-Start Reference | Vignettes |
---|---|---|
Introduction | QS1: Quick-Start | V1: Large account pricing |
QS2: build and agg language |
V2: Reinsurance pricing | |
?Math | QS3: Common design elements | V3: A&H pricing |
QS4: Aggregate class |
V4: Reserving | |
?IRR | QS5: Portfolio class |
V5: Capital modeling |
QS6: Distortion class |
V6: Strategy & allocation | |
?Re pricing | QS7: Pricing | V7: Agency management |
QS8: PIR case studies | V8: Actuarial students | |
?Capital modeling | QS9: Databases | V9: Academics |
agg
language (1, 2, or 3 outcomes; simple discrete severity) [cdf, pmf, sf, q, plot, describe, statistics]Aggregate
objects [audit_df, density_df, log2, bs, recommend_bucket, snap, update, tvar, var_dict][B1] Specifying a general aggregate loss distribution: exposure, severity, frequency; generalizes freq if sev fixed, sev if freq fixed; continuous examples lognorm with cv
[B2] Options for frequency (fixed severity): fixed, binomial, … mixed
[B3] Options for severity (fixed frequency): shape, loc, and scale, examples
[B4] Defining exposure: counts, loss, or premium & loss ratio
[V3] The Tweedie family of distributions
[B5] Defining exposure: limits profiles
[B6] Mixed severity distributions
[B7] Per occurrence reinsurance
[B8] Aggregate reinsurance
[R2] The general form of an aggregate program
[B4] Distortions, examples, plotting
[B5] Pricing: applying limited expected values and distortions
Portfolio
using agg
(2 line example); [cdf, pmf, sf, q, plot, describe, statistics]Portfolio
from …cumsum
posted 2022-10-15 | tags: aggregate, compound distribution, insurance modeling, Python