We know thatQuote:
Originally Posted by 0123
covar(X,Y) =E(XY) - E(X)E(Y)
so we need only evaluate these expaectations.
The probabilities p(45,40), .. are derived from the requirement that all the
probabilities sum to 1.
The remaing calcs are shown in the attached image of the spreadsheet.