Foundations of Statistics for Data Scientists
eBook - ePub

Foundations of Statistics for Data Scientists

With R and Python

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

Foundations of Statistics for Data Scientists

With R and Python

About this book

Foundations of Statistics for Data Scientists: With R and Python is designed as a textbook for a one- or two-term introduction to mathematical statistics for students training to become data scientists. It is an in-depth presentation of the topics in statistical science with which any data scientist should be familiar, including probability distributions, descriptive and inferential statistical methods, and linear modeling. The book assumes knowledge of basic calculus, so the presentation can focus on "why it works" as well as "how to do it." Compared to traditional "mathematical statistics" textbooks, however, the book has less emphasis on probability theory and more emphasis on using software to implement statistical methods and to conduct simulations to illustrate key concepts. All statistical analyses in the book use R software, with an appendix showing the same analyses with Python.

Key Features:

  • Shows the elements of statistical science that are important for students who plan to become data scientists.
  • Includes Bayesian and regularized fitting of models (e.g., showing an example using the lasso), classification and clustering, and implementing methods with modern software (R and Python).
  • Contains nearly 500 exercises.

The book also introduces modern topics that do not normally appear in mathematical statistics texts but are highly relevant for data scientists, such as Bayesian inference, generalized linear models for non-normal responses (e.g., logistic regression and Poisson loglinear models), and regularized model fitting. The nearly 500 exercises are grouped into "Data Analysis and Applications" and "Methods and Concepts." Appendices introduce R and Python and contain solutions for odd-numbered exercises. The book's website (http://stat4ds.rwth-aachen.de/) has expanded R, Python, and Matlab appendices and all data sets from the examples and exercises.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
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.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
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 use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Foundations of Statistics for Data Scientists by Alan Agresti,Maria Kateri in PDF and/or ePUB format, as well as other popular books in Economics & Statistics for Business & Economics. We have over one million books available in our catalogue for you to explore.

1Introduction to Statistical Science

DOI: 10.1201/9781003159834-1
Compared to mathematics and the physical and natural sciences, statistical science is quite young. The statistical methods that you'll learn about in this book were mainly developed within the past century. Modern computing power is causing a revolution in the sorts of data analyses that are possible, so new methods are continually being developed. In recent years, new statistical methods have resulted from challenges in analyzing data in diverse fields, such as medicine (e.g., genetic data relating to disease presence, data for personalized medical decisions) and business (e.g., data on consumer buying behavior, data from experiments comparing advertising strategies). This book presents the foundations underlying the methods of statistical science, explaining when and why these methods work, and shows how to use statistical software to apply them.
Statistical software also has become increasingly powerful and easily available. This has had benefits in the data analyses that are now possible, but a danger is that prospective data scientists might think that statistical science is merely a computational toolbox consisting of a variety of algorithms. A goal of this book, by contrast, is to show that the methods of statistical science result from a unified theory, although that theory itself has slight variations in the way it is implemented or interpreted. Another danger of the ubiquity of statistical software is that prospective data scientists might expect that software can automatically perform good data analyses without input from the user. We'll see, however, that careful thought is needed to decide which statistical methods are appropriate for any particular situation, as they all make certain assumptions, and some methods work poorly when the assumptions are violated. Moreover, a data scientist needs to be able to interpret and explain the results that software yields.
In this chapter, we introduce statistical science as a field that deals with describing data and using them to make inferences. We define types of variables that represent how measured characteristics can vary from observation to observation. We also introduce graphical and numerical methods for describing the data. When a study can use randomization in collecting the data or conducting an experiment, data analysts can exploit the random variation to make reliable estimations and predictions.

1.1 Statistical Science: Description and Inference

You already have a sense of what the word statistics means. You regularly hear statistics quoted about sports events, the economy, medical research, and opinions, beliefs, and behaviors of people. In this sense, a statistic is merely a number calculated from data —the observations that provide information about the subject matter. But the field of statistical science has a much broader sense—as a field that gives us a way of gathering and analyzing the data in an objective manner.
Statistical science
Statistical science is the science of developing and applying methods for collecting, analyzing, and interpreting data.
Many methods of statistical science incorporate reasoning using tools of probability. The methods enable us to deal with uncertainty and variability in virtually all scientific fields. With statistical methods, we learn from the data while measuring, controlling, and communicating uncertainty.

1.1.1 Design, Descriptive Statistics, and Inferential Statistics

Statistical science has three aspects:
  1. Design: Planning how to gather relevant data for the subject matter of interest.
  2. Description: Summarizing the data.
  3. Inference: Making evaluations, such as estimations and predictions, based on the data.
Design refers to planning a study so that it yields useful data. For example, for a poll taken to determine public opinion on some issue, the design specifies how to select the people to interview and constructs the questionnaire for interviews. For a research study to compare an experimental diet with a standard diet to address obesity, the design specifies how to obtain people for the study, how to determine which people use each diet, and specifies the characteristics to measure to compare the diets.
Description refers to summarizing the data, to mine the information that the data provide. For any study, the raw data are a complete listing of observations that can be overwhelming for comprehension. To present the results, we reduce the data to simpler and more understandable form without distorting or losing much information. Graphs, tables, and numerical summaries such as averages and percentages are called descriptive statistics.
Inference refers to using the data to make estimations and other sorts of evaluations, such as predictions. These evaluations take into account random variability that occurs with the characteristics measured and the resulting uncertainty in decision-making. For instance, suppose that in the study comparing two diets, the people on the experimental diet had an average weight loss of 7.0 kilograms. What can we say about the average weight change if hypothetically all obese people used this diet? An inferential statistical method provides an interval of numbers within which we can predict that the average weight change would fall. The analysis...

Table of contents

  1. Cover Page
  2. Half-Title Page
  3. Series Page
  4. Title Page
  5. Copyright Page
  6. Contents
  7. Preface
  8. 1 Introduction to Statistical Science
  9. 2 Probability Distributions
  10. 3 Sampling Distributions
  11. 4 Statistical Inference: Estimation
  12. 5 Statistical Inference: Significance Testing
  13. 6 Linear Models and Least Squares
  14. 7 Generalized Linear Models
  15. 8 Classification and Clustering
  16. 9 Statistical Science: A Historical Overview
  17. Appendix A Using R in Statistical Science
  18. Appendix B Using Python in Statistical Science
  19. Appendix C Brief Solutions to Exercises
  20. Bibliography
  21. Example Index
  22. Subject Index