I've got some trending data for different identifiers and I want to identify similar trends using clustering. I'm not sure how to do this to cluster similar X-Y graphs together, or even if this is the correct way to analyze the data. Here's some sample data:
| Time Period |
PT |
RP |
| 1 |
A |
.1
|
| 2 |
A |
.2 |
| 3 |
A |
.3 |
| 4 |
A |
.38 |
| 1 |
B |
.7 |
| 2 |
B |
.6 |
| 3 |
B |
.5 |
| 4 |
B |
.4 |
| 1 |
C |
.11 |
| 2 |
C |
.22 |
| 3 |
C |
.33 |
| 4 |
C |
.48 |
| 1 |
D |
.77 |
| 2 |
D |
.66 |
| 3 |
D |
.55 |
| 4 |
D |
.44 |
Graphing the data shows two similar groups, A+C and B+D:

When I try cluster analysis I put Time Period, PT and RP in as Y variables, but the clustering isn't what I expected. If I set the clusters to two I get this:

When I save the clusters and graph them it's got them grouped spatially; not seeming to take the PT identifier into account:

Any ideas? Thanks!