Computation of the Aggregate Claim Amount Distribution Using R and actuar. Vincent Goulet, Ph.D.



Similar documents
Aggregate Loss Models

Package actuar. July 22, 2015

Approximation of Aggregate Losses Using Simulation

12.5: CHI-SQUARE GOODNESS OF FIT TESTS

An Internal Model for Operational Risk Computation

Lloyd Spencer Lincoln Re

Exploratory Data Analysis

Institute of Actuaries of India Subject CT3 Probability and Mathematical Statistics

1. Then f has a relative maximum at x = c if f(c) f(x) for all values of x in some

INSURANCE RISK THEORY (Problems)

A LOGNORMAL MODEL FOR INSURANCE CLAIMS DATA

Graphs. Exploratory data analysis. Graphs. Standard forms. A graph is a suitable way of representing data if:

2WB05 Simulation Lecture 8: Generating random variables

Modeling Individual Claims for Motor Third Party Liability of Insurance Companies in Albania

GLMs: Gompertz s Law. GLMs in R. Gompertz s famous graduation formula is. or log µ x is linear in age, x,

Introduction to Data Visualization

Statistical Analysis of Life Insurance Policy Termination and Survivorship

Package SHELF. February 5, 2016


A Uniform Asymptotic Estimate for Discounted Aggregate Claims with Subexponential Tails

Fundamentals of Actuarial Mathematics. 3rd Edition

A revisit of the hierarchical insurance claims modeling

Example of the Glicko-2 system

Dongfeng Li. Autumn 2010


Computational Foundations of Cognitive Science

Notes on the Negative Binomial Distribution

Pricing Alternative forms of Commercial Insurance cover

Modern Optimization Methods for Big Data Problems MATH11146 The University of Edinburgh

For a partition B 1,..., B n, where B i B j = for i. A = (A B 1 ) (A B 2 ),..., (A B n ) and thus. P (A) = P (A B i ) = P (A B i )P (B i )

AGGREGATE CLAIMS, SOLVENCY AND REINSURANCE. David Dickson, Centre for Actuarial Studies, University of Melbourne. Cherry Bud Workshop

Portfolio Replication Variable Annuity Case Study. Curt Burmeister Senior Director Algorithmics

Statistical Data analysis With Excel For HSMG.632 students

A Log-Robust Optimization Approach to Portfolio Management

STT315 Chapter 4 Random Variables & Probability Distributions KM. Chapter 4.5, 6, 8 Probability Distributions for Continuous Random Variables

Optimal order placement in a limit order book. Adrien de Larrard and Xin Guo. Laboratoire de Probabilités, Univ Paris VI & UC Berkeley

UNIT I: RANDOM VARIABLES PART- A -TWO MARKS

Exponential Distribution

Questions and Answers

How to assess the risk of a large portfolio? How to estimate a large covariance matrix?

Evaluating the Lead Time Demand Distribution for (r, Q) Policies Under Intermittent Demand


Supplement to Call Centers with Delay Information: Models and Insights

Integer Programming: Algorithms - 3

Inventory Models for Special Cases: A & C Items and Challenges

Stats on the TI 83 and TI 84 Calculator

An introduction to catastrophe models

Asset and Liability Composition in Participating Life Insurance: The Impact on Shortfall Risk and Shareholder Value

On the Optimality of Multiline Excess of Loss Covers. Jean-Frangois Walhin

A survey on click modeling in web search

Binomial random variables

Gamma Distribution Fitting

Lecture 5 : The Poisson Distribution

Maximum Likelihood Estimation

Chapter 9 Monté Carlo Simulation

Lecture Notes on Elasticity of Substitution

Asymptotics for ruin probabilities in a discrete-time risk model with dependent financial and insurance risks

MATH4427 Notebook 2 Spring MATH4427 Notebook Definitions and Examples Performance Measures for Estimators...

VI. Real Business Cycles Models

The Ergodic Theorem and randomness

Department of Civil Engineering-I.I.T. Delhi CEL 899: Environmental Risk Assessment Statistics and Probability Example Part 1

Joint Exam 1/P Sample Exam 1

UCSF Academic Research Systems

Credibility and Pooling Applications to Group Life and Group Disability Insurance

Calculating VaR. Capital Market Risk Advisors CMRA

Monte Carlo Simulation

CHAPTER 6: Continuous Uniform Distribution: 6.1. Definition: The density function of the continuous random variable X on the interval [A, B] is.

Chapter 3 RANDOM VARIATE GENERATION

Controller Design in Frequency Domain

Simulation Exercises to Reinforce the Foundations of Statistical Thinking in Online Classes

STAT 830 Convergence in Distribution

Chapter 4 Statistical Inference in Quality Control and Improvement. Statistical Quality Control (D. C. Montgomery)

Optimal reinsurance with ruin probability target

