5.1 Tweedie Compound Poisson-Gamma Modeling
Key Takeaways
- The Tweedie Compound Poisson-Gamma distribution models aggregate loss Y = sum_{i=1}^N Z_i with Poisson claim frequency N ~ Poisson(lambda) and Gamma severity Z_i ~ Gamma(alpha, theta).
- The Tweedie variance function is V(mu) = mu^p where the power parameter strictly satisfies 1 < p < 2, creating an exact point mass at zero P(Y = 0) = exp(-lambda) > 0 for non-claim policies.
- The Tweedie parameters (mu, phi, p) map bijectively to Poisson-Gamma parameters: shape alpha = (2 - p)/(p - 1), Poisson mean lambda = mu^(2 - p) / [phi * (2 - p)], and Gamma scale theta = phi * (p - 1) * mu^(p - 1).
- Direct Tweedie pure premium modeling directly optimizes loss cost deviance in a single model, eliminating the operational overhead of managing separate frequency and severity pipelines.
- The index parameter p cannot be solved via standard Iteratively Reweighted Least Squares (IRLS) and must be estimated through profile log-likelihood grid search across the interval (1.01, 1.99).
The Compound Poisson-Gamma Process in P&C Insurance
In property and casualty insurance, pure premium (or loss cost) represents aggregate losses per unit of earned exposure. Traditional ratemaking structures pure premium via two separate Generalized Linear Models: a Poisson model for claim frequency and a Gamma model for claim severity. However, casualty actuaries often model pure premium directly in a single step using the Tweedie Compound Poisson-Gamma distribution.
Consider an insurance portfolio where an insured unit over a defined coverage period experiences an unknown number of claims $N$, each generating a loss amount $Z_i$:
Where:
- Claim frequency $N$ follows a Poisson distribution with intensity parameter $\lambda > 0$:
- Individual claim severities $Z_1, Z_2, \dots, Z_N$ are independent, identically distributed Gamma random variables with shape parameter $\alpha > 0$ and scale parameter $\theta > 0$:
- The count $N$ and the individual claim amounts $Z_i$ are mutually independent.
- If $N = 0$, the aggregate loss is identically zero: $Y = 0$.
Mean and Variance of Aggregate Losses
Applying the Law of Total Expectation:
Applying the Law of Total Variance (Eve's Law):
Substituting the Poisson and Gamma moments:
The Tweedie Exponential Dispersion Family Representation
In 1984, British statistician Maurice Tweedie demonstrated that this Compound Poisson-Gamma process belongs to the Exponential Dispersion Family (EDF) with a specific power variance function:
Where $\phi$ is the dispersion parameter and $p$ is known as the Tweedie index (power) parameter.
Spectrum of Tweedie Distributions
The Tweedie family encompasses several classical distributions depending on the value of $p$:
| Tweedie Power ($p$) | Underlying Distribution | Support | Insurance Pricing Application |
|---|---|---|---|
| $p = 0$ | Normal (Gaussian) | $(-\infty, \infty)$ | Benchmark linear regression (rarely used for losses) |
| $p = 1$ | Poisson | ${0, 1, 2, \dots}$ | Claim frequency modeling (count data) |
| $1 < p < 2$ | Compound Poisson-Gamma | $[0, \infty)$ | Pure premium / loss cost modeling (mass at zero) |
| $p = 2$ | Gamma | $(0, \infty)$ | Claim severity modeling (strictly positive) |
| $p = 3$ | Inverse Gaussian | $(0, \infty)$ | Heavy-tailed claim severity modeling |
| $p > 2$ ($p \ne 3$) | Positive Stable | $(0, \infty)$ | Extreme value and catastrophe loss modeling |
TWEEDIE INDEX SPECTRUM (p)
p = 0 p = 1 1 < p < 2 p = 2 p = 3
───────┼─────────────────┼───────────────────┼──────────────────┼───────────────┼───────►
Normal Poisson TWEEDIE Gamma Inverse
(Linear) (Frequency) (Pure Premium) (Severity) Gaussian
Compound P-G (Heavy Tail)
[Mass at Zero!]
The Point Mass at Zero
The defining feature of the Tweedie distribution with $1 < p < 2$ is that it is not purely continuous, but rather a mixed discrete-continuous distribution. It exhibits an exact point mass at zero corresponding to policies that incurred no claims ($N = 0$):
For $y > 0$, the distribution is strictly continuous with a smooth, right-skewed density. In a personal auto portfolio where $90%$ of drivers have no claims during the year, the empirical pure premium distribution has a spike of probability at $0 ($90%$ mass) followed by a continuous positive distribution for the $10%$ who incurred losses. The Tweedie distribution matches this physical reality.
Mathematical Mapping: Tweedie vs. Poisson-Gamma Parameters
There is an exact, invertible algebraic mapping between the Tweedie GLM parameters $(\mu, \phi, p)$ and the underlying compound Poisson-Gamma parameters $(\lambda, \alpha, \theta)$:
Derivation of the Transformation
We equate the Tweedie mean and variance to the Poisson-Gamma mean and variance:
Dividing the variance by the mean:
Substituting $\theta$ back into the mean expression $\mu = \lambda \alpha \theta$:
By matching the power dependencies of the cumulant function within the Exponential Dispersion Family, the relationship between $p$ and the Gamma shape $\alpha$ is established as:
Solving for the Gamma shape parameter $\alpha$:
Because $1 < p < 2$, both $(2 - p) > 0$ and $(p - 1) > 0$, ensuring $\alpha > 0$.
Substituting $\alpha$ into the expressions for $\lambda$ and $\theta$ yields the fundamental actuarial bridge formulas:
Actuarial Implication for Zero-Claim Probability
Substituting $\lambda$ into the point mass at zero yields:
Because $2 - p > 0$, as expected pure premium $\mu$ increases, the exponent becomes more negative, causing $P(Y = 0)$ to decrease. Higher-risk policyholder segments have a substantially lower probability of remaining claim-free, precisely matching actuarial observations.
Direct Pure Premium vs. Two-Stage Frequency-Severity Modeling
When pricing personal or commercial lines, casualty actuaries must decide between fitting a single direct Tweedie GLM or building a two-stage frequency-severity architecture.
PURE PREMIUM MODELING PARADIGMS
│
┌───────────────────────┴───────────────────────┐
▼ ▼
DIRECT TWEEDIE MODEL TWO-STAGE ARCHITECTURE
Response: Loss / Exposure Stage 1: Frequency GLM (Poisson)
Prior Weights: Exposure Stage 2: Severity GLM (Gamma/IG)
Link: Log Pure Premium = Frequency * Severity
Single Objective Optimization Multiplicative Combination
Comprehensive Actuarial Comparison
| Evaluation Dimension | Direct Tweedie GLM ($1 < p < 2$) | Two-Stage (Poisson Frequency $\times$ Gamma Severity) |
|---|---|---|
| Model Objective | Optimizes pure premium deviance directly in one step. | Optimizes frequency and severity deviances independently. |
| Target Variable | Loss cost $Y_i = \text{Loss}_i / e_i$ across all policies. | Stage 1: Counts $N_i$; Stage 2: Claim severity $Z_i > 0$. |
| Prior Weights & Offsets | Prior weight $\omega_i = e_i$ (earned exposure); no offset. | Stage 1: Offset $\ln(e_i)$; Stage 2: Prior weight $\omega_i = N_i$. |
| Underwriting Insights | Blurs frequency and severity drivers into a single net relativity. | Explicitly distinguishes whether high cost is driven by frequency (e.g., mileage) or severity (e.g., luxury car parts). |
| Varying Policy Limits & Deductibles | Difficult to adjust; severity limits distort aggregate pure premium. | Straightforward; deductibles and policy limits apply cleanly to the conditional severity distribution. |
| Zero-Claim Handling | Natively accommodates zero-claim policies via point mass $e^{-\lambda}$. | Excludes zero-claim policies entirely from the severity stage. |
| Operational Overhead | 1 model pipeline, 1 set of rate filing exhibits, 1 monitoring report. | 2 model pipelines, 2 sets of diagnostics, combined tracking complexity. |
| Sample Size Disparity | Trained on all policies ($n = 1,000,000$). | Frequency on all policies ($n = 1,000,000$); Severity on claims only ($n = 80,000$). |
Strategic Guidance for Exam and Practice
- Use Direct Tweedie when: Speed to market, operational simplicity, and direct loss cost optimization are paramount, particularly in high-volume personal lines (personal auto comprehensive, renters) with uniform policy limits.
- Use Two-Stage Models when: Analyzing lines with high limit variability, significant deductible options (commercial property), or when underwriters require separate frequency and severity relativities to design underwriting guidelines.
Estimating and Profiling the Index Parameter $p$
In standard Generalized Linear Models (such as Poisson or Gamma), the variance power $p$ is known ($p = 1$ or $p = 2$), allowing the parameters $\boldsymbol{\beta}$ to be solved directly via Iteratively Reweighted Least Squares (IRLS). In Tweedie models, however, the power parameter $p$ is unknown and enters the variance function nonlinearly ($V(\mu) = \mu^p$).
Because $p$ determines the Exponential Dispersion Family density itself, $p$ cannot be estimated simultaneously with $\boldsymbol{\beta}$ using standard IRLS. Instead, actuaries employ Profile Log-Likelihood Optimization.
The Profile Log-Likelihood Algorithm
PROFILE LIKELIHOOD ALGORITHM
│
┌────────────────────────────┴────────────────────────────┐
▼ ▼
1. Define Grid for p 2. Loop over each p_k
p in [1.05, 1.95], step = 0.05 Fit Tweedie GLM via IRLS
Obtain beta_hat(p_k), phi_hat(p_k)
│
┌─────────────────────────────────────────────────────────┘
▼
3. Calculate Exact Log-Likelihood
Evaluate l_profile(p_k) using Dunn & Smyth series expansion
│
▼
4. Identify Optimal p*
p* = argmax l_profile(p_k)
Refine via golden-section search near p*
- Define Search Interval: Construct a discrete grid over the theoretical domain $p \in (1.01, 1.99)$ (e.g., $p \in {1.1, 1.2, \dots, 1.9}$, refined to step size $0.01$).
- Conditional IRLS Fit: For each fixed candidate value $p_k$:
- Fit the GLM for $\boldsymbol{\beta}$ using standard IRLS with variance function $V(\mu) = \mu^{p_k}$.
- Estimate the dispersion parameter $\hat{\phi}(p_k)$ from the Pearson statistic.
- Evaluate Exact Log-Likelihood: Evaluate the full log-likelihood $\ell(\hat{\boldsymbol{\beta}}(p_k), \hat{\phi}(p_k); p_k)$. Because the Tweedie normalizing function $c(y, \phi)$ has no closed-form analytic expression for $1 < p < 2$, software evaluates the infinite series representation using the Dunn and Smyth (2005) Fourier inversion algorithm.
- Maximize Profile Curve: Plot the profile log-likelihood curve against $p$ and select the optimal value:
Actuarial Interpretation of the Optimal $p$
- Lower values ($p \to 1.1 - 1.3$): Indicate that pure premium volatility is dominated by claim frequency. Claims occur with Poisson-like variation, while individual claim severities are relatively constant (low variance). Typical for auto glass or roadside assistance.
- Higher values ($p \to 1.7 - 1.9$): Indicate that pure premium volatility is dominated by claim severity. Claim frequency is low, but loss sizes exhibit extreme right-skewness and high variance. Typical for commercial liability and excess property.
Software Implementation Reference
- R (
tweedieandcplmpackages):library(tweedie) # Step 1: Profile p over a grid p_prof <- tweedie.profile(pure_premium ~ age + territory, weights = exposure, data = df, p.vec = seq(1.1, 1.9, by = 0.05)) best_p <- p_prof$p.max # Step 2: Fit model with optimal p fit <- glm(pure_premium ~ age + territory, family = tweedie(var.power = best_p, link.power = 0), weights = exposure, data = df) - Python (
statsmodelsandscikit-learn):# scikit-learn TweedieRegressor with log link from sklearn.linear_model import TweedieRegressor reg = TweedieRegressor(power=1.5, link='log') reg.fit(X, y_pure_premium, sample_weight=df['exposure'])
Actuarial Exam Traps & Pitfalls
[!WARNING] Trap 1: Passing Exposure as an Offset Instead of Prior Weights in Tweedie In Poisson models ($p = 1$), exposure enters as an offset $\ln(e_i)$ because $V(\mu) = \mu$. In Tweedie models ($1 < p < 2$), loss cost $Y_i = \text{Loss}_i / e_i$ is modeled directly, and exposure must enter as prior weights $\omega_i = e_i$, NOT as an offset. Setting
offset = log(exposure)in a Tweedie model distorts the variance function and corrupts parameter estimates.
[!WARNING] Trap 2: Specifying $p \le 1$ or $p \ge 2$ for Pure Premium The Compound Poisson-Gamma distribution with a point mass at zero exists strictly on the open interval $1 < p < 2$. Setting $p = 1$ reverts to a Poisson count model (incapable of modeling continuous loss amounts), while $p = 2$ reverts to a Gamma severity model (incapable of modeling zero losses). Any code setting $p$ outside $(1, 2)$ will fail to model pure premium correctly.
[!WARNING] Trap 3: Believing Tweedie Provides Separate Frequency and Severity Relativities A direct Tweedie GLM outputs a single set of rating coefficients $\boldsymbol{\beta}$ that represent the net effect on pure premium. It cannot tell an underwriter whether an adverse relativity (e.g., factor $1.35$) is caused by high frequency or severe shock losses. If separate relativities are legally or operationally required, a two-stage model must be deployed.
[!WARNING] Trap 4: Attempting to Optimize $p$ Inside Standard IRLS Candidates often assume statistical software estimates $p$ automatically via iteratively reweighted least squares. IRLS requires the variance function to be fixed. The index parameter $p$ must be tuned via profile log-likelihood or out-of-fold cross-validation.
A pricing actuary is setting up a direct Tweedie GLM to model personal auto collision pure premium across a database of 500,000 policies. How should the target response variable and exposure be specified in the statistical software?
A Tweedie pure premium model has been fitted to commercial auto losses with an estimated index parameter p = 5/3, dispersion parameter phi = 4.0, and an expected pure premium mu = $1,000. What is the implied underlying Poisson claim frequency parameter lambda for an exposure unit with this expected loss?
An actuarial team debates whether to replace their legacy two-stage (Poisson frequency x Gamma severity) model with a direct Tweedie GLM for homeowners rate filings. Which operational consideration represents a major disadvantage of switching to the direct Tweedie model?