What Is the Correlation Coefficient? The correlation coefficient is a metric that measures the strength and direction of a relationship between two securities or variables, such as a stock and a ...
This example defines modules to compute correlation coefficients between numeric variables and standardized values for a set of data. /* Module to compute correlations */ start corr; n=nrow(x); /* ...