C Library Functions - corr (3)
NAME
corr(3f) - [M_datapac:STATISTICS] compute the sample correlation
coefficient
CONTENTS
Synopsis
Description
Options
Examples
Author
Maintainer
License
References
SYNOPSIS
SUBROUTINE CORR(X,Y,N,Iwrite,C)
DESCRIPTION
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).
OPTIONS
|
X |
description of parameter
|
|
Y |
description of parameter
|
|
EXAMPLES
Sample program:
program demo_corr
use M_datapac, only : corr
implicit none
! call corr(x,y)
end program demo_corr
Results:
AUTHOR
The original DATAPAC library was written by James Filliben of the
Statistical Engineering Division, National Institute of Standards
and Technology.
MAINTAINER
John Urban, 2022.05.31
LICENSE
CC0-1.0
REFERENCES
|
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) | June 29, 2025 |
Generated by manServer 1.08 from ffd9096f-ec9e-49a9-95e3-207ea4aadce3 using man macros.