We frequently encounter datasets with missing values (represented as NAs in the data frame). Missing values render useless some part of the data. Why those values are missing is a different story and is beyond the scope of this article. Here we only talk about treatment.

The primary treatment is either to delete the rows with missing values (reducing the No. of observations) or to remove the columns with missing values (giving up some information). Some people are not happy with a reduced dataset, and they replace missing values with summary stats such as means or medians of available values…

Martinqiu

I a marketing professor and I teach BDMA (big data and marketing analytics) at Lazaridis School of Business, Wilfrid Laurier University, in Waterloo, Canada.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store