Version

Correlation(Vector,Vector) Method

Returns the Pearson's correlation coefficient for two Vector instances.
Syntax
'Declaration
 
Public Overloads Shared Function Correlation( _
   ByVal x1 As Vector, _
   ByVal x2 As Vector _
) As Double
public static double Correlation( 
   Vector x1,
   Vector x2
)

Parameters

x1
The first Vector of observations.
x2
The second Vector of observations.

Return Value

The correlation 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