The 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=mycas.countStorePoisson severityest=mycas.sevest
seed=13579 nreplicates=10000 nperturbedsamples=30
print(only)=(perturbsummary);
severitymodel gamma;
output out=mycas.aggregateLossSample samplevar=aggloss;
outsum out=mycas.aggregateLossSummary mean stddev skewness kurtosis
p01 p05 p95 p995=var pctlpts=90 97.5;
run;
The data table mycas.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 mycas.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_ | N | MEAN | STDDEV | SKEWNESS | KURTOSIS | P01 | P05 | P90 | P95 | P97_5 | var |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Gamma | Poisson | 0 | aggloss | 10000 | 4053.66 | 3462.35 | 1.14689 | 1.67854 | 0 | 0 | 8856.80 | 10739.64 | 12539.98 | 16324.10 |
| Gamma | Poisson | 1 | aggloss | 10000 | 4103.75 | 3424.54 | 1.05104 | 1.21420 | 0 | 0 | 8808.98 | 10584.92 | 12350.99 | 15762.00 |
| Gamma | Poisson | 2 | aggloss | 10000 | 4257.98 | 3595.69 | 1.13383 | 1.68019 | 0 | 0 | 9067.35 | 11087.18 | 13076.13 | 17018.82 |
| Gamma | Poisson | 3 | aggloss | 10000 | 4334.57 | 3598.11 | 1.07910 | 1.37329 | 0 | 0 | 9388.06 | 11262.39 | 12980.74 | 17026.75 |
| Gamma | Poisson | 4 | aggloss | 10000 | 3812.29 | 3258.42 | 1.12937 | 1.79096 | 0 | 0 | 8248.84 | 10001.45 | 11646.66 | 15176.26 |
| Gamma | Poisson | 5 | aggloss | 10000 | 3971.81 | 3399.79 | 1.19894 | 1.83912 | 0 | 0 | 8574.82 | 10576.42 | 12625.33 | 16327.78 |
| Gamma | Poisson | 6 | aggloss | 10000 | 4232.47 | 3566.42 | 1.16724 | 1.80881 | 0 | 0 | 9094.55 | 11021.82 | 12934.17 | 17096.81 |
| Gamma | Poisson | 7 | aggloss | 10000 | 4172.48 | 3516.92 | 1.17610 | 1.89699 | 0 | 0 | 8846.07 | 10927.64 | 12563.42 | 17200.04 |
| Gamma | Poisson | 8 | aggloss | 10000 | 3875.37 | 3326.50 | 1.15035 | 1.65788 | 0 | 0 | 8391.27 | 10211.29 | 11977.74 | 15988.06 |
| Gamma | Poisson | 9 | aggloss | 10000 | 4203.88 | 3518.37 | 1.11452 | 1.53488 | 0 | 0 | 9018.12 | 11008.27 | 12748.88 | 16458.14 |
| Gamma | Poisson | 10 | aggloss | 10000 | 3897.70 | 3400.52 | 1.20300 | 1.90903 | 0 | 0 | 8546.00 | 10419.82 | 12228.73 | 16171.06 |
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 that you can expect a mean aggregate loss of about 4,059 and the standard error of the mean is 190.1. 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, which is about 16,224.5, but also the standard error of 700.2 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
| Sample Perturbation Analysis | ||
|---|---|---|
| Statistic | Estimate | Standard Error |
| Mean | 4059.0 | 190.13976 |
| Standard Deviation | 3439.6 | 124.94255 |
| Variance | 11846525 | 874364.8 |
| Skewness | 1.12920 | 0.05079 |
| Kurtosis | 1.58944 | 0.25511 |
| Number of Perturbed Samples = 30 | ||
| Size of Each Sample = 10000 | ||
| Sample Percentile Perturbation Analysis | ||
|---|---|---|
| Percentile | Estimate | Standard Error |
| 1 | 0 | 0 |
| 5 | 0 | 0 |
| 25 | 1407.7 | 123.36686 |
| 50 | 3389.3 | 179.44672 |
| 75 | 5951.7 | 262.77659 |
| 90 | 8751.7 | 343.52016 |
| 95 | 10665.2 | 422.58551 |
| 97.5 | 12440.7 | 493.79317 |
| 99 | 14620.5 | 592.97468 |
| 99.5 | 16224.5 | 700.18732 |
| Number of Perturbed Samples = 30 | ||
| Size of Each Sample = 10000 | ||