Description Usage Arguments Value Note
The function simulates the aggregate claim size distribution
1 | simulation(distN, distY, parN, parY, n)
|
distN |
For now distN= c("NegBin","Binomial","Poisson") |
distY |
For now distY= c("Gamma", "Exponential","LogNormal","Weibull", "Pareto", "TruncLogNormal","TruncWeibull"). |
parN |
the parameters of the chosen counting distribution |
parY |
the parameters of the chosen claim intensities distribution. |
n |
the number of simulations. |
The function returns the simulations of S. If you want to compute the probability P(S<m) you can simply run the following command mean(S<m)
Confidence intervals still to be added (along with more distributions, and truncated versions as well)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.