Usage: |
y = INSmoments(distrib, k, dparameters)
|
Input: |
| distrib | string, name of distribution of claims, either:
exponential, gamma, mixofexps, Weibull, lognormal, loggamma, Pareto, Burr or truncPareto
|
| k | scalar, positive integer less equal 4, order of moment to calculate
|
| dparameters | list of scalars, parameters of the following distributions: exponential, gamma, Weibull, lognormal, loggamma, Pareto, Burr 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, k-th raw moment of the distribution |