0% found this document useful (0 votes)
54 views

MIT18.650. Statistics For Applications Fall 2016. Problem Set 6

This document contains problems related to statistics and hypothesis testing. It includes multiple choice and short answer questions testing concepts like parameter estimation, Student's t-test, testing for independence of Bernoulli random variables, and applying these concepts to real world examples.

Uploaded by

yilvas
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views

MIT18.650. Statistics For Applications Fall 2016. Problem Set 6

This document contains problems related to statistics and hypothesis testing. It includes multiple choice and short answer questions testing concepts like parameter estimation, Student's t-test, testing for independence of Bernoulli random variables, and applying these concepts to real world examples.

Uploaded by

yilvas
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

18.650.

Statistics for Applications


Fall 2016. Problem Set 6
Due Friday, Oct. 21 at 12 noon
NOTE: there was a typo in Problem 2, Question 3

Problem 1 Hypotheses testing - Basics


i.i.d.
Let X1 , . . . , Xn ∼ Exp(λ), for some unknown parameter λ > 0 and let λ0 be a
(known) fixed positive number.
1. Consider the following hypotheses:
H0 : ”λ = λ0 ” vs. H1 : ”λ = λ0 ”.
Give a test with asymptotic level α, for any α ∈ (0, 1).
2. Consider the following hypotheses:
H0 : ”λ ≤ λ0 ” vs. H1 : ”λ > λ0 ”.
Give a test with asymptotic level (at most) α, for any α ∈ (0, 1).
3. At a call center, the times between two consecutive calls are modeled as i.i.d.
exponential random variables, with some unknown parameter λ. The employer of
this center wants to determine whether more employees should be hired. In order
to do so, he/she wants to get some information about λ. The value itself of λ is
irrelevant, but if λ ≥ 1, meaning that the average time between two calls is no
larger than 1 (minute), the employer’s decision will be to hire more employees.
To make his/her decision, the employer observes the times between 50 consecutive
calls, and finds out that the average these observations is 0.98.
In statistical words, the employer needs to test the following hypotheses:
H0 : ”λ ≤ 1” vs. H1 : ”λ > 1”.
a) Based on the observations and using the same test as in the previous question,
should the employer reject the null hypothesis ?
b) What is the p-value of the test ?

Problem 2 A Student one-sided test


i.i.d.
Let X1 , . . . , Xn ∼ N (µ, σ 2 ), for some unknown parameter (µ, σ 2 ) ∈ IR × (0, ∞). We
want to test the following hypotheses at non asymptotic level α (for some fixed α ∈ (0, 1):
H0 : ”µ > 0” vs. H1 : ”µ ≤ 0”.

1. Recall the maximum likelihood estimator (µ̂, σ̂ 2 ) of (µ, σ 2).


√ µ̂ − µ
2. Let S = n − 1 √ . Prove that S is a Student random variable with n − 1
σ̂ 2
degrees of freedom.

3. Propose a test with non asymptotic level α. Prove your answer.

Problem 3 Test of independence for Bernoulli random variables


Let X, Y be two Bernoulli random variables and denote by p = P[X = 1], q = P[Y = 1]
and r = P[X = 1, Y = 1].
1. Prove that X and Y are independent if and only if r = pq.
2. Let (X1 , Y1 ), . . . , (Xn , Yn ) be a sample of n i.i.d. copies of (X, Y ). Based on this
sample, we want to test whether X and Y are independent, i.e., whether r = pq.
1
� 1
� 1

n n n
a) Define p̂
=
Xi , q̂ =
Xi and r̂
=
Xi Yi . Prove that these are,

n
i=1 n
i=1 n
i=1
respectively, consistent estimators of p, q and r.
b) Show that the vector (p̂, q, ˆ r̂) is asymptotically normal and find the asymptotic
covariance matrix.
c) Using the previous question combined with the Delta-method, prove that
√ n→∞
n (r̂ − p̂q̂ − (r − pq)) −−−→ N (0, V ),
(d)

where V depends on p, q and r.

d) Consider the following hypotheses:

H0 : ”X and Y are independent” vs. H1 : ”X and Y are not independent”.

Assuming that H0 is true, show that V = pq(1 − p)(1 − q) and propose a


consistent estimator of V .
e) Using the last two questions, propose a test with asymptotic level α, for any
α ∈ (0, 1).
We would like to know whether the facts of being happy and being in a relationship
are independent of each other. In a given population, 1000 people (aged at least
21 years old) are sampled and asked two questions: ”Do you consider yourself as
happy ?” and ”Are you involved in a relationship ?”. The answers are summarized
in the following table:

Happy Not happy


In a relationship 205 301
Not in a relationship 179 315

Would you reject independence of being happy and being in a relationship, with
asymptotic level 5% ? Compute the p-value of your test.

MIT OpenCourseWare
https://ocw.mit.edu

18.650 / 18.6501 Statistics for Applications


Fall 2016

For information about citing these materials or our Terms of Use, visit: https://ocw.mit.edu/terms.

You might also like