Example: stock market
Portfolio analysis - Excel and VBA

Portfolio analysis - Excel and VBA

Back to document page

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

  Excel

Download Portfolio analysis - Excel and VBA


Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Related search queries