C Library Functions  - spcorr (3)

NAME

spcorr(3f) - [M_datapac:STATISTICS] compute the sample Spearman rank correlation coefficient between two vectors of observations

CONTENTS

Synopsis
Description
Options
Examples
Author
Maintainer
License
References

SYNOPSIS

SUBROUTINE SPCORR(X,Y,N,Iwrite,Spc)

DESCRIPTION

spcorr(3f) computes the spearman rank correlation coefficient between the 2 sets of data in the input vectors x and y.

the spearman rank 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_spcorr
   use M_datapac, only : spcorr
   implicit none
   ! call spcorr(x,y)
   end program demo_spcorr

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 2, EDITION 1, 1961, pages 476-477.
o SNEDECOR AND COCHRAN, STATISTICAL METHODS, EDITION 6, 1967, pages 193-195.
o DIXON AND MASSEY, INTRODUCTION TO STATISTICAL ANALYSIS, EDITION 2, 1957, pages 294-295.
o MOOD AND GRABLE, ’INTRODUCTION TO THE THEORY OF STATISTICS, EDITION 2, 1963, page 424.


Nemo Release 3.1 spcorr (3) February 23, 2025
Generated by manServer 1.08 from 0dc65771-9a98-4d6e-8331-42af24855931 using man macros.