目录
伪均匀随机数的计算机检验............................................................................................................I
摘要......................................................................................................................................................I
Abstract...............................................................................................................................................II
一、引言.............................................................................................................................................4
1 基本概念和定理......................................................................................................................5
2 伪随机数..................................................................................................................................6
二、产生随机数的一般方法.............................................................................................................7
2.1 取中法...................................................................................................................................7
2.1.1 平方取中法................................................................................................................7
2.1.2 乘积取中法................................................................................................................7
2.2 同余发生器...........................................................................................................................8
2.2.1 混合同余法................................................................................................................9
2.2.2 乘同余法....................................................................................................................9
2.2.3 加同余法....................................................................................................................9
2.3 反馈位移寄存器法.............................................................................................................10
三、伪均匀随机数的统计检验.......................................................................................................11
3.1 检验步骤.............................................................................................................................13
3.2 检验统计量.........................................................................................................................13
3.3 统计检验方法.....................................................................................................................14
3.3.1 参数检验..................................................................................................................14
3.3.2 均匀性检验..............................................................................................................16
3.3.3 独立性检验..............................................................................................................20
3.3.4 其他经验检验..........................................................................................................23
四、实例分析...................................................................................................................................24
4.1 数据产生及录入.................................................................................................................24
4.2 参数检验-单样本 t 检验.....................................................................................................25
4.3 均匀性检验-卡方检验........................................................................................................27
4.4 独立性检验.........................................................................................................................29
4.5 本章小结.............................................................................................................................31