cascsim0.4 package

Casualty Actuarial Society Individual Claim Simulator

CDFPlot-methods

Plotting the CDF of data and fitted distribution

ChiSqrTest-methods

Chi-Squared Test

claimFitting-methods

Claim data fitting analysis at line/type/status level

claimSample-methods

Claim simulation at line/type/status level

claimSimulation-methods

Claim simulation at line/type/status level

ClaimType-class

An S4 class to represent a claim type.

copulaDataPlot-methods

Experience data plotting.

copulaFit-methods

Copula fitting

copulaFitPlot-methods

Visualization Copula fitting

CopulaObj-class

An S4 class to represent a copula object to model the correlation.

copulaPlot-methods

Copula plotting. Only for 2 or 3 variables

copulaSample-methods

Copula sampling. It will generate correlated variables or percentiles ...

Density-methods

Density function.

DevFac-class

An S4 class to represent a loss development schedule.

Distribution-class

An S4 class to represent a distribution, either parametric or non-para...

doPlot-methods

Plot function.

doSample-methods

Sampling from the distribution.

empirical

Cumulative probability function of empirical distribution using linear...

expectZeros

Get the expected P0 based on settlement/close year.

FitDist-class

An S4 class to represent distribution fitting.

fitPlot-methods

Compare the raw data and fitted distribution on density, CDF, Q-Q plot...

getCopula-methods

Get the R copula object.

getIndex-methods

Retrieve index value based on dates.

getObservation-methods

Get input data from an object.

getTrend-methods

Get the trend index.

Index-class

An S4 class to represent a time index for frequency or severity distri...

KSTest-methods

K-S Test

loglik

Negative Loglikelihood.

observationPlot-methods

Plotting the data for distribution fitting

pareto

Moment function of Pareto Distribution (PDF: alpha*xm^alpha/x^(alpha+1...

PDFPlot-methods

Plotting the PDF of data and fitted distribution

plotText

Plot text content

PPPlot-methods

P-P Plot of data and fitted distribution

Probability-methods

Probability function.

QQPlot-methods

Q-Q Plot of data and fitted distribution

Quantile-methods

Quantile function.

rreopen

Simulate whether closed claims will be reopened or not.

sampleKurtosis-methods

Calculate the excess kurtosis of 10000 sampled values from the distrib...

sampleMean-methods

Calculate the mean of 100000 sampled values from the distribution.

sampleSd-methods

Calculate the standard deviation of 10000 sampled values from the dist...

sampleSkew-methods

Calculate the skewness of 10000 sampled values from the distribution.

setAnnualizedRate-methods

Set the annualized level rate to construct the index. Only used when t...

setCopulaParam-methods

Set copula parameters.

setCopulaType-methods

Set copula type.

setDevFac-methods

Set up an IBNER loss development schedule.

setDf-methods

Set the degree of freedom for t Copula.

setDimension-methods

Set the dimension of the copula.

setDispstr-methods

Set parameter matrix format of Elliptical copula.

setEmpirical-methods

Set the list of values and corresponding probabilities (Pr(X<value) fo...

setFacModel-methods

Determine whether the development factor is determined by a predictive...

setFitdata-methods

Preparing the input data (observation) for distribution fitting, inclu...

setfitmethod-methods

Set distribution fitting method.

setFittedDist-methods

Directly set the fitted distribution without fitting it to the data.

setfreq-methods

Set the data frequency.

setFun-methods

Set the model format/link function (identity/inverse/log/exponential)....

setID-methods

setID Set the ID for an object

setidate-methods

Set whether occurrence dates will be used for frequency data.

setifreq-methods

Set the data type: frequency or severity/time lag.

setIndex-methods

Set up a time index for frequency or severity.

setMarginal-methods

Set the marginal distributions of the copula.

setMeanList-methods

Set the year-to-year loss development factor.

setMin-methods

Set the minimum of the distribution. For example, the distribution of ...

setMonthlyIndex-methods

Set monthly index values.

setObservation-methods

Input the raw data.

setParams-methods

Set distribution parameters.

setParas-methods

Set the values of model parameters.

setprobs-methods

Set the percentiles to be matched. Only used when qme is chosen for fi...

setRange-methods

Set the min and max of the variable.

setRectangle-methods

Set up the rectangle based on simulated data.

setSeasonality-methods

Set seasonality on a monthly basis.

setStartDate-methods

Set the start date for the claim simulation exercise

setTabulate-methods

Determine whether the index values are constructed from a constant rat...

setTrend-methods

Set the trend with an Index Object.

setTrialDist-methods

Distribution fitting and testing.

setTrialDistErr-methods

Distribution fitting and testing. Same as setTrialDist except for erro...

setTruncated-methods

Set the indicator of truncated distribution.

setUpperKeep-methods

Set up the upper triangle for non-simulated data.

setUpperTriangle-methods

Set up the upper triangle based on claim data.

setVolList-methods

Set the year-to-year loss development factor volatility.

setXname-methods

Set additional explanatory variable names.

setYearlyIndex-methods

Set yearly index values.

shiftIndex-methods

Shift monthly index with a new start date and replace the unknown inde...

simP0

Simulate whether claims will have zero payment.

simReport-methods

Generate claim simulation result report in html

simSummary-methods

Claim simulation result summary

simTriangle-methods

Claim simulation result triangles

Simulation-class

An S4 class to represent a simulation task.

tbeta

Density function of Truncated Beta Distribution

TEKurt-methods

Calculate Theoretical Excessive Kurtosis of distribution. min and max ...

tempirical

Density function of truncated empirical distribution

texp

Density function of Truncated Exponential Distribution

tgamma

Density function of Truncated Gamma Distribution

tgeom

Density function of Truncated Geometric Distribution

tlnorm

Density function of Truncated Lognormal Distribution

TMean-methods

Calculate Theoretical Mean of distribution. min and max are not applie...

tnbinom

Density function of Truncated Negative Binomial Distribution

tnorm

Density function of Truncated Normal Distribution

toDate

Convert US date mm/dd/yyyy to yyyy-mm-dd format

tpareto

Density function of Truncated Pareto Distribution

tpois

Density function of Truncated Poisson Distribution

Triangle-class

An S4 class to represent a triangle or rectangle object.

truncate

Truncate a numeric vector

TSD-methods

Calculate Theoretical Standard Deviation of distribution. min and max ...

TSkewness-methods

Calculate Theoretical Skewness of distribution. min and max are not ap...

tweibull

Density function of Truncated Weibull Distribution

ultiDevFac

Calculate ultimate development factor based on current development yea...

It is an open source insurance claim simulation engine sponsored by the Casualty Actuarial Society. It generates individual insurance claims including open claims, reopened claims, incurred but not reported claims and future claims. It also includes claim data fitting functions to help set simulation assumptions. It is useful for claim level reserving analysis. Parodi (2013) <https://www.actuaries.org.uk/documents/triangle-free-reserving-non-traditional-framework-estimating-reserves-and-reserve-uncertainty>.

  • Maintainer: Kailan Shang
  • License: GPL-3
  • Last published: 2020-01-13