stochastic loss reserving using bayesian mcmc models glenn meyers presented to association des...

61
Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph Stochastic Loss Reserving Using Bayesian MCMC Models Available on CAS Website

Upload: clinton-walton

Post on 17-Jan-2016

223 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Stochastic Loss Reserving Using Bayesian MCMC Models

Glenn MeyersPresented to

Association des Actuaires I.A.R.D.November 6, 2015

Talk based on CAS Monograph

Stochastic Loss Reserving Using Bayesian MCMC Models

Available on CAS Website

Page 2: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

This Talk is the Result of Bringing Together Two Concepts

• Retrospective testing with the CAS Loss Reserve Database– Hundreds of Schedule P Triangles– Includes outcomes obtained from subsequent

NAIC Annual Statements• Bayesian Markov-Chain Monte-Carlo (MCMC)

– Truly a revolution is statistical modeling and computing.

Page 3: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

The CAS Loss Reserve DatabaseCreated by Meyers and Shi

With Permission of American NAIC

• Schedule P (Data from Parts 1-4) for several US Insurers– Private Passenger Auto– Commercial Auto – Workers’ Compensation– General Liability– Product Liability– Medical Malpractice (Claims Made)

• Available on CAS Website http://www.casact.org/research/index.cfm?fa=loss_reserves_data

Page 4: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Illustrative Insurer – Incurred Losses

Page 5: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Illustrative Insurer – Paid Losses

Page 6: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Criteria for a “Good” Stochastic Loss Reserve Model

• Using the upper triangle “training” data, predict the distribution of the outcomes in the lower triangle– Can be observations from individual (AY, Lag)

cells– Can be sums of observations in different

(AY,Lag) cells.

Page 7: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Criteria for a “Good” Stochastic Loss Reserve Model

• Using the predictive distributions, find the percentiles of the outcome data for several loss triangles.

• The percentiles should be uniformly distributed.– Histograms– PP Plots and Kolmogorov Smirnov Tests

• Plot Expected vs Predicted Percentiles• KS 95% critical values = 19.2 for n = 50 and 9.6 for n = 200

Page 8: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Illustrative Tests of Uniformity

Page 9: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Illustrative Tests of Uniformity

Page 10: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

• List of insurers available in Appendix A.• 50 Insurers from four lines of business

– Commercial Auto– Personal Auto– Workers’ Compensation– Other Liability

• Criteria for Selection– All 10 years of data available– Stability of earned premium and net to direct premium ratio

• Both paid and incurred losses

Data Used in Study

Page 11: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Test of Mack Model on Incurred Data

Conclusion – The Mack model predicts light tails.

Page 12: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Conclusion – The Mack model is biased upward.

Test of Mack Model on Paid Data

Page 13: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Test of Bootstrap ODP on Paid Data

Conclusion – The Bootstrap ODP model is biased upward.

Page 14: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

• The “Black Swans” got us again!– We do the best we can in building our models, but

the real world keeps throwing curve balls at us. – Every few years, the world gives us a unique

“black swan” event. • Build a better model.

– Use a model, or data, that sees the “black swans.”

Possible Responses to the Model Failures

Page 15: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

• Let W be a finite state with random events X1, X2, …, Xt, …

• A Markov chain P satisfies Pr{Xt = y|Xt-1=x, …, X1=x1} = Pr{xt = y|x} ≡ P(x,y)

• The probability of an event in the chain depends only on the immediate previous event.

• P is called a transition matrix

Markov Chains

Page 16: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

The Markov Convergence Theorem• There is a branch of probability theory,

called Ergodic Theory, that gives conditions for which there exists a unique stationary distribution p such that

Pt(x,y) → p(y) as t →∞.

Markov Chains

Page 17: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

The Metropolis Hastings AlgorithmA Very Important Markov Chain

1. Time t=1: select a random initial position q1 in parameter space.

2. Select a proposal distribution p(|qt-1) that we will use to select proposed random steps away from our current position in parameter space.

3. Starting at time t=2: repeat the following until you get convergence:

a) At step t, generate a proposed * ~ p(|qt-1)

b) Generate U ~ uniform(0,1)

c) Calculate

d) If U < R then t= *. Else, t= t-1.

** *1

*1 1 1

( | )( | ) ( )( | ) ( ) ( | )

t

tt t

pf XR

f X p

Page 18: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

The Relevance of the Metropolis Hastings Algorithm

• Defined in terms of the conditional distributionf(X|q)

and the prior distributionp(q)

• The limiting distribution is the posterior distribution!• Program f(X|q) and p(q) into this Markov chain and

