rand() doesn’t work for NormalInverseGaussian.
x = rand(dnig, 100)
Error: MethodError: no method matching iterate(::NormalInverseGaussian{Float64})
Would somebody help to generate random values?
rand() doesn’t work for NormalInverseGaussian.
x = rand(dnig, 100)
Error: MethodError: no method matching iterate(::NormalInverseGaussian{Float64})
Would somebody help to generate random values?
Please quote your code, and include an MWE.
You should probably file an issue on GitHub, because it looks like that functionality is missing for that distribution. Or you can try to implement it and file a PR.