Probability and Random Variables. Generation of random variables (r.v.)

Web-based Supplementary Materials for Bayesian Effect Estimation. Accounting for Adjustment Uncertainty by Chi Wang, Giovanni

Lecture 8: More Continuous Random Variables

. (3.3) n Note that supremum (3.2) must occur at one of the observed values x i or to the left of x i.

Representing Uncertainty by Probability and Possibility What s the Difference?

The Exponential Distribution

Arena 9.0 Basic Modules based on Arena Online Help

An Extension Model of Financially-balanced Bonus-Malus System

Operational Value-at-Risk in Case of Zero-inflated Frequency

Notes on Continuous Random Variables

Point Biserial Correlation Tests

The New NCCI Hazard Groups

Digital Imaging and Multimedia. Filters. Ahmed Elgammal Dept. of Computer Science Rutgers University

Real Time Scheduling Basic Concepts. Radek Pelánek

5. Continuous Random Variables

Probability and Statistics Prof. Dr. Somesh Kumar Department of Mathematics Indian Institute of Technology, Kharagpur

STAT 315: HOW TO CHOOSE A DISTRIBUTION FOR A RANDOM VARIABLE

Java Modules for Time Series Analysis

Transcription:

Computation of the Aggregate Claim Amount Distribution Using R and actuar Vincent Goulet, Ph.D.

Actuarial Risk Modeling Process 1 Model costs at the individual level Modeling of loss distributions 2 Aggregate risks at the collective level Risk theory 3 Determine revenue streams Ratemaking 4 Evaluate solvability of insurance portfolio Ruin theory

What actuar Is A package providing additional Actuarial Science functionality to the R statistical system Distributed through the Comprehensive R Archive Network (CRAN) Currently provides: 17 additional probability distributions loss modeling facilities aggregate claim amount calculation fitting of credibility models ruin probabilities and related quantities simulation of compound hierarchical models

Yes But... Why R? Compare x <- matrix(2, 3, 10:15) vs x _ 2 39 + 6 Multi-platform Interactive State-of-the-art statistical procedures, random number generators and graphics

Collective Risk Model Let We have the random sum We want to find S : aggregate claim amount N : number of claims (frequency) C j : amount of claim j (severity) F S (x) = Pr[S x] S = C 1 + + C N = Pr[S x N = n] Pr[N = n] n=0 = F n C (x) Pr[N = n] n=0

Collective Risk Model Let We have the random sum We want to find S : aggregate claim amount N : number of claims (frequency) C j : amount of claim j (severity) F S (x) = Pr[S x] S = C 1 + + C N = Pr[S x N = n] Pr[N = n] n=0 = F n C (x) Pr[N = n] n=0

Collective Risk Model Let We have the random sum We want to find S : aggregate claim amount N : number of claims (frequency) C j : amount of claim j (severity) F S (x) = Pr[S x] S = C 1 + + C N = Pr[S x N = n] Pr[N = n] n=0 = F n C (x) Pr[N = n] n=0

What actuar Tries Not To Be Magic! (Clueless user)

What actuar Tries Not To Be Magic! (Clueless user)

What actuar Tries Not To Be Magic! (Clueless user)

What actuar Tries Not To Be Magic! (Clueless user)

What actuar Tries Not To Be Magic! (Clueless user)

What actuar Tries Not To Be Magic! (Clueless user)

What We re Presenting Here Today (Insightful user) aggregatedist() F S (x)

How We Can Tackle the Problem 1 Carry out the convolutions FC k (x) for k = 0, 1, 2,... 2 Use a Normal approximation ( ) x µs F S (x) Φ 3 Use the Normal Power II approximation ( ) F S (x) Φ 3 9 + + 1 + 6 x µ S γ S γ S σ S γ 2 S σ S 4 Use simulation: F S (x) F n (x) = 1 n n j=1 I{x j x}

How We Can Tackle the Problem 1 Carry out the convolutions FC k (x) for k = 0, 1, 2,...! 2 Use a Normal approximation ( ) x µs F S (x) Φ 3 Use the Normal Power II approximation ( ) F S (x) Φ 3 9 + + 1 + 6 x µ S γ S γ S σ S γ 2 S σ S 4 Use simulation: F S (x) F n (x) = 1 n n j=1 I{x j x}

How We Can Tackle the Problem 1 Carry out the convolutions FC k (x) for k = 0, 1, 2,...! 2 Use a Normal approximation! ( ) x µs F S (x) Φ 3 Use the Normal Power II approximation ( ) F S (x) Φ 3 9 + + 1 + 6 x µ S γ S γ S σ S γ 2 S σ S 4 Use simulation: F S (x) F n (x) = 1 n n j=1 I{x j x}

