Version

Covariance(Vector,Vector,StatisticsType) Method

Returns the covariance of two Vector instances.
Syntax
'Declaration
 
Public Overloads Shared Function Covariance( _
   ByVal x1 As Vector, _
   ByVal x2 As Vector, _
   ByVal stat As StatisticsType _
) As Double
public static double Covariance( 
   Vector x1,
   Vector x2,
   StatisticsType stat
)

Parameters

x1
The first Vector of observations.
x2
The second Vector of observations.
stat
The type of statistic desired.

Return Value

The covariance of x1 and x2.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also