Skip to content

Last mirrored from https://github.com/awllee/NonUniformRandomVariateGeneration.jl.git on 2019-11-19T02:23:11.024-05:00 by @UnofficialJuliaMirrorBot via Travis job 481.25 , triggered by Travis cron job on branch "master"

License

Notifications You must be signed in to change notification settings

UnofficialJuliaMirror/NonUniformRandomVariateGeneration.jl-cd27a545-1e2a-5997-b51f-f9caa06aeab2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Non-Uniform Random Variate Generation

Build Status Build status Coverage Status codecov.io

This package provides some non-uniform random variate generation schemes. They can use specified random number generators, and hence can be used in multi-threaded applications with different random number generators associated to each thread.

The current emphasis is on stateless algorithms with distribution parameters passed in.

In the future, some of these approaches may be superseded by functionality in Distributions.jl.

Currently includes generation of the following random variates:

  • Binomial: W. Hörmann. The Generation of Binomial Random Variates, Journal of Statistical Computation and Simulation 46, 1993.

  • Multinomial: using Binomial random variates.

  • Gamma: Marsaglia, G. and Tsang, W.W., 2000. A simple method for generating gamma variables. ACM Transactions on Mathematical Software (TOMS), 26(3).

  • Beta: using Gamma random variates.

  • Poisson: Ahrens, J.H. and Dieter, U., 1982. Computer generation of Poisson deviates from modified normal distributions. ACM Transactions on Mathematical Software (TOMS), 8(2), pp. 163-179.

  • Sorted Uniforms: Uniform spacing method, Algorithm B, p. 214 of L. Devroye. Non-uniform random variate generation. 1986.

  • Categorical: using inversion with sorted uniforms. This method can be faster than the alias method, depending on the setting.

About

Last mirrored from https://github.com/awllee/NonUniformRandomVariateGeneration.jl.git on 2019-11-19T02:23:11.024-05:00 by @UnofficialJuliaMirrorBot via Travis job 481.25 , triggered by Travis cron job on branch "master"

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages