BusinessPrinciples of Data Science
Not rated yetRate this bookPrinciples of Data Science introduces an end-to-end workflow for turning data into defensible findings. Shaun V. Ault, Soohyun Nam Liao, Larry Musolino, and contributors connect Python-based preparation, statistics, forecasting, machine learning, AI, ethics, visualization, and reporting across ten chapters. This guide emphasizes reproducibility, appropriate evaluation, and the limits of inference alongside practical study tasks.
Free reading is available at the official source. Opens in a new tab.
About this book
Principles of Data Science introduces an end-to-end workflow for turning data into defensible findings. Shaun V. Ault, Soohyun Nam Liao, Larry Musolino, and contributors connect Python-based preparation, statistics, forecasting, machine learning, AI, ethics, visualization, and reporting across ten chapters. This guide emphasizes reproducibility, appropriate evaluation, and the limits of inference alongside practical study tasks.
Chapter-wise summaries and study tasks
Chapter 1 What Are Data and Data Science?
Data science connects a question with evidence through collection, preparation, analysis, modeling, and communication. The opening chapter distinguishes data types and dataset structures while introducing the tools used to work with them. Python provides an executable way to inspect and transform information, but code alone does not determine whether a question is meaningful or a dataset suitable. File formats and variable definitions affect what a workflow can reliably do. Begin by stating the unit of observation, identifying the outcome or relationship of interest, and considering how the data were generated.
Study task. Inspect a small public dataset in Python; document its source, observational unit, variable types, missing fields, and one question it can reasonably address.
Chapter 2 Collecting and Preparing Data
Data collection choices shape later conclusions. Surveys can suffer from ambiguous questions, coverage gaps, nonresponse, and sampling bias; web and social-media records reflect platform behavior rather than an automatic cross-section of society. Cleaning addresses duplicates, inconsistent formats, missingness, and inappropriate values, but decisions can also remove meaningful information. Large datasets require attention to efficient storage and processing. A reproducible preparation pipeline preserves raw inputs and records transformations. More observations cannot repair a fundamentally unrepresentative collection method, and publicly accessible data still require consideration of privacy and appropriate use.
Study task. Design a short neutral survey, then create a cleaning log for a sample table; justify every deletion, recoding, and missing-value decision.
Chapter 3 Descriptive Statistics: Statistical Measurements and Probability Distributions
Descriptive statistics compress data into measures of center, variation, and position, each revealing a different aspect of a distribution. Means and standard deviations can be sensitive to unusual observations, while medians and quantiles answer different questions. Probability introduces uncertainty through events, random variables, and discrete or continuous distributions. Choosing a distribution requires reasoning about the process, not just a familiar formula. Connect numerical summaries with visual inspection, because two datasets can share averages and still have very different structures. Interpret all results in the original variables and units.
Study task. Summarize a skewed dataset using mean, median, standard deviation, and quartiles; explain which measures best answer two different practical questions.
Chapter 4 Inferential Statistics and Regression Analysis
Inference uses sample evidence to reason about a wider population while acknowledging uncertainty. Confidence intervals express estimation under a procedure's assumptions; hypothesis tests compare evidence with a specified null model. A p-value does not measure the probability that the null hypothesis is true or the practical importance of an effect. Correlation and linear regression describe relationships that require attention to residuals, influential points, and confounding. ANOVA compares group means through a model of within- and between-group variation. Throughout, the sampling design and substantive question determine which conclusions are defensible.
Study task. Analyze a group comparison with an interval and a test, report effect size and assumptions, and explain why an association alone does not establish causation.
Chapter 5 Time Series and Forecasting
Time-series data preserve an order that ordinary independent-observation methods can overlook. Trend, seasonality, cycles, and irregular variation contribute different patterns, and forecasting methods respond to them in different ways. Evaluation must reflect what information would have been available at the forecast date. A model that looks accurate after seeing future observations can fail in actual use. Compare forecasts with a simple baseline and select error measures appropriate to the scale and question. Forecast uncertainty and changes in the underlying process remain important even when historical fit appears strong.
Study task. Use a chronologically separated training and evaluation period; compare a forecasting method with a naive baseline and explain its largest errors.
Chapter 6 Decision-Making Using Machine Learning Basics
Machine learning develops prediction rules from examples rather than specifying every decision by hand. Classification predicts categories, while regression predicts numerical outcomes. Decision trees express branching rules, and other methods make different trade-offs among flexibility, interpretation, and computation. Performance on training observations does not establish generalization; model selection and evaluation must avoid reusing information in misleading ways. The chapter's practical examples should be approached as experiments with features, targets, and suitable metrics. A useful model must be judged against a baseline and the consequences of the errors it makes.
Study task. Train a simple classifier and a baseline on the same split; compare confusion patterns and explain why overall accuracy may hide a costly error type.
Chapter 7 Deep Learning and AI Basics
Neural networks combine parameterized layers to learn relationships between inputs and outputs. Backpropagation calculates how a loss depends on parameters so an optimization procedure can adjust them. Deeper architectures allow more complex representations but also introduce greater demands for data, computation, and careful evaluation. Convolutional networks exploit spatial structure, while natural language processing addresses representations and patterns in text. Architectural complexity is not evidence of suitability. Connect the training objective, data representation, and evaluation task, and distinguish a fluent generated output from a verified factual result.
Study task. Sketch a small network's forward and backward information flow; compare its held-out performance with a simpler method and document one limitation.
Chapter 8 Ethics Throughout the Data Science Cycle
Ethical responsibility extends across the entire data-science cycle. Collection raises questions about consent, privacy, representation, and appropriate access; modeling raises questions about bias, proxies, unequal error rates, and accountability. Visualization and reporting can mislead through selective evidence or hidden uncertainty. These issues are not resolved merely because a dataset is large or a model accurate on average. The chapter encourages examination of who is affected, who can contest a result, and what safeguards are feasible. Ethical review should influence design choices before analysis begins and continue through dissemination.
Study task. Write a risk assessment for a fictional prediction project, naming affected groups, potential harms, data limitations, safeguards, and reasons to stop the project.
Chapter 9 Visualizing Data
Visualization encodes quantities and relationships through position, length, color, area, and other visual properties. Different goals require different choices: a distribution, a temporal pattern, a geographic comparison, and a network do not call for the same chart. Probability plots distinguish discrete masses from continuous densities, while heatmaps and multivariate displays need careful scales and labels. Python supports reproducible figures, but a technically valid plot can still obscure comparisons. Choose an encoding that answers the question clearly, disclose transformations, and avoid implying certainty or precision that the underlying data cannot support.
Study task. Create two charts for the same data with different purposes; justify the encoding, units, scale, accessibility choices, and treatment of uncertainty.
Chapter 10 Reporting Results
Reporting translates an analysis into an assessable argument for an audience. An informative report connects the question, data, methods, results, validation, and limitations, allowing readers to understand what supports a conclusion. Model validation should examine suitability for the intended setting, not simply display one favorable score. An executive summary prioritizes the decision and material uncertainty without concealing important qualifications. Reproducible code and clear figures support scrutiny. The final product should distinguish observations, model-based inferences, and proposed actions so that readers can evaluate the evidence rather than trust technical vocabulary.
Study task. Prepare a one-page executive summary and a methods appendix; ensure each conclusion links to a result and each recommendation names its main uncertainty.
How to study this book
- Use a small, documented dataset first; preserve raw data and keep preparation steps reproducible.
- Record the question, sampling limits, variable definitions, and analysis assumptions before interpreting output.
- Separate training and evaluation information, use a relevant baseline, and explain uncertainty and error costs.
- Maintain a notebook with code, outputs, interpretation, and ethical decisions; check software documentation when reproducing source examples.
Questions for reflection
- Which limitation comes from data collection rather than the chosen algorithm?
- Does your evaluation represent how the model would be used?
- What could a reader reasonably conclude from your chart, and what would be an overstatement?
Source edition and coverage
The guide follows the ten main chapters of the linked OpenStax Principles of Data Science PDF. Software examples belong to that edition; package interfaces may require checking when reproduced. These original explanations accompany rather than reproduce the textbook's projects and code. These are original study explanations and learning tasks. Read the complete book at the official source.
This page provides book information and study material. Full-text access is provided by the original publisher or authorised source; a listing does not grant permission to republish the book.
Read our Library Access & Copyright policyExplore the contents
Check the chapters covered in this edition.
Visit the official source
See reading, preview or purchase options.
Save for later
Keep this textbook in your saved collection.
Reader ratings & reviews
Share your thoughts
Your review helps other students choose the right resources.



