I was looking here: numpy
And I can see you can use the command np.random.standard_cauchy()
specifying an array, to sample from a standard Cauchy.
I need to sample from a Cauchy which might have x_0 != 0
and gamma != 1
, i.e. might not be located at the origin, nor have scale equal to 1.
How can I do this?