# East West Airlines Cluster Analysis

Autor:   •  July 3, 2018  •  Case Study  •  705 Words (3 Pages)  •  61 Views

Page 1 of 3

East West Airlines Cluster Analysis

1. Do you need to normalize the data before applying any clustering technique? Why or why not?

Yes, we need to normalize the data before applying any data. The reason is scale will be biased while calculating distance between clusters and also within clusters. Also, if we do not normalize the data, the large values will impact the variables having small values while calculating distance.

In East West Airlines data, by having physical look, it is observed that columns like Balance, Bonus_miles, Days_since_enroll having high values when compared with other variables. Hence these column will highly skew the analysis if not normalized.

[pic 1]

1. Apply hierarchical clustering with Euclidean distance and Ward’s method. How many clusters do appear?

Ward's minimum variance method is a special case of the objective function approach originally presented by Joe H. Ward. Ward suggested a general agglomerative hierarchical clustering procedure, where the criterion for choosing the pair of clusters to merge at each step is based on the optimal value of an objective function. This objective function could be "any function that reflects the investigator's purpose."

[pic 2]

Ideally for hierarchical clustering, we can generate n clusters with each with single item. If we cut the cluster at 600, then we will get 3 primary clusters

[pic 3]

Here I used Ward.D method.

The difference between ward.D and ward.D2 is the difference between the two clustering criteria that in the manuscript are called Ward1 and Ward2.

It basically boils down to the fact that the Ward algorithm is directly correctly implemented in just Ward2 (ward.D2), but Ward1 (ward.D) can also be used, if the Euclidean distances (from dist()) are squared before inputing them to the hclust() using the ward.D as the method.

1. Compare cluster centroids to characterize different clusters and try to give each cluster a label—a meaningful name that characterizes the cluster.

[pic 4]

Cluster2  Flight_miles in last 12 months is very much higher than other 2 clusters, also Qual_miles in top flight is also high, hence this cluster can be tagged as “FREQUENT BUSINESS CLASS TRAVELERS

Cluster3  Flight_miles in less than cluster2 but very much higher than Cluster1. Also, Qual_miles is very less, hence this cluster can be tagges as “FREQUENT ECONOMY CLASS TRAVELERS

Cluster1  These are fliers apart from other 2 category, which can be tagged as “OCCASIONAL TRAVELERS

1. To check the stability of clusters, remove a random 5% of the data (by taking a random sample of 95% of the records), and repeat the analysis. Does the same picture emerge?

[pic 5]

If we compare the new dendrogram with old one, we can see the changes in scale when clustering groups though the picture looks same. Hence even 5% change in samples, it will impact the clustering groups

1. Cluster all passengers again using k-means clustering. How many clusters do you want to go with? How did you decide on the number of clusters? Explain your choice on the number of clusters.

[pic 6]

...