PracticeVideosBlogFlashcards

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).

Last updated: September 2026

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 NN, each generating a loss amount ZiZ_i:

Y=∑i=1NZiY = \sum_{i=1}^N Z_i

Where:

  1. Claim frequency NN follows a Poisson distribution with intensity parameter λ>0\lambda > 0:
P(N=n)=e−λλnn!,n∈{0,1,2,… }P(N = n) = \frac{e^{-\lambda} \lambda^n}{n!}, \quad n \in \{0, 1, 2, \dots\}
  1. Individual claim severities Z1,Z2,…,ZNZ_1, Z_2, \dots, Z_N are independent, identically distributed Gamma random variables with shape parameter α>0\alpha > 0 and scale parameter θ>0\theta > 0:
Zi∼iidGamma(α,θ),E[Zi]=αθ,Var(Zi)=αθ2Z_i \stackrel{iid}{\sim} \text{Gamma}(\alpha, \theta), \quad \mathbb{E}[Z_i] = \alpha\theta, \quad \text{Var}(Z_i) = \alpha\theta^2
  1. The count NN and the individual claim amounts ZiZ_i are mutually independent.
  2. If N=0N = 0, the aggregate loss is identically zero: Y=0Y = 0.

Mean and Variance of Aggregate Losses

Applying the Law of Total Expectation:

μ=E[Y]=E[E[Y∣N]]=E[N⋅E[Z]]=E[N]⋅E[Z]=λαθ\mu = \mathbb{E}[Y] = \mathbb{E}\Big[ \mathbb{E}[Y \mid N] \Big] = \mathbb{E}[N \cdot \mathbb{E}[Z]] = \mathbb{E}[N] \cdot \mathbb{E}[Z] = \lambda \alpha \theta

