Probability with R
eBook - ePub

Probability with R

An Introduction with Computer Science Applications

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

Probability with R

An Introduction with Computer Science Applications

Book details
Book preview
Table of contents
Citations

About This Book

Provides a comprehensive introduction to probability with an emphasis on computing-related applications

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 R 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 Probability with R: An Introduction with Computer Science Applications, Second Edition 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.

Chapters cover: The R language; summarizing statistical data; graphical displays; the fundamentals of probability; reliability; discrete and continuous distributions; and more.

This second edition includes:

  • improved R code throughout the text, as well as new procedures, packages and interfaces;
  • updated and additional examples, exercises and projects covering recent developments of computing;
  • 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;
  • an introduction to linear regression with particular emphasis on its application to machine learning using testing and training data;
  • a new section on spam filtering using Bayes theorem to develop the filters;
  • an extended range of Poisson applications such as network failures, website hits, virus attacks and accessing the cloud;
  • use of new allocation functions in R to deal with hash table collision, server overload and the general allocation problem.

The book is supplemented with a Wiley Book Companion Site featuring data and solutions to exercises within the book.

Primarily addressed to students of computer science and related areas, Probability with R: An Introduction with Computer Science Applications, Second Edition 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.

Frequently asked questions

Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes, you can access Probability with R by Jane M. Horgan in PDF and/or ePUB format, as well as other popular books in Mathematics & Probability & Statistics. We have over one million books available in our catalogue for you to explore.

Information

Publisher
Wiley
Year
2019
ISBN
9781119536987
Edition
2

Part I
The R Language

1
Basics of R

This chapter introduces R and describes some of its basic operations and editing procedures. The syntax used to read and edit statistical data and to perform some basic statistical calculations is given.
It is not the intention to provide a complete set of features of the language, but rather to give a flavor of the structure of R and how to get help to proceed further. Additional features are introduced in later chapters as the need for them arises.

1.1 What Is R?

R is a data‐analysis system, a sophisticated calculator and an object‐oriented programming language. It provides an environment for statistical analysis and graphics that differs from standard statistical packages such as SPSS and Minitab; these provide point‐and‐click graphical‐user interfaces (GUIs), while R is command‐driven. Users type commands at a prompt, and the R interpreter responds.
It is possible to get quite far using R to execute simple expressions from the command line, and some users may never need to go beyond this. At a more advanced level, users write their own functions, either to systematize repetitive work or to develop add‐on packages for new functionality.

1.2 Installing R

R is obtained from the website called CRAN (Comprehensive R Archive Network) and is downloaded by proceeding as follows:
  • Go to the CRAN website at http://cran.r-project.org/;
  • Choose an operating system from Linux, (Mac) OS X, and Windows appropriate to your computer. In this book, we work in the Windows environment, click “Download R for Windows”;
  • Choose the “base” package;
  • Click “Download R 3.6.1”, which is the current version at the time of writing.
  • Press the option “Run.”
R is now installed, and you should see an “R” icon on your computer. Clicking on this will start up the standard R package.

1.3 R Documentation

R documentation is available at http://cran.r-pro...

Table of contents

  1. Cover
  2. Table of Contents
  3. Preface to the Second Edition
  4. Preface to the First Edition
  5. Acknowledgments
  6. About the Companion Website
  7. Part I: The R Language
  8. Part II: Fundamentals of Probability
  9. Part III: Discrete Distributions
  10. Part IV: Continuous Distributions
  11. Part V: Tailing Off
  12. Appendix A: Data: Examination Results
  13. Appendix B: The Line of Best Fit: Coefficient Derivations
  14. Appendix C: Variance Derivations
  15. Appendix D: Binomial Approximation to the Hypergeometric
  16. Appendix E: Normal Tables
  17. Appendix F: The Inequalities of Markov and Chebyshev
  18. Index to R Commands
  19. Index
  20. Postface
  21. End User License Agreement