let it run for a while, and you have a large sample from the posterior distribution.

Page 19: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

The Relevance of the Metropolis Hastings Algorithm

• The theoretical limiting distribution is the same, no matter what proposal distribution, p(q|qt-1), is used.

• However, some proposal distributions will get a good sample much faster!

• There is no fundamental limit on the number of parameters in you model!

• The practical limit is within range of stochastic loss reserve models.

Page 20: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

• “Tune” the proposal distribution, p(qt|qt-1), to minimize autocorrelation between qt and qt-1.

• Convergence - Determine the interval t to t+m that contains a representative sample of the posterior distribution.

• There are several software packages for Bayesian MCMC that work with the R programming language.– WINBUGS– OpenBUGS– JAGS– Stan (New – In honor of Stanislaw Ulam)

Metropolis Hastings in Practice

Page 21: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

The Situation Priorto My Retirement

• We have the CAS Loss Reserve Database– Hundreds of loss reserve triangles with outcomes.

• The current “best practice” models do not correctly predict the distribution of outcomes.

• We have a game changing statistical model fitting methodology – Bayesian MCMC!

• My Objective – Search for a model that better predicts the distribution of outcomes.

Page 22: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Begin with Incurred Data Models

Page 23: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

• w = Accident Year w = 1,…,10• d = Development Year d = 1,…,10• Cw,d = Cumulative (either incurred or paid) loss

• Iw,d = Incremental paid loss = Cw,d – Cw-1,d

Notation

Page 24: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

• Use R and JAGS (Just Another Gibbs Sampler) packages• Get a sample of 10,000 parameter sets from the

posterior distribution of the model

• Use the parameter sets to get 10,000, , simulated outcomes

• Calculate summary statistics of the simulated outcomes– Mean– Standard Deviation– Percentile of Actual Outcome

Bayesian MCMC Models

Page 25: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

The Correlated Chain Ladder (CCL) Model

• logelr ~ uniform(-5,0.5)• aw ~ normal(log(Premiumw)+logelr, )

• b10 = 0, bd ~ uniform(-5,5), for d=1,…,9

• ai ~ uniform(0,1)

• Forces sd to decrease as d increases

• m1,d = a1 + bd • C1,d ~ lognormal(m1,d, sd)

• rd ~ uniform(-1,1)• mw,d = aw + bd + rd·(log(Cw-1,d) – mw-1,d) for w = 2,…,10

• Cw,d ~ lognormal(mw,d, sd)

Page 26: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Key Statements in the CCL Model

mw,d = aw + bd + r·(log(Cw-1,d) – mw-1,d)

for w = 2,…,10

Cw,d ~ lognormal(mw,d, sd)

Page 27: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

The Correlated Chain Ladder ModelPredicts Distributions with Thicker Tails

• Mack uses point estimations of parameters.• CCL uses Bayesian estimation to get a posterior

distribution of parameters.• Chain ladder applies factors to last fixed observation.• CCL uses uncertain “level” parameters for each

accident year.• Mack assumes independence between accident years.• CCL allows for correlation between accident years,

– Corr[log(Cw-1,d),log(Cw,d)] = r

Page 28: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Predicting the Distribution of Outcomes

• Use JAGS software to produce a sample of 10,000 {aw}, {bd},{sd} and

{r} from the posterior distribution.• For each member of the sample

– m1,10 = a1 + b10

– For w = 2 to 10

• Cw,10 ~ lognormal (aw + b10 + r·(log(Cw-1,10) – mw-1,10)),s10)

– Calculate

• Calculate summary statistics, e.g.

• Calculate the percentile of the actual outcome by counting how many of the simulated outcomes are below the actual outcome.

10

,101

ww

C

Page 29: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Results of “Tail Pumping”

Page 30: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Results of “Tail Pumping”

Page 31: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Posterior Distribution of r for Illustrative Insurer

r is highly uncertain, but in general positive.

Page 32: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Generally Positive Posterior Means of r for all Insurers

Page 33: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Compare SDs for All 200 Triangles

Page 34: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Test of Mack Model on Incurred Data

Conclusion – The Mack model predicts light tails.

Page 35: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Test of CCL (r = 0) Model on Incurred Data

Conclusion – Predicted tails are too light

Page 36: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Test of CCL Model on Incurred Data

Conclusion – Plot is within KS Boundaries

Page 37: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

• Accomplished by “pumping up” the variance of Mack model.

What About Paid Data?• Start by looking at CCL model on cumulative

paid data.

Identified Improvementswith Incurred Data

Page 38: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Test of Bootstrap ODP on Paid Data

Conclusion – The Bootstrap ODP model is biased upward.

Page 39: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Test of CCL on Paid Data

Conclusion – Biased upward.

Page 40: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

• Look at models with payment year trend.– Ben Zehnwirth has been championing these for years.

• Payment year trend does not make sense with cumulative data!– Settled claims are unaffected by trend.

• Recurring problem with incremental data – Negatives!– We need a skewed distribution that has support over

the entire real line.

How Do We Correct the Bias?

Page 41: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Z ~ Lognormal(m,s), X ~ Normal(Z,d)

The Lognormal-Normal (ln-n) Mixture

Page 42: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

• mw,d = aw + bd + t (∙ w + d – 1)

• Zw,d ~ lognormal(mw,d, sd) subject to s1<s2< …<s10

• I1,d ~ normal(Z1,d, d)

• Iw,d ~ normal(Zw,d + r (∙ Iw-1,d – Zw-1,d)∙et, d)

• Estimate the distribution of

• “Sensible” priors – Needed to control sd

– Interaction between t , aw and bd.

The Correlated Incremental Trend (CIT) Model

10

,101

ww

C

Page 43: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

CIT Model for Illustrative Insurer

Page 44: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Posterior Distribution of m and t for Illustrative Insurer

Should we allow r in the model?

Tendency for negative trends

Page 45: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Posterior Mean r for All Insurers For CIT On Paid Data

Page 46: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Posterior Mean r for All Insurers For CCL On Incurred Data

Page 47: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Posterior Mean t for All Insurers

Page 48: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Test of Bootstrap ODP on Paid Data

Conclusion – The Bootstrap ODP model is biased upward.

Page 49: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Test of CIT with r = 0 on Paid Data

Not as good as Bootstrap ODP

Page 50: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Test of CIT on Paid Data

Comparable to Bootstrap ODP - Still Biased

Page 51: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Why Don’t Negative ts Fix the Bias Problem?

Low t offset by Higher + a b

Page 52: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Original Monograph Submission• Stopped here – Concluded that we should use

incurred losses.• An anonymous referee commented that claim

settlement was speeding up in recent years.• Challenged the idea that the CIT model would

correct for the claim settlement speedup.

Page 53: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

The Changing Settlement Rate (CSR) Model This version done after monograph published

• logelr ~ uniform(-5,0)• a1 = 0, aw ~ normal(0, ) for w = 2,…,10

• b10 = 0, bd ~ uniform(-5,5), for d = 1,…,9

• ai ~ uniform(0,1)

• speedup1 = 1, speedupw=speedupw-1(1-g-(w-2)d) g ~

normal(0,0.05), d ~ normal(0,0.01)

• Forces sd to decrease as d increases

• mw,d = log(Premiumw) + logelr +aw + bd·speedupw

• Cw,d ~ lognormal(mw,d, sd)

Page 54: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

The Effect of g with d = 0

• mw,d = log(Premiumw) + logelr +aw + bd·(1 – g)(w - 1)

• bs are almost always negative! (b10 = 0)• Positive g – Speeds up settlement• Negative g – Slows down settlement• Model assumes speedup/slow down occurs at a

constant rate.• A non-zero d allows for the speedup rate to

change with w.

Page 55: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Distribution of Mean gs

Predominantly Positive gs

Page 56: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

CSR Model for Illustrative Insurer

Page 57: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Test of CIT on Paid Data

Comparable to Bootstrap ODP - Still Biased

Page 58: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Test of CSR on Paid Data

Conclusion - Much better than CIT

Page 59: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Short Term ConclusionsIncurred Loss Models

• Mack model prediction of variability is too low on our test data.

• CCL model correctly predicts variability at the 95% significance level.

• The feature of the CCL model that pushed it over the top was between accident year correlations.

Page 60: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Short Term ConclusionsPaid Loss Models

• Mack and Bootstrap ODP models are biased upward on our test data.

• Attempts to correct for this bias with Bayesian MCMC models that include a calendar year trend failed.

• Models that allow for changes in claim settlement rates work much better.

• Claims adjusters have important information!

Page 61: Stochastic Loss Reserving Using Bayesian MCMC Models Glenn Meyers Presented to Association des Actuaires I.A.R.D. November 6, 2015 Talk based on CAS Monograph

Long Term RecommendationsNew Models Come and Go

• Transparency - Data and software released• Large scale retrospective testing on real data

– While individual loss reserving situations are unique, knowing how a model performs retrospectively on a large sample of triangles should influence one’s choice of models.

• Bayesian MCMC models hold great promise to advance Actuarial Science.– Illustrated by the above stochastic loss reserve models.– Allows for judgmental selection of priors.