Computer routines for probability distributions, random numbers, and related functions
Use of previously codes and tested subroutines simplifies and speeds up program development and testing. This report presents routines that can be used to calculate various probability distributions and other functions of importance in statistical hydrology. The routines are designed as general-purpose Fortran subroutines and functions to be called from user-written main programs. The probability distributions provided include the beta, chisquare, gamma, Gaussian (normal), Pearson Type III (tables and approximation), and Weibull. Also provided are the distributions of the Grubbs-Beck outlier test, Kolmogorov 's and Smirnov 's D, Student 's t, noncentral t (approximate), and Snedecor F tests. Other mathematical functions include the Bessel function I (subzero), gamma and log-gamma functions, error functions and exponential integral. Auxiliary services include sorting and printer plotting. Random number generators for uniform and normal numbers are provided and may be used with some of the above routines to generate numbers from other distributions. (USGS)
Citation Information
Publication Year | 1980 |
---|---|
Title | Computer routines for probability distributions, random numbers, and related functions |
DOI | 10.3133/ofr80448 |
Authors | W.H. Kirby |
Publication Type | Report |
Publication Subtype | USGS Numbered Series |
Series Title | Open-File Report |
Series Number | 80-448 |
Index ID | ofr80448 |
Record Source | USGS Publications Warehouse |