2
$\begingroup$

I have a Uniform PDF from [-50, 50], I would like to transform it to a Gaussian. The methods that I read up about doing this(like Box Mueller) assume that the uniform distribution is between [0,1). Is there any way to do this for [-50,50]. Is there any translation or scaling that may be done for what I am trying to achieve?

$\endgroup$
1

1 Answer 1

0
$\begingroup$

You can sample $U \sim \text{Unif}[-50,50]$ and then transform it into $U' = (U+50)/100$, making $U' \sim \text{Unif}[0,1]$, at which point you may apply the Box-Muller transform to the transformed random varible $U'$.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.