Skip to content

This project implements a Tausworthe pseudo-random number generator and performs three statistical tests, specifically a goodness-of-fit-test, and two independence rets, to determine if the generator gives PRNs that are approximately independent and identically distributed with a distribution of uniform (0,1).

License

Notifications You must be signed in to change notification settings

ameliayurkofsky/tausworthe_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

tausworthe_generator

This project implements a Tausworthe pseudo-random number generator and performs three statistical tests, specifically a goodness-of-fit-test, and two independence rets, to determine if the generator gives PRNs that are approximately independent and identically distributed with a distribution of uniform (0,1). We find that, yes, the Tausworthe Generator as programmed in the attached code file is able to generate reasonably independent and identically distributed uniform (0,1) observations if the values used to initiate the sequence of bits are chosen carefully. Specifically, values based on values of primitive, irreducible polynomials are found to most often produce pseudo-random numbers (PRNs) that pass statisical tests of goodness-of-fit and independence.

About

This project implements a Tausworthe pseudo-random number generator and performs three statistical tests, specifically a goodness-of-fit-test, and two independence rets, to determine if the generator gives PRNs that are approximately independent and identically distributed with a distribution of uniform (0,1).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages