Joint Expectations and Correlations

CppCodingZen
5 min readJan 13, 2021

--

In previous post, we saw how to calculate expected values and conditional expectations of random variables. In this post, we are going to solve a tricky problem involving more expectations and correlations. The problem was asked by Robinhood.

Recall that some of the hardest data science interview questions involve conditional expectations. Even among them, correlations are the hardest to calculate

--

--

CppCodingZen

Solutions to programming interview questions at some of the top companies in the world: cppcodingzen.com