SlideShare a Scribd company logo
On a generalisation of the
ratio-of-uniform algorithm
Christian P. Robert
Universit´e Paris-Dauphine, CEREMADE, and CREST, Paris
1. CORE
One specific approach to random number generation (Devroye, 1986) that pro-
ceeds from the fundamental lemma of simulation Robert and Casella (2004) is the
ratio-of-uniform method (Kinderman et al., 1977). It is commonly used for the
most standard distributions as it can be calibrated to produce high acceptance
probability with a minimal number of operations. The said method is based on
the result that the uniform distribution on the set
A = (u; v) ∈ R+
× X; 0 ≤ u2
≤ f(v/u)
induces a marginal distribution with density proportional to f for the random
variable V = U. This lemma explains for the name of the method, despite neither
U nor V being marginally uniform variates. The proof of this result is a straight-
forward application of the transform method, since, if (U, V ) ∼ U(A), then the
density of (W, X) = (U2, V/U) is
˜f(w, x) ∝ IA(w
1/2
, w
1/2
x) × w
1/2
×
1
2w1/2
∝ I0≤w≤f(x)
As mentioned already, this is therefore a consequence of the fundamental lemma
of simulation, since we recover the uniform distribution on the set
B = (u; v) ∈ R+
× X; 0 ≤ u ≤ f(v)
which clearly induces the marginal distribution with density proportional to f
on V . While there is thus no mathematical issue with the marginalisation result
behind the ratio-of-uniform method, it is much less straightforward to picture the
construction of efficient random number generators based on this principle, when
compared with the fundamental lemma.
The first difficulty is to determine the shape of the set A, for which there is
little intuition if any. Figure 1 displays the resulting sets A for the Normal N(0, 1)
and the Gamma Ga(1/2, 1) distributions. The later is unbounded in u, due to the
asymptote of the density f at x = 0. In the general case, the boundary of the set
A is given by the parametric curve (Devroye, 1986)
u(x) = f(x), v(x) = x f(x), x ∈ X .
∗
Christian P. Robert, CEREMADE, Universit´e Paris-Dauphine, 75775 Paris cedex 16, France
xian@ceremade.dauphine.fr. Research partly supported by a Institut Universitaire de France 2016–
2021 senior chair. C.P. Robert is also affiliated as a part-time professor in the Department of
Statistics of the University of Warwick, Coventry, UK.
1
imsart-sts ver. 2009/02/27 file: ratiU.tex date: November 18, 2016
2
Fig 1. Representation of the ratio-of-uniform set A for the Normal N(0, 1) and the Gamma
Ga(1/2, 1) distributions.
In the event where X ⊂ R and both f(x) and x2f(x) are bounded over X, it
is formally possible to create a cube in R+ × X around A and to deduce an
accept-reject strategy, based on uniform simulations in that cube. Using a two
component normal mixture as a benchmark, the following pictures (Figures 2
and 3) show that the set A is then bounded, albeit quite sparse in the cube that
contains it. This implies that the ratio-of-uniform method would not be efficient
in that situation.
As pointed out in Devroye (1986), since a simulation from f can also be derived
by uniform simulations on sets like
C = (u; v) ∈ R+
× X; 0 ≤ u ≤ f(u + v)
with a marginalisation in U + V , or
D = (u; v) ∈ R+
× X; 0 ≤ u2
≤ f(v/
√
u)3
with a marginalisation in V/
√
U. As we will now demonstrate, there exists a
generic construction of such sets. However, it seems impossible to rank those sets
in terms of efficiency in the general case. (This comparison only stands under the
assumption that all relevant functions are properly bounded to allow for bound-
ing boxes.) Even without seeking a bounding box and the associated uniform
distribution on that set, it seems delicate to compare slice samplers on the three
sets A, C, D, and their generalisations.
2. EXTENSION
There exists a generic family of transforms that generalises the original ratio-
of- uniform method. Namely, considering a differentiable monotone function h
over the positive half-line, R+, the uniform distribution over the set
H = (u; v) ∈ R+
× X; 0 ≤ u ≤ h ◦ f(v/g(u))
induces the right marginal f on the ratio V/g(U) if the primitive G of g is the
inverse of h, i.e., G ◦ h(x) = x. The proof is rather straightforward. Considering
imsart-sts ver. 2009/02/27 file: ratiU.tex date: November 18, 2016
3
Fig 2. Set A for a two component Normal mixture.
Fig 3. Set A for a four component Normal mixture.
imsart-sts ver. 2009/02/27 file: ratiU.tex date: November 18, 2016
4
the change of variable from (u, v) to (u, x) = (u, v/g(u)) produces a Jacobian of
g(u) and a joint density
U, X ∼ I0≤u≤h◦f(x)(u, x) g(u)
which integrates into
X ∼
h◦f(x)
0
g(u) du = G ◦ h ◦ f(x) = f(x)
when G ◦ f = id. The corresponding boundary of H is then provided by the
parameterised curve
u(x) = h ◦ f(x), v(x) = x(g ◦ h ◦ f)(x), x ∈ X .
For instance, when h(x) = xa, a power transform, the boundary can be written
as
u(x) = f(x)a
, v(x) = xf(x)1−a
, x ∈ X .
Similarly, when h(x) = exp(x), the ratio-of-uniform set is defined as
H = (u; v) ∈ R+
× X; 1 ≤ u ≤ exp{f(vu)}
with the curve
u(x) = exp{f(x)}, v(x) = x exp{−f(x)}, x ∈ X .
Note the change of range for u in that case.
One appeal of this generalisation is the formal possibility to include unbounded
densities and still produce compact boxes, as this seems essential for accept-reject
simulation if not for slice sampling. One possible choice for h is the generalised
logistic transform
h(ω) =
ωa
1 + ωa
which ensures that the [ratio-of-almost-uniform] set H is bounded in u. Since the
transform g is the derivative of the inverse of h,
g(y) =
a−1y(1−a)/a
(1 − y)(1+a)/a
.
the parametrisation of the boundary of H is
u(x) =
f(x)a
(1 + f(x))a
, v(x) = a−1
xf(x)a−1
(1 + f(x))−2
[(1 + f(x)a
− f(x)a
]−1+a/a
which means H remains bounded if (a) a ≤ 1 [to ensure boundedness at infinity]
and (b) the limit of v(x) at zero [where the asymptote of f must stand] is bounded.
This is satisfied if
lim
x→0
xf(x)
a+1/a
< +∞ .
For instance, this constraint holds for Gamma distributions with shape parameter
larger than 1/2.
imsart-sts ver. 2009/02/27 file: ratiU.tex date: November 18, 2016
5
However, resorting to an arbitrary cdf Φ instead of the generalised logistic cdf
solves the difficulty for most distributions, including all Gamma distributions.
(Note that the power a is superfluous since Φa is also a cdf. Nonetheless, using this
representation brings an easier calibration of the proposal.) Indeed, the relevant
set is now
H = (u; v) ∈ R+
× X; 0 ≤ u ≤ Φ(f(v/g(u)))a
while the boundary of H is
u(x) = Φ(f(x))a
, v(x) = a−1
xf(x)
1−a/a
/ϕ ◦ f(x), x ∈ X ,
when ϕ is the derivative of Φ. This can be seen from G(u) = Φ−1(u1/a
) and
g(u) = a−1
u
1−a/a
ϕ(Φ−1
(u
1/a
))
which implies that
g(u(x)) = a−1
f(x)
1−a/a
ϕ(Φ−1
(Φ(f(x)))) .
This result means that the set remains bounded if ϕ has heavy enough tails, like
x−2, to handle the explosion at x = 0. Obviously, the density ϕ must further
enjoy an asymptote at zero to handle the limit at infinity when f(x) goes to zero.
For instance, consider the case when a = 1, meaning the boundary of H is
u(x) = Φ(f(x)), v(x) = 1/ϕ ◦ f(x),
and assume f(x) ≡ x− at x = 0 and ϕ(y) ≡ y−α−1 at y = +∞. At x = 0 we then
have v(x) ≡ x1− (α+1), which is a positive power for α small enough. Furthermore,
if f(x) ≡ x−δ−1 at x = ∞ and ϕ(y) ≡ y−β at y = 0, then at x = +∞, we have
v(x) ≡ x1−β(δ+1), which is a negative power for β close enough to 1.
However, this type of tail behaviour in Φ is not sufficient to handle a Gamma
distribution Ga(1 − , 1) (0 < < 1) since the exponential term is dominant at
∞. Take thus a transform such that φ(x) is equivalent to log{1/x}b (b > 0) near
zero. Then, at ∞
x/ϕ◦f(x) ≡ x {(−(1 − ) log(x) + x}−b
≡ x1−b
which remains bounded when b > 1, as for instance b = 2. The behaviour of
x/ϕ◦f(x) is easier to manage since f is then equivalent to x1− . If the tail behaviour
of ϕ at infinity is polynomial, i.e., ϕ(y) ≡ y−1−ν, we get
x/ϕ◦f(x) ≡ x x−1+ −(1+ν)
≡ x1−(1− )(1+ν)
at infinity, which remains bounded when (1 − )(1 + ν) < 1, i.e., ν < /1− . For
practical purposes, we consider the mixture density 0 < γ < 1)
ϕ(x) = γ
2 log(x)2
1 + (1 + log(2))2
I(0,1/2)(x) + (1 − γ)
ν{3/2}ν
(1 + x)ν+1
I(0,1/2)c (x)
which is normalised, continuous at x = 1/2 when
γ =
1
1 + 3ν log(2)2
/1+(1+log(2))2
imsart-sts ver. 2009/02/27 file: ratiU.tex date: November 18, 2016
6
Fig 4. Set H for (a) Ga(0.1, 1) target; (b) Ga(0.5, 1) target; (c) Ga(0.9, 1) target, when ν =
.9 /(1 − ).
imsart-sts ver. 2009/02/27 file: ratiU.tex date: November 18, 2016
7
and associated with the cdf
Φ(x) = γ
2x[(1 − log(x))2 + 1]
1 + (1 + log(2))2
I(0,1/2)(x)+ γ + (1 − γ) 1 −
(3/2)ν
(1 + x)ν
I(0,1/2)c (x)
Figure 4 produces three different bounded sets for Ga(α, 1) distributions based
on the above mixture transform Φ. Obviously, given the shape of those sets,
using a rectangular box does not lead to an efficient simulation algorithm. (This
goes without mentioning that a Ga(1 − , 1) distribution can be derived from a
Ga(2 − , 1) by multiplying a simulation from the former by U−1/1−
.)
REFERENCES
Devroye, L. (1986). Non-Uniform Random Variate Generation. Springer-Verlag, New York.
URL http://cgm.cs.mcgill.ca/~luc/rnbookindex.html.
Kinderman, A., Monahan, J. and Ramage, J. (1977). Computer methods for sampling from
Student’s t-distribution. Math. Comput., 31 1009–1018.
Robert, C. and Casella, G. (2004). Monte Carlo Statistical Methods. 2nd ed. Springer-Verlag,
New York.
imsart-sts ver. 2009/02/27 file: ratiU.tex date: November 18, 2016

More Related Content

What's hot

ABC convergence under well- and mis-specified models
ABC convergence under well- and mis-specified modelsABC convergence under well- and mis-specified models
ABC convergence under well- and mis-specified models
Christian Robert
 
Inference in generative models using the Wasserstein distance [[INI]
Inference in generative models using the Wasserstein distance [[INI]Inference in generative models using the Wasserstein distance [[INI]
Inference in generative models using the Wasserstein distance [[INI]
Christian Robert
 
Multiple estimators for Monte Carlo approximations
Multiple estimators for Monte Carlo approximationsMultiple estimators for Monte Carlo approximations
Multiple estimators for Monte Carlo approximations
Christian Robert
 
Monte Carlo in Montréal 2017
Monte Carlo in Montréal 2017Monte Carlo in Montréal 2017
Monte Carlo in Montréal 2017
Christian Robert
 
Functionalanalysis ejemplos infinitos
Functionalanalysis ejemplos infinitosFunctionalanalysis ejemplos infinitos
Functionalanalysis ejemplos infinitos
Sualín Rojas
 
E42012426
E42012426E42012426
E42012426
IJERA Editor
 
ON OPTIMALITY OF THE INDEX OF SUM, PRODUCT, MAXIMUM, AND MINIMUM OF FINITE BA...
ON OPTIMALITY OF THE INDEX OF SUM, PRODUCT, MAXIMUM, AND MINIMUM OF FINITE BA...ON OPTIMALITY OF THE INDEX OF SUM, PRODUCT, MAXIMUM, AND MINIMUM OF FINITE BA...
ON OPTIMALITY OF THE INDEX OF SUM, PRODUCT, MAXIMUM, AND MINIMUM OF FINITE BA...
UniversitasGadjahMada
 
A Komlo ́sTheorem for general Banach lattices of measurable functions
A Komlo ́sTheorem for general Banach lattices of measurable functionsA Komlo ́sTheorem for general Banach lattices of measurable functions
A Komlo ́sTheorem for general Banach lattices of measurable functionsesasancpe
 
Bayesian hybrid variable selection under generalized linear models
Bayesian hybrid variable selection under generalized linear modelsBayesian hybrid variable selection under generalized linear models
Bayesian hybrid variable selection under generalized linear models
Caleb (Shiqiang) Jin
 
Aaapresmarsella
AaapresmarsellaAaapresmarsella
Aaapresmarsella
iberriochoa
 
The existence of common fixed point theorems of generalized contractive mappi...
The existence of common fixed point theorems of generalized contractive mappi...The existence of common fixed point theorems of generalized contractive mappi...
The existence of common fixed point theorems of generalized contractive mappi...
Alexander Decker
 
Reformulation of Nash Equilibrium with an Application to Interchangeability
Reformulation of Nash Equilibrium with an Application to InterchangeabilityReformulation of Nash Equilibrium with an Application to Interchangeability
Reformulation of Nash Equilibrium with an Application to Interchangeability
Yosuke YASUDA
 
Common fixed point theorems of integral type in menger pm spaces
Common fixed point theorems of integral type in menger pm spacesCommon fixed point theorems of integral type in menger pm spaces
Common fixed point theorems of integral type in menger pm spaces
Alexander Decker
 
Lesson 5: Continuity (slides)
Lesson 5: Continuity (slides)Lesson 5: Continuity (slides)
Lesson 5: Continuity (slides)
Matthew Leingang
 

What's hot (19)

ABC convergence under well- and mis-specified models
ABC convergence under well- and mis-specified modelsABC convergence under well- and mis-specified models
ABC convergence under well- and mis-specified models
 
Inference in generative models using the Wasserstein distance [[INI]
Inference in generative models using the Wasserstein distance [[INI]Inference in generative models using the Wasserstein distance [[INI]
Inference in generative models using the Wasserstein distance [[INI]
 
Multiple estimators for Monte Carlo approximations
Multiple estimators for Monte Carlo approximationsMultiple estimators for Monte Carlo approximations
Multiple estimators for Monte Carlo approximations
 
Monte Carlo in Montréal 2017
Monte Carlo in Montréal 2017Monte Carlo in Montréal 2017
Monte Carlo in Montréal 2017
 
Functionalanalysis ejemplos infinitos
Functionalanalysis ejemplos infinitosFunctionalanalysis ejemplos infinitos
Functionalanalysis ejemplos infinitos
 
E42012426
E42012426E42012426
E42012426
 
ON OPTIMALITY OF THE INDEX OF SUM, PRODUCT, MAXIMUM, AND MINIMUM OF FINITE BA...
ON OPTIMALITY OF THE INDEX OF SUM, PRODUCT, MAXIMUM, AND MINIMUM OF FINITE BA...ON OPTIMALITY OF THE INDEX OF SUM, PRODUCT, MAXIMUM, AND MINIMUM OF FINITE BA...
ON OPTIMALITY OF THE INDEX OF SUM, PRODUCT, MAXIMUM, AND MINIMUM OF FINITE BA...
 
A Komlo ́sTheorem for general Banach lattices of measurable functions
A Komlo ́sTheorem for general Banach lattices of measurable functionsA Komlo ́sTheorem for general Banach lattices of measurable functions
A Komlo ́sTheorem for general Banach lattices of measurable functions
 
Bayesian hybrid variable selection under generalized linear models
Bayesian hybrid variable selection under generalized linear modelsBayesian hybrid variable selection under generalized linear models
Bayesian hybrid variable selection under generalized linear models
 
Slides mc gill-v4
Slides mc gill-v4Slides mc gill-v4
Slides mc gill-v4
 
Slides mc gill-v3
Slides mc gill-v3Slides mc gill-v3
Slides mc gill-v3
 
Aaapresmarsella
AaapresmarsellaAaapresmarsella
Aaapresmarsella
 
Paper 2
Paper 2Paper 2
Paper 2
 
The existence of common fixed point theorems of generalized contractive mappi...
The existence of common fixed point theorems of generalized contractive mappi...The existence of common fixed point theorems of generalized contractive mappi...
The existence of common fixed point theorems of generalized contractive mappi...
 
Reformulation of Nash Equilibrium with an Application to Interchangeability
Reformulation of Nash Equilibrium with an Application to InterchangeabilityReformulation of Nash Equilibrium with an Application to Interchangeability
Reformulation of Nash Equilibrium with an Application to Interchangeability
 
Sol84
Sol84Sol84
Sol84
 
Ch04
Ch04Ch04
Ch04
 
Common fixed point theorems of integral type in menger pm spaces
Common fixed point theorems of integral type in menger pm spacesCommon fixed point theorems of integral type in menger pm spaces
Common fixed point theorems of integral type in menger pm spaces
 
Lesson 5: Continuity (slides)
Lesson 5: Continuity (slides)Lesson 5: Continuity (slides)
Lesson 5: Continuity (slides)
 

Similar to A generalisation of the ratio-of-uniform algorithm

Topology and Electrostatics
Topology and Electrostatics Topology and Electrostatics
Topology and Electrostatics
Vorname Nachname
 
Applications of partial differentiation
Applications of partial differentiationApplications of partial differentiation
Applications of partial differentiation
Vaibhav Tandel
 
Maximum likelihood estimation of regularisation parameters in inverse problem...
Maximum likelihood estimation of regularisation parameters in inverse problem...Maximum likelihood estimation of regularisation parameters in inverse problem...
Maximum likelihood estimation of regularisation parameters in inverse problem...
Valentin De Bortoli
 
1979 Optimal diffusions in a random environment
1979 Optimal diffusions in a random environment1979 Optimal diffusions in a random environment
1979 Optimal diffusions in a random environment
Bob Marcus
 
Quadrature
QuadratureQuadrature
Quadrature
Linh Tran
 
On Contra – RW Continuous Functions in Topological Spaces
On Contra – RW Continuous Functions in Topological SpacesOn Contra – RW Continuous Functions in Topological Spaces
On Contra – RW Continuous Functions in Topological Spaces
IJMER
 
11. gamma sag semi ti spaces in topological spaces
11. gamma sag semi ti spaces in topological spaces11. gamma sag semi ti spaces in topological spaces
11. gamma sag semi ti spaces in topological spacesAlexander Decker
 
Gamma sag semi ti spaces in topological spaces
 Gamma sag semi ti spaces in topological spaces Gamma sag semi ti spaces in topological spaces
Gamma sag semi ti spaces in topological spacesAlexander Decker
 
Gamma sag semi ti spaces in topological spaces
 Gamma sag semi ti spaces in topological spaces Gamma sag semi ti spaces in topological spaces
Gamma sag semi ti spaces in topological spaces
Alexander Decker
 
The Chase in Database Theory
The Chase in Database TheoryThe Chase in Database Theory
The Chase in Database Theory
Jan Hidders
 
Fixed Point Results In Fuzzy Menger Space With Common Property (E.A.)
Fixed Point Results In Fuzzy Menger Space With Common Property (E.A.)Fixed Point Results In Fuzzy Menger Space With Common Property (E.A.)
Fixed Point Results In Fuzzy Menger Space With Common Property (E.A.)
IJERA Editor
 
Limits and continuity[1]
Limits and continuity[1]Limits and continuity[1]
Limits and continuity[1]
indu thakur
 
Analysis and numerics of partial differential equations
Analysis and numerics of partial differential equationsAnalysis and numerics of partial differential equations
Analysis and numerics of partial differential equationsSpringer
 
Distributions
DistributionsDistributions
Distributions
adnan gilani
 
IVR - Chapter 1 - Introduction
IVR - Chapter 1 - IntroductionIVR - Chapter 1 - Introduction
IVR - Chapter 1 - Introduction
Charles Deledalle
 
Continuous random variables and probability distribution
Continuous random variables and probability distributionContinuous random variables and probability distribution
Continuous random variables and probability distribution
pkwilambo
 

Similar to A generalisation of the ratio-of-uniform algorithm (20)

Topology and Electrostatics
Topology and Electrostatics Topology and Electrostatics
Topology and Electrostatics
 
Applications of partial differentiation
Applications of partial differentiationApplications of partial differentiation
Applications of partial differentiation
 
Maximum likelihood estimation of regularisation parameters in inverse problem...
Maximum likelihood estimation of regularisation parameters in inverse problem...Maximum likelihood estimation of regularisation parameters in inverse problem...
Maximum likelihood estimation of regularisation parameters in inverse problem...
 
azEssay2
azEssay2azEssay2
azEssay2
 
1979 Optimal diffusions in a random environment
1979 Optimal diffusions in a random environment1979 Optimal diffusions in a random environment
1979 Optimal diffusions in a random environment
 
Quadrature
QuadratureQuadrature
Quadrature
 
On Contra – RW Continuous Functions in Topological Spaces
On Contra – RW Continuous Functions in Topological SpacesOn Contra – RW Continuous Functions in Topological Spaces
On Contra – RW Continuous Functions in Topological Spaces
 
11. gamma sag semi ti spaces in topological spaces
11. gamma sag semi ti spaces in topological spaces11. gamma sag semi ti spaces in topological spaces
11. gamma sag semi ti spaces in topological spaces
 
Gamma sag semi ti spaces in topological spaces
 Gamma sag semi ti spaces in topological spaces Gamma sag semi ti spaces in topological spaces
Gamma sag semi ti spaces in topological spaces
 
Gamma sag semi ti spaces in topological spaces
 Gamma sag semi ti spaces in topological spaces Gamma sag semi ti spaces in topological spaces
Gamma sag semi ti spaces in topological spaces
 
The Chase in Database Theory
The Chase in Database TheoryThe Chase in Database Theory
The Chase in Database Theory
 
Fixed Point Results In Fuzzy Menger Space With Common Property (E.A.)
Fixed Point Results In Fuzzy Menger Space With Common Property (E.A.)Fixed Point Results In Fuzzy Menger Space With Common Property (E.A.)
Fixed Point Results In Fuzzy Menger Space With Common Property (E.A.)
 
Calc 3.9a
Calc 3.9aCalc 3.9a
Calc 3.9a
 
Calc 3.9a
Calc 3.9aCalc 3.9a
Calc 3.9a
 
Limits and continuity[1]
Limits and continuity[1]Limits and continuity[1]
Limits and continuity[1]
 
Lecture11
Lecture11Lecture11
Lecture11
 
Analysis and numerics of partial differential equations
Analysis and numerics of partial differential equationsAnalysis and numerics of partial differential equations
Analysis and numerics of partial differential equations
 
Distributions
DistributionsDistributions
Distributions
 
IVR - Chapter 1 - Introduction
IVR - Chapter 1 - IntroductionIVR - Chapter 1 - Introduction
IVR - Chapter 1 - Introduction
 
Continuous random variables and probability distribution
Continuous random variables and probability distributionContinuous random variables and probability distribution
Continuous random variables and probability distribution
 

More from Christian Robert

Adaptive Restore algorithm & importance Monte Carlo
Adaptive Restore algorithm & importance Monte CarloAdaptive Restore algorithm & importance Monte Carlo
Adaptive Restore algorithm & importance Monte Carlo
Christian Robert
 
Asymptotics of ABC, lecture, Collège de France
Asymptotics of ABC, lecture, Collège de FranceAsymptotics of ABC, lecture, Collège de France
Asymptotics of ABC, lecture, Collège de France
Christian Robert
 
Workshop in honour of Don Poskitt and Gael Martin
Workshop in honour of Don Poskitt and Gael MartinWorkshop in honour of Don Poskitt and Gael Martin
Workshop in honour of Don Poskitt and Gael Martin
Christian Robert
 
discussion of ICML23.pdf
discussion of ICML23.pdfdiscussion of ICML23.pdf
discussion of ICML23.pdf
Christian Robert
 
How many components in a mixture?
How many components in a mixture?How many components in a mixture?
How many components in a mixture?
Christian Robert
 
restore.pdf
restore.pdfrestore.pdf
restore.pdf
Christian Robert
 
Testing for mixtures at BNP 13
Testing for mixtures at BNP 13Testing for mixtures at BNP 13
Testing for mixtures at BNP 13
Christian Robert
 
Inferring the number of components: dream or reality?
Inferring the number of components: dream or reality?Inferring the number of components: dream or reality?
Inferring the number of components: dream or reality?
Christian Robert
 
CDT 22 slides.pdf
CDT 22 slides.pdfCDT 22 slides.pdf
CDT 22 slides.pdf
Christian Robert
 
Testing for mixtures by seeking components
Testing for mixtures by seeking componentsTesting for mixtures by seeking components
Testing for mixtures by seeking components
Christian Robert
 
discussion on Bayesian restricted likelihood
discussion on Bayesian restricted likelihooddiscussion on Bayesian restricted likelihood
discussion on Bayesian restricted likelihood
Christian Robert
 
NCE, GANs & VAEs (and maybe BAC)
NCE, GANs & VAEs (and maybe BAC)NCE, GANs & VAEs (and maybe BAC)
NCE, GANs & VAEs (and maybe BAC)
Christian Robert
 
ABC-Gibbs
ABC-GibbsABC-Gibbs
ABC-Gibbs
Christian Robert
 
Coordinate sampler : A non-reversible Gibbs-like sampler
Coordinate sampler : A non-reversible Gibbs-like samplerCoordinate sampler : A non-reversible Gibbs-like sampler
Coordinate sampler : A non-reversible Gibbs-like sampler
Christian Robert
 
eugenics and statistics
eugenics and statisticseugenics and statistics
eugenics and statistics
Christian Robert
 
Laplace's Demon: seminar #1
Laplace's Demon: seminar #1Laplace's Demon: seminar #1
Laplace's Demon: seminar #1
Christian Robert
 
ABC-Gibbs
ABC-GibbsABC-Gibbs
ABC-Gibbs
Christian Robert
 
asymptotics of ABC
asymptotics of ABCasymptotics of ABC
asymptotics of ABC
Christian Robert
 
ABC-Gibbs
ABC-GibbsABC-Gibbs
ABC-Gibbs
Christian Robert
 
Likelihood-free Design: a discussion
Likelihood-free Design: a discussionLikelihood-free Design: a discussion
Likelihood-free Design: a discussion
Christian Robert
 

More from Christian Robert (20)

Adaptive Restore algorithm & importance Monte Carlo
Adaptive Restore algorithm & importance Monte CarloAdaptive Restore algorithm & importance Monte Carlo
Adaptive Restore algorithm & importance Monte Carlo
 
Asymptotics of ABC, lecture, Collège de France
Asymptotics of ABC, lecture, Collège de FranceAsymptotics of ABC, lecture, Collège de France
Asymptotics of ABC, lecture, Collège de France
 
Workshop in honour of Don Poskitt and Gael Martin
Workshop in honour of Don Poskitt and Gael MartinWorkshop in honour of Don Poskitt and Gael Martin
Workshop in honour of Don Poskitt and Gael Martin
 
discussion of ICML23.pdf
discussion of ICML23.pdfdiscussion of ICML23.pdf
discussion of ICML23.pdf
 
How many components in a mixture?
How many components in a mixture?How many components in a mixture?
How many components in a mixture?
 
restore.pdf
restore.pdfrestore.pdf
restore.pdf
 
Testing for mixtures at BNP 13
Testing for mixtures at BNP 13Testing for mixtures at BNP 13
Testing for mixtures at BNP 13
 
Inferring the number of components: dream or reality?
Inferring the number of components: dream or reality?Inferring the number of components: dream or reality?
Inferring the number of components: dream or reality?
 
CDT 22 slides.pdf
CDT 22 slides.pdfCDT 22 slides.pdf
CDT 22 slides.pdf
 
Testing for mixtures by seeking components
Testing for mixtures by seeking componentsTesting for mixtures by seeking components
Testing for mixtures by seeking components
 
discussion on Bayesian restricted likelihood
discussion on Bayesian restricted likelihooddiscussion on Bayesian restricted likelihood
discussion on Bayesian restricted likelihood
 
NCE, GANs & VAEs (and maybe BAC)
NCE, GANs & VAEs (and maybe BAC)NCE, GANs & VAEs (and maybe BAC)
NCE, GANs & VAEs (and maybe BAC)
 
ABC-Gibbs
ABC-GibbsABC-Gibbs
ABC-Gibbs
 
Coordinate sampler : A non-reversible Gibbs-like sampler
Coordinate sampler : A non-reversible Gibbs-like samplerCoordinate sampler : A non-reversible Gibbs-like sampler
Coordinate sampler : A non-reversible Gibbs-like sampler
 
eugenics and statistics
eugenics and statisticseugenics and statistics
eugenics and statistics
 
Laplace's Demon: seminar #1
Laplace's Demon: seminar #1Laplace's Demon: seminar #1
Laplace's Demon: seminar #1
 
ABC-Gibbs
ABC-GibbsABC-Gibbs
ABC-Gibbs
 
asymptotics of ABC
asymptotics of ABCasymptotics of ABC
asymptotics of ABC
 
ABC-Gibbs
ABC-GibbsABC-Gibbs
ABC-Gibbs
 
Likelihood-free Design: a discussion
Likelihood-free Design: a discussionLikelihood-free Design: a discussion
Likelihood-free Design: a discussion
 

Recently uploaded

THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
Sérgio Sacani
 
Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.
Nistarini College, Purulia (W.B) India
 
platelets_clotting_biogenesis.clot retractionpptx
platelets_clotting_biogenesis.clot retractionpptxplatelets_clotting_biogenesis.clot retractionpptx
platelets_clotting_biogenesis.clot retractionpptx
muralinath2
 
Leaf Initiation, Growth and Differentiation.pdf
Leaf Initiation, Growth and Differentiation.pdfLeaf Initiation, Growth and Differentiation.pdf
Leaf Initiation, Growth and Differentiation.pdf
RenuJangid3
 
erythropoiesis-I_mechanism& clinical significance.pptx
erythropoiesis-I_mechanism& clinical significance.pptxerythropoiesis-I_mechanism& clinical significance.pptx
erythropoiesis-I_mechanism& clinical significance.pptx
muralinath2
 
Seminar of U.V. Spectroscopy by SAMIR PANDA
 Seminar of U.V. Spectroscopy by SAMIR PANDA Seminar of U.V. Spectroscopy by SAMIR PANDA
Seminar of U.V. Spectroscopy by SAMIR PANDA
SAMIR PANDA
 
Deep Software Variability and Frictionless Reproducibility
Deep Software Variability and Frictionless ReproducibilityDeep Software Variability and Frictionless Reproducibility
Deep Software Variability and Frictionless Reproducibility
University of Rennes, INSA Rennes, Inria/IRISA, CNRS
 
Lateral Ventricles.pdf very easy good diagrams comprehensive
Lateral Ventricles.pdf very easy good diagrams comprehensiveLateral Ventricles.pdf very easy good diagrams comprehensive
Lateral Ventricles.pdf very easy good diagrams comprehensive
silvermistyshot
 
Orion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWSOrion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWS
Columbia Weather Systems
 
What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.
moosaasad1975
 
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptxBody fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
muralinath2
 
Nutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technologyNutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technology
Lokesh Patil
 
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
Scintica Instrumentation
 
BLOOD AND BLOOD COMPONENT- introduction to blood physiology
BLOOD AND BLOOD COMPONENT- introduction to blood physiologyBLOOD AND BLOOD COMPONENT- introduction to blood physiology
BLOOD AND BLOOD COMPONENT- introduction to blood physiology
NoelManyise1
 
Hemoglobin metabolism_pathophysiology.pptx
Hemoglobin metabolism_pathophysiology.pptxHemoglobin metabolism_pathophysiology.pptx
Hemoglobin metabolism_pathophysiology.pptx
muralinath2
 
GBSN - Microbiology (Lab 4) Culture Media
GBSN - Microbiology (Lab 4) Culture MediaGBSN - Microbiology (Lab 4) Culture Media
GBSN - Microbiology (Lab 4) Culture Media
Areesha Ahmad
 
PRESENTATION ABOUT PRINCIPLE OF COSMATIC EVALUATION
PRESENTATION ABOUT PRINCIPLE OF COSMATIC EVALUATIONPRESENTATION ABOUT PRINCIPLE OF COSMATIC EVALUATION
PRESENTATION ABOUT PRINCIPLE OF COSMATIC EVALUATION
ChetanK57
 
Salas, V. (2024) "John of St. Thomas (Poinsot) on the Science of Sacred Theol...
Salas, V. (2024) "John of St. Thomas (Poinsot) on the Science of Sacred Theol...Salas, V. (2024) "John of St. Thomas (Poinsot) on the Science of Sacred Theol...
Salas, V. (2024) "John of St. Thomas (Poinsot) on the Science of Sacred Theol...
Studia Poinsotiana
 
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
yqqaatn0
 
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
Ana Luísa Pinho
 

Recently uploaded (20)

THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
 
Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.
 
platelets_clotting_biogenesis.clot retractionpptx
platelets_clotting_biogenesis.clot retractionpptxplatelets_clotting_biogenesis.clot retractionpptx
platelets_clotting_biogenesis.clot retractionpptx
 
Leaf Initiation, Growth and Differentiation.pdf
Leaf Initiation, Growth and Differentiation.pdfLeaf Initiation, Growth and Differentiation.pdf
Leaf Initiation, Growth and Differentiation.pdf
 
erythropoiesis-I_mechanism& clinical significance.pptx
erythropoiesis-I_mechanism& clinical significance.pptxerythropoiesis-I_mechanism& clinical significance.pptx
erythropoiesis-I_mechanism& clinical significance.pptx
 
Seminar of U.V. Spectroscopy by SAMIR PANDA
 Seminar of U.V. Spectroscopy by SAMIR PANDA Seminar of U.V. Spectroscopy by SAMIR PANDA
Seminar of U.V. Spectroscopy by SAMIR PANDA
 
Deep Software Variability and Frictionless Reproducibility
Deep Software Variability and Frictionless ReproducibilityDeep Software Variability and Frictionless Reproducibility
Deep Software Variability and Frictionless Reproducibility
 
Lateral Ventricles.pdf very easy good diagrams comprehensive
Lateral Ventricles.pdf very easy good diagrams comprehensiveLateral Ventricles.pdf very easy good diagrams comprehensive
Lateral Ventricles.pdf very easy good diagrams comprehensive
 
Orion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWSOrion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWS
 
What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.
 
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptxBody fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
 
Nutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technologyNutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technology
 
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
 
BLOOD AND BLOOD COMPONENT- introduction to blood physiology
BLOOD AND BLOOD COMPONENT- introduction to blood physiologyBLOOD AND BLOOD COMPONENT- introduction to blood physiology
BLOOD AND BLOOD COMPONENT- introduction to blood physiology
 
Hemoglobin metabolism_pathophysiology.pptx
Hemoglobin metabolism_pathophysiology.pptxHemoglobin metabolism_pathophysiology.pptx
Hemoglobin metabolism_pathophysiology.pptx
 
GBSN - Microbiology (Lab 4) Culture Media
GBSN - Microbiology (Lab 4) Culture MediaGBSN - Microbiology (Lab 4) Culture Media
GBSN - Microbiology (Lab 4) Culture Media
 
PRESENTATION ABOUT PRINCIPLE OF COSMATIC EVALUATION
PRESENTATION ABOUT PRINCIPLE OF COSMATIC EVALUATIONPRESENTATION ABOUT PRINCIPLE OF COSMATIC EVALUATION
PRESENTATION ABOUT PRINCIPLE OF COSMATIC EVALUATION
 
Salas, V. (2024) "John of St. Thomas (Poinsot) on the Science of Sacred Theol...
Salas, V. (2024) "John of St. Thomas (Poinsot) on the Science of Sacred Theol...Salas, V. (2024) "John of St. Thomas (Poinsot) on the Science of Sacred Theol...
Salas, V. (2024) "John of St. Thomas (Poinsot) on the Science of Sacred Theol...
 
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
 
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
 

A generalisation of the ratio-of-uniform algorithm

  • 1. On a generalisation of the ratio-of-uniform algorithm Christian P. Robert Universit´e Paris-Dauphine, CEREMADE, and CREST, Paris 1. CORE One specific approach to random number generation (Devroye, 1986) that pro- ceeds from the fundamental lemma of simulation Robert and Casella (2004) is the ratio-of-uniform method (Kinderman et al., 1977). It is commonly used for the most standard distributions as it can be calibrated to produce high acceptance probability with a minimal number of operations. The said method is based on the result that the uniform distribution on the set A = (u; v) ∈ R+ × X; 0 ≤ u2 ≤ f(v/u) induces a marginal distribution with density proportional to f for the random variable V = U. This lemma explains for the name of the method, despite neither U nor V being marginally uniform variates. The proof of this result is a straight- forward application of the transform method, since, if (U, V ) ∼ U(A), then the density of (W, X) = (U2, V/U) is ˜f(w, x) ∝ IA(w 1/2 , w 1/2 x) × w 1/2 × 1 2w1/2 ∝ I0≤w≤f(x) As mentioned already, this is therefore a consequence of the fundamental lemma of simulation, since we recover the uniform distribution on the set B = (u; v) ∈ R+ × X; 0 ≤ u ≤ f(v) which clearly induces the marginal distribution with density proportional to f on V . While there is thus no mathematical issue with the marginalisation result behind the ratio-of-uniform method, it is much less straightforward to picture the construction of efficient random number generators based on this principle, when compared with the fundamental lemma. The first difficulty is to determine the shape of the set A, for which there is little intuition if any. Figure 1 displays the resulting sets A for the Normal N(0, 1) and the Gamma Ga(1/2, 1) distributions. The later is unbounded in u, due to the asymptote of the density f at x = 0. In the general case, the boundary of the set A is given by the parametric curve (Devroye, 1986) u(x) = f(x), v(x) = x f(x), x ∈ X . ∗ Christian P. Robert, CEREMADE, Universit´e Paris-Dauphine, 75775 Paris cedex 16, France xian@ceremade.dauphine.fr. Research partly supported by a Institut Universitaire de France 2016– 2021 senior chair. C.P. Robert is also affiliated as a part-time professor in the Department of Statistics of the University of Warwick, Coventry, UK. 1 imsart-sts ver. 2009/02/27 file: ratiU.tex date: November 18, 2016
  • 2. 2 Fig 1. Representation of the ratio-of-uniform set A for the Normal N(0, 1) and the Gamma Ga(1/2, 1) distributions. In the event where X ⊂ R and both f(x) and x2f(x) are bounded over X, it is formally possible to create a cube in R+ × X around A and to deduce an accept-reject strategy, based on uniform simulations in that cube. Using a two component normal mixture as a benchmark, the following pictures (Figures 2 and 3) show that the set A is then bounded, albeit quite sparse in the cube that contains it. This implies that the ratio-of-uniform method would not be efficient in that situation. As pointed out in Devroye (1986), since a simulation from f can also be derived by uniform simulations on sets like C = (u; v) ∈ R+ × X; 0 ≤ u ≤ f(u + v) with a marginalisation in U + V , or D = (u; v) ∈ R+ × X; 0 ≤ u2 ≤ f(v/ √ u)3 with a marginalisation in V/ √ U. As we will now demonstrate, there exists a generic construction of such sets. However, it seems impossible to rank those sets in terms of efficiency in the general case. (This comparison only stands under the assumption that all relevant functions are properly bounded to allow for bound- ing boxes.) Even without seeking a bounding box and the associated uniform distribution on that set, it seems delicate to compare slice samplers on the three sets A, C, D, and their generalisations. 2. EXTENSION There exists a generic family of transforms that generalises the original ratio- of- uniform method. Namely, considering a differentiable monotone function h over the positive half-line, R+, the uniform distribution over the set H = (u; v) ∈ R+ × X; 0 ≤ u ≤ h ◦ f(v/g(u)) induces the right marginal f on the ratio V/g(U) if the primitive G of g is the inverse of h, i.e., G ◦ h(x) = x. The proof is rather straightforward. Considering imsart-sts ver. 2009/02/27 file: ratiU.tex date: November 18, 2016
  • 3. 3 Fig 2. Set A for a two component Normal mixture. Fig 3. Set A for a four component Normal mixture. imsart-sts ver. 2009/02/27 file: ratiU.tex date: November 18, 2016
  • 4. 4 the change of variable from (u, v) to (u, x) = (u, v/g(u)) produces a Jacobian of g(u) and a joint density U, X ∼ I0≤u≤h◦f(x)(u, x) g(u) which integrates into X ∼ h◦f(x) 0 g(u) du = G ◦ h ◦ f(x) = f(x) when G ◦ f = id. The corresponding boundary of H is then provided by the parameterised curve u(x) = h ◦ f(x), v(x) = x(g ◦ h ◦ f)(x), x ∈ X . For instance, when h(x) = xa, a power transform, the boundary can be written as u(x) = f(x)a , v(x) = xf(x)1−a , x ∈ X . Similarly, when h(x) = exp(x), the ratio-of-uniform set is defined as H = (u; v) ∈ R+ × X; 1 ≤ u ≤ exp{f(vu)} with the curve u(x) = exp{f(x)}, v(x) = x exp{−f(x)}, x ∈ X . Note the change of range for u in that case. One appeal of this generalisation is the formal possibility to include unbounded densities and still produce compact boxes, as this seems essential for accept-reject simulation if not for slice sampling. One possible choice for h is the generalised logistic transform h(ω) = ωa 1 + ωa which ensures that the [ratio-of-almost-uniform] set H is bounded in u. Since the transform g is the derivative of the inverse of h, g(y) = a−1y(1−a)/a (1 − y)(1+a)/a . the parametrisation of the boundary of H is u(x) = f(x)a (1 + f(x))a , v(x) = a−1 xf(x)a−1 (1 + f(x))−2 [(1 + f(x)a − f(x)a ]−1+a/a which means H remains bounded if (a) a ≤ 1 [to ensure boundedness at infinity] and (b) the limit of v(x) at zero [where the asymptote of f must stand] is bounded. This is satisfied if lim x→0 xf(x) a+1/a < +∞ . For instance, this constraint holds for Gamma distributions with shape parameter larger than 1/2. imsart-sts ver. 2009/02/27 file: ratiU.tex date: November 18, 2016
  • 5. 5 However, resorting to an arbitrary cdf Φ instead of the generalised logistic cdf solves the difficulty for most distributions, including all Gamma distributions. (Note that the power a is superfluous since Φa is also a cdf. Nonetheless, using this representation brings an easier calibration of the proposal.) Indeed, the relevant set is now H = (u; v) ∈ R+ × X; 0 ≤ u ≤ Φ(f(v/g(u)))a while the boundary of H is u(x) = Φ(f(x))a , v(x) = a−1 xf(x) 1−a/a /ϕ ◦ f(x), x ∈ X , when ϕ is the derivative of Φ. This can be seen from G(u) = Φ−1(u1/a ) and g(u) = a−1 u 1−a/a ϕ(Φ−1 (u 1/a )) which implies that g(u(x)) = a−1 f(x) 1−a/a ϕ(Φ−1 (Φ(f(x)))) . This result means that the set remains bounded if ϕ has heavy enough tails, like x−2, to handle the explosion at x = 0. Obviously, the density ϕ must further enjoy an asymptote at zero to handle the limit at infinity when f(x) goes to zero. For instance, consider the case when a = 1, meaning the boundary of H is u(x) = Φ(f(x)), v(x) = 1/ϕ ◦ f(x), and assume f(x) ≡ x− at x = 0 and ϕ(y) ≡ y−α−1 at y = +∞. At x = 0 we then have v(x) ≡ x1− (α+1), which is a positive power for α small enough. Furthermore, if f(x) ≡ x−δ−1 at x = ∞ and ϕ(y) ≡ y−β at y = 0, then at x = +∞, we have v(x) ≡ x1−β(δ+1), which is a negative power for β close enough to 1. However, this type of tail behaviour in Φ is not sufficient to handle a Gamma distribution Ga(1 − , 1) (0 < < 1) since the exponential term is dominant at ∞. Take thus a transform such that φ(x) is equivalent to log{1/x}b (b > 0) near zero. Then, at ∞ x/ϕ◦f(x) ≡ x {(−(1 − ) log(x) + x}−b ≡ x1−b which remains bounded when b > 1, as for instance b = 2. The behaviour of x/ϕ◦f(x) is easier to manage since f is then equivalent to x1− . If the tail behaviour of ϕ at infinity is polynomial, i.e., ϕ(y) ≡ y−1−ν, we get x/ϕ◦f(x) ≡ x x−1+ −(1+ν) ≡ x1−(1− )(1+ν) at infinity, which remains bounded when (1 − )(1 + ν) < 1, i.e., ν < /1− . For practical purposes, we consider the mixture density 0 < γ < 1) ϕ(x) = γ 2 log(x)2 1 + (1 + log(2))2 I(0,1/2)(x) + (1 − γ) ν{3/2}ν (1 + x)ν+1 I(0,1/2)c (x) which is normalised, continuous at x = 1/2 when γ = 1 1 + 3ν log(2)2 /1+(1+log(2))2 imsart-sts ver. 2009/02/27 file: ratiU.tex date: November 18, 2016
  • 6. 6 Fig 4. Set H for (a) Ga(0.1, 1) target; (b) Ga(0.5, 1) target; (c) Ga(0.9, 1) target, when ν = .9 /(1 − ). imsart-sts ver. 2009/02/27 file: ratiU.tex date: November 18, 2016
  • 7. 7 and associated with the cdf Φ(x) = γ 2x[(1 − log(x))2 + 1] 1 + (1 + log(2))2 I(0,1/2)(x)+ γ + (1 − γ) 1 − (3/2)ν (1 + x)ν I(0,1/2)c (x) Figure 4 produces three different bounded sets for Ga(α, 1) distributions based on the above mixture transform Φ. Obviously, given the shape of those sets, using a rectangular box does not lead to an efficient simulation algorithm. (This goes without mentioning that a Ga(1 − , 1) distribution can be derived from a Ga(2 − , 1) by multiplying a simulation from the former by U−1/1− .) REFERENCES Devroye, L. (1986). Non-Uniform Random Variate Generation. Springer-Verlag, New York. URL http://cgm.cs.mcgill.ca/~luc/rnbookindex.html. Kinderman, A., Monahan, J. and Ramage, J. (1977). Computer methods for sampling from Student’s t-distribution. Math. Comput., 31 1009–1018. Robert, C. and Casella, G. (2004). Monte Carlo Statistical Methods. 2nd ed. Springer-Verlag, New York. imsart-sts ver. 2009/02/27 file: ratiU.tex date: November 18, 2016