Hi all,
In the past couple of months I have discovered and used STATA's k-clustering code.
As I get more familiar with clustering analysis per se, I learned that there are a few methods to estimate the optimal number of clusters for a certain dataset.
One of the suggested methods is the calculation of the Silhouette scores (or coefficients). Other methods are the Elbow method and the Gap analysis.
I have done several searches but I was not able to find STATA commands to calculate any of these scores.
Does anyone know if anything is available?
Many thanks
Nicola
In the past couple of months I have discovered and used STATA's k-clustering code.
As I get more familiar with clustering analysis per se, I learned that there are a few methods to estimate the optimal number of clusters for a certain dataset.
One of the suggested methods is the calculation of the Silhouette scores (or coefficients). Other methods are the Elbow method and the Gap analysis.
I have done several searches but I was not able to find STATA commands to calculate any of these scores.
Does anyone know if anything is available?
Many thanks
Nicola
Comment