Symmetric rational mixture sampler

ID: symmetric-rational-mixture-sampler

The displayed mixture distribution combines a Standard Cauchy distribution and a symmetric law whose magnitude has cumulative distribution function for . Use independent uniforms : if , return ; otherwise return a fair independent sign times . The magnitude density is and splitting its mass equally between signs gives . An alternative rejection sampling proposal is standard Cauchy, with envelope constant , because .

New to topics? Read the docs here!