20.03.2013 Views

From Algorithms to Z-Scores - matloff - University of California, Davis

From Algorithms to Z-Scores - matloff - University of California, Davis

From Algorithms to Z-Scores - matloff - University of California, Davis

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

iv CONTENTS<br />

3.15.1 Trick Coins, Tricky Example . . . . . . . . . . . . . . . . . . . . . . . . . . . 73<br />

3.15.2 Intuition in Retrospect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74<br />

3.15.3 Implications for Modeling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75<br />

3.16 Why Not Just Do All Analysis by Simulation? . . . . . . . . . . . . . . . . . . . . . 75<br />

3.17 Pro<strong>of</strong> <strong>of</strong> Chebychev’s Inequality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76<br />

3.18 Reconciliation <strong>of</strong> Math and Intuition (optional section) . . . . . . . . . . . . . . . . . 77<br />

4 Introduction <strong>to</strong> Discrete Markov Chains 83<br />

4.1 Example: Die Game . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83<br />

4.2 Long-Run State Probabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84<br />

4.3 Example: 3-Heads-in-a-Row Game . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85<br />

4.4 Example: ALOHA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86<br />

4.5 Example: Bus Ridership Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88<br />

4.6 An Inven<strong>to</strong>ry Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89<br />

5 Continuous Probability Models 91<br />

5.1 A Random Dart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91<br />

5.2 Continuous Random Variables Are “Useful Unicorns” . . . . . . . . . . . . . . . . . 92<br />

5.3 But Equation (5.2) Presents a Problem . . . . . . . . . . . . . . . . . . . . . . . . . 92<br />

5.4 Density Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96<br />

5.4.1 Motivation, Definition and Interpretation . . . . . . . . . . . . . . . . . . . . 96<br />

5.4.2 Properties <strong>of</strong> Densities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99<br />

5.4.3 A First Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100<br />

5.5 Famous Parametric Families <strong>of</strong> Continuous Distributions . . . . . . . . . . . . . . . . 101<br />

5.5.1 The Uniform Distributions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101<br />

5.5.1.1 Density and Properties . . . . . . . . . . . . . . . . . . . . . . . . . 101<br />

5.5.1.2 R Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!