C Library Functions  - propor (3)

NAME

propor(3f) - [M_datapac:STATISTICS] compute the sample proportion

CONTENTS

Synopsis
Description
Options
Examples
Author
Maintainer
License
References

SYNOPSIS

SUBROUTINE PROPOR(X,N,Xmin,Xmax,Iwrite,Xprop)

DESCRIPTION

propor(3f) computes the the sample proportion which is the proportion of data between xmin and xmax (inclusively) in the input vector x.

the sample proportion = (the number of observations in the sample between xmin and xmax, inclusively) / n. The sample proportion will be a REAL value between 0.0 and 1.0 (inclusively).

OPTIONS

X description of parameter
Y description of parameter

EXAMPLES

Sample program:

   program demo_propor
   use M_datapac, only : propor
   implicit none
   ! call propor(x,y)
   end program demo_propor

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 SNEDECOR AND COCHRAN, STATISTICAL METHODS, EDITION 6, 1967, pages 207-213.
o DIXON AND MASSEY, INTRODUCTION TO STATISTICAL ANALYSIS, EDITION 2, 1957, pages 81-82, 228-231.


Nemo Release 3.1 propor (3) July 22, 2023
Generated by manServer 1.08 from 898e4974-bf28-42ca-abaf-d076ae41a8c2 using man macros.