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). Prove that X and Y are independent if and only if r = pq.

Algebra & Trigonometry with Analytic Geometry
13th Edition
ISBN:9781133382119
Author:Swokowski
Publisher:Swokowski
Chapter10: Sequences, Series, And Probability
Section10.8: Probability
Problem 32E
icon
Related questions
Question

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). Prove that X and Y are independent if and only if r = pq.
Let {Xi, Yi}ni=1 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

Define ˆp = sum(Yi)/n, ˆq =sum(Yi)/n and  ˆr =sum(XiYi)/n
- Prove that these are, respectively, consistent estimators of p, q
and r.
– Show that the vector (ˆp, q ˆ, rˆ) is asymptotically normal and find the asymptotic covariance matrix.
– Using the previous question combined with the Delta-method, prove that
√n ((ˆr − pˆqˆ) − (r − pq)) → t, V
as n → ∞ in distribution, where V depends on p, q and r.
– 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 .
– Using the last two questions, propose a test with asymptotic level α ∈ (0,1).

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Point Estimation, Limit Theorems, Approximations, and Bounds
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage