C Library Functions  - freq (3)

NAME

freq(3f) - [M_datapac:STATISTICS] compute the sample frequency and cumulative sample frequency of a vector

CONTENTS

Synopsis
Description
Input Arguments
Output
Examples
Author
Maintainer
License
References

SYNOPSIS

SUBROUTINE FREQ(X,N)

       REAL(kind=wp),intent(in) :: X(:)
       INTEGER,intent(in)       :: N

DESCRIPTION

freq(3f) computes the sample frequency and sample cumulative frequency for the data in the input vector x.

INPUT ARGUMENTS

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.

OUTPUT

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 occurance of that value and the cumulative frequency.

EXAMPLES

Sample program:

   program demo_freq
   use M_datapac, only : freq
   implicit none
   ! call freq(x,y)
   end program demo_freq

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, page 8.


Nemo Release 3.1 freq (3) July 22, 2023
Generated by manServer 1.08 from b77d2a15-f3f3-475c-acae-d89b531c656e using man macros.