News for hackers. Stuff that matters.
Re:Probability and Statistics Cookbook (2011) [pdf] by zmmmmm on Monday June 06, 2022 @09:08PM (#31648634)
Confusing to me how Var[Y] can be computed only from terms that are conditional on X ... surely its marginal variance has components arising from variance outside its distribution that is conditional on X? (or is that a typo ....)
Re:Probability and Statistics Cookbook (2011) [pdf] by addcninblue on Monday June 06, 2022 @11:12PM (#31649459)
You can consider the tower rule for intuition on why this can be true:

    E[X] = E[E[X|Y]]
Essentially, what's happening is that, in E[X|Y], we first "hold" the randomness of Y, then consider the expected value of X for every possible value of Y. Once this is determined, we then take the expectation over all values of Y, which integrates out its effects, leaving us with the expected value of X.

This rule is similar, and arises from the tower rule above.

Re:Probability and Statistics Cookbook (2011) [pdf] by zmmmmm on Tuesday June 07, 2022 @06:17PM (#31660711)
thanks! that kind of does make sense!