Back to Search Start Over

Simulating a coin with irrational bias using rational arithmetic.

Authors :
Mendo, Luis
Source :
Communications in Statistics: Simulation & Computation. 2025, Vol. 54 Issue 1, p302-318. 17p.
Publication Year :
2025

Abstract

An algorithm is presented that, taking independent Bernoulli random variables with parameter 1 / 2 as inputs and using only rational arithmetic, simulates a Bernoulli random variable with possibly irrational parameter τ. It requires a series representation of τ with positive, rational terms, and a rational bound on its truncation error that converges to 0. The number of required inputs has an exponentially bounded tail, and its mean is at most 3. The number of arithmetic operations has a tail that can be bounded in terms of the sequence of truncation error bounds. The algorithm is applied to two specific values of τ , including Euler's constant, for which obtaining a simple simulation algorithm was an open problem. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
03610918
Volume :
54
Issue :
1
Database :
Academic Search Index
Journal :
Communications in Statistics: Simulation & Computation
Publication Type :
Academic Journal
Accession number :
181985511
Full Text :
https://doi.org/10.1080/03610918.2024.2425702