Example: stock market
Portfolio analysis - Excel and VBA
3. Covariance with VBA The Excel 2007 COVAR function returns the population covariance. To estimate the sample covariance, the custom function Covar_s has been developed. Here is the code. VBA: Covar_s (Available in the XLFProject.XLF_Module) 10 20 30 40 50 60 70 80 90 100 Function Covar_s(InArray1 As Variant, InArray2 As Variant) As Variant
Download Portfolio analysis - Excel and VBA
Information
Domain:
Source:
Link to this page: