corr(3f) - [M_datapac:STATISTICS] compute the sample correlation coefficient
Synopsis
Description
Options
Examples
Author
Maintainer
License
References
SUBROUTINE CORR(X,Y,N,Iwrite,C)
CORR(3f) computes the sample correlation coefficient between the 2 sets of data in the input vectors X and Y. The sample correlation coefficient will be a REAL value between -1.0 and 1.0 (inclusively).
X description of parameter Y description of parameter
Sample program:
program demo_corr use M_datapac, only : corr implicit none ! call corr(x,y) end program demo_corrResults:
The original DATAPAC library was written by James Filliben of the Statistical Engineering Division, National Institute of Standards and Technology.
John Urban, 2022.05.31
CC0-1.0
o Kendall and Stuart, The Advanced Theory of Statistics, Volume 1, Edition 2, 1963, pages 235-236. o Kendall and Stuart, The Advanced Theory of Statistics, Volume 2, Edition 1, 1961, pages 292-293. o Snedecor and Cochran, Statistical Methods, Edition 6, 1967, pages 172-198.
Nemo Release 3.1 | corr (3) | February 23, 2025 |