/

WeightedCovariance

[this page | pdf]

Function Description

Returns the weighted (sample) covariance between two series.

 

Weighted (sample) covariances, given weights  (for ), are calculated as:

 

 

where

 

 

See Weighted Moments and Cumulants for further details and explanation of terms in this formula. If the weights are equal then returns the same as MnCovariance.

 


NAVIGATION LINKS
Contents | Prev | Next


Output type / Parameter details

Output type: Double
Parameter NameVariable TypeDescription
InputArray1Double()First series
InputArray2Double()Second series
WeightArrayDouble()Array containing series to use to weight observations

Links to:

-          Interactively run function

-          Interactive instructions

-          Example calculation

-          Output type / Parameter details

-          Illustrative spreadsheet

-          Other Statistical functions

-          Computation units used


Note: If you use any Nematrian web service either programmatically or interactively then you will be deemed to have agreed to the Nematrian website License Agreement


Desktop view | Switch to Mobile