powered by
Evaluates the constant K_2, which is the normalizing constant for f_2.
getk2(alpha, p)
Returns a positive real number.
Parameter in [0,1).
Parameter >1.
Michael Grabchak and Lijuan Cao
Evaluates
K_2 = int_0^1 ( exp(-x^p) - exp(-x) )*x^(-1-alpha) dx.
This is needed to simulate p-RDTS random variables.
M. Grabchak (2021). An exact method for simulating rapidly decreasing tempered stable distributions. Statistics and Probability Letters, 170: Article 109015.
getk2(0.5,2.5)
Run the code above in your browser using DataLab