calculating average silhouette

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

calculating average silhouette

Matthew Pirritano

All,

 

I’m attempting to calculate the average silhouette for a hierarchical cluster analysis using ward’s method. I’m toying with R, since there appears to be a way to calculate it there. But I’m running against the wall of my R ignorance in that attempt. I thought about just doing the calculations for average silhouette in SPSS. I understand the calculation in theory. I need to find the dissimilarity between all points within a cluster, and all points between clusters. Using Euclidean distance I’m not clear how it is calculated when you have 8 variables in the cluster analysis. Maybe there’s a python or r extension that can do this?

 

Thanks
Matt

Reply | Threaded
Open this post in threaded view
|

Re: calculating average silhouette

Kirill Orlov
Mattew,
You can find calculation of silhouette statistic in SPSS on www.rivita.ru/spssmacros_en.shtml
(See "clustering criterions" collection)
 
Regards,
Kirill
 
----- Original Message -----
Sent: Monday, August 29, 2011 12:57 AM
Subject: calculating average silhouette

All,

 

I’m attempting to calculate the average silhouette for a hierarchical cluster analysis using ward’s method. I’m toying with R, since there appears to be a way to calculate it there. But I’m running against the wall of my R ignorance in that attempt. I thought about just doing the calculations for average silhouette in SPSS. I understand the calculation in theory. I need to find the dissimilarity between all points within a cluster, and all points between clusters. Using Euclidean distance I’m not clear how it is calculated when you have 8 variables in the cluster analysis. Maybe there’s a python or r extension that can do this?

 

Thanks
Matt