Sampling from a distribution
[18/100%]If is uniformly distributed on , what is the distribution of ?
Given the first integers in any sequence , proceed thus:
(a) pick any position from at random, and swap the integer in that place of with the integer in the th place of , yielding .
(b) pick any position from at random, and swap the integer in that place of with the integer in the th place of , yielding ,
(c) at the th stage the integer in position , chosen randomly from , is swapped with the integer at the th place of the sequence . Show that is equally likely to be any of the ! permutations of .
Use the rejection method to sample from the gamma density where may not be assumed integral. [Hint: You might want to start with an exponential random variable with parameter .]
Show how to sample from the beta density where . [Hint: Use Exercise (4.11.3).]
Describe three distinct methods of sampling from the density .
A finite real vector is called a probability vector if it has non-negative entries with sum 1. Show that a probability vector of length may be written in the form
where each is a probability vector with at most two non-zero entries. Describe a method, based on this observation, for sampling from viewed as a probability mass function.
Let and be independent and uniformly distributed on , and let . Show that, conditional on the event that ,
are independent standard normal random variables.
Let be uniform on and . Show that has a geometric distribution.
A point is picked uniformly at random in the semicircle . What is the distribution of ?
Let be a non-negative integer-valued random variable with . If are independent and uniform on , show that has the same distribution as .
Let be an increasing function in all its variables, and let be independent and identically distributed random variables having the uniform distribution on . Show that
[Hint: Use the FKG inequality of Problem (3.11.18).] Explain how this can help in the efficient estimation of .
We wish to estimate , where either it is difficult to sample from the density , or has a very large variance. Let be equivalent to , which is to say that, for all if and only if . Let be independent random variables with density function , and define
A technique invented by J. M. Hammersley and K. W. Morton in 1956.
Show that:
,
,
as . (See Chapter 7 for an account of convergence.)
The idea here is that should be easy to sample from, and chosen if possible so that is much smaller than . The function is called the importance density.
Construct two distinct methods of sampling from the arc sine density function
Let be a random point chosen uniformly on the unit disk. Show that
is uniformly distributed on the unit sphere.
It is desired to sample from a density function satisfying where , and for some random variable . Let be uniformly distributed on , and independent of . From and , we generate another random variable as follows. If , let have density ; otherwise set . Show that has density function .
The function defined in Theorem (4.11.1) may be called the quantile function of the random variable in question.
For a random variable with the uniform distribution on , and a continuously increasing function , show that the quantile function of is .
For a random variable with distribution function and density function , define , where is as in part (a). The Hardy-Littlewood transform of is defined as , where is uniformly distributed on and independent of . Show that the quantile function of is , for .
For an arbitrary (not necessarily continuous) distribution function , define
Let be uniformly distributed on and independent of . We call the generalized distributional transform of . Show that is uniformly distributed on , and that the random variable has distribution function .
Let be a random vector with joint distribution function and continuous marginal distribution functions . Show that there exists a 'copula-form' distribution function such that . [A 'copula-form' distribution function is one with the property that all its marginals are uniform on ].