Põhisisu juurde

# Outliers Detection

4.3 (6)

## Find outliers in your data, using the most appropriate method and plot

An outlier is an observation, such as a data point, that exists a significant distance from most other observations.

Outliers sometimes occur due to measurement errors. Other times, outliers can be indicators of important occurrences or events.

One such example is fraud detection, where outliers may indicate fraudulent activity.

As such, outlier detection and analysis is an interesting and challenging data mining task.

There are many different methods to detect outliers. In this Custom Visual, we implement five very popular detection methods:

1. Zscore is a standard deviation approach. For more details see: https://en.wikipedia.org/wiki/Standard_score

2. Tukey’s method, which uses interquartile (IQR) range approach. For more details see: http://datapigtechnologies.com/blog/index.php/highlighting-outliers-in-your-data-with-the-tukey-method/

3. LOF (Local Outlier Factor) method, which computes the local density deviation of a given data point with respect to its neighbors. It considers samples that have a substantially lower density than their neighbors as outliers. For more details see: https://en.wikipedia.org/wiki/Local_outlier_factor

4. Cook's distance, which shows the influence of each observation on the fitted response values. An observation with Cook's distance larger than three times the mean Cook's distance might be an outlier. For more details see: https://en.wikipedia.org/wiki/Cook%27s_distance

5. Finally, the manual method allows you to define your own upper and lower thresholds for the original data.

In addition to those methods, we support three ways to visualize outliers:

* Scatter plot

* Box plot

* Density plot

For each plot type, you can decide to visualize the original data, or outlier scores.

NEW: support for tooltips on hover and selection.

Here is how it works:

• Define required fields to be analyzed in the plot. At least one numeric column of "Variables" for all detection methods and at least one numeric column for "Independent Variables" for Cook's detection method.
• Avoid using multivariate inputs where possible, otherwise the results will not always be interpretable [#LI] [#LI] Optionally, define a unique ID field (highly recommended to avoid duplicates removal)
• Optionally, provide the fields to be shown in tooltips upon hover
• Select one of the detection methods, or use the default
• Use detection parameters such as thresholds to refine the characteristics of outliers
• Use numerous formatting controls to refine the visual appearance of the plot

R package dependencies (which are auto-installed): scales, reshape, ggplot2, plotly, htmlwidgets, XML, DMwR

Supports R versions: R 3.4.1, R 3.3.3, R 3.3.2, MRO 3.2.2

This is an open source visual. Get the code from GitHub: https://github.com/Microsoft/powerbi-visuals-outliers-det

###### Lisandmooduli võimalused
Kui see lisandmoodul on kasutusel, saab see teha järgmist
• Lugeda teie dokumenti ja teha selles muudatusi
• Saata andmeid Interneti kaudu
• https://store-images.s-microsoft.com/image/apps.46103.fc69964a-ee5f-42b8-a4c8-991d2de54619.2becd730-7561-4858-a056-a80edf409286.69662ffb-1f9f-47c7-a550-249c55249dc2.png
https://store-images.s-microsoft.com/image/apps.46103.fc69964a-ee5f-42b8-a4c8-991d2de54619.2becd730-7561-4858-a056-a80edf409286.69662ffb-1f9f-47c7-a550-249c55249dc2.png
https://store-images.s-microsoft.com/image/apps.11763.fc69964a-ee5f-42b8-a4c8-991d2de54619.2becd730-7561-4858-a056-a80edf409286.e7f40216-56ab-4a6b-bbe0-46569311e302.png
https://store-images.s-microsoft.com/image/apps.5662.fc69964a-ee5f-42b8-a4c8-991d2de54619.2becd730-7561-4858-a056-a80edf409286.d09fe187-fb3c-453c-b537-b4f1ed1caae4.png
https://store-images.s-microsoft.com/image/apps.5998.fc69964a-ee5f-42b8-a4c8-991d2de54619.2becd730-7561-4858-a056-a80edf409286.c6e4deaf-3035-46f8-9c27-e8864b7d731a.png
https://store-images.s-microsoft.com/image/apps.14610.fc69964a-ee5f-42b8-a4c8-991d2de54619.2becd730-7561-4858-a056-a80edf409286.316001d7-afd9-4ee4-91f0-a3651193de23.png