Nevron .NET Vision Documentation

Correlation

Chart for .NET > User's Guide > Data Manipulation > Functions > Statistical Functions > Correlation |

Syntax

CORRELATION(values1; values2)

Arguments

The 'values1' and 'values2' arguments must be arrays.

Result

The result is a single value.

Description

Correlation indicates the strength and direction of a linear relationship between two random variables.

The correlation is 1 in the case of an increasing linear relationship, -1 in the case of a decreasing linear relationship, and some value in between in all other cases, indicating the degree of linear dependence between the variables. The closer the coefficient is to either -1 or 1, the stronger the correlation between the variables. If the two variables are completely independent their correlation is zero.

Related Examples

Windows Forms: All Examples\Data Manipulation\Functions\Financial\Technical Price Indicators