Deloitte Consulting 2004 Predictive Modeling for PropertyCasualty Insurance

  • Slides: 40
Download presentation
© Deloitte Consulting, 2004 Predictive Modeling for Property-Casualty Insurance James Guszcza, FCAS, MAAA Peter

© Deloitte Consulting, 2004 Predictive Modeling for Property-Casualty Insurance James Guszcza, FCAS, MAAA Peter Wu, FCAS, MAAA So. Cal Actuarial Club LAX September 22, 2004

© Deloitte Consulting, 2004 Predictive Modeling: 3 Levels of Discussion l Strategy l Profitable

© Deloitte Consulting, 2004 Predictive Modeling: 3 Levels of Discussion l Strategy l Profitable growth l Retain most profitable policyholders l Methodology l Model design (actuarial) l Modeling process l Technique l GLM vs. decision trees vs. neural nets… 2

© Deloitte Consulting, 2004 Methodology vs Technique l How does data mining need actuarial

© Deloitte Consulting, 2004 Methodology vs Technique l How does data mining need actuarial science? Variable creation l Model design l Model evaluation l l How does actuarial science need data mining? Advances in computing, modeling techniques l Ideas from other fields can be applied to insurance problems l 3

© Deloitte Consulting, 2004 Semantics: DM vs PM l One connotation: Data Mining (DM)

© Deloitte Consulting, 2004 Semantics: DM vs PM l One connotation: Data Mining (DM) is about knowledge discovery in large industrial databases l Data exploration techniques (some brute force) l e. g. discover strength of credit variables l Predictive Modeling (PM) applies statistical techniques (like regression) after knowledge discovery phase is completed. l Quantify & synthesize relationships found during knowledge discovery l e. g. build a credit model 4

© Deloitte Consulting, 2004 Strategy: Why do Data Mining? Think Baseball!

© Deloitte Consulting, 2004 Strategy: Why do Data Mining? Think Baseball!

© Deloitte Consulting, 2004 Bay Area Baseball l l In 1999 Billy Beane (manager

© Deloitte Consulting, 2004 Bay Area Baseball l l In 1999 Billy Beane (manager for the Oakland Athletics) found a novel use of data mining. Not a wealthy team l Ranked 12 th (out of 14) in payroll l How to compete with rich teams? l l l Beane hired a statistics whiz to analyze statistics advocated by baseball guru Bill James Beane was able to hire excellent players undervalued by the market. A year after Beane took over, the A’s ranked 2 nd! 6

© Deloitte Consulting, 2004 Implication l Beane quantified how well a player would do.

© Deloitte Consulting, 2004 Implication l Beane quantified how well a player would do. l l Not perfectly, just better than his peers Implication: l l l Be on the lookout for fields where an expert is required to reach a decision based on judgmentally synthesizing quantifiable information across many dimensions. (sound like insurance underwriting? ) Maybe a predictive model can beat the pro. 7

© Deloitte Consulting, 2004 Example l Who is worse? . . . And by

© Deloitte Consulting, 2004 Example l Who is worse? . . . And by how much? 20 y. o. driver with 1 minor violation who pays his bills on time and was written by your best agent l Mature driver with a recent accident and has paid his bills late a few times l l l Unlike the human, the algorithm knows how much weight to give each dimension… Classic PM strategy: build underwriting models to achieve profitable growth. 8

© Deloitte Consulting, 2004 Keeping Score Billy Beane CEO who wants to run the

© Deloitte Consulting, 2004 Keeping Score Billy Beane CEO who wants to run the next Progressive Beane’s Scouts Underwriter Potential Team Member Potential Insured Bill James’ stats Billy Bean’s number cruncher Predictive variables – old or new (e. g. credit) You! (or people on your team) 9

© Deloitte Consulting, 2004 What is Predictive Modeling?

© Deloitte Consulting, 2004 What is Predictive Modeling?

© Deloitte Consulting, 2004 Three Concepts l Scoring engines l l Lift curves l

© Deloitte Consulting, 2004 Three Concepts l Scoring engines l l Lift curves l l A “predictive model” by any other name… How much worse than average are the policies with the worst scores? Out-of-sample tests How well will the model work in the real world? l Unbiased estimate of predictive power l 11

© Deloitte Consulting, 2004 Classic Application: Scoring Engines l Scoring engine: formula that classifies

© Deloitte Consulting, 2004 Classic Application: Scoring Engines l Scoring engine: formula that classifies or separates policies (or risks, accounts, agents…) into l profitable vs. unprofitable l Retaining vs. non-retaining… l l (Non-)Linear equation f( ) of several predictive variables Produces continuous range of scores score = f(X 1, X 2, …, XN) 12

© Deloitte Consulting, 2004 What “Powers” a Scoring Engine? Scoring Engine: score = f(X

© Deloitte Consulting, 2004 What “Powers” a Scoring Engine? Scoring Engine: score = f(X 1, X 2, …, XN) l The X 1, X 2, …, XN are as important as the f( )! l l l Why actuarial expertise is necessary A large part of the modeling process consists of variable creation and selection Usually possible to generate 100’s of variables l Steepest part of the learning curve l 13

© Deloitte Consulting, 2004 Model Evaluation: Lift Curves l l Sort data by score

© Deloitte Consulting, 2004 Model Evaluation: Lift Curves l l Sort data by score Break the dataset into 10 equal pieces l l l Best “decile”: lowest score lowest LR Worst “decile”: highest score highest LR Difference: “Lift” Lift = segmentation power Lift ROI of the modeling project 14

© Deloitte Consulting, 2004 Out-of-Sample Testing l Randomly divide data into 3 pieces l

© Deloitte Consulting, 2004 Out-of-Sample Testing l Randomly divide data into 3 pieces l l l Use Training data to fit models Score the Test data to create a lift curve l l l Training data, Test data, Validation data Perform the train/test steps iteratively until you have a model you’re happy with During this iterative phase, validation data is set aside in a “lock box” Once model has been finalized, score the Validation data and produce a lift curve l Unbiased estimate of future performance 15

© Deloitte Consulting, 2004 Comparison of Techniques l l Models built to detect whether

© Deloitte Consulting, 2004 Comparison of Techniques l l Models built to detect whether an email message is really spam. “Gains charts” from several models l l l Analogous to lift curves Good for binary target All techniques work ok! l Good variable creation at least as important as modeling technique. 16

© Deloitte Consulting, 2004 Credit Scoring is an Example l All of these concepts

© Deloitte Consulting, 2004 Credit Scoring is an Example l All of these concepts apply to Credit Scoring l Knowledge discovery in databases (KDD) l Scoring engine l Lift Curve evaluation translates to LR improvement ROI l Blind-test validation l Credit scoring has been the insurance industry’s segue into data mining 17

© Deloitte Consulting, 2004 Applications Beyond Credit l l l l l The classic:

© Deloitte Consulting, 2004 Applications Beyond Credit l l l l l The classic: Profitability Scoring Model l Underwriting/Pricing applications Retention models Elasticity models Cross-sell models Lifetime Value models Agent/agency monitoring Target marketing Fraud detection Customer segmentation l no target variable (“unsupervised learning”) 18

© Deloitte Consulting, 2004 Data Sources l Company’s internal data l l l Policy-level

© Deloitte Consulting, 2004 Data Sources l Company’s internal data l l l Policy-level records Loss & premium transactions Agent database Billing VIN……. . Externally purchased data l l l Credit CLUE MVR Census …. 19

© Deloitte Consulting, 2004 The Predictive Modeling Process Early: Variable Creation Middle: Data Exploration

© Deloitte Consulting, 2004 The Predictive Modeling Process Early: Variable Creation Middle: Data Exploration & Modeling Late: Analysis & Implementation

© Deloitte Consulting, 2004 Variable Creation l l l Research possible data sources Extract/purchase

© Deloitte Consulting, 2004 Variable Creation l l l Research possible data sources Extract/purchase data Check data for quality (QA) l l Messy! (still deep in the mines) Create Predictive and Target Variables Opportunity to quantify tribal wisdom l …and come up with new ideas l Can be a very big task! l l Steepest part of the learning curve 21

© Deloitte Consulting, 2004 Types of Predictive Variables l Behavioral l l Policyholder l

© Deloitte Consulting, 2004 Types of Predictive Variables l Behavioral l l Policyholder l l Age/Gender, # employees … Policy specifics l l Historical Claim, billing, credit … Vehicle age, Construction Type … Territorial l Census, Weather … 22

© Deloitte Consulting, 2004 Data Exploration & Variable Transformation l l 1 -way analyses

© Deloitte Consulting, 2004 Data Exploration & Variable Transformation l l 1 -way analyses of predictive variables Exploratory Data Analysis (EDA) Data Visualization Use EDA to cap / transform predictive variables l Extreme values l Missing values l …etc 23

© Deloitte Consulting, 2004 Multivariate Modeling l l Examine correlations among the variables Weed

© Deloitte Consulting, 2004 Multivariate Modeling l l Examine correlations among the variables Weed out redundant, weak, poorly distributed variables Model design Build candidate models Regression/GLM l Decision Trees/MARS l Neural Networks l l Select final model 24

© Deloitte Consulting, 2004 Building the Model 1. 2. Pair down collection of predictive

© Deloitte Consulting, 2004 Building the Model 1. 2. Pair down collection of predictive variables to a manageable set Iterative process l l l Build candidate models on “training data” Evaluate on “test data” Many things to tweak l l Different target variables Different predictive variables Different modeling techniques # NN nodes, hidden layers; tree splitting rules… 25

© Deloitte Consulting, 2004 Considerations l l Do signs/magnitudes of parameters make sense? Statistically

© Deloitte Consulting, 2004 Considerations l l Do signs/magnitudes of parameters make sense? Statistically significant? Is the model biased for/against certain types of policies? States? Policy sizes? . . . Predictive power holds up for large policies? Continuity Are there small changes in input values that might produce large swings in scores l Make sure that an agent can’t game the system l 26

© Deloitte Consulting, 2004 Model Analysis & Implementation l Perform model analytics l l

© Deloitte Consulting, 2004 Model Analysis & Implementation l Perform model analytics l l Calibrate Models l l Create user-friendly “scale” – client dictates Implement models l l Necessary for client to gain comfort with the model Programming skills are critical here Monitor performance Distribution of scores over time, predictiveness, usage of model. . . l Plan model maintenance l 27

© Deloitte Consulting, 2004 Modeling Techniques Where Actuarial Science Needs Data Mining

© Deloitte Consulting, 2004 Modeling Techniques Where Actuarial Science Needs Data Mining

© Deloitte Consulting, 2004 The Greatest Hits l Unsupervised: no target variable Clustering l

© Deloitte Consulting, 2004 The Greatest Hits l Unsupervised: no target variable Clustering l Principal Components (dimension reduction) l l Supervised: predict a target variable Regression GLM l Neural Networks l MARS: Multivariate Adaptive Regression Splines l CART: Classification And Regression Trees l 29

© Deloitte Consulting, 2004 Regression and its Relations l GLM: relax regression’s distributional assumptions

© Deloitte Consulting, 2004 Regression and its Relations l GLM: relax regression’s distributional assumptions Logistic regression (binary target) l Poisson regression (count target) l l MARS & NN Clever ways of automatically transforming and interacting input variables l Why: sometimes “true” relationships aren’t linear l Universal approximators: model any functional form l l CART is simplified MARS 30

© Deloitte Consulting, 2004 Neural Net Motivation l Let X 1, X 2, X

© Deloitte Consulting, 2004 Neural Net Motivation l Let X 1, X 2, X 3 be three predictive variables l l Let Y be the target variable l l policy age, historical LR, driver age Loss ratio A NNET model is a complicated, non-linear, function φ such that: φ(X 1, X 2, X 3) ≈ Y 31

© Deloitte Consulting, 2004 In visual terms… 32

© Deloitte Consulting, 2004 In visual terms… 32

© Deloitte Consulting, 2004 NNET lingo l l l Green: “input layer” Red: “hidden

© Deloitte Consulting, 2004 NNET lingo l l l Green: “input layer” Red: “hidden layer” Yellow: “output layer” The {a, b} numbers are “weights” to be estimated. The network architecture and the weights constitute the model. 33

© Deloitte Consulting, 2004 In more detail… 34

© Deloitte Consulting, 2004 In more detail… 34

© Deloitte Consulting, 2004 In more detail… l The NNET model results from substituting

© Deloitte Consulting, 2004 In more detail… l The NNET model results from substituting the expressions for Z 1 and Z 2 in the expression for Y. 35

© Deloitte Consulting, 2004 In more detail… l l Notice that the expression for

© Deloitte Consulting, 2004 In more detail… l l Notice that the expression for Y has the form of a logistic regression. Similarly with Z 1, Z 2. 36

© Deloitte Consulting, 2004 In more detail… l You can therefore think of a

© Deloitte Consulting, 2004 In more detail… l You can therefore think of a NNET as a set of logistic regressions embedded in another logistic regression. 37

© Deloitte Consulting, 2004 Universal Approximators l l The essential idea: by layering several

© Deloitte Consulting, 2004 Universal Approximators l l The essential idea: by layering several logistic regressions in this way… …we can model any functional form l l l no matter how many non-linearities or interactions between variables X 1, X 2, … by varying # of nodes and training cycles only NNETs are sometimes called “universal function approximators”. 38

© Deloitte Consulting, 2004 MARS / CART Motivation l l NNETs use the logistic

© Deloitte Consulting, 2004 MARS / CART Motivation l l NNETs use the logistic function to combine variables and automatically model any functional form MARS uses an analogous clever idea to do the same work l l MARS “basis functions” CART can be viewed as simplified MARS l Basis functions are horizontal step functions NNETS, MARS, and CART are all cousins of classic regression analysis 39

© Deloitte Consulting, 2004 Reference For Beginners: Data Mining Techniques --Michael Berry & Gordon

© Deloitte Consulting, 2004 Reference For Beginners: Data Mining Techniques --Michael Berry & Gordon Linhoff For Mavens: The Elements of Statistical Learning --Jerome Friedman, Trevor Hastie, Robert Tibshirani 40