The standard arcsine law has probability density function on . Substituting in its integral gives cumulative distribution function . Hence inverse transform sampling uses for with a continuous uniform distribution. The law places most of its density near the two endpoints rather than the middle.
New to topics? Read the docs here!