powered by
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)
No value; only a figure is plotted.
number of simulations
maximum value in the time axis
initial capital
risk loading
intensity of claim process (mean number of claims per year)
shape parameter of gamma distribution
rate parameter of gamma distribution
Arto Luoma <arto.luoma@wippies.com>
Kaas, Goovaerts, Dhaene, Denuit (2008) Modern actuarial risk theory using R, 2nd ed., Springer.
computeRuinFinite,
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)
Run the code above in your browser using DataLab