Random Number Generation and Monte Carlo Methods, Second Edition

by James E. Gentle

Table of Contents

1 Simulating Random Numbers from a Uniform Distribution ... 1

  • 1.1 Simple Linear Congruential Generators ... 8
  • 1.2 Computer Implementation of Linear Congruential Generators ... 22
  • 1.3 Other Congruential Generators ... 26
  • 1.4 Feedback Shift Register Generators ... 31
  • 1.5 Other Sources of Uniform Random Numbers ... 36
  • 1.6 Portable Random Number Generators ... 38
  • 1.7 Combining Generators ... 40
  • 1.8 Properties of Combined Generators ... 41
  • 1.9 Independent Streams and Parallel Random Number Generation ... 44
  • 1.10 Summary ... 46
  • Exercises ... 46

    2 Quality of Random Number Generators ... 51

  • 2.1 Properties of Random Numbers ... 52
  • 2.2 Measures of Lack of Fit ... 54
  • 2.3 Empirical Assessments ... 57
  • 2.4 Programming Issues ... 67
  • 2.5 Summary ... 67
  • Exercises ... 68

    3 Quasirandom Numbers ... 71

  • 3.1 Low Discrepancy ... 71
  • 3.2 Types of Sequences ... 72
  • 3.3 Applications and Comparisons... 75
  • Exercises ... 76

  • 4 Transformations of Uniform Deviates: General Methods ... 77
  • 4.1 Inverse CDF Method ... 78
  • 4.2 Transformations That Use More Than One Deivate ... 85
  • 4.3 Mixtures of Distributions ... 86
  • 4.4 Acceptance/Rejection Methods ... 87
  • 4.5 Mixtures and Acceptance Methods ... 98
  • 4.6 Ratio of Uniforms Method ... 101
  • 4.7 Alias Method ... 104
  • 4.8 Use of Characteristic Functions ... 107
  • 4.9 Use of Stationary Distributions of Markov Chains ... 108
  • 4.10 Use of Conditional Distributions ... 117
  • 4.11 Weighted Resampling ... 117
  • 4.12 Methods for Distributions with Certain Special Properties ... 118
  • 4.13 General Methods for Multivariate Distributions ... 122
  • 4.14 Generating Samples from a Given Distribution ... 127
  • Exercises ... 127

  • 5 Simulating Random Numbers from Specific Distributions ... 131
  • 5.1 Modifications of Standard Distributions ... 133
  • 5.2 Some Specific Univariate Distributions ... 135
  • 5.3 Some Specific Multivariate Distributions ... 159
  • 5.4 General Multivariate Distributions ... 171
  • 5.5 Geometric Objects ... 174
  • Exercises ... 174

  • 6 Generation of Random Samples, Permutations and Stochastic Processes... 177
  • 6.1 Random Samples ... 177
  • 6.2 Permutations ... 180
  • 6.3 Limitations of Random Number Generators ... 180
  • 6.4 Generation of Nonindependent Samples ... 181
  • 6.5 Generation of Nonindependent Sequences ... 184
  • Exercises ... 186

  • 7 Monte Carlo Methods ... 189
  • 7.1 Evaluating an Integral ... 190
  • 7.2 Sequential Monte Carlo Methods ... 192
  • 7.3 Experimental Error in Monte Carlo Methods ... 192
  • 7.4 Variance of Monte Carlo Estimators ... 194
  • 7.5 Variance Reduction ... 196
  • 7.6 Computational Statistics ... 203
  • 7.7 Computer Experiments ... 209
  • 7.8 Computational Physics ... 210
  • 7.9 Computational Finance ... 213
  • Exercises ... 224

    8 Software for Random Number Generation ... 231

  • 7.1 The User Interface for Random Number Generators ... 233
  • 7.2 Controlling the Seeds in Monte Carlo Studies ... 234
  • 7.3 Random Number Generation in Programming Languages ... 234
  • 7.4 Random Number Generation in IMSL Libraries ... 235
  • 7.5 Random Number Generation in S-Plus and R... 238
  • Exercises ... 242

    9 Monte Carlo Studies in Statistics ... 245

  • 9.1 Simulation as an Experiment ... 246
  • 9.2 Reporting Simulation Experiments ... 248
  • 9.3 An Example ... 248
  • Exercises ... 258

    Appendix A: Notation and Definitions ... 261

    Appendix B: Solutions and Hints for Selected Exercises ... 273

    Bibliography ... 279

  • The Literature in the Computational Statistics ... 280
  • World Wide Web, News Groups, List Servers, and Bulletin Boards ... 282
  • The References ... 286

    Author Index ... 319

    Subject Index ... 325