A good way to test uniform random number
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
James Tursa
2018-3-22
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 个评论
James Tursa
2018-3-22
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?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Hypothesis Tests 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!