SlideShare ist ein Scribd-Unternehmen logo
1 von 24
CLUSTER ANALYSIS
CASE STUDY OF TIBETIAN SKULLS
A.W.D. UDAYA SHALIKA
158888L
Overview
• What is cluster analysis?
• Why Cluster Analysis
• Clustering Methods
• Analysis
Background of Data
Objectives
Hierarchical Clustering
K mean Clustering
Validation
What is cluster analysis?
• What this means?
When plotted geometrically,
objects within clusters should be
very close together and clusters
will be far apart.
• Clusters should exhibit high
internal homogeneity and high
external heterogeneity
Cluster analysis is a multivariate data mining technique whose goal is to
groups objects based on a set of user selected characteristics
Why Cluster Analysis
Cluster analysis is a major tool in a number of applications in many fields
of Business, Engineering & etc.(The odoridis and Koutroubas, 1999):
• Data reduction.
• Hypothesis generation.
• Hypothesis testing.
• Prediction based on groups.
Cluster Analysis – Classification
Clustering
Hierarchical clustering
Divisive
Agglomerative
Partitional clustering
K-means
Fuzzy K-means
Isodata
Density based
clustering
Denclust
CLUPOT
SVC
Parzen-
Watershed
Grid based clustering
STING
CLIQUE
Background Story
• These data, collected by Colonel L.A. Waddel, were
first reported in Morant (1923) . The data consist of
five measurements on each of 32 skulls found in the
southwestern and eastern districts ofTibet.
• The first comprises skulls 1 to 17 found in graves in
Sikkim and the neighboring area of Tibet (Type A
skulls). The remaining 15 skulls (Type B skulls) were
picked up on a battlefield in the Lhasa district and
are believed to be those of native soldiers from the
eastern province of Khams.
Objective
Hypothesis test:
Tibetans from Khams might be survivors of a particular human type,
unrelated to the Mongolian and Indian types that surrounded them.
• Greatest length of skull (Length)
• Greatest horizontal breadth of skull (Breadth)
• Height of skull (Height)
• Upper face length (Fheight)
• Face breadth between outermost points of cheekbones (Fbreadth)
Matrix Plot
Preliminary graphical display of the data
might be useful and here we will display
them as a scatter plot matrix in which
group membership is indicated. While this
diagram only allows us to asses the group
separation in two dimensions, it seems to
suggest that face breadth between outer-
most points of cheek bones (Fbreadth),
greatest length of skull (Length), and
upper face length (Fheight) provide the
greatest discrimination between the two
skull types
Descriptive / Correlations
Highest mean is 179.94 in Length of skull which
varying in between 200 (max) and 162.5(min).
lowest mean is 72.94 in Fheight which varying in
between 82.5 to 62.
As per the correlation matrix there are high
correlation among Length and
Fheight(0.755,p=0.00). Other than that Fheight
and Fbreadth (0.617,0.00), Length and
Fbreadth(0.567,0.01), Breadth and
Fbreadth(0.549,0.01) are significant
Number of clusters
The correct choice of number of clusters is often ambiguous, with interpretations
depending on the shape and scale of the distribution of points in a data set and the
desired clustering resolution of the user
• The rules of thumb is k=(n/2)^1/2 : where k is the number of clusters
• Plotting % of variance vs number of clusters
• In our case number of clusters is 2
Hierarchical Clustering
• Agglomerative (Bottom-up):
Principle: compute the Distance-Matrix between all objects (initially
one object = one cluster). Find the two clusters with the closest
distance and put those two clusters into one. Compute the new
Distance-Matrix
Hierarchical Clustering contd.
• data were analyzed under different linkage measurements vs squared
Euclidian distance methods
SUMMARYTABLE
Linkage Distance Cluster 1 Cluster 2 Cluster 1 Cluster 2
A B A B
Average Squared Euclidian A-6 A-11, B-15 35% 0% 65% 100%
Centroid Squared Euclidian A-6 A-11, B-15 35% 0% 65% 100%
Complete Squared Euclidian A-14, B-5 A-3, B-10 82% 33% 18% 67%
Single Squared Euclidian A-17, B-14 B-1 100% 93% 0% 7%
Ward Squared Euclidian A-16, B-5 A-1, B-10 94% 33% 6% 67%
Hierarchical Clustering Contd.
Complete Linkage Squared Euclidean Ward Linkage Squared Euclidean
Complete Linkage Squared Euclidean Ward Linkage Squared Euclidean
The Dendrogram displays the information in the amalgamation table in the form of a tree
diagram. The first table summarizes each cluster by the number of observations, the within
cluster sum of squares, In general, a cluster with a small sum of squares is more compact than
one with a large sum of squares. The centroid is the vector of variable means for the
observations in that cluster and is used as a cluster midpoint. The second table displays the
centroids for the individual clusters while the third table gives distances between cluster
centroids.
Partitional Clustering
• K-mean
Case Number Type Cluster Case Number Type Cluster
1 A 1 17 A 2
2 A 2 18 B 1
3 A 2 19 B 2
4 A 2 20 B 1
5 A 2 21 B 1
6 A 2 22 B 1
7 A 2 23 B 2
8 A 2 24 B 1
9 A 2 25 B 1
10 A 2 26 B 1
11 A 2 27 B 1
12 A 2 28 B 1
13 A 2 29 B 2
14 A 1 30 B 1
15 A 2 31 B 1
16 A 2 32 B 2
K Mean Contd. Cluster Membership
K Mean Clustering Contd.
Out of 17 of A-type skulls 15 skulls present in one cluster(88.2%).
Out of 15 skulls 11 B-type skulls present in another cluster (77.3%).
The output of K-mean clustering quite better than the out put of
ward and complete in hierarchical clustering.
Cluster Validation
• Fisher’s Linear Discriminant Analysis
• Use discriminant analysis to classify observations into two or more
groups if you have a sample with known groups. Discriminant
analysis can also used to investigate how variables contribute to
group separation.
• For two groups, the null hypothesis is that the means of the two
groups on the discriminant function-the centroids, are equal.
• Centroids are the mean discriminant score for each group. Wilk’s
lambda is used to test for significant differences between groups
Cluster Validation contd.
The canonical relation is a correlation between
the discriminant scores and the levels of the
dependent variable. A high correlation (0.825)
indicates a function that discriminates well.
Wilks’ Lambda is the ratio of within-groups sums
of squares to the total sums of squares. Wilks'
lambda is a measure of how well each function
separates cases into groups. Smaller values of
Wilks' lambda indicate greater discriminatory
ability of the function. The associated
significance value indicate whether the
difference is significant. Here, the Lambda of
0.319 and significant p= 0.00)thus, the group
means appear to significantly different from
each other
Cluster Validation contd.
This table is used to assess how well the
discriminant function works, and if it works equally
well for each group of the dependent variable.
Here cross validated accuracy is about 87.5% and
this is quite good result
Summary
• Out of 17 of A-type skulls 16 skulls present in one cluster(94%). Out of
15 skulls 10 B-type skulls present in another cluster (67%) according to
Ward linkage hierarchical clustering
• Out of 17 of A-type skulls 15 skulls present in one cluster(88.2%). Out
of 15 skulls 11 B-type skulls present in another cluster (77.3%)
according to K-mean clustering
• Group means appear to significantly different from each other
according to discriminant analysis
• Thus Tibetans from Khams district significantly different from
generalTibetans according to the skull measurements
References
• Joseph F. Hair Jr.,Willim C. Black, Barry J. Babin, Rolph E. Anderson –
“Multivariate Data Analysis – a global perspective”
• Brian S. Everitt ,Sabine Landau “Cluster Analysis” 5th edition
• Mo'oamin M. R. El-Hanjouri , Bashar S. Hamad “Using Cluster Analysis
and Discriminant Analysis Methods in Classification with Application on
Standard of Living Family in Palestinian Areas” International Journal of
Statistics and Applications,2015
Appendix
THANKYOU
19/3/2017
A.W.D Udaya Shalika
158888L

Weitere ähnliche Inhalte

Was ist angesagt?

Major issues in data mining
Major issues in data miningMajor issues in data mining
Major issues in data mining
Slideshare
 

Was ist angesagt? (20)

Data preparation
Data preparationData preparation
Data preparation
 
3.7 outlier analysis
3.7 outlier analysis3.7 outlier analysis
3.7 outlier analysis
 
Kohonen self organizing maps
Kohonen self organizing mapsKohonen self organizing maps
Kohonen self organizing maps
 
Temporal data mining
Temporal data miningTemporal data mining
Temporal data mining
 
Hierarchical clustering.pptx
Hierarchical clustering.pptxHierarchical clustering.pptx
Hierarchical clustering.pptx
 
04 Classification in Data Mining
04 Classification in Data Mining04 Classification in Data Mining
04 Classification in Data Mining
 
Cluster analysis
Cluster analysisCluster analysis
Cluster analysis
 
Clustering
ClusteringClustering
Clustering
 
5.5 graph mining
5.5 graph mining5.5 graph mining
5.5 graph mining
 
Hierarchical Clustering
Hierarchical ClusteringHierarchical Clustering
Hierarchical Clustering
 
Decision trees
Decision treesDecision trees
Decision trees
 
Distribution transparency and Distributed transaction
Distribution transparency and Distributed transactionDistribution transparency and Distributed transaction
Distribution transparency and Distributed transaction
 
Decision Trees
Decision TreesDecision Trees
Decision Trees
 
Classification and prediction in data mining
Classification and prediction in data miningClassification and prediction in data mining
Classification and prediction in data mining
 
Major issues in data mining
Major issues in data miningMajor issues in data mining
Major issues in data mining
 
Data mining :Concepts and Techniques Chapter 2, data
Data mining :Concepts and Techniques Chapter 2, dataData mining :Concepts and Techniques Chapter 2, data
Data mining :Concepts and Techniques Chapter 2, data
 
Data mining: Classification and prediction
Data mining: Classification and predictionData mining: Classification and prediction
Data mining: Classification and prediction
 
multi dimensional data model
multi dimensional data modelmulti dimensional data model
multi dimensional data model
 
Architecture of data mining system
Architecture of data mining systemArchitecture of data mining system
Architecture of data mining system
 
Data mining , Knowledge Discovery Process, Classification
Data mining , Knowledge Discovery Process, ClassificationData mining , Knowledge Discovery Process, Classification
Data mining , Knowledge Discovery Process, Classification
 

Ähnlich wie Cluster Validation

Pm m23 & pmnm06 week 3 lectures 2015
Pm m23 & pmnm06 week 3 lectures 2015Pm m23 & pmnm06 week 3 lectures 2015
Pm m23 & pmnm06 week 3 lectures 2015
pdiddyboy2
 
Clusteranalysis 121206234137-phpapp01
Clusteranalysis 121206234137-phpapp01Clusteranalysis 121206234137-phpapp01
Clusteranalysis 121206234137-phpapp01
deepti gupta
 
Automatic Visualization
Automatic VisualizationAutomatic Visualization
Automatic Visualization
Sri Ambati
 

Ähnlich wie Cluster Validation (20)

Cluster analysis
Cluster analysisCluster analysis
Cluster analysis
 
Pm m23 & pmnm06 week 3 lectures 2015
Pm m23 & pmnm06 week 3 lectures 2015Pm m23 & pmnm06 week 3 lectures 2015
Pm m23 & pmnm06 week 3 lectures 2015
 
Datamining
DataminingDatamining
Datamining
 
Cluster Analysis
Cluster Analysis Cluster Analysis
Cluster Analysis
 
Microarray and its application
Microarray and its applicationMicroarray and its application
Microarray and its application
 
Cluster analysis
Cluster analysisCluster analysis
Cluster analysis
 
Read first few slides cluster analysis
Read first few slides cluster analysisRead first few slides cluster analysis
Read first few slides cluster analysis
 
Clusteranalysis 121206234137-phpapp01
Clusteranalysis 121206234137-phpapp01Clusteranalysis 121206234137-phpapp01
Clusteranalysis 121206234137-phpapp01
 
Clusteranalysis
Clusteranalysis Clusteranalysis
Clusteranalysis
 
Ch 4 Cluster Analysis.pdf
Ch 4 Cluster Analysis.pdfCh 4 Cluster Analysis.pdf
Ch 4 Cluster Analysis.pdf
 
MODULE 4_ CLUSTERING.pptx
MODULE 4_ CLUSTERING.pptxMODULE 4_ CLUSTERING.pptx
MODULE 4_ CLUSTERING.pptx
 
Data Mining Lecture_8(a).pptx
Data Mining Lecture_8(a).pptxData Mining Lecture_8(a).pptx
Data Mining Lecture_8(a).pptx
 
TYPES OF CLUSTERING.pptx
TYPES OF CLUSTERING.pptxTYPES OF CLUSTERING.pptx
TYPES OF CLUSTERING.pptx
 
Statistics.pdf
Statistics.pdfStatistics.pdf
Statistics.pdf
 
Unsupervised Learning-Clustering Algorithms.pptx
Unsupervised Learning-Clustering Algorithms.pptxUnsupervised Learning-Clustering Algorithms.pptx
Unsupervised Learning-Clustering Algorithms.pptx
 
Hierachical clustering
Hierachical clusteringHierachical clustering
Hierachical clustering
 
Cluster analysis
Cluster analysisCluster analysis
Cluster analysis
 
ClustIII.ppt
ClustIII.pptClustIII.ppt
ClustIII.ppt
 
Automatic Visualization
Automatic VisualizationAutomatic Visualization
Automatic Visualization
 
Measures of Variation.pdf
Measures of Variation.pdfMeasures of Variation.pdf
Measures of Variation.pdf
 

Kürzlich hochgeladen

In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi ArabiaIn Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
ahmedjiabur940
 
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
nirzagarg
 
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
gajnagarg
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
gajnagarg
 
Jodhpur Park | Call Girls in Kolkata Phone No 8005736733 Elite Escort Service...
Jodhpur Park | Call Girls in Kolkata Phone No 8005736733 Elite Escort Service...Jodhpur Park | Call Girls in Kolkata Phone No 8005736733 Elite Escort Service...
Jodhpur Park | Call Girls in Kolkata Phone No 8005736733 Elite Escort Service...
HyderabadDolls
 
Computer science Sql cheat sheet.pdf.pdf
Computer science Sql cheat sheet.pdf.pdfComputer science Sql cheat sheet.pdf.pdf
Computer science Sql cheat sheet.pdf.pdf
SayantanBiswas37
 
Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...
gajnagarg
 
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
nirzagarg
 
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Klinik kandungan
 

Kürzlich hochgeladen (20)

5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
 
Gulbai Tekra * Cheap Call Girls In Ahmedabad Phone No 8005736733 Elite Escort...
Gulbai Tekra * Cheap Call Girls In Ahmedabad Phone No 8005736733 Elite Escort...Gulbai Tekra * Cheap Call Girls In Ahmedabad Phone No 8005736733 Elite Escort...
Gulbai Tekra * Cheap Call Girls In Ahmedabad Phone No 8005736733 Elite Escort...
 
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi ArabiaIn Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
 
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
 
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
 
RESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptx
RESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptxRESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptx
RESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptx
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Nirala Nagar / Cheap Call Girls In Lucknow Phone No 9548273370 Elite Escort S...
Nirala Nagar / Cheap Call Girls In Lucknow Phone No 9548273370 Elite Escort S...Nirala Nagar / Cheap Call Girls In Lucknow Phone No 9548273370 Elite Escort S...
Nirala Nagar / Cheap Call Girls In Lucknow Phone No 9548273370 Elite Escort S...
 
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
 
Jodhpur Park | Call Girls in Kolkata Phone No 8005736733 Elite Escort Service...
Jodhpur Park | Call Girls in Kolkata Phone No 8005736733 Elite Escort Service...Jodhpur Park | Call Girls in Kolkata Phone No 8005736733 Elite Escort Service...
Jodhpur Park | Call Girls in Kolkata Phone No 8005736733 Elite Escort Service...
 
Computer science Sql cheat sheet.pdf.pdf
Computer science Sql cheat sheet.pdf.pdfComputer science Sql cheat sheet.pdf.pdf
Computer science Sql cheat sheet.pdf.pdf
 
Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...
 
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
 
7. Epi of Chronic respiratory diseases.ppt
7. Epi of Chronic respiratory diseases.ppt7. Epi of Chronic respiratory diseases.ppt
7. Epi of Chronic respiratory diseases.ppt
 
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
 
20240412-SmartCityIndex-2024-Full-Report.pdf
20240412-SmartCityIndex-2024-Full-Report.pdf20240412-SmartCityIndex-2024-Full-Report.pdf
20240412-SmartCityIndex-2024-Full-Report.pdf
 
High Profile Call Girls Service in Jalore { 9332606886 } VVIP NISHA Call Girl...
High Profile Call Girls Service in Jalore { 9332606886 } VVIP NISHA Call Girl...High Profile Call Girls Service in Jalore { 9332606886 } VVIP NISHA Call Girl...
High Profile Call Girls Service in Jalore { 9332606886 } VVIP NISHA Call Girl...
 
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
 
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24  Building Real-Time Pipelines With FLaNKDATA SUMMIT 24  Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
 
Top Call Girls in Balaghat 9332606886Call Girls Advance Cash On Delivery Ser...
Top Call Girls in Balaghat  9332606886Call Girls Advance Cash On Delivery Ser...Top Call Girls in Balaghat  9332606886Call Girls Advance Cash On Delivery Ser...
Top Call Girls in Balaghat 9332606886Call Girls Advance Cash On Delivery Ser...
 

Cluster Validation

  • 1. CLUSTER ANALYSIS CASE STUDY OF TIBETIAN SKULLS A.W.D. UDAYA SHALIKA 158888L
  • 2. Overview • What is cluster analysis? • Why Cluster Analysis • Clustering Methods • Analysis Background of Data Objectives Hierarchical Clustering K mean Clustering Validation
  • 3. What is cluster analysis? • What this means? When plotted geometrically, objects within clusters should be very close together and clusters will be far apart. • Clusters should exhibit high internal homogeneity and high external heterogeneity Cluster analysis is a multivariate data mining technique whose goal is to groups objects based on a set of user selected characteristics
  • 4. Why Cluster Analysis Cluster analysis is a major tool in a number of applications in many fields of Business, Engineering & etc.(The odoridis and Koutroubas, 1999): • Data reduction. • Hypothesis generation. • Hypothesis testing. • Prediction based on groups.
  • 5. Cluster Analysis – Classification Clustering Hierarchical clustering Divisive Agglomerative Partitional clustering K-means Fuzzy K-means Isodata Density based clustering Denclust CLUPOT SVC Parzen- Watershed Grid based clustering STING CLIQUE
  • 6. Background Story • These data, collected by Colonel L.A. Waddel, were first reported in Morant (1923) . The data consist of five measurements on each of 32 skulls found in the southwestern and eastern districts ofTibet. • The first comprises skulls 1 to 17 found in graves in Sikkim and the neighboring area of Tibet (Type A skulls). The remaining 15 skulls (Type B skulls) were picked up on a battlefield in the Lhasa district and are believed to be those of native soldiers from the eastern province of Khams.
  • 7. Objective Hypothesis test: Tibetans from Khams might be survivors of a particular human type, unrelated to the Mongolian and Indian types that surrounded them. • Greatest length of skull (Length) • Greatest horizontal breadth of skull (Breadth) • Height of skull (Height) • Upper face length (Fheight) • Face breadth between outermost points of cheekbones (Fbreadth)
  • 8. Matrix Plot Preliminary graphical display of the data might be useful and here we will display them as a scatter plot matrix in which group membership is indicated. While this diagram only allows us to asses the group separation in two dimensions, it seems to suggest that face breadth between outer- most points of cheek bones (Fbreadth), greatest length of skull (Length), and upper face length (Fheight) provide the greatest discrimination between the two skull types
  • 9. Descriptive / Correlations Highest mean is 179.94 in Length of skull which varying in between 200 (max) and 162.5(min). lowest mean is 72.94 in Fheight which varying in between 82.5 to 62. As per the correlation matrix there are high correlation among Length and Fheight(0.755,p=0.00). Other than that Fheight and Fbreadth (0.617,0.00), Length and Fbreadth(0.567,0.01), Breadth and Fbreadth(0.549,0.01) are significant
  • 10. Number of clusters The correct choice of number of clusters is often ambiguous, with interpretations depending on the shape and scale of the distribution of points in a data set and the desired clustering resolution of the user • The rules of thumb is k=(n/2)^1/2 : where k is the number of clusters • Plotting % of variance vs number of clusters • In our case number of clusters is 2
  • 11. Hierarchical Clustering • Agglomerative (Bottom-up): Principle: compute the Distance-Matrix between all objects (initially one object = one cluster). Find the two clusters with the closest distance and put those two clusters into one. Compute the new Distance-Matrix
  • 12. Hierarchical Clustering contd. • data were analyzed under different linkage measurements vs squared Euclidian distance methods SUMMARYTABLE Linkage Distance Cluster 1 Cluster 2 Cluster 1 Cluster 2 A B A B Average Squared Euclidian A-6 A-11, B-15 35% 0% 65% 100% Centroid Squared Euclidian A-6 A-11, B-15 35% 0% 65% 100% Complete Squared Euclidian A-14, B-5 A-3, B-10 82% 33% 18% 67% Single Squared Euclidian A-17, B-14 B-1 100% 93% 0% 7% Ward Squared Euclidian A-16, B-5 A-1, B-10 94% 33% 6% 67%
  • 13. Hierarchical Clustering Contd. Complete Linkage Squared Euclidean Ward Linkage Squared Euclidean
  • 14. Complete Linkage Squared Euclidean Ward Linkage Squared Euclidean The Dendrogram displays the information in the amalgamation table in the form of a tree diagram. The first table summarizes each cluster by the number of observations, the within cluster sum of squares, In general, a cluster with a small sum of squares is more compact than one with a large sum of squares. The centroid is the vector of variable means for the observations in that cluster and is used as a cluster midpoint. The second table displays the centroids for the individual clusters while the third table gives distances between cluster centroids.
  • 16. Case Number Type Cluster Case Number Type Cluster 1 A 1 17 A 2 2 A 2 18 B 1 3 A 2 19 B 2 4 A 2 20 B 1 5 A 2 21 B 1 6 A 2 22 B 1 7 A 2 23 B 2 8 A 2 24 B 1 9 A 2 25 B 1 10 A 2 26 B 1 11 A 2 27 B 1 12 A 2 28 B 1 13 A 2 29 B 2 14 A 1 30 B 1 15 A 2 31 B 1 16 A 2 32 B 2 K Mean Contd. Cluster Membership
  • 17. K Mean Clustering Contd. Out of 17 of A-type skulls 15 skulls present in one cluster(88.2%). Out of 15 skulls 11 B-type skulls present in another cluster (77.3%). The output of K-mean clustering quite better than the out put of ward and complete in hierarchical clustering.
  • 18. Cluster Validation • Fisher’s Linear Discriminant Analysis • Use discriminant analysis to classify observations into two or more groups if you have a sample with known groups. Discriminant analysis can also used to investigate how variables contribute to group separation. • For two groups, the null hypothesis is that the means of the two groups on the discriminant function-the centroids, are equal. • Centroids are the mean discriminant score for each group. Wilk’s lambda is used to test for significant differences between groups
  • 19. Cluster Validation contd. The canonical relation is a correlation between the discriminant scores and the levels of the dependent variable. A high correlation (0.825) indicates a function that discriminates well. Wilks’ Lambda is the ratio of within-groups sums of squares to the total sums of squares. Wilks' lambda is a measure of how well each function separates cases into groups. Smaller values of Wilks' lambda indicate greater discriminatory ability of the function. The associated significance value indicate whether the difference is significant. Here, the Lambda of 0.319 and significant p= 0.00)thus, the group means appear to significantly different from each other
  • 20. Cluster Validation contd. This table is used to assess how well the discriminant function works, and if it works equally well for each group of the dependent variable. Here cross validated accuracy is about 87.5% and this is quite good result
  • 21. Summary • Out of 17 of A-type skulls 16 skulls present in one cluster(94%). Out of 15 skulls 10 B-type skulls present in another cluster (67%) according to Ward linkage hierarchical clustering • Out of 17 of A-type skulls 15 skulls present in one cluster(88.2%). Out of 15 skulls 11 B-type skulls present in another cluster (77.3%) according to K-mean clustering • Group means appear to significantly different from each other according to discriminant analysis • Thus Tibetans from Khams district significantly different from generalTibetans according to the skull measurements
  • 22. References • Joseph F. Hair Jr.,Willim C. Black, Barry J. Babin, Rolph E. Anderson – “Multivariate Data Analysis – a global perspective” • Brian S. Everitt ,Sabine Landau “Cluster Analysis” 5th edition • Mo'oamin M. R. El-Hanjouri , Bashar S. Hamad “Using Cluster Analysis and Discriminant Analysis Methods in Classification with Application on Standard of Living Family in Palestinian Areas” International Journal of Statistics and Applications,2015

Hinweis der Redaktion

  1. Hypothesis generation. Cluster analysis is used here in order to infer some hypotheses concerning the data. For instance we may find in a retail database that there are two significant groups of customers based on their age and the time of purchases. Then, we may infer some hypotheses for the data, that it, “young people go shopping in the evening”, “old people go shopping in the morning”. Hypothesis testing. In this case, the cluster analysis is used for the verification of the validity of a specific hypothesis. For example, we consider the following hypothesis: “Young people go shopping in the evening”. One way to verify whether this is true is to apply cluster analysis to a representative set of stores. Suppose that each store is represented by its customer’s details (age, job etc) and the time of transactions. If, after applying cluster analysis, a cluster that corresponds to “young people buy in the evening” is formed, then the hypothesis is supported by cluster analysis.