Exercises
ex-ch22-01
EasyShow that the set of rational numbers has Lebesgue measure zero.
Enumerate the rationals as and cover each with a small interval.
Countable cover
Let . Enumerate and cover by the interval . The total length is . Since for every , .
ex-ch22-02
EasyVerify that is a -algebra for any .
Check the three axioms: , closure under complementation, closure under countable unions.
Axiom check
- by construction.
- , , , .
- Any countable union of elements from yields one of , all of which are in .
ex-ch22-03
MediumLet on with Lebesgue measure. Compute directly, and verify that the DCT does NOT apply (find why no dominating function exists), yet the MCT also does not apply (the sequence is not monotone).
Compute explicitly.
Check: does pointwise? What is ?
Try to find with for all .
Direct computation
.
Pointwise limit
For : (exponential decay beats linear growth). At : . So a.e. on (the point has measure zero), but .
Why DCT and MCT fail
DCT: For near 1, is unbounded, and there is no integrable dominating function with for all . MCT: is not monotone (for fixed , first increases then decreases as grows). This example shows that convergence theorems have genuine hypotheses.
ex-ch22-04
MediumShow that the Cantor set has Lebesgue measure zero but is uncountable.
The Cantor set construction removes of the remaining length at each step.
For uncountability, use a ternary expansion argument.
Measure zero
At step , we have intervals each of length , so the total remaining length is . The Cantor set is the intersection, so for all , giving .
Uncountability
Each has a ternary expansion using only digits 0 and 2: with . The map is a bijection from onto (via binary expansions). Since is uncountable, so is .
ex-ch22-05
MediumLet be a random variable. Show that is a -algebra.
Verify the three axioms using properties of preimages.
Axiom 1
.
Axiom 2
If , then since .
Axiom 3
If for , then since .
ex-ch22-06
HardProve that the Borel -algebra is generated by the collection of half-open intervals .
Show that every open interval can be written using half-open intervals.
Use .
Open intervals from half-open
(for large enough ). And , which is in .
Borel sets from open intervals
Every open set in is a countable union of open intervals. Since is generated by open sets, and we can generate all open sets from half-open intervals, the two -algebras are equal.
ex-ch22-07
EasyIf is a measure with and with , prove that (monotonicity).
Write and use finite additivity.
Decompose
is a disjoint union, so since .
ex-ch22-08
MediumLet be a random variable with and let . Show that minimizes over all -measurable .
Expand where .
Show the cross term vanishes.
Expand the squared error
Let . Then:
Cross term vanishes
is -measurable, so by "taking out what is known": since .
Conclude
, with equality iff a.s.
ex-ch22-09
MediumProve the tower property: if and , then a.s.
Verify the two defining conditions for conditional expectation.
Check measurability
is -measurable by definition.
Check the integral condition
For any : (by the defining property of , since ). Also . So both sides agree on all , proving by uniqueness that they are equal a.s.
ex-ch22-10
HardLet where are i.i.d. with and . Show that is a martingale with respect to .
Compute by expanding .
Expand
.
Take conditional expectation
. Hence .
ex-ch22-11
Hard(Polya urn) An urn initially contains 1 red and 1 blue ball. At each step, draw a ball uniformly at random, then return it together with one new ball of the same color. Let be the fraction of red balls after draws. Show that is a martingale and find its a.s. limit distribution.
After draws, the urn has balls. If there are red, .
Compute by conditioning on the color drawn.
Martingale property
Let be the number of red balls after draws ( total). Then:
- With probability , we draw red: .
- With probability , we draw blue: .
.
Convergence
is a martingale bounded in , so by the martingale convergence theorem, a.s. One can show using exchangeability (de Finetti's theorem) or by computing moments.
ex-ch22-12
EasyLet and . Compute .
Both have densities w.r.t. Lebesgue measure. Use the chain rule.
Compute the ratio
$
ex-ch22-13
MediumShow that when .
Use the change-of-measure formula with .
Apply the change of measure
.
ex-ch22-14
MediumLet be i.i.d. under and i.i.d. under . Compute the log-likelihood ratio and identify the sufficient statistic.
Use the product form for independent observations.
Product of individual ratios
$
Log-likelihood ratio and sufficient statistic
T = \sum_{i=1}^n x_i = n\bar{x}H_0T > \eta$.
ex-ch22-15
HardShow that the likelihood ratio process is a martingale under , and use the optional stopping theorem to derive the operating characteristics of Wald's SPRT.
For the martingale property, compute .
For the SPRT, the test stops when hits either or .
Martingale property
$
SPRT operating characteristics
The SPRT stops at . By optional stopping (with appropriate regularity conditions): . Since with probability (false alarm) and with probability : . Combined with a similar equation under , one gets and the miss probability (Wald's approximation).
ex-ch22-16
ChallengeProve Fatou's lemma: if is a sequence of non-negative measurable functions, then .
Define . Then and .
Apply the MCT to .
Set up
Define . Then (so ) and (the infimum over a shrinking set is non-decreasing). Also .
Apply MCT
By the monotone convergence theorem: . Since for all : .
ex-ch22-17
MediumShow that if (mutually singular), then does not exist.
If existed, then for all .
Use the set with and .
Contradiction
Since , there exists with and . If existed, then (since ). But , contradiction.
ex-ch22-18
HardLet and be probability measures on with . Prove Jensen's inequality for conditional expectation: if is convex and , then a.s.
Use the supporting hyperplane characterization of convexity.
For each , for some .
Supporting line
Since is convex, for every there exists (subgradient) with for all .
Substitute and condition
Set (which is -measurable) and : . Take of both sides. The left side gives . On the right, use "taking out what is known" and . Result: .
ex-ch22-19
Challenge(Doob's martingale) Let and be a filtration. Define . Show that is a martingale. This is the prototype for all martingales that arise in statistical inference: the "running best estimate" of a quantity as information accumulates.
Use the tower property.
Adaptedness and integrability
is -measurable by definition. .
Martingale property via tower
by the tower property (since ).
ex-ch22-20
MediumVerify that the change-of-measure formula holds: if and is bounded and measurable, then .
Start with indicator functions, extend by linearity and MCT.
Indicators
For : .
General case
By linearity, the formula holds for simple functions. For general , approximate by simple and apply MCT on both sides. For general bounded , use .