Calculating the Linear Correlation

The Statistics menu option Correlations > Linear correlation computes the linear correlation for all selected field and scalar quantities. For each selected quantity pair (all combinations of a single field quantity and a scalar quantity), a single result object is created. Each result object is a field vector that contains the linear correlation at each mesh position for the specific field quantity with the respective scalar quantity.


Note:  Design identifiers of the field and scalar quantities must be compatible.


For field quantity Y, scalar quantity Z, number of active and non-missing samples N, sample index i, and mesh position k, the linear correlation is: