- ←Prev
- KAPLIBS – Internal subroutines used within the KAPPA package.
- Next→
- TOC ↑
Description:
The routine
calculates the sample Pearson correlation coefficient between the two supplied arrays.
Invocation
CALL
KPG1_CORRT(
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:
-
There is a routine for each numeric data type: replace "
x"
in the routine name by D, R, I, W, UW, B or
UB as appropriate. The arrays supplied to the routine must have the data type specified.
- ←Prev
- KAPLIBS – Internal subroutines used within the KAPPA package.
- Next→
- TOC ↑