
Plotting the Output of the Permutation Bootstrap
plot.permutedReserve.Rd
The function provides a graphical visualization of the results obtained from
the permutation bootstrap (see Maciak, Mizera, and Pesta (2022) for further
details) applied to the output of some parametric or nonparametric reserving
technique. In particular, the classical parametric methods include GLM based
reserving, the Mack Chain Ladder model, and the Tweedie model (all implemented
in the package ChainLadder
). Nonparametric (so-called functional-based)
methods include three algorithms implemented in the ProfileLadder
package (PARALLAX, REACT, and MACRAME)
Usage
# S3 method for class 'permutedReserve'
plot(x, ...)
Arguments
- x
an object of the class
permutedReserve
– i.e., the output of thepermuteReserve()
function- ...
other graphical parameters to plot
Value
The function returns a layout for four plots. The first panel shows a simple barplot type visualization of the estimated reserve, the estimated ultimate, and the true reserve (if available). The second panel provides a histogram for (permuted) bootstrapped reserves with a nonparametric estimate of the corresponding density. The third panel provides a detailed inspection of the bootstrapped ultimates (with true ultimates if provided) and, finaly, the last panel shows the observed diagonal vs. simulated ones.
Examples
## reserve estimated by MACRAME and the corresponding visualization
x <- mcReserve(CameronMutual)
plot(permuteReserve(x, B = 100))
#>
| | 0 % ~calculating
|> | 1 % ~01s
|> | 2 % ~01s
|>> | 3 % ~01s
|>> | 4 % ~01s
|>>> | 5 % ~01s
|>>> | 6 % ~01s
|>>>> | 7 % ~01s
|>>>> | 8 % ~01s
|>>>> | 9 % ~01s
|>>>>> | 10% ~01s
|>>>>> | 11% ~01s
|>>>>>> | 12% ~01s
|>>>>>> | 13% ~01s
|>>>>>>> | 14% ~01s
|>>>>>>> | 15% ~01s
|>>>>>>> | 16% ~01s
|>>>>>>>> | 17% ~01s
|>>>>>>>> | 18% ~01s
|>>>>>>>>> | 19% ~01s
|>>>>>>>>> | 20% ~01s
|>>>>>>>>>> | 21% ~01s
|>>>>>>>>>> | 22% ~01s
|>>>>>>>>>> | 23% ~01s
|>>>>>>>>>>> | 24% ~01s
|>>>>>>>>>>> | 25% ~01s
|>>>>>>>>>>>> | 26% ~01s
|>>>>>>>>>>>> | 27% ~01s
|>>>>>>>>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