Question about random numbers from custom distribution

Hello, I’m interested in generating random samples from a specific
distribution. I read that it is useful to import the package
Distributions.jl, however I’m not sure that the following distribution
is included:

p(j) = (1/d) (j)^{-1 + 1/d} with 0<j<1

do you have any suggestions?

thanks!

This is the Beta(1/d, 1) distribution.

1 Like

many thanks! I’ll check it out!