asa183


asa183, a FORTRAN90 code which implements a random number generator (RNG), by Wichman and Hill.

The code is a version of Applied Statistics Algorithm 183.

Licensing:

The computer code and data files described and made available on this web page are distributed under the MIT license

Languages:

asa183 is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version and a Python version.

Related Data and Programs:

asa183_test

f90_random, FORTRAN90 codes which illustrate the use of Fortran's random number generator routines.

halton, a FORTRAN90 code which computes elements of a Halton quasirandom sequence.

ieee_uniform_sample, a FORTRAN90 code which tries to uniformly sample the discrete set of values that represent the legal IEEE real numbers;

normal, a FORTRAN90 code which computes elements of a sequence of pseudorandom normally distributed values.

ranlib, a FORTRAN90 code which produces random samples from Probability Density Functions (PDF's), including Beta, Chi-square Exponential, F, Gamma, Multivariate normal, Noncentral chi-square, Noncentral F, Univariate normal, random permutations, Real uniform, Binomial, Negative Binomial, Multinomial, Poisson and Integer uniform, by Barry Brown and James Lovato.

rnglib, a FORTRAN90 code which implements a random number generator (RNG) with splitting facilities, allowing multiple independent streams to be computed, by L'Ecuyer and Cote.

uniform, a FORTRAN90 code which computes elements of a sequence of pseudorandom uniformly distributed values.

van_der_corput, a FORTRAN90 code which computes elements of a van der Corput quasirandom sequence.

Author:

Original FORTRAN77 version by Brian Wichman and David Hill; This version by John Burkardt.

Reference:

  1. Pierre LEcuyer,
    Efficient and Portable Combined Random Number Generators,
    Communications of the ACM,
    Volume 31, Number 6, June 1988, pages 742-751.
  2. Brian Wichmann, David Hill,
    Algorithm AS 183: An Efficient and Portable Pseudo-random Number Generator,
    Applied Statistics,
    Volume 31, Number 2, 1982, pages 188-190.

Source Code:


Last revised on 27 November 2022.