LargeClaimsModelling_code

Page history last edited by PBworks 3 yrs ago

-----

Return to main Large Claims modelling page

Large Claims Modelling code

 

Process diagram

 

The following shows how the large claims code works, see the text below as well.

 


Modules

 

The master module contains the function getLargeClaimsInYear which has as its arguments, user information relating to the modelled class of business. See the r code for full documentation of the function.

 

The getLargeClaimsInYear function draws on various sub functions which are labelled P1, P2, P3 and P4 above. These should be parsed into R before trying to run the master module.

 

 

These make use of the pareto distribution (as one of the options) which is unsupported on R.


Example

 

This R code produces some example data. In practice all this information would come from either the user interface or other parts of the model (e.g. attritional losses).

 

Once this example data is created (and process code P1, ... ,P4 plus the unsupported distributions are parsed) you can run the example at the bottom of the master module.


Return to main Large Claims modelling page

Comments (0)

You don't have permission to comment on this page.