Rules for passing the course
The course ends with an exam. The final mark from the course will be calculated using the formula: $$ \text{if } Exam = 2 \text{ then } 2, else \max\left(Exam, \frac{Exam+Exercises}{2}\right) $$ where $Exam$ is the mark from examination and $Exercises$ is the final mark obtained after finishing execises.
- First term: 24.06.2019; room 320a/A1; time: 11:00 - 13:00
- Second term: 01.07.2019; room 320a/A1; time: 11:00 - 13:00
Sample tasks for the exam
- Let $X$ and $Y$ be two independent random variables with uniforma distribution in $\{1,\ldots,n\}$. Let $Z = \min(X,Y)$. Calculate $E(Z)$ and $var(Z)$.
- Expected value of IQ is 100 and it standard deviation is 15.
Estimate the probability that a randomly met person on the street has an IQ greater than 150 using
- Markov inequality
- Thebyshev inequality
- using the knowledge that IQ is well approximated by a normal distribution with the above parameters
- Let $X:\Omega\to\{0,1,2,\ldots\}$ be a random variable with a generating function $\phi$. Let $Y = a X + c$ where $a, b$ are two fixed positive natural numbers. Express generating function of $Z$ in terms of generating function of $X$
- Let us consider $[0,1]^2$ as a probability space where probability is the Lebesgue measure. Let $X,Y:\Omega\to\mathbb{R}$ be given by $X(x,y)=x+y$ and $Y(x,y)=x-y$. Are the random variables $X$, $Y$ independent?
First term
Task 1. Let $a >0$ and let $X$ be a random variable such that $X \geq a$ and $E[X]=2\cdot a$.
Show that $\Pr[X\geq 3\cdot a] \leq \frac12$.
Solution. Let $Y=X-a$. Then $Y\geq 0$ and $(X\geq 3\cdot a) \equiv (Y\geq 2\cdot a)$, so, from Markov inequality,
we have
$$
\Pr[X\geq 3\cdot a] = \Pr[Y\geq 2\cdot a] \leq \frac{E(Y)}{2 a} = \frac{E(X-a)}{2a} =
\frac{E(X)-a}{2a} = \frac{a}{2a} = \frac12~.
$$
Task 2 We choose points $(x_n,y_n) \in [0,1]^2$ independently according
to uniform distribution on $[0,1]^2$. Let
$$
X_n = \begin{cases} 1 &: \text{if }y_n \leq (x_n)^2\\0 &: \text{otherwise}\end{cases}~.
$$
Let $S_n = \frac{X_1+\ldots+X_n}{n}$. Estimate the following probability for large values of $n$:
$$
\Pr\left[ \frac13 - \sqrt{\frac{2}{n}} \leq S_n \leq \frac13 + \sqrt{\frac{2}{n}}\right]~.
$$
Solution. The area of the figure $\{(x,y)\in [0,1]^2: y \leq x^2\}$ is $\frac13$. Therefore $X_n \sim Ber(\frac13)$, so
$E[X_n] = \frac13$ and $var(X_n) = \frac29$. From Central Limit Theorem we deduce that the random variables
$$
Z_n = \frac{(X_1+\ldots+X_n) - \frac13 \cdot n}{\sqrt{n} \sqrt{\frac29}}
$$
converges in distribution to $\mathcal{N}(0,1)$. Therefore $\Pr[-3 \leq Z_n \leq 3] \approx 0.997$.
But the following sentences are equivalent:
$$ -3 \lt Z_n \lt 3$$
$$ -3 \sqrt{n}\sqrt{\frac29} \leq (X_1+\ldots + X_n) - \frac13 n \leq 3 \sqrt{n}\sqrt{\frac29}$$
$$ -\sqrt{\frac{2}{n}} \leq S_n - \frac13 \leq -\sqrt{\frac{2}{n}} $$
$$ \frac13 - \sqrt{\frac{2}{n}} \leq S_n \leq \frac13 + \sqrt{\frac{2}{n}} $$
Therefore the number 0.997 is the required approximation for large $n$.
Comment. If someone applied Chernoff inequalities, he also received a positive rating.
Task 3.Assume that $X_0,X_1,\ldots$ are independent random variables such
that $X_n \sim \text{Exp}\left(\frac12\right)^n$ for each $n\geq 0$. Let $Y_n = \min\{X_0,\ldots,X_n\}$.
Calculate $\lim_{n\to\infty} E(Y_n)$.
Solution. Observe that if $Z_i \sim\text{Exp}(\lambda_i)$ (where $i=0,\ldots,n$) are independent and $U_n = \min\{Z_0,\ldots,Z_n\}$ then
$$\Pr[U_n>x] = \Pr[Z_0>x \land Z_1>x \land \ldots \land Z_n>x] = $$
$$ \exp(-\lambda_0 x)\cdot\ldots\cdot\exp(-\lambda_n x) = \exp(-(\lambda_0+\ldots+\lambda_n)x)~,$$
so $U \sim \text{Exp}(\lambda_0+\ldots+\lambda_n)$. From this property of exponential distributions we deduce that
$$
Y_n \sim \text{Exp}\left(1+\frac12+\ldots+ \frac{1}{2^n}\right) =
\text{Exp}\left(2\left(1-\frac{1}{2^{n+1}}\right)\right)~,
$$
so
$$
E(Y_n) = \frac{1}{2\left(1-\frac{1}{2^{n+1}}\right)} \to_{n\to\infty} \frac12~.
$$