How We Can Tackle the Problem 1 Carry out the convolutions FC k (x) for k = 0, 1, 2,...! 2 Use a Normal approximation! ( ) x µs F S (x) Φ 3 Use the Normal Power II approximation! ( ) F S (x) Φ 3 9 + + 1 + 6 x µ S γ S γ S σ S γ 2 S σ S 4 Use simulation: F S (x) F n (x) = 1 n n j=1 I{x j x}

How We Can Tackle the Problem 1 Carry out the convolutions FC k (x) for k = 0, 1, 2,...! 2 Use a Normal approximation! ( ) x µs F S (x) Φ 3 Use the Normal Power II approximation! ( ) F S (x) Φ 3 9 + + 1 + 6 x µ S γ S γ S σ S 4 Use simulation: γ 2 S F S (x) F n (x) = 1 n σ S n j=1 I{x j x}!

Most Commonly Used Method 5 Recursive method (Panjer algorithm): [ 1 f S (x) = (p 1 (a + b)p 0 )f C (x) 1 af C (0) min(x,m) ] + (a + by/x)f C (y)f S (x y) with y=1 f S (0) = P N (f C (0))

Most Commonly Used Method 5 Recursive method (Panjer algorithm):! [ 1 f S (x) = (p 1 (a + b)p 0 )f C (x) 1 af C (0) min(x,m) ] + (a + by/x)f C (y)f S (x y) with y=1 f S (0) = P N (f C (0))

Discretization of Continuous Distributions > discretize(pgamma(x, 2, 1), from = 0, to = 5, method = "upper") pgamma(x, 2, 1) 0.0 0.2 0.4 0.6 0.8 0 1 2 3 4 5 x

Discretization of Continuous Distributions > discretize(pgamma(x, 2, 1), from = 0, to = 5, method = "lower") pgamma(x, 2, 1) 0.0 0.2 0.4 0.6 0.8 0 1 2 3 4 5 x

Discretization of Continuous Distributions > discretize(pgamma(x, 2, 1), from = 0, to = 5, method = "rounding") pgamma(x, 2, 1) 0.0 0.2 0.4 0.6 0.8 0 1 2 3 4 5 x

Discretization of Continuous Distributions > discretize(pgamma(x, 2, 1), from = 0, to = 5, method = "unbiased", lev = levgamma(x, 2, 1)) pgamma(x, 2, 1) 0.0 0.2 0.4 0.6 0.8 0 1 2 3 4 5 x

Computing the Aggregate Claim Amount Distribution aggregatedist() is the unified interface to all 5 supported methods Computer intensive calculations are done in C Output is a function to compute F S (x) in any x R methods to plot and compute related quantities

Example Assume N Poisson(10) C Gamma(2, 1) > fx <- discretize(pgamma(x, 2, 1), from = 0, to = 22, step = 2, method = "unbiased", lev = levgamma(x, 2, 1)) > Fs <- aggregatedist("recursive", model.freq = "poisson", model.sev = fx, lambda = 10, x.scale = 2)

Example (continued) > plot(fs) Aggregate Claim Amount Distribution Recursive method approximation F S (x) 0.0 0.2 0.4 0.6 0.8 1.0 0 10 20 30 40 50 60 x

Example (continued) > summary(fs) Aggregate Claim Amount Empirical CDF: Min. 1st Qu. Median Mean 3rd Qu. Max. 0.00000 14.00000 20.00000 19.99996 26.00000 74.00000 > knots(fs) [1] 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 [18] 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 [35] 68 70 72 74 > Fs(c(10, 15, 20, 70)) [1] 0.1287553 0.2896586 0.5817149 0.9999979

Example (continued) > mean(fs) [1] 19.99996 > VaR(Fs) 90% 95% 99% 30 34 42 > TVaR(Fs) 90% 95% 99% 35.99043 39.56933 46.97385

One more thing...

What If Recursions Do Not Start? For example, in the Compound Poisson case f S (0) = e λ(1 f C(0)) If λ is large, f S (0) = 0 numerically One solution: 1 divide λ by 2 n 2 convolve resulting distribution n times with itself

Example > Fsc <- aggregatedist("recursive", model.freq = "poisson", model.sev = fx, lambda = 5, convolve = 1, x.scale = 2) > summary(fsc) Aggregate Claim Amount Empirical CDF: Min. 1st Qu. Median Mean 3rd Qu. 0.00000 14.00000 20.00000 19.99997 26.00000 Max. 108.00000

Concluding Remarks See cran.r-project.org/package=actuar for the package Package vignettes provide complete documentation Please cite the software in publications: > citation(package = "actuar") To cite actuar in publications use: C. Dutang, V. Goulet and M. Pigeon (2008). actuar: An R Package for Actuarial Science. Journal of Statistical Software, vol. 25, no. 7, 1-37. URL http://www.jstatsoft.org/v25/i07 [...] Contribute!