arXiv · 1809.05212
An efficient algorithm for sampling from $\sin^k(x)$ for generating random correlation matrices
Abstract
In this note, we develop a novel algorithm for generating random numbers from a distribution with a probability density function proportional to $\sin^k(x)$, $x \in (0,\pi)$ and $k \geq 1$. Our algorithm is highly efficient and is based on rejection sampling where the envelope distribution is an appropriately chosen beta distribution. An example application illustrating how the new algorithm can be used to generate random correlation matrices is discussed.
Explore related subjects
Keep this discovery
Enes Makalic, Daniel F. Schmidt. 2018-09-14. An efficient algorithm for sampling from $\sin^k(x)$ for generating random correlation matrices. https://doi.org/10.1080/03610918.2019.1700277
Cite the original work for its findings. Save a collection to share your selection of sources.