Question
A festival operates two outdoor stalls. Before the weather is known, it wants to understand the variability of their combined day's takings. The day is dry or wet with equal probability. Given the weather, the stalls' takings are independent: each stall independently picks either of its two listed dollar amounts with equal probability.
On a dry day, stall A makes $90 or $110, while stall B makes $60 or $100. On a wet day, A makes $30 or $50, while B makes $0 or $40.
Find the unconditional variance (in dollars squared) of \(A+B\). Also find \(\operatorname{Cov}(A,B)\), and explain why treating the stalls as unconditionally independent gives the wrong answer.
Get hint
Hint 1
Condition on the weather first. Within each weather state, independent stall revenues let their variances add.
Check your answer
Solution
Let W indicate weather and \(T=A+B\). Conditional on dry weather, \(E[A\mid W]=100\) and \(E[B\mid W]=80\); conditional on wet weather, the means are 40 and 20. Thus \(E[T\mid\text{dry}]=180\), \(E[T\mid\text{wet}]=60\) and unconditional \(E[T]=120\) dollars.
In either regime, A varies by ±$10 around its conditional mean, so \(\operatorname{Var}(A\mid W)=100\) dollars². B varies by ±$20, so \(\operatorname{Var}(B\mid W)=400\) dollars². Because the two draws are independent given W, \(\operatorname{Var}(T\mid W)=100+400=500\) dollars² in either regime.
The law of total variance gives
\[\begin{aligned}\operatorname{Var}(T)&=E[\operatorname{Var}(T\mid W)]+\operatorname{Var}(E[T\mid W])\\&=500+\tfrac12(180-120)^2+\tfrac12(60-120)^2\\&=500+3{,}600=4{,}100\end{aligned}\] dollars².
Conditional covariance is zero. Total covariance is therefore \(\operatorname{Cov}(A,B)=\operatorname{Cov}(E[A\mid W],E[B\mid W])=\frac14(100-40)(80-20)=900\) dollars². Indeed \(\operatorname{Var}(A)=100+\frac14(60)^2=1{,}000\) and \(\operatorname{Var}(B)=400+\frac14(60)^2=1{,}300\), so \(\operatorname{Var}(A)+\operatorname{Var}(B)+2\operatorname{Cov}(A,B)=1{,}000+1{,}300+1{,}800=4{,}100\). Assuming unconditional independence would discard the 1,800 covariance contribution and return only 2,300 dollars².
For a direct enumeration check, the four equally likely conditional totals on a dry day are 150, 190, 170, 210, with mean 180 and variance 500; on a wet day they are 30, 70, 50, 90, with mean 60 and variance 500. Enumerating all eight equally likely possibilities about the global mean 120 again gives variance 4,100.
Assumptions
Weather is equally likely dry or wet, independently of each stall's within-regime random coin.
Conditional on the weather, the two stall takings are independent and the two outcomes for each are equiprobable.
All reported amounts are the daily monetary takings in dollars; there are no additional common costs.
Final Answer
\(\operatorname{Var}(A+B)=4{,}100\) dollars² and \(\operatorname{Cov}(A,B)=900\) dollars². Ignoring the shared weather regime would understate total variance by 1,800 dollars².