propor(3f) - [M_datapac:STATISTICS] compute the sample proportion
Synopsis
Description
Options
Examples
Author
Maintainer
License
References
SUBROUTINE PROPOR(X,N,Xmin,Xmax,Iwrite,Xprop)
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).
X description of parameter Y description of parameter
Sample program:
program demo_propor use M_datapac, only : propor implicit none ! call propor(x,y) end program demo_proporResults:
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 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) | February 23, 2025 |