Substitute , with , when integrating the target density. Since , its cumulative distribution function is
Inverting gives the arcsine distribution sampler
The inverse transform sampling proof in the root solution shows that it has the required probability density function. Use successive independent uniforms for successive samples. A draw at the endpoint one can be discarded if values strictly inside the support are desired; this event has probability zero under the ideal continuous uniform distribution.

Articles by others on the same topic (0)

There are currently no matching articles.