Usage: |
y = INShtraffic(u, theta, distrib, dparameters)
|
Input: |
| u | scalar, n x 1 vector or m x n matrix, initial capital for risk process
|
| theta | scalar, security loading in insurance collective risk model
|
| distrib | string, name of distribution of claims, either:
exponential, gamma, mixofexps, Weibull, lognormal, loggamma, Pareto, Burr or truncPareto.
|
| dparameters | list of scalars, parameters of the following distributions: exponential, gamma, Weibull, lognormal, loggamma, Pareto, Burr or truncPareto
list of n x 1 vectors of parameters of "mixofexps" distribution, the first vector are parameters for the exponential distributions and the second one are the weights of mixing.
|
Output: |
| y | scalar, n x 1 vector or m x n matrix (same dimension as u),
ruin probability given by heavy traffic approximation. |