Given X ~ N(0,1) , Y ~ Ber(1/4)
X if Y = 0 -X if Y = 1
How to approach this question if i want to prove that Z and X are dependent .
Cross Validated is a question and answer site for people interested in statistics, machine learning, data analysis, data mining, and data visualization. It only takes a minute to sign up.Sign up to join this community
The second approach is more powerful; it even works when $Y$ is Ber(1/2). If this is a teaching question I suspect the first one is what was intended.