Sheet 1
††course: Wahrscheinlichkeitstheorie 1††semester: FSS 2022††tutorialDate: 21.02.2022††dueDate: 10:15 in the exercise on Monday 21.02.2022Exercise 1 (Properties of Conditional Expectation).
Let and be two integrable random variables, -Algebras.
-
(i)
Prove and a.s.
Solution.
Using the second defining property of conditional expectation with the set we have
For the second claim we simply check the definition of conditional expectation for the constant function . Since constants are measureable with regard to any -algebra, the first requirement is a given, the second one is trivial. ∎
-
(ii)
Prove a.s.
Solution.
Since is by definition measurable and we have , it is also measurable. We therefore have
To show that , we will show that fulfills the defining requirements. measurability is obvious, what is left to show is that for any we have
-
(iii)
Assume that almost surely. Prove that, almost surely, and .
Solution.
Due to symmetry it is sufficient to prove . To show this we simply check the defining properties of . First, is measurable by definition, and second, we have for all
Exercise 2.
The following questions are independent.
-
(i)
Let and be i.i.d. Bernoulli variables: for some . We set . Compute and . Are these random variables independent?
Solution.
First, due to we can write
as for . So we only need to think about the first term. First, we have
and due to we get
Collecting all three results together, results in
Due to symmetry we get the same result for which implies a.s. In particular they are not independent! ∎
-
(ii)
Let be a square-integrable random variable and a sub--algebra. We define the conditional variance
Prove the following identity:
Solution.
Recall that we have , the same holds true for the conditional variance:
(1) With those identities we can directly prove our claim by calculation
Exercise 3 (Factorization lemma).
(Important!) Let be random variables. Show that, if is -measurable, then there exists a measurable function , such that .
Solution.
First we consider simple functions, i.e.
for and for all . Without loss of generality we can assume the to be disjoint and for . This, together with the fact that is supposed to be measurable, implies there exists some s.t. for all , because we have
Hence we have
where is measurable.
Now we just assume is -measurable, which implies there exists a sequence of -measurable simple functions with . Taking intersections of the indicator sets of and implies that is a simple function too, which can be written as . Since converges we have
using without loss of generality. And is measurable as a limit of measurable functions. Note that is well defined as with is monotonously increasing although it might be infinite. This is why we used the telescoping trick. Splitting into yields the general case. ∎
Exercise 4 (Best Estimators).
Let be a real random variable.
-
(i)
Find the estimator minimizing when is discrete. What is the best estimator for a dice roll using this loss?
Solution.
The best estimator is the maximum likelihood estimator , as
So for a fair dice, any of its faces is a minimizer. ∎
We define the median of to be , where
-
(ii)
(Unimportant) Prove that and , and show that for all we do not have .
Hint.
Calculate the limits and using the continuity of measures. Also note that , where is the cumulative distribution function of .
Solution.
As is right-continuous, since is right-continuous, we have
and therefore . For the second claim we need to use continuity of measures directly
Therefore we have , which implies that .
Lastly, for any , we can find a small with . Therefore
which implies and therefore . ∎
Remark.
This property is usually the defining property of the median. If this property does not define the median uniquely, is the largest median. A lower bound can be found similarly.
-
(iii)
Prove that the median minimizes the error, i.e. . Whenever useful, you can assume continuity.
Hint.
Recall that for a.s., we have . Use this fact to prove
Solution.
Recall that for a.s., we have . Applying this fact to we get
And similarly
Put together we have
Assuming and are both continuous in , we can use the fundamental theorem of calculus to obtain
Therefore we have
as is greater than zero for any and less than zero for any and sorting the integral borders results in another sign flip. Notice that is strictly greater than zero for which implies that is the largest median, i.e. all numbers greater than do not minimize .
As mentioned one can similarly define a lower bound, and all numbers in-between fulfill the defining property of medians of and . ∎
Remark.
In the non-continuous case, one still has right-continuity of and can prove right-differentiability of . This might be sufficient to prove it is monotonously increasing after and similarly monotonously decreasing before. But the proof is likely going to be complex or require a strong analysis foundation. Alternatively, a short and basic (but unintuitive) proof of the general case can be found here: https://math.stackexchange.com/a/2790390/445105.