KPG1_CORRx

Calculates the correlation coefficient between two arrays

Description:

The routine calculates the sample Pearson correlation coefficient between the two supplied arrays.

Invocation

CALL KPG1_CORR <T >( EL, X, Y, R, N, STATUS )

Arguments

EL = INTEGER (Given)
Number of array elements to process.
X( EL ) = ? (Given)
First input array.
Y( EL ) = ? (Given)
First input array.
R = DOUBLE PRECISION (Returned)
The correlation coefficient.
N = INTEGER (Returned)
The number of points used to form the returned correlation coefficient.
STATUS = INTEGER (Given and Returned)
The global status.

Notes: