Skip to main content
U.S. flag

An official website of the United States government

Computer program for the calculation of grain size statistics by the method of moments

January 1, 1977

A computer program is presented for a Hewlett-Packard Model 9830A desk-top calculator (1) which calculates statistics using weight or point count data from a grain-size analysis. The program uses the method of moments in contrast to the more commonly used but less inclusive graphic method of Folk and Ward (1957).

The merits of the program are: (1) it is rapid; (2) it can accept data in either grouped or ungrouped format; (3) it allows direct comparison with grain-size data in the literature that have been calculated by the method of moments; (4) it utilizes all of the original data rather than percentiles from the cumulative curve as in the approximation technique used by the graphic method; (5) it is written in the computer language BASIC, which is easily modified and adapted to a wide variety of computers; and (6) when used in the HP-9830A, it does not require punching of data cards. The method of moments should be used only if the entire sample has been measured and the worker defines the measured grain-size range.

(1) Use of brand names in this paper does not imply endorsement of these products by the U.S. Geological Survey.

Publication Year 1977
Title Computer program for the calculation of grain size statistics by the method of moments
DOI 10.3133/ofr77580
Authors Michael B. Sawyer
Publication Type Report
Publication Subtype USGS Numbered Series
Series Title Open-File Report
Series Number 77-580
Index ID ofr77580
Record Source USGS Publications Warehouse