1.3.12 · D5Probability & Statistics

Question bank — Uniform, Exponential, and Beta distributions

1,396 words6 min readBack to topic

This is a trap-spotting page for Uniform, Exponential, and Beta distributions. Every line below is a question ::: answer reveal. Read the question, commit to an answer in your head, THEN reveal. If your gut answer disagrees with the reasoning, you found a misconception worth fixing.

Prerequisites worth having open: Continuous Random Variables and PDFs, Poisson Process, Bayesian Inference and Conjugate Priors.


True or false — justify

A density value bigger than 1 is impossible
False — a density is not a probability. For the height is ; only the area under the curve must be , and here width height .
For , the probability of landing exactly at the midpoint is the highest
False — every single point has probability exactly for a continuous variable. The midpoint is only special as the mean, not as a more-likely outcome.
The exponential distribution is the continuous cousin of the geometric distribution
True — both count "waiting until the first success/event" and both are the only memoryless distributions in their world (continuous vs. discrete).
If waiting times between bus arrivals are , then after waiting 10 minutes you are "due" for a bus soon
False — memorylessness means the remaining wait has the same distribution as a fresh start. The process does not remember that you waited.
is a completely different animal from the uniform distribution
False — plug : the PDF becomes on , which is exactly .
Larger in means longer waiting times
False — is the rate; mean wait is . Bigger rate → events pack closer → shorter waits.
Increasing both and (keeping their ratio fixed) sharpens a Beta's peak
True — the mean stays put, but larger pseudo-counts mean more "evidence", so the distribution narrows around that mean (higher confidence).
The exponential PDF is a valid probability density even though can exceed 1
True — for , . Again density probability; is what matters.
A Beta distribution can be U-shaped
True — when and the exponents are negative, so the density blows up toward both and , giving a bathtub shape (belief concentrated at the extremes).
The variance of depends on where the interval sits on the number line
False — depends only on the width ; shifting left or right changes the mean, not the spread.

Spot the error

"Mean of is because the is right there in the formula."
The error is reading as the mean. Mean is . The visible number is the rate, not the time.
"To find the 95th percentile of , I set and solve."
Wrong tail. The CDF is ; the 95th percentile solves , i.e. . You solved for the 5th percentile.
"Beta has support on all real numbers, like the normal distribution."
False support — Beta lives strictly on , which is exactly why it models probabilities and proportions.
"Since has constant density, its CDF is also constant."
The PDF is constant, but the CDF rises linearly from to — a ramp, not a flat line.
"For , the mode equals the mean ."
Only when (symmetric). In general the mode is (for ); mean and mode differ for skewed Betas.
" so ."
Off by one shift — , so , not . This shift is why uses exponents .
"The exponential can model a component whose failure rate rises with age."
No — exponential encodes a constant hazard rate (memorylessness). Aging (rising hazard) needs a Weibull or gamma, not exponential.

Why questions

Why must the uniform density equal exactly and no other constant?
Because a constant over width must integrate to : . Any other value would make the total probability wrong.
Why does the exponential come out of a Poisson process specifically?
The chance of zero events in time is ; "wait exceeds " is the same event, so and differentiating gives the exponential PDF.
Why is Beta called the "conjugate prior" for the Bernoulli/Binomial?
Because a Beta prior times a Binomial likelihood is proportional to another Beta — you just add successes to and failures to . The belief stays in the same family, so updating is bookkeeping. See Bayesian Inference and Conjugate Priors.
Why do we interpret and as "pseudo-counts"?
Because posterior shows heads and tails literally added on — so act like prior imaginary successes and failures baked into your belief before any real data.
Why does memorylessness make exponential the natural model for "time between server requests"?
Requests arrive independently at a steady average rate; how long you've already waited gives no clue about the next one — exactly the "process forgets the past" behaviour exponential enforces.
Why is the right initializer scale in Xavier and He Initialization?
Its variance scales like , keeping signal variance roughly constant across layers so gradients neither vanish nor explode.
Why can the uniform distribution represent "total ignorance"?
Because it assigns equal density everywhere in its range — no point is preferred, which is the mathematical statement of having no reason to favour any outcome. It's also the maximum-entropy distribution on a bounded interval.
Why does Beta's mean read like a success fraction?
Because after seeing successes and failures, your best estimate of the true probability is essentially (successes)/(total), smoothed by the prior — a Laplace-style estimate.

Edge cases

What happens to as ?
The width shrinks to , the density , and the distribution collapses to a point mass at — variance .
What is the exponential PDF at , and is that a problem?
, a finite positive value — the density is largest right at the start and decays from there. Not a problem: it's still a valid density since the area is .
What does do at the boundaries and when or ?
The density diverges (goes to ) at that boundary, yet the integral stays finite — the spike is integrable, modelling strong belief that the true probability sits near an extreme.
Is the exponential defined for ?
No — must be . A zero or negative rate makes non-normalizable or negative, so it cannot be a density.
What distribution is when and grow huge with equal ratio?
It concentrates into an ever-narrower spike around its mean — in the limit it behaves like a point mass, i.e. near-certainty about the probability's value.
For , what is for any specific ?
Exactly — like all continuous variables, only intervals carry positive probability; asking for an exact instant always gives zero.
What happens to the exponential's mean and variance as ?
Mean and variance — events arrive so fast the waiting time collapses toward zero with vanishing spread.
Recall Quick self-test

is rate or time? ::: Rate — mean time is . equals which distribution? ::: . Which continuous distribution alone is memoryless? ::: The exponential. Does a density above 1 break anything? ::: No — only the total area must be 1.