I just met this in probability and it got me completely stumped:
We define an i.i.d sequence of normally distributed random variables $ \{ X_n \}_{n=1}^{\infty} $ such that $ X_n \sim \mathcal{N} (0,\sigma ^2) $ and we define a random variable $ N \sim Pois(\Lambda) $ independent of the $ X_n $'s
We are asked to show that $ X_N $ and N are independent random variables
I cannot seem to get past the simple fact that these seem clearly dependent as N clearly appears as a subscript for the X random variable so I do not really know what is wrong or how to prove that these are independent random variables so this is where I need help. Thanks all.
Independence follows from the fact that for every fixed $k\in\mathbb N$:$$P(X_N\in A)=\sum_{n=0}^{\infty} P(X_N\in A\mid N=n)P(N=n)=$$$$\sum_{n=0}^{\infty} P(X_n\in A)P(N=n)=\sum_{n=0}^{\infty} P(X_k\in A)P(N=n)=$$$$P(X_k\in A)=P(X_N\in A\mid N=k)$$