freq(3f) - [M_datapac:STATISTICS] compute the sample frequency and cumulative sample frequency of a vector
Synopsis
Description
Input Arguments
Output
Examples
Author
Maintainer
License
References
SUBROUTINE FREQ(X,N)
REAL(kind=wp),intent(in) :: X(:) INTEGER,intent(in) :: N
freq(3f) computes the sample frequency and sample cumulative frequency for the data in the input vector x.
X The vector of (unsorted or sorted) observations. N The integer number of observations in the vector X. The maximum allowable value of N for this subroutine is 15000.
Several (for large data sets) pages of automatic plots (with approximately 55 values per page) consisting of an ordered listing of each distinct value in the data set along with the frequency of occurrence of that value and the cumulative frequency.
Sample program:
program demo_freq use M_datapac, only : freq implicit none ! call freq(x,y) end program demo_freqResults:
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, page 8.
Nemo Release 3.1 | freq (3) | February 23, 2025 |