Applying the Law of Total Variance (Eve's Law):

Var(Y)=E[Var(Y∣N)]+Var(E[Y∣N])\text{Var}(Y) = \mathbb{E}\Big[ \text{Var}(Y \mid N) \Big] + \text{Var}\Big( \mathbb{E}[Y \mid N] \Big) Var(Y)=E[N⋅Var(Z)]+Var(N⋅E[Z])=E[N]Var(Z)+(E[Z])2Var(N)\text{Var}(Y) = \mathbb{E}[N \cdot \text{Var}(Z)] + \text{Var}(N \cdot \mathbb{E}[Z]) = \mathbb{E}[N] \text{Var}(Z) + (\mathbb{E}[Z])^2 \text{Var}(N)

Substituting the Poisson and Gamma moments:

Var(Y)=λ(αθ2)+(αθ)2(λ)=λαθ2(1+α)\text{Var}(Y) = \lambda (\alpha \theta^2) + (\alpha \theta)^2 (\lambda) = \lambda \alpha \theta^2 (1 + \alpha)

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:

V(μ)=μp,where 1<p<2V(\mu) = \mu^p, \quad \text{where } 1 < p < 2 Var(Y)=ϕV(μ)=ϕμp\text{Var}(Y) = \phi V(\mu) = \phi \mu^p

Where ϕ\phi is the dispersion parameter and pp is known as the Tweedie index (power) parameter.

Spectrum of Tweedie Distributions

The Tweedie family encompasses several classical distributions depending on the value of pp:

Tweedie Power (pp)Underlying DistributionSupportInsurance Pricing Application
p=0p = 0Normal (Gaussian)(−∞,∞)(-\infty, \infty)Benchmark linear regression (rarely used for losses)
p=1p = 1Poisson{0,1,2,… }\{0, 1, 2, \dots\}Claim frequency modeling (count data)
1<p<21 < p < 2Compound Poisson-Gamma[0,∞)[0, \infty)Pure premium / loss cost modeling (mass at zero)
p=2p = 2Gamma(0,∞)(0, \infty)Claim severity modeling (strictly positive)
p=3p = 3Inverse Gaussian(0,∞)(0, \infty)Heavy-tailed claim severity modeling
p>2p > 2 (p≠3p \ne 3)Positive Stable(0,∞)(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<21 < 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=0N = 0):

P(Y=0)=P(N=0)=e−λ>0P(Y = 0) = P(N = 0) = e^{-\lambda} > 0

For y>0y > 0, the distribution is strictly continuous with a smooth, right-skewed density. In a personal auto portfolio where 90%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%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 (μ,ϕ,p)(\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:

μ=λαθ\mu = \lambda \alpha \theta Var(Y)=ϕμp=λαθ2(1+α)\text{Var}(Y) = \phi \mu^p = \lambda \alpha \theta^2 (1 + \alpha)

Dividing the variance by the mean:

Var(Y)μ=ϕμpμ=ϕμp−1=λαθ2(1+α)λαθ=θ(1+α)\frac{\text{Var}(Y)}{\mu} = \frac{\phi \mu^p}{\mu} = \phi \mu^{p-1} = \frac{\lambda \alpha \theta^2 (1 + \alpha)}{\lambda \alpha \theta} = \theta (1 + \alpha) θ=ϕμp−11+α\theta = \frac{\phi \mu^{p-1}}{1 + \alpha}

Substituting θ\theta back into the mean expression μ=λαθ\mu = \lambda \alpha \theta:

μ=λα(ϕμp−11+α)  ⟹  λ=μ2−pϕ(1+αα)\mu = \lambda \alpha \left( \frac{\phi \mu^{p-1}}{1 + \alpha} \right) \implies \lambda = \frac{\mu^{2-p}}{\phi} \left( \frac{1 + \alpha}{\alpha} \right)

By matching the power dependencies of the cumulant function within the Exponential Dispersion Family, the relationship between pp and the Gamma shape α\alpha is established as:

p=α+2α+1p = \frac{\alpha + 2}{\alpha + 1}

Solving for the Gamma shape parameter α\alpha:

α(p−1)=2−p  ⟹  α=2−pp−1\alpha(p - 1) = 2 - p \implies \alpha = \frac{2 - p}{p - 1}

Because 1<p<21 < p < 2, both (2−p)>0(2 - p) > 0 and (p−1)>0(p - 1) > 0, ensuring α>0\alpha > 0.

Substituting α\alpha into the expressions for λ\lambda and θ\theta yields the fundamental actuarial bridge formulas:

Gamma Shape:α=2−pp−1\textbf{Gamma Shape:} \quad \alpha = \frac{2 - p}{p - 1} Poisson  Mean:λ=μ2−pϕ(2−p)\mathbf{Poisson\;Mean:} \quad \lambda = \frac{\mu^{2-p}}{\phi (2 - p)} Gamma Scale:θ=ϕ(p−1)μp−1\textbf{Gamma Scale:} \quad \theta = \phi (p - 1) \mu^{p-1}

Actuarial Implication for Zero-Claim Probability

Substituting λ\lambda into the point mass at zero yields:

P(Y=0)=exp⁡(−λ)=exp⁡(−μ2−pϕ(2−p))P(Y = 0) = \exp(-\lambda) = \exp\left( -\frac{\mu^{2-p}}{\phi (2 - p)} \right)

Because 2−p>02 - p > 0, as expected pure premium μ\mu increases, the exponent becomes more negative, causing P(Y=0)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 DimensionDirect Tweedie GLM (1<p<21 < p < 2)Two-Stage (Poisson Frequency ×\times Gamma Severity)
Model ObjectiveOptimizes pure premium deviance directly in one step.Optimizes frequency and severity deviances independently.
Target VariableLoss cost Yi=Lossi/eiY_i = \text{Loss}_i / e_i across all policies.Stage 1: Counts NiN_i; Stage 2: Claim severity Zi>0Z_i > 0.
Prior Weights & OffsetsPrior weight ωi=ei\omega_i = e_i (earned exposure); no offset.Stage 1: Offset ln⁡(ei)\ln(e_i); Stage 2: Prior weight ωi=Ni\omega_i = N_i.
Underwriting InsightsBlurs 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 & DeductiblesDifficult to adjust; severity limits distort aggregate pure premium.Straightforward; deductibles and policy limits apply cleanly to the conditional severity distribution.
Zero-Claim HandlingNatively accommodates zero-claim policies via point mass e−λe^{-\lambda}.Excludes zero-claim policies entirely from the severity stage.
Operational Overhead1 model pipeline, 1 set of rate filing exhibits, 1 monitoring report.2 model pipelines, 2 sets of diagnostics, combined tracking complexity.
Sample Size DisparityTrained on all policies (n=1,000,000n = 1,000,000).Frequency on all policies (n=1,000,000n = 1,000,000); Severity on claims only (n=80,000n = 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 pp

In standard Generalized Linear Models (such as Poisson or Gamma), the variance power pp is known (p=1p = 1 or p=2p = 2), allowing the parameters β\boldsymbol{\beta} to be solved directly via Iteratively Reweighted Least Squares (IRLS). In Tweedie models, however, the power parameter pp is unknown and enters the variance function nonlinearly (V(μ)=μpV(\mu) = \mu^p).

Because pp determines the Exponential Dispersion Family density itself, pp 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*
  1. Define Search Interval: Construct a discrete grid over the theoretical domain p∈(1.01,1.99)p \in (1.01, 1.99) (e.g., p∈{1.1,1.2,…,1.9}p \in \{1.1, 1.2, \dots, 1.9\}, refined to step size 0.010.01).
  2. Conditional IRLS Fit: For each fixed candidate value pkp_k:
    • Fit the GLM for β\boldsymbol{\beta} using standard IRLS with variance function V(μ)=μpkV(\mu) = \mu^{p_k}.
    • Estimate the dispersion parameter ϕ^(pk)\hat{\phi}(p_k) from the Pearson statistic.
  3. Evaluate Exact Log-Likelihood: Evaluate the full log-likelihood ℓ(β^(pk),ϕ^(pk);pk)\ell(\hat{\boldsymbol{\beta}}(p_k), \hat{\phi}(p_k); p_k). Because the Tweedie normalizing function c(y,ϕ)c(y, \phi) has no closed-form analytic expression for 1<p<21 < p < 2, software evaluates the infinite series representation using the Dunn and Smyth (2005) Fourier inversion algorithm.
  4. Maximize Profile Curve: Plot the profile log-likelihood curve against pp and select the optimal value:
p∗=arg⁡max⁡p∈(1,2)ℓprofile(p)p^* = \arg\max_{p \in (1, 2)} \ell_{\text{profile}}(p)

Actuarial Interpretation of the Optimal pp

  • Lower values (p→1.1−1.3p \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→1.7−1.9p \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 (tweedie and cplm packages):
    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 (statsmodels and scikit-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=1p = 1), exposure enters as an offset ln⁡(ei)\ln(e_i) because V(μ)=μV(\mu) = \mu. In Tweedie models (1<p<21 < p < 2), loss cost Yi=Lossi/eiY_i = \text{Loss}_i / e_i is modeled directly, and exposure must enter as prior weights ωi=ei\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≤1p \le 1 or p≥2p \ge 2 for Pure Premium The Compound Poisson-Gamma distribution with a point mass at zero exists strictly on the open interval 1<p<21 < p < 2. Setting p=1p = 1 reverts to a Poisson count model (incapable of modeling continuous loss amounts), while p=2p = 2 reverts to a Gamma severity model (incapable of modeling zero losses). Any code setting pp outside (1,2)(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.351.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 pp Inside Standard IRLS Candidates often assume statistical software estimates pp automatically via iteratively reweighted least squares. IRLS requires the variance function to be fixed. The index parameter pp must be tuned via profile log-likelihood or out-of-fold cross-validation.

Test Your Knowledge

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

Response = Raw Dollar Losses, Offset = log(Exposure), Weights = None

B

Response = Empirical Claim Frequency, Offset = None, Weights = Earned Car-Years

C

Response = Average Severity per Claim, Offset = None, Weights = Total Incurred Losses

D

Response = Loss Cost (Dollar Losses / Exposure), Offset = None, Weights = Earned Car-Years

Test Your Knowledge

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?

A

lambda = 7.50 claims

B

lambda = 1.00 claim

C

lambda = 0.25 claims

D

lambda = 25.00 claims

Test Your Knowledge

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?

A

Tweedie models cannot be fitted using a log link function, making it impossible to produce multiplicative rating factors.

B

Tweedie models combine frequency and severity effects into a single net rating relativity, making it difficult for underwriters to diagnose whether high loss cost is driven by claim occurrence or large shock claims.

C

Tweedie models cannot accommodate policies with zero claims during the policy experience period.

D

Tweedie models produce non-positive pure premium predictions whenever rating variables have negative coefficient estimates.

Sections you finish are checked off in the contents.