For the latest version of JMP Help, visit JMP.com/help.


Predictive and Specialized Modeling > Modeling Utilities > Explore Outliers Utility > Additional Examples of the Explore Outliers Utility
Publication date: 04/28/2021

Additional Examples of the Explore Outliers Utility

Multivariate k-Nearest Neighbor Outliers Example

The Water Treatment.jmp data set contains daily measurement values of 38 sensors in an urban waste water treatment plant. You are interested in exploring these data for potential outliers. Potential outliers could include sensor failures, storms, and other situations.

1. Select Help > Sample Data Library and open Water Treatment.jmp.

2. Select Analyze > Screening > Explore Outliers.

3. Select the Sensor Measurements column group and click Y, Columns.

4. Click OK.

5. Select Multivariate k-Nearest Neighbor Outliers.

6. Enter 13 for k-nearest neighbors.

7. Click OK.

Figure 20.9 Outliers in Multivariate k-Nearest Neighbor Outliers Example 

Outliers in Multivariate k-Nearest Neighbor Outliers Example

Notice the three extreme outliers selected in the K Nearest Neighbors plots. Each of these three rows corresponds to a date when the secondary settler in the water treatment plant was reported as malfunctioning. Because these three data points are due to faulty equipment, exclude them from future analyses.

8. Select the three extreme outliers and click Exclude Selected Rows.

You are prompted to Rerun the utility or Close the window.

9. Click Rerun.

10. Type 13 for k-nearest neighbors.

11. Click OK.

Figure 20.10 Outliers in Multivariate k-Nearest Neighbors Example 

Outliers in Multivariate k-Nearest Neighbors Example

Now locate the two light-green outliers close to row 400. Notice how they tend to stay close to each other as k increases. These two rows correspond to dates when solids overloads were experienced by the water treatment plant. Even though these data points have a relatively high Distance to Neighbor K=13, you do not exclude them. This is because they are due to a situation that you want to include in your study. Instead, you keep them in mind as you conduct further analyses.

Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).