Question 2. [18 marks] Consider the two-dimensional random vector (X, Y), where X is a continuous random variable and Y is a scalar binary-valued random variable. Assume the following conditional distribution of X given Y:
X|Y = i ~ N(μ_i, σ_i^2), i = 0, 1,
where the means and covariances are distinct for all i = 0, 1. The marginal distribution of Y is P(Y = 0) = θ and P(Y = 1) = 1 - θ for some θ ∈ [0, 1].
(a). [6 marks] Suppose we observe n i.i.d sample observations of this form, {(X_j, Y_j)}^n_{j=1}. Find the minimal sufficient statistics for unknown parameters {(μ_i, σ_i^2)}_{i=0,1} and θ.
(b). [6 marks] Derive an expression for the marginal distribution of X. The marginal distribution is also a function of {(μ_i, σ_i^2)}_{i=0,1} and θ.
(c). [6 marks] Suppose we can only observe X and not Y, and that we have observations {X_j}^n_{j=1} generated according to the marginal distribution derived in part (b). What are the minimal sufficient statistics for {(μ_i, σ_i^2)}_{i=0,1} and θ in this situation?