Details

Probability with R


Probability with R

An Introduction with Computer Science Applications
2. Aufl.

von: Jane M. Horgan

101,99 €

Verlag: Wiley
Format: EPUB
Veröffentl.: 18.12.2019
ISBN/EAN: 9781119536987
Sprache: englisch
Anzahl Seiten: 496

DRM-geschütztes eBook, Sie benötigen z.B. Adobe Digital Editions und eine Adobe ID zum Lesen.

Beschreibungen

<p><b>Provides a comprehensive introduction to probability with an emphasis on computing-related applications</b></p> <p>This self-contained new and extended edition outlines a first course in probability applied to computer-related disciplines. As in the first edition, experimentation and simulation are favoured over mathematical proofs. The freely down-loadable statistical programming language <i>R </i>is used throughout the text, not only as a tool for calculation and data analysis, but also to illustrate concepts of probability and to simulate distributions. The examples in <i>Probability with R: An Introduction with Computer Science Applications, Second Edition </i>cover a wide range of computer science applications, including: testing program performance; measuring response time and CPU time; estimating the reliability of components and systems; evaluating algorithms and queuing systems. </p> <p>Chapters cover: The R language; summarizing statistical data; graphical displays; the fundamentals of probability; reliability; discrete and continuous distributions; and more. </p> <p>This second edition includes:</p> <ul> <li>improved R code throughout the text, as well as new procedures, packages and interfaces;</li> <li>updated and additional examples, exercises and projects covering recent developments of computing;</li> <li>an introduction to bivariate discrete distributions together with the R functions used to handle large matrices of conditional probabilities, which are often needed in machine translation;</li> <li>an introduction to linear regression with particular emphasis on its application to machine learning using testing and training data;</li> <li>a new section on spam filtering using Bayes theorem to develop the filters;</li> <li>an extended range of Poisson applications such as network failures, website hits, virus attacks and accessing the cloud;</li> <li>use of new allocation functions in R to deal with hash table collision, server overload and the general allocation problem.</li> </ul> <p>The book is supplemented with a Wiley Book Companion Site featuring data and solutions to exercises within the book.</p> <p>Primarily addressed to students of computer science and related areas, <i>Probability with R: An Introduction with Computer Science Applications, Second Edition </i>is also an excellent text for students of engineering and the general sciences. Computing professionals who need to understand the relevance of probability in their areas of practice will find it useful.</p>
<p>Preface to the Second Edition xiii</p> <p>Preface to the First Edition xvii</p> <p>Acknowledgments xxi</p> <p>About the Companion Website xxiii</p> <p><b>I The <i>R </i>Language 1</b></p> <p><b>1 Basics of <i>R </i>3</b></p> <p>1.1 What is <i>R</i>? 3</p> <p>1.2 Installing <i>R </i>4</p> <p>1.3 <i>R </i>Documentation 4</p> <p>1.4 Basics 5</p> <p>1.5 Getting Help 6</p> <p>1.6 Data Entry 7</p> <p>1.7 Missing Values 11</p> <p>1.8 Editing 12</p> <p>1.9 Tidying Up 12</p> <p>1.10 Saving and Retrieving 13</p> <p>1.11 Packages 13</p> <p>1.12 Interfaces 14</p> <p>1.13 Project 16</p> <p><b>2 Summarizing Statistical Data 17</b></p> <p>2.1 Measures of Central Tendency 17</p> <p>2.2 Measures of Dispersion 21</p> <p>2.3 Overall Summary Statistics 24</p> <p>2.4 Programming in <i>R </i>25</p> <p>2.5 Project 30</p> <p><b>3 Graphical Displays 31</b></p> <p>3.1 Boxplots 31</p> <p>3.2 Histograms 36</p> <p>3.3 Stem and Leaf 40</p> <p>3.4 Scatter Plots 40</p> <p>3.5 The Line of Best Fit 43</p> <p>3.6 Machine Learning and the Line of Best Fit 44</p> <p>3.7 Graphical Displays Versus Summary Statistics 49</p> <p>3.8 Projects 53</p> <p><b>II Fundamentals of Probability 55</b></p> <p><b>4 Probability Basics 57</b></p> <p>4.1 Experiments, Sample Spaces, and Events 58</p> <p>4.2 Classical Approach to Probability 61</p> <p>4.3 Permutations and Combinations 64</p> <p>4.4 The Birthday Problem 71</p> <p>4.5 Balls and Bins 76</p> <p>4.6 <i>R </i>Functions for Allocation 79</p> <p>4.7 Allocation Overload 81</p> <p>4.8 Relative Frequency Approach to Probability 83</p> <p>4.9 Simulating Probabilities 84</p> <p>4.10 Projects 89</p> <p><b>5 Rules of Probability 91</b></p> <p>5.1 Probability and Sets 91</p> <p>5.2 Mutually Exclusive Events 92</p> <p>5.3 Complementary Events 93</p> <p>5.4 Axioms of Probability 94</p> <p>5.5 Properties of Probability 96</p> <p><b>6 Conditional Probability 104</b></p> <p>6.1 Multiplication Law of Probability 107</p> <p>6.2 Independent Events 108</p> <p>6.3 Independence of More than Two Events 110</p> <p>6.4 The Intel Fiasco 113</p> <p>6.5 Law of Total Probability 115</p> <p>6.6 Trees 118</p> <p>6.7 Project 123</p> <p><b>7 Posterior Probability and Bayes 124</b></p> <p>7.1 Bayes’ Rule 124</p> <p>7.2 Hardware Fault Diagnosis 131</p> <p>7.3 Machine Learning and Classification 132</p> <p>7.4 Spam Filtering 135</p> <p>7.5 Machine Translation 137</p> <p><b>8 Reliability 142</b></p> <p>8.1 Series Systems 142</p> <p>8.2 Parallel Systems 143</p> <p>8.3 Reliability of a System 143</p> <p>8.4 Series–Parallel Systems 150</p> <p>8.5 The Design of Systems 153</p> <p>8.6 The General System 158</p> <p><b>III Discrete Distributions 161</b></p> <p><b>9 Introduction to Discrete Distributions 163</b></p> <p>9.1 Discrete Random Variables 163</p> <p>9.2 Cumulative Distribution Function 168</p> <p>9.3 Some Simple Discrete Distributions 170</p> <p>9.4 Benford’s Law 174</p> <p>9.5 Summarizing Random Variables: Expectation 175</p> <p>9.6 Properties of Expectations 180</p> <p>9.7 Simulating Discrete Random Variables and Expectations 183</p> <p>9.8 Bivariate Distributions 187</p> <p>9.9 Marginal Distributions 189</p> <p>9.10 Conditional Distributions 190</p> <p>9.11 Project 194</p> <p><b>10 The Geometric Distribution 196</b></p> <p>10.1 Geometric Random Variables 198</p> <p>10.2 Cumulative Distribution Function 203</p> <p>10.3 The Quantile Function 207</p> <p>10.4 Geometric Expectations 209</p> <p>10.5 Simulating Geometric Probabilities and Expectations 210</p> <p>10.6 Amnesia 217</p> <p>10.7 Simulating Markov 219</p> <p>10.8 Projects 224</p> <p><b>11 The Binomial Distribution 226</b></p> <p>11.1 Binomial Probabilities 227</p> <p>11.2 Binomial Random Variables 229</p> <p>11.3 Cumulative Distribution Function 233</p> <p>11.4 The Quantile Function 235</p> <p>11.5 Reliability: The General System 238</p> <p>11.6 Machine Learning 241</p> <p>11.7 Binomial Expectations 245</p> <p>11.8 Simulating Binomial Probabilities and Expectations 248</p> <p>11.9 Projects 254</p> <p><b>12 The Hypergeometric Distribution 255</b></p> <p>12.1 Hypergeometric Random Variables 257</p> <p>12.2 Cumulative Distribution Function 260</p> <p>12.3 The Lottery 262</p> <p>12.4 Hypergeometric or Binomial? 266</p> <p>12.5 Projects 273</p> <p><b>13 The Poisson Distribution 274</b></p> <p>13.1 Death by Horse Kick 274</p> <p>13.2 Limiting Binomial Distribution 275</p> <p>13.3 Random Events in Time and Space 281</p> <p>13.4 Probability Density Function 283</p> <p>13.5 Cumulative Distribution Function 287</p> <p>13.6 The Quantile Function 289</p> <p>13.7 Estimating Software Reliability 290</p> <p>13.8 Modeling Defects in Integrated Circuits 292</p> <p>13.9 Simulating Poisson Probabilities 293</p> <p>13.10 Projects 298</p> <p><b>14 Sampling Inspection Schemes 299</b></p> <p>14.1 Introduction 299</p> <p>14.2 Single Sampling Inspection Schemes 300</p> <p>14.3 Acceptance Probabilities 301</p> <p>14.4 Simulating Sampling Inspection Schemes 303</p> <p>14.5 Operating Characteristic Curve 308</p> <p>14.6 Producer’s and Consumer’s Risks 310</p> <p>14.7 Design of Sampling Schemes 311</p> <p>14.8 Rectifying Sampling Inspection Schemes 315</p> <p>14.9 Average Outgoing Quality 316</p> <p>14.10 Double Sampling Inspection Schemes 318</p> <p>14.11 Average Sample Size 319</p> <p>14.12 Single Versus Double Schemes 320</p> <p>14.13 Projects 324</p> <p><b>IV Continuous Distributions 325</b></p> <p><b>15 Introduction to Continuous Distributions 327</b></p> <p>15.1 Introduction to Continuous Random Variables 328</p> <p>15.2 Probability Density Function 328</p> <p>15.3 Cumulative Distribution Function 331</p> <p>15.4 The Uniform Distribution 332</p> <p>15.5 Expectation of a Continuous Random Variable 336</p> <p>15.6 Simulating Continuous Variables 338</p> <p><b>16 The Exponential Distribution 341</b></p> <p>16.1 Modeling Waiting Times 341</p> <p>16.2 Probability Density Function of Waiting Times 342</p> <p>16.3 Cumulative Distribution Function 344</p> <p>16.4 Modeling Lifetimes 347</p> <p>16.5 Quantiles 349</p> <p>16.6 Exponential Expectations 351</p> <p>16.7 Simulating Exponential Probabilities and Expectations 353</p> <p>16.8 Amnesia 356</p> <p>16.9 Simulating Markov 360</p> <p>16.10 Project 369</p> <p><b>17 Queues 370</b></p> <p>17.1 The Single Server Queue 370</p> <p>17.2 Traffic Intensity 371</p> <p>17.3 Queue Length 372</p> <p>17.4 Average Response Time 376</p> <p>17.5 Extensions of the M/M/1 Queue 378</p> <p>17.6 Project 382</p> <p><b>18 The Normal Distribution 383</b></p> <p>18.1 The Normal Probability Density Function 385</p> <p>18.2 The Cumulative Distribution Function 387</p> <p>18.3 Quantiles 389</p> <p>18.4 The Standard Normal Distribution 391</p> <p>18.5 Achieving Normality: Limiting Distributions 394</p> <p>18.6 Projects 405</p> <p><b>19 Process Control 407</b></p> <p>19.1 Control Charts 407</p> <p>19.2 Cusum Charts 411</p> <p>19.3 Charts for Defective Rates 412</p> <p>19.4 Project 416</p> <p><b>V Tailing Off 417</b></p> <p><b>20 The Inequalities of Markov and Chebyshev 419</b></p> <p>20.1 Markov’s Inequality 420</p> <p>20.2 Algorithm Runtime 426</p> <p>20.3 Chebyshev’s Inequality 427</p> <p>Appendix A: Data: Examination Results 433</p> <p>Appendix B: The Line of Best Fit: Coefficient Derivations 437</p> <p>Appendix C: Variance Derivations 440</p> <p>Appendix D: Binomial Approximation to the Hypergeometric 446</p> <p>Appendix E: Normal Tables 448</p> <p>Appendix F: The Inequalities of Markov and Chebyshev 450</p> <p>Index to <i>R </i>Commands 453</p> <p>Index 457</p> <p>Postface</p>
<p><b>JANE M. HORGAN</b> is Emeritus Professor of Statistics in the School of Computing, Dublin City University, Ireland. A Fellow of the Institute of Statisticians, she graduated in Statistics with a First Class Honours from University College Cork and completed postgraduate work at the London School of Economics and at London City University. Dr. Horgan has published extensively in statistics and computing.
<p><b>Provides a comprehensive introduction to probability with an emphasis on computing-related applications</b> <p>This self-contained new and extended edition outlines a first course in probability applied to computer-related disciplines. As in the first edition, experimentation and simulation are favoured over mathematical proofs. The freely downloadable statistical programming language <i>R</i> is used throughout the text, not only as a tool for calculation and data analysis, but also to illustrate concepts of probability and to simulate distributions. The examples in <i>Probability with R: An Introduction with Computer Science Applications, Second Edition</i> cover a wide range of computer science applications, including: testing program performance; measuring response time and CPU time; training and testing in machine learning; estimating the reliability of components and systems; evaluating algorithms and queuing systems. <p>Chapters cover: The R language; summarizing statistical data; graphical displays; the fundamentals of probability; reliability; discrete and continuous distributions; and more. <p>This second edition includes: <ul> <li>improved R code throughout the text, as well as new procedures, packages and interfaces;</li> <li>updated and additional examples, exercises and projects covering recent developments in computing;</li> <li>an introduction to bivariate discrete distributions together with the R functions used to handle large matrices of conditional probabilities, which are often needed in machine translation;</li> <li>an introduction to linear regression with particular emphasis on its application to machine learning using testing and training data;</li> <li>a new section on spam filtering using Bayes theorem to develop the filters;</li> <li>an extended range of Poisson applications such as network failures, website hits, virus attacks and accessing the cloud;</li> <li>use of new allocation functions in R to deal with hash table collision, server overload and the general allocation problem.</li> </ul> <p>The book is supplemented with a Wiley Instructor-only Book Companion Site featuring data and solutions to exercises within the book. <p>Primarily addressed to students of computer science and related areas, <i>Probability with R: An Introduction with Computer Science Applications, Second Edition</i> is also an excellent text for students of engineering and the general sciences. Computing professionals who need to understand the relevance of probability in their areas of practice will find it useful.

Diese Produkte könnten Sie auch interessieren:

Statistics for Microarrays
Statistics for Microarrays
von: Ernst Wit, John McClure
PDF ebook
90,99 €