CCDM Procedure

Analyzing the Effect of Parameter Estimate Uncertainty on the Compound Distribution

Continuing with the previous example, note that you have fitted the frequency and severity models by using the historical data. Even if you choose the best-fitting models, the true underlying models are not known exactly. This fact is reflected in the uncertainty that is associated with the estimates of your model parameters. Any compound distribution estimate that you compute by using these uncertain parameter estimates is inherently uncertain. You can request that PROC CCDM perform parameter perturbation analysis; this analysis assesses the effect of the uncertainty in parameter estimates on the estimates of the compound distribution by simulating multiple samples, each of which uses parameters that are randomly perturbed from their mean estimates.

The following PROC CCDM step adds the NPERTURBEDSAMPLES= option to the PROC CCDM statement to perform perturbation analysis and the PRINT=PERTURBSUMMARY option to display a summary of the perturbation analysis:

/* Perform parameter perturbation analysis of
   the Poisson-gamma compound distribution model */
proc ccdm countstore=mylib.countStorePoisson severityest=mylib.sevest
          seed=13579 nreplicates=10000 nperturbedsamples=30
          print(only)=(perturbsummary);
   severitymodel gamma;
   output out=mylib.aggregateLossSample samplevar=aggloss;
   outsum out=mylib.aggregateLossSummary mean stddev skewness kurtosis
          p01 p05 p95 p995=var pctlpts=90 97.5;
run;

The data table mylib.AggregateLossSummary contains the specified summary statistics and percentiles for all 30 perturbed samples. You can identify a perturbed sample by the value of the variable _DRAWID_. Figure 3 shows the first few observations of the data table mylib.AggregateLossSummary. For the first observation, the value of _DRAWID_ is 0, which represents an unperturbed sample—that is, the aggregate sample that is simulated without perturbing the parameters from their means.

Figure 3: Summary Statistics and Percentiles of the Perturbed Samples

_SEVERITYMODEL__COUNTMODEL__DRAWID__SAMPLEVAR_NMEANSTDDEVSKEWNESSKURTOSISP01P05P90P95P97_5var
GammaPoisson0aggloss100004025.313443.691.142791.71709008691.7210602.8012294.1016055.68
GammaPoisson1aggloss100004125.453429.261.097931.47736008801.9410756.1712454.7216455.91
GammaPoisson2aggloss100004287.773637.421.163101.82222009212.2111203.7413220.5517607.38
GammaPoisson3aggloss100004334.633565.391.126351.62618009132.3211185.3113027.3717154.58
GammaPoisson4aggloss100003809.633265.581.117801.46614008255.5810031.0611854.9815442.36
GammaPoisson5aggloss100004018.323380.261.146901.67508008621.9110506.0412206.7716143.93
GammaPoisson6aggloss100004234.883533.231.090931.41442009117.7911094.8612727.3016289.66
GammaPoisson7aggloss100004123.723540.831.147791.59946008891.1610988.9612829.1116696.45
GammaPoisson8aggloss100003911.353353.881.176121.74692008496.1910465.8112206.7715474.85
GammaPoisson9aggloss100004150.713475.631.105611.63954008892.2510809.2112555.6515983.76
GammaPoisson10aggloss100003851.873411.481.221011.92094008411.3610455.4312313.9116456.85


The PRINT=PERTURBSUMMARY option in the preceding PROC CCDM step produces the "Sample Perturbation Analysis" and "Sample Percentile Perturbation Analysis" tables shown in Figure 4. The tables show the mean aggregate loss and the standard error of the mean. If you want to use the VaR estimate to determine the amount of reserves that you need to maintain to cover the worst-case loss, then you should consider not only the mean estimate of the 99.5th percentile, but also the standard error to account for the effect of uncertainty in your frequency and severity parameter estimates.

Figure 4: Summary of Perturbation Analysis of the Poisson-Gamma Compound Distribution

The CCDM Procedure
 
Severity Model: Gamma
Count Model: Poisson

Sample Perturbation Analysis
StatisticEstimateStandard
Error
Mean4062.7165.88338
Standard Deviation3439.7107.78857
Variance11843103748676.1
Skewness1.127730.04342
Kurtosis1.586380.20840
Number of Perturbed Samples = 30
Size of Each Sample = 10000

Sample Percentile Perturbation Analysis
PercentileEstimateStandard
Error
100
500
251410.1110.09651
503386.8164.53612
755961.2232.68234
908751.3290.64535
9510669.9365.97177
97.512439.3416.31525
9914656.1530.76247
99.516242.1608.33789
Number of Perturbed Samples = 30
Size of Each Sample = 10000


Last updated: November 24, 2025