If and , show that is exponential with rate . How does this give a way to sample, and what is for , ?
Probability and statistics, Transformations of variables
Level L3 Intermediate. Length Medium. Nature Mat Mathematical.
What's being asked
The CDF method for a monotone transformation of a random variable (inverse-transform sampling).
Key idea
For a decreasing map , . Here .
Steps
- Note so and .
- For : , since is decreasing.
- The CDF of a uniform is on , so . This is the exponential survival function.
- Differentiate to confirm the density: .
- Use as a sampler: draw from a uniform generator and output . ( is also uniform, so is the usual inverse CDF.)
- Example: , gives .
Common mistakes
- Forgetting that the map is decreasing and writing , which gives .
- Forgetting the factor . Without it would have rate 1.
- Working with densities and omitting the Jacobian factor, if you use the density method instead of the CDF.
How long your answer should be
Half a page; 4 minutes.
Last checked on 4 December 2026.
Read this
Previous in Probability and statistics: Event counts are Poisson. You use a Gamma prior with shape and rate , whose density is . You observe counts . What are the posterior, its mean, the MAP estimate and the MLE?
Next in Probability and statistics: is bivariate Gaussian with means and covariance . Why is Gaussian, and what are its mean and variance at ?