Digital Library

Practical Statistics for Data Scientists (First Early Release) (Peter Bruce, Andrew Bruce, Peter Gedeck)(Z-Library)

Peter Bruce, Andrew Bruce, Peter Gedeck

Practical Statistics for Data Scientists (First Early Release) (Peter Bruce, Andrew Bruce, Peter Gedeck)(Z-Library)

Author Peter Bruce, Andrew Bruce, Peter Gedeck

数据

Statistical methods are a key part of data science, yet few data scientists have formal statistical training. Courses and books on basic statistics rarely cover the topic from a data science perspective. And many data science resources incorporate statistical methods but lack a deeper statistical perspective. If you're familiar with the R or Python programming languages and have some exposure to statistics, this quick reference bridges the gap in an accessible, readable format.

Format EPUB
Size 3.4 MB
95
Views
0
Downloads
0.00
Total Donations

AI Guide

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

Full assistant
AI guide
# Practical Statistics for Data Scientists (3rd Early Release) ## 【One-Line Pitch】 A practical, concept-driven reference that bridges the gap between classical statistics and modern data science practice, showing R and Python users how to apply statistical thinking to real-world data problems—now updated with generative AI examples. Ideal for practicing data scientists, analysts, and engineers who need a statistical refresher oriented around data science workflows rather than academic theory. ## 【Book Arc】 - **Opening (~0%–6%)**: Establishes the book's mission—connecting statistical inference with data science practice—and traces the intellectual lineage from John Tukey's pioneering work in exploratory data analysis to modern data science. Sets up the "data analysis" paradigm where statistical methods serve practical discovery rather than formal inference alone. - **Early (~6%–16%)**: Introduces the foundational vocabulary of data science: structured vs. unstructured data, rectangular data structures (data frames), and the critical distinction between numeric (continuous, discrete) and categorical (binary, ordinal) data types. Explains why explicit data typing matters for statistical software behavior. - **Early (~16%–28%)**: Covers data structures in depth—rectangular data as the workhorse format, plus time series, spatial, and graph data structures. Clarifies the often-confusing terminology differences between statisticians (predictors, response variables) and data scientists (features, targets), and introduces data dictionaries as essential documentation practice. - **Early (~28%–38%)**: Demonstrates a modern workflow for data documentation using LLMs—specifically showing how to use Python's langchain package with OpenAI models to automatically improve and enrich data dictionaries. Includes a complete worked example using eBay auction data. - **Middle (~38%–53%)**: Shifts to the core statistical concept of location estimates—mean, weighted mean, median, trimmed mean, percentiles, and their robust variants. Emphasizes why the median and trimmed mean resist outliers better than the simple average, using concrete examples like neighborhood income comparisons where extreme values distort the mean. ## 【Key Takeaways】 - **Exploratory data analysis is the foundation of data science** (Early): John Tukey's 1962 call for a "data analysis" discipline—treating statistical inference as just one component—remains the philosophical backbone of modern practice. The book frames EDA as the essential first step before any modeling. - **Data typing is a signal, not just metadata** (Early): Explicitly identifying data as numeric, categorical, binary, or ordinal tells statistical software how to behave—affecting charts, model fitting, and storage. R's automatic conversion of text to factors can cause unexpected behavior, while Python's pandas requires explicit categorical designation. - **Terminology differences between statisticians and data scientists cause real confusion** (Early): The same concept has different names—"predictor variables" vs. "features," "response" vs. "target," and especially "sample" (a single row for computer scientists, a collection of rows for statisticians). Understanding these mappings prevents communication breakdowns. - **Data dictionaries are essential but often neglected** (Early): Feature names are cryptic and carry insufficient information; a proper data dictionary documents data source, variable meanings, types, units, and allowed values. This documentation is critical for correct analysis and interpretation. - **LLMs can automate data documentation workflows** (Early): The book demonstrates a practical pattern—using langchain to chain a prompt template with an OpenAI model (GPT-5) to transform a basic data dictionary into a richer, YAML-formatted version with definitions, units, and notes. This represents a genuinely new capability in the 3rd edition. - **The mean is not always the best measure of central tendency** (Middle): While easy to compute, the mean is sensitive to extreme values. The trimmed mean (dropping fixed numbers of extreme values) and median provide more robust alternatives—illustrated by how Bill Gates's presence in Medina distorts neighborhood income comparisons. - **Statisticians estimate; data scientists measure** (Middle): This distinction reflects deeper disciplinary differences—statistics centers on accounting for uncertainty, while data science focuses on concrete business objectives. Understanding this cultural difference helps practitioners navigate both worlds. ## 【Reading Tips】 - **Skim the opening historical material** (~0%–6%): The Tukey backstory is interesting context but not essential for practical use. Move quickly to the data structures content. - **Deep-read the data types and structures chapters** (~6%–28%): These foundational concepts underpin everything else in the book. Pay special attention to the terminology mapping table—it will save you confusion in cross-disciplinary conversations. - **Study the LLM data dictionary example carefully** (~28%–38%): This is the most novel content in this early release. Even if you don't use OpenAI, the pattern—using prompts to enrich documentation—transfers to other LLM providers and documentation tasks. - **Work through the location estimates section with your own data** (~44%–53%): The mean vs. median vs. trimmed mean discussion is best internalized by computing all three on a dataset you know has outliers. The eBay auction example provides a good test case. - **Note what's unavailable**: Chapters 2–9 and 11 (covering distributions, significance testing, regression, classification, machine learning, unsupervised learning, neural networks, deep learning, and caveats) are listed but not included in this early release. The table of contents suggests the full book will be substantially broader. ## 【Coverage Limits】 This guide covers only the available early-release content: Chapter 1 (Exploratory Data Analysis) and Chapter 10 (LLMs and Generative AI, partially). The majority of the book's statistical content—sampling distributions, significance testing, regression, classification, and machine learning—is listed in the table of contents but not included in the excerpts. ##

Passage locations

Excerpt 1
al sales department: 800-998-9938 or corporate@oreilly.com . Acquisitions Editor: Michelle Smith Development Editor: Corbin Collins Production Editor: Ashley...
View in text
Excerpt 2
acts as a signal to the software on how to process the data. Further Reading The pandas documentation describes the different data types and how they can be ...
View in text
Excerpt 3
whole, as well as information about each variable (feature). It can take many forms; it could be a simple table or a more complex document. A sample data dic...
View in text
Excerpt 4
lysts are more likely to refer to such a value as a metric . The difference reflects the approach of statistics versus that of data science: accounting for u...
View in text

Support Author

0.00
Total Amount (¥)
0
Donation Count
Please enter an amount Minimum ¥1

You will be redirected to Alipay to complete payment, then return here.

Recommended for You

Loading recommended books...
Failed to load, please try again later
Back to List