Random Number Generation and Monte Carlo Methods

by James E. Gentle

Table of Contents

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

  • 1.1 Linear Congruential Generators ... 6
  • 1.2 Combining Generators ... 22
  • 1.3 Other Congruential Generators ... 24
  • 1.4 Feedback Shift Register Generators ... 29
  • 1.5 Other Sources of Uniform Random Numbers ... 33
  • 1.6 Portable Random Number Generators ... 34
  • 1.7 Independent Streams and Parallel Random Number Generation ... 35
  • Exercises ... 37

  • 2 Transformations of Uniform Deviates: General Methods ... 41
  • 2.1 Inverse CDF Method ... 42
  • 2.2 Acceptance/Rejection Methods ... 47
  • 2.3 Mixtures of Distributions ... 56
  • 2.4 Mixtures and Acceptance Methods ... 57
  • 2.5 Ratio of Uniforms Method ... 59
  • 2.6 Alias Method ... 62
  • 2.7 Use of Stationary Distributions of Markov Chains ... 65
  • 2.8 Weighted Resampling ... 73
  • 2.9 Methods for Distributions with Certain Special Properties ... 74
  • 2.10 General Methods for Multivariate Distributions ... 78
  • 2.11 Generating Samples from a Given Distribution ... 82
  • Exercises ... 82

  • 3 Simulating Random Numbers from Specific Distributions ... 87
  • 3.1 Some Specific Univariate Distributions ... 89
  • 3.2 Some Specific Multivariate Distributions ... 107
  • 3.3 General Multivariate Distributions ... 114
  • 3.4 Geometric Objects ... 119
  • Exercises ... 120

  • 4 Generation of Random Samples and Permutations ... 123
  • 4.1 Random Samples ... 123
  • 4.2 Permutations ... 126
  • 4.3 Generation of Nonindependent Samples ... 127
  • Exercises ... 130

  • 5 Monte Carlo Methods ... 133
  • 5.1 Evaluating an Integral ... 133
  • 5.2 Variance of Monte Carlo Estimators ... 135
  • 5.3 Variance Reduction ... 137
  • 5.4 Computer Experiments ... 141
  • 5.5 Computational Statistics ... 143
  • 5.6 Evaluating a Posterior Distribution ... 147
  • Exercises ... 148

    6 Quality of Random Number Generators ... 153

  • 6.1 Analysis of the Algorithm ... 153
  • 6.2 Empirical Assessments ... 156
  • 6.3 Quasirandom Numbers ... 161
  • 6.4 Programming Issues ... 165
  • Exercises ... 166

    7 Software for Random Number Generation ... 169

  • 7.1 The User Interface for Random Number Generators ... 170
  • 7.2 Controlling the Seeds in Monte Carlo Studies ... 171
  • 7.3 Random Number Generation in IMSL Libraries ... 171
  • 7.4 Random Number Generation in S-Plus ... 174
  • Exercises ... 177

    8 Monte Carlo Studies in Statistics ... 179

  • 8.1 Simulation as an Experiment ... 180
  • 8.2 Reporting Simulation Experiments ... 182
  • 8.3 An Example ... 182
  • Exercises ... 192

    Appendix A: Notation and Definitions ... 195

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

    Bibliography ... 205

  • The Literature in the Computational Statistics ... 206
  • World Wide Web, News Groups, List Servers, and Bulletin Boards ... 208
  • The References ... 210

    Author Index ... 235

    Subject Index ... 241