Pearson's Eta squared and conditional expectation

I am trying to compute the Pearson's Eta squared (or correlation ratio) Var[E[Y|X]]/Var[Y] of two vectors (4025,1) of stocks returns. My problem is the expectation in the numerator of the formula. Do you have any idea? Thanks a lot

Réponses (0)

Catégories

En savoir plus sur Elementary Math dans Centre d'aide et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by