O'Reilly logo

Statistical Programming with SAS/IML Software by Rick Wicklin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 13. Sampling and Simulation

Contents

  • 13.1 Overview of Sampling and Simulation 311

  • 13.2 Simulate Tossing a Coin 312

  • 13.3 Simulate a Coin-Tossing Game 314

    • 13.3.1 Distribution of Outcomes 314

    • 13.3.2 Compute Statistics for the Simulation 316

    • 13.3.3 Efficiency of the Simulation 319

  • 13.4 Simulate Rolling Dice 321

  • 13.5 Simulate a Game of Craps 322

    • 13.5.1 A First Approach 323

    • 13.5.2 A More Efficient Approach 324

  • 13.6 Random Sampling with Unequal Probability 327

  • 13.7 A Module for Sampling with Replacement 329

  • 13.8 The Birthday Matching Problem 332

    • 13.8.1 A Probability-Based Solution for a Simplified Problem 332

    • 13.8.2 Simulate the Birthday Matching Problem 335

  • 13.9 Case Study: The Birthday Matching Problem for Real Data 338

    • 13.9.1 An Analysis of US Births in 2002 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required