Leanpub Header

Skip to main content

The Art of Data Science

A Guide for Anyone Who Works with Data

This book describes the process of analyzing data. The authors have extensive experience both managing data analysts and conducting their own data analyses, and this book is a distillation of their experience in a format that is applicable to both practitioners and managers in data science. Printed copies are available through Lulu.

This book is available in multiple packages!

Pick Your Package
PDF
EPUB
WEB
172
Pages
About

About

About the Book

Data analysis is a difficult process largely because few people can describe exactly how to do it. It's not that there aren't any people doing data analysis on a regular basis. It's that the process by which we state a question, explore data, conduct formal modeling, interpret results, and communicate findings, is a difficult process to generalize and abstract. Fundamentally, data analysis is an art. It is not yet something that we can easily automate. Data analysts have many tools at their disposal, from linear regression to classification trees to random forests, and these tools have all been carefully implemented on computers. But ultimately, it takes a data analyst—a person—to find a way to assemble all of the tools and apply them to data to answer a question of interest to people. 

This book writes down the process of data analysis with a minimum of technical detail. What we describe is not a specific "formula" for data analysis, but rather is a general process that can be applied in a variety of situations. Through our extensive experience both managing data analysts and conducting our own data analyses, we have carefully observed what produces coherent results and what fails to produce useful insights into data. This book is a distillation of our experience in a format that is applicable to both practitioners and managers in data science. 

If you are interested in obtaining a printed copy of this book, you can purchase one at Lulu.

The package containing the lecture videos offers short commentaries on each of the chapters and contains addtional explanatory material for each of the topics. In addition there is some material in the lectures that is not included in the book. 

Packages

Pick Your Package

All packages include the ebook in the following formats: PDF, EPUB, and Web

The Book

Minimum price

Suggested price$15.00

Free!

    The Book + Lecture Videos

    Minimum price

    Suggested price$30.00

    This package includes the book and lecture video files. The videos and chapters are aligned so that together they make an ideal self-learning curriculum in which students interested in data science can pair video lectures with reading material. The videos complement the reading material by extending concepts covered in the book and by providing visual and auditory presentation of the concepts. This self-guided curriculum can be covered at any pace and the completion of material should provide students with a solid foundation for thinking about the data science process. The complete package should be of interest to students interested in doing their own data analyses and to people who need to manage data science teams.

    $20.00

    • Lecture Videos

    Author

    About the Authors

    Roger D. Peng

    Roger D. Peng is a Professor of Statistics and Data Sciences at the University of Texas, Austin. Previously, he was Professor of Biostatistics at the Johns Hopkins Bloomberg School of Public Health. His research focuses on the development of statistical methods for addressing environmental health problems and on developing tools for doing better data analysis. He is the author of the popular book R Programming for Data Science and 10 other books on data science and statistics. He is also the co-creator of the Johns Hopkins Data Science Specialization, the Simply Statistics blog where he writes about statistics for the public, the Not So Standard Deviations podcast with Hilary Parker, and The Effort Report podcast with Elizabeth Matsui. Roger is a Fellow of the American Statistical Association and is the recipient of the Mortimer Spiegelman Award from the American Public Health Association, which honors a statistician who has made outstanding contributions to public health. He can be found on Twitter and GitHub at @rdpeng.

    Leanpub Podcast

    Episode 16

    An Interview with Roger D. Peng

    Elizabeth Matsui

    Elizabeth Matsui is a Professor of Population Health and Pediatrics at Dell Medical School at UT Austin and an Adjunct Professor of Pediatrics at Johns Hopkins University. She is also a practicing pediatric allergist/immunologist and epidemiologist and directs a research program focused on environmental exposures and lung health. Elizabeth can be found on Twitter @elizabethmatsui.

    Contents

    Table of Contents

    1.Data Analysis as Art

    2.Epicycles of Analysis

    1. 2.1Setting the Scene
    2. 2.2Epicycle of Analysis
    3. 2.3Setting Expectations
    4. 2.4Collecting Information
    5. 2.5Comparing Expectations to Data
    6. 2.6Applying the Epicycle of Analysis Process

    3.Stating and Refining the Question

    1. 3.1Types of Questions
    2. 3.2Applying the Epicycle to Stating and Refining Your Question
    3. 3.3Characteristics of a Good Question
    4. 3.4Translating a Question into a Data Problem
    5. 3.5Case Study
    6. 3.6Concluding Thoughts

    4.Exploratory Data Analysis

    1. 4.1Exploratory Data Analysis Checklist: A Case Study
    2. 4.2Formulate your question
    3. 4.3Read in your data
    4. 4.4Check the Packaging
    5. 4.5Look at the Top and the Bottom of your Data
    6. 4.6ABC: Always be Checking Your “n”s
    7. 4.7Validate With at Least One External Data Source
    8. 4.8Make a Plot
    9. 4.9Try the Easy Solution First
    10. 4.10Follow-up Questions

    5.Using Models to Explore Your Data

    1. 5.1Models as Expectations
    2. 5.2Comparing Model Expectations to Reality
    3. 5.3Reacting to Data: Refining Our Expectations
    4. 5.4Examining Linear Relationships
    5. 5.5When Do We Stop?
    6. 5.6Summary

    6.Inference: A Primer

    1. 6.1Identify the population
    2. 6.2Describe the sampling process
    3. 6.3Describe a model for the population
    4. 6.4A Quick Example
    5. 6.5Factors Affecting the Quality of Inference
    6. 6.6Example: Apple Music Usage
    7. 6.7Populations Come in Many Forms

    7.Formal Modeling

    1. 7.1What Are the Goals of Formal Modeling?
    2. 7.2General Framework
    3. 7.3Associational Analyses
    4. 7.4Prediction Analyses
    5. 7.5Summary

    8.Inference vs. Prediction: Implications for Modeling Strategy

    1. 8.1Air Pollution and Mortality in New York City
    2. 8.2Inferring an Association
    3. 8.3Predicting the Outcome
    4. 8.4Summary

    9.Interpreting Your Results

    1. 9.1Principles of Interpretation
    2. 9.2Case Study: Non-diet Soda Consumption and Body Mass Index

    10.Communication

    1. 10.1Routine communication
    2. 10.2The Audience
    3. 10.3Content
    4. 10.4Style
    5. 10.5Attitude

    11.Concluding Thoughts

    About the Authors

    Contributor

    About the Contributors

    Maggie Matsui

    Maggie Matsui provided all of the artwork for this book.

    Get the free sample chapters

    Click the buttons to get the free sample in PDF or EPUB, or read the sample online here

    The Leanpub 60 Day 100% Happiness Guarantee

    Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

    Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

    You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

    So, there's no reason not to click the Add to Cart button, is there?

    See full terms...

    Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

    We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

    (Yes, some authors have already earned much more than that on Leanpub.)

    In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

    Learn more about writing on Leanpub

    Free Updates. DRM Free.

    If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

    Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

    Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

    Learn more about Leanpub's ebook formats and where to read them

    Write and Publish on Leanpub

    You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

    Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

    Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

    Learn more about writing on Leanpub