Random Variableshard
0:00.0

Let X∼Bernoulli(p)X \sim \text{Bernoulli}(p) and Y∣X∼Binomial(X,q)Y|X \sim \text{Binomial}(X, q). What is E[Y]E[Y]?