Calculates the variance of the expected returns of an asset given the assets returns in given market states and the probability of those market states occurring.
probability[s]
is the probability of the state s
occurring.returns[s]
is the return (increase in market value) for the asset in the state s
.Volatility Class | Portfolio Namespace