If you like our work, please consider supporting us so we can keep doing what we do. And as a current subscriber, enjoy this nice discount!

Also: if you haven’t yet, follow us on Twitter, TikTok, or YouTube!



The Dunn Index is a statistical measure used to evaluate the goodness of fit of a clustering algorithm. It can be used to compare different clustering algorithms, or different settings for a single algorithm. The Dunn Index is defined as the ratio of the minimum inter-cluster distance to the maximum inter-cluster distance.

The Dunn Index has a range of 0 to 1, with a higher value indicating a better fit. A perfect fit would have a Dunn Index of 1.0.

The Dunn Index can be used to compare different clustering algorithms, or different settings for a single algorithm. It can also be used to compare the results of different clustering algorithms applied to the same data set.The Dunn Index is not without its critics.

Some argue that it is sensitive to outliers, and that it can be biased if the number of clusters is not known in advance. However, it remains a popular measure of clustering quality.

How is Dunn index calculated?

The Dunn index is calculated by taking the ratio of the best inter-cluster distance to the worst intra-cluster distance.

Application in Marketing

As Dunn index is a statistical measure that is used to assess the dispersion of data points in a given data set. It is often used in marketing research to evaluate the variability of responses to a particular marketing stimulus, such as a new product or advertisement. By measuring the dispersion of responses, researchers can gain insights into how effective the stimulus is in eliciting a response from the target audience. For example, if a new product is advertised to a target audience, the Dunn index can be used to measure the dispersion of responses to the product. If the responses are widely dispersed, it may indicate that the product is not effective in eliciting a response from the target audience.

Customer Satisfaction

Dunn index is an effective measurement to evaluate customer satisfaction. It can be used to pinpoint areas that need improvement and also to identify satisfied customers. By using this index, businesses can improve customer satisfaction and also keep track of their customer base.

Customer Loyalty

If a customer buys a product from a store and then returns to buy the same product again within a short period of time, this indicates a high degree of loyalty. The Dunn index is a measure of customer loyalty that takes into account the number of times a customer buys a product, the time interval between purchases, and the number of products purchased.

Customer Churn

Dunn index can be used to predict customer churn by looking at the customer's past purchasing behavior. If a customer has consistently purchased products from a company, they are likely to continue to do so. However, if a customer has started to purchase products from other companies, they are more likely to churn.

Customer LTV

The Dunn index can be used to predict customer lifetime value by looking at the customer's purchase history and determining how long they have been a customer. This information can be used to identify potential churn risk and to target marketing and retention efforts.

Customer-segmentation for differentiated targeting in marketing using clustering analysis
A comparison of k-means, Agglomerative and DBSCAN clustering algorithms

Do you like our work?
Consider becoming a paying subscriber to support us!