drawRuin | R Documentation |
This function plots simulation paths of a surpluss process. The claims are assumed to arrive according to a Poisson process and the claim sizes are assumed to be gamma distributed.
drawRuin(nsim = 10, Tup = 10, U0 = 1000, theta = 0.01,
lambda = 100, alpha = 1, beta = 0.1)
nsim |
number of simulations |
Tup |
maximum value in the time axis |
U0 |
initial capital |
theta |
risk loading |
lambda |
intensity of claim process (mean number of claims per year) |
alpha |
shape parameter of gamma distribution |
beta |
rate parameter of gamma distribution |
No value; only a figure is plotted.
Arto Luoma <arto.luoma@wippies.com>
Kaas, Goovaerts, Dhaene, Denuit (2008) Modern actuarial risk theory using R, 2nd ed., Springer.
computeRuinFinite
,
computeRuinFinite(T0=10,U0=1000,eps=0.05,lambda=100,alpha=1,beta=0.1)
drawRuin(nsim=10,Tup=10,U0=1000,theta=0.0125,lambda=100,alpha=1,beta=0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.