Skip to Content
Discovering Knowledge in Data: An Introduction to Data Mining, 2nd Edition
book

Discovering Knowledge in Data: An Introduction to Data Mining, 2nd Edition

by Daniel T. Larose
July 2014
Beginner to intermediate
336 pages
9h 30m
English
Wiley
Content preview from Discovering Knowledge in Data: An Introduction to Data Mining, 2nd Edition

Chapter 13Imputation of Missing Data

  1. 13.1 Need for Imputation of Missing Data
  2. 13.2 Imputation of Missing Data: Continuous Variables
  3. 13.3 Standard Error of the Imputation
  4. 13.4 Imputation of Missing Data: Categorical Variables
  5. 13.5 Handling Patterns in Missingness
    1. The R Zone
    2. Reference
    3. Exercises
    4. Hands-On Analysis

13.1 Need for Imputation of Missing Data

In this world of big data, the problem of missing data is widespread. It is the rare database that contains no missing values at all. Depending on how the analyst deals with the missing data may change the outcome of the analysis, so it is important to learn methods for handling missing data that will not bias the results.

Missing data may arise from any of several different causes. Survey data may be missing because the responder refuses to answer a particular question, or simply skips a question by accident. Experimental observations may be missed due to inclement weather or equipment failure. Data may be lost through a noisy transmission, and so on.

In Chapter 2 we learned three common methods for handling missing data:

  1. Replace the missing value with some constant, specified by the analyst,
  2. Replace the missing value with the field mean (for numeric variables) or the mode (for categorical variables),
  3. Replace the missing values with a value generated at random from the observed distribution of the variable.

We learned that there were problems with each of these methods, which could generate inappropriate data values that ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Making Sense of Data I: A Practical Guide to Exploratory Data Analysis and Data Mining, 2nd Edition

Making Sense of Data I: A Practical Guide to Exploratory Data Analysis and Data Mining, 2nd Edition

Glenn J. Myatt, Wayne P. Johnson
Data Mining, 4th Edition

Data Mining, 4th Edition

Ian H. Witten, Eibe Frank, Mark A. Hall, Christopher J. Pal
Data Mining for Business Analytics

Data Mining for Business Analytics

Galit Shmueli, Peter C. Bruce, Peter Gedeck, Nitin R. Patel

Publisher Resources

ISBN: 9781118873571Purchase book