Random Variableshard
0:00.0

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