Description Usage Arguments Details Value Examples
A function to create "family" objects is returned. The "family" object is to be used in the family
argument in ruin_prob_ls
. It contains all essential information to calculate the
ruin probability, e.g. calculation of Θ_{f,k} for various functions f.
1 | weibull(M2 = 45, M3 = 32)
|
M2 |
Numerical of length 1. |
M3 |
Numerical of length 1. |
Appendix A3 in article "Finite-time ruin probabilities using bivariate Laguerre series" is used.
The sum to infinity terms in (A18), (A19) are truncated at M2
and M3
(M2>M3
).
Ideally, large M2
and M3
should be used. However, due to limit in numerical precision in R
(long double in C, i.e. 64bit) calculation of Θ_{f,k} for large k is unstable. As a result,
M2
and M3
has to be moderate.
Computer programs with high precision arithmetic built-in (e.g. Mathematica or Matlab) should be used for reliable results.
A function to create a family object with parameters:
alpha
: Numerical of length 1.
beta
: Numerical of length 1.
See https://en.wikipedia.org/wiki/Generalized_inverse_Gaussian_distribution.
alpha
is k in the page.
beta
is λ in the page.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.