WebCab XL Community Edition

TwoAsset.Covar Method 

Evaluates the covariance between the returns of two assets given the probability return distribution of each asset.

public double Covar(
   double[] Prob,
   double[] Return1,
   double[] Return2
);

Parameters

Prob
probability[s] is an array of the probability of the state s occurring.
Return1
rateOfReturn1[s] is the return (increase in market value) for the first asset in the state s.
Return2
rateOfReturn2[s] is the return (increase in market value) for the second asset in the state s.

Remarks

The full name of this function inside Excel is Port_TwoAsset_Covar.

See Also

TwoAsset Class | Portfolio Namespace