Docsity

Prova d'esame probability and statistics, Test d'ammissione di Probabilità e Statistica

Toggle sidebar
bg1
Universit`a degli Studi di Torino
May 18th, 2022
Exam: Probability and Statistics (2 hours)
Instructions: Answer all questions. You can use the lecture notes and your own notes. You
MUST NOT check online resources.
There are five questions to this exam: Q.1—Q.5. Each question contains a number of sub-
questions. You are advised to read all sub-questions before attempting each question.
Write down all your calculations. Answers provided without clear workings will be
penalised.
Part I [Probability]
Q.1 Let us consider the roll of two dice. Compute the probability of the following events:
(a) The sum of the values of two dice is strictly greater than eight.
(b) The probability that at least one dice shows a six, given that the sum of the values
of the two dice is strictly greater than eight.
Q.2 (a) Indicate which of the functions below can or cannot be a probability density func-
tion. Motivate each answer.
f1(x) = 1
2(1 + x)1[−1,1](x), f2(x) = 1
2(1 + 2x)1[−1,1](x),
f3(x) = e−2x1[0,∞)(x), f4(x) = 1
21[−π
2,π
2](x) cos(x).
(b) Let X, Y be two random variables. Let Xbe distributed like an exponential with
parameter Yand let Yfollow a Bernoulli distribution taking values 1 and 2 with
probability pand 1 −p, respectively.
(b.i) Show that the cumulative distribution of Xreads
FX(x) = p(1 −e−x) + (1 −p)(1 −e−2x).
(b.ii) Find the value of pfor which E[X]=5/6.
Q.3 Let X1, X2, X3, . . . be an infinite sequence of independent Gaussian random variables,
with E[Xk] = 0 and Var[Xk] = qkfor q∈(0,1). For k≥1 let Yk:= Pk
j=1 Xj(with
Y0= 0).
(a) Show that the sequence (Xk)k∈Nconverges to zero in probability.
(b) Calculate the moment generating function of Ykfor a generic index k.
(c) Show that the sequence (Yk)k∈Nconverges in distribution to a random variable ¯
Y
and identify the distribution of ¯
Y.
Hint: recall the formula for the geometric sum P∞
j=0 aj=1
1−afor a∈(0,1).
The exam questions continue on the next page.
1
pf2

Anteprima parziale del testo

Scarica Prova d'esame probability and statistics e più Test d'ammissione in PDF di Probabilità e Statistica solo su Docsity!

Universit`a degli Studi di Torino May 18th, 2022 Exam: Probability and Statistics (2 hours)

Instructions: Answer all questions. You can use the lecture notes and your own notes. You MUST NOT check online resources.

There are five questions to this exam: Q.1—Q.5. Each question contains a number of sub- questions. You are advised to read all sub-questions before attempting each question.

Write down all your calculations. Answers provided without clear workings will be penalised.

Part I [Probability]

Q.1 Let us consider the roll of two dice. Compute the probability of the following events: (a) The sum of the values of two dice is strictly greater than eight. (b) The probability that at least one dice shows a six, given that the sum of the values of the two dice is strictly greater than eight.

Q.2 (a) Indicate which of the functions below can or cannot be a probability density func- tion. Motivate each answer.

f 1 (x) =

(1 + x)1− 1 ,1, f 2 (x) =

(1 + 2x)1− 1 ,1,

f 3 (x) = e−^2 x (^1) [0,∞)(x), f 4 (x) =

(^1) − π 2 , π 2 cos(x).

(b) Let X, Y be two random variables. Let X be distributed like an exponential with parameter Y and let Y follow a Bernoulli distribution taking values 1 and 2 with probability p and 1 − p, respectively. (b.i) Show that the cumulative distribution of X reads FX (x) = p(1 − e−x) + (1 − p)(1 − e−^2 x). (b.ii) Find the value of p for which E[X] = 5/6.

Q.3 Let X 1 , X 2 , X 3 ,... be an infinite sequence of independent Gaussian random variables, with E[Xk] = 0 and Var[Xk] = qk^ for q ∈ (0, 1). For k ≥ 1 let Yk :=

Pk j=1 Xj^ (with Y 0 = 0). (a) Show that the sequence (Xk)k∈N converges to zero in probability. (b) Calculate the moment generating function of Yk for a generic index k. (c) Show that the sequence (Yk)k∈N converges in distribution to a random variable Y¯ and identify the distribution of Y¯. Hint: recall the formula for the geometric sum

P∞

j=0 a

j (^) = 1 1 −a for^ a^ ∈^ (0,^ 1).

The exam questions continue on the next page.

1

2

Part II [Statistics]

Q.4 Let X 1 ,... , Xn iid ∼ Exp(λ) for some unknown λ > 0. (a) Find the maximum likelihood estimator ˆλn of λ. (b) Compute the Fisher information IX (λ) for a single observation X ∼ Exp(λ). (c) Find the asymptotic distribution of

n(ˆλn − λ) as n → ∞, where λˆn is the MLE from point (a). (d) Using the asymptotic distribution derived in point (c), construct an interval esti- mator of λ with asymptotic coverage 95%. Hint: the 97 .5%-quantile of the N (0, 1) distribution is z. 975 = 1. 96.

Q.5 Suppose that you observe a single random variable X and want to test the following two hypotheses H 0 : X ∼ N (0, 1) vs. H 1 : X ∼ N (1, 4). To answer the questions below, you can use the following approximate values for the cumulative distribution function ϕ of the N (0, 1)-distribution:

ϕ(− 1 .48) ≈ 0 .07; ϕ(0.32) ≈ 0 .62; ϕ(0.48) ≈ 0 .68; ϕ(1.64) ≈ 0 .95; ϕ(1.96) ≈ 0. 975.

(a) Consider the test with rejection region R 1 = {x : |x| > 1. 96 }, that is, you reject H 0 if the observed value of X satisfies |X| > 1 .96. Show that this test has size α = 0.05. Compute its type-II error probability β 1. (b) Now consider the test with rejection region R 2 = {x : x > 1. 64 }, that is, you reject H 0 if the observed value of X satisfies X > 1 .64. Show that this test also has size α = 0.05. Compute its type-II error probability β 2. (c) Which is the better test (that is, which test has the smallest type-II error proba- bility)?

End of exam questions.