A good way to test uniform random number
10 views (last 30 days)
Show older comments
Hi, i have got some generators i need to test. These produce uniform random numbers. I found only corrcoef() and runstest() are related to a uniform distribution, the others (like Kolmogorov Smirnov, chisquared etc) test the normality of a distribution of numbers. A possibility may be to convert uniformly distribuited numbers to normal distr numbers (there is erfinv function) so i can use the other tests. Any idea?
0 Comments
Answers (1)
James Tursa
on 22 Mar 2018
Not sure what the real goal is here. There are lots of uniform random number generator tests that you can use, and you will get lots of hits with a simple web search. Here is one of them:
3 Comments
James Tursa
on 22 Mar 2018
I wasn't trying to imply anything about you ... I just wasn't sure what you were asking. So you want to know what are all of the uniform (or normal etc) random number generator test routines supplied with MATLAB? I.e., you want to know what MATLAB already has, not what you can write with MATLAB?
See Also
Categories
Find more on Hypothesis Tests in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!