Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Hierarchical cluster analysis

    Dear stata users,

    I have a dataset that generates the chart attached at the end of the post. I want to cluster the data. Visually I identify 4 different clusters. As this data may change and so the number of clusters I'm using a hierarchical clustering in which I don't specify in advance the number of clusters to do. However after having read the stata documentation on cluster analysis I still can't get how can I like each observation of my dataset to a specific cluster (or at least assign a cluster membership probability).

    The reason why I identify 4 clusters instead of 2 is because this is voice data (y-axis is frequencies, x-axis is time) so for example the observations at the beginning of the chart (from 0 to 2000) are from a different family than the observations at the middle of the chart (from around 4000 to 6000).

    Thanks!

    Click image for larger version

Name:	Figure 2022-04-26 180800.png
Views:	1
Size:	17.0 KB
ID:	1661661
Working...
X