Alteryx: When to use the Imputation Tool instead of Data Cleansing?
Category:
Question ID: 109829
2
0

I have always just used the Data Cleansing tool to fill in null values with zeroes. I have never really used the imputation tool and am not sure when or why it would be used, and what advantages it present.

Could someone point out some use cases and functionality of the imputation tool that merits its existence?

Thanks!

Marked as spam
Posted by (Questions: 17, Answers: 0)
Asked on September 2, 2020 11:26 am
303 views
Answers (1)
3
Private answer

When it comes to Nulls, the Data Cleansing Tool can only do one of two things:

  1. Replace with a blank if it is a string field
  2.  Replace with a 0 if it is a numeric field

On top of that, the Data Cleansing tool can remove unwanted characters are modify the case of a string. If I am just wanting to replace null values with either a zero or a blank, then I will always use the Data Cleansing Tool. Often it won't hurt to make use of the tools other functionalities at the same time.

 

The Imputation Tool is useful if you are wanting to replace Null values (or any user-specified value) with either:

  1. The average of the field
  2. The median of the field
  3. The mode of the field
  4. A user-specified value

Note that this tool can only be used with numeric fields. It is useful to target and change specific incorrect values or replace null data (which could be missing inputs) with an average of a field so that analysis can be done with more data.

It is also very handy that it includes the options to output new columns with all of the imputed values if you would like to do comparative analysis on the data sets with or without imputed data. Finally, the Imputation Tool allows you to output the imputed columns with a flag of zero (no imputation on that cell) or one (cell was imputed) if you would like to keep track of how many cells were imputed after the fact.

 

Hope that helps!

Marked as spam
Posted by (Questions: 0, Answers: 17)
Answered on September 2, 2020 2:40 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top