I'm sorry about the bug and that it took me so long to properly look at it.
I've now fixed it, and the output now makes a lot more sense:
Initial Cluster Centers
╭─────────────────────┬─────────────────╮
│ │ Cluster │
│ ├─────┬─────┬─────┤
│ │ 1 │ 2 │ 3 │
├─────────────────────┼─────┼─────┼─────┤
│Z-score of community2│-4.44│ .58│ 2.02│
│Z-score of ego2 │-2.30│-2.99│ .61│
│Z-score of order2 │-2.62│ 2.59│-3.33│
╰─────────────────────┴─────┴─────┴─────╯
Final Cluster Centers
╭─────────────────────┬──────────────╮
│ │ Cluster │
│ ├─────┬───┬────┤
│ │ 1 │ 2 │ 3 │
├─────────────────────┼─────┼───┼────┤
│Z-score of community2│-1.27│.29│ .61│
│Z-score of ego2 │ -.37│.08│ .18│
│Z-score of order2 │ -.41│.77│-.96│
╰─────────────────────┴─────┴───┴────╯
Number of Cases in each Cluster
╭─────────┬───────╮
│ │ Count │
├─────────┼───────┤
│Cluster 1│1146.55│
│ 2│2243.27│
│ 3│1291.70│
├─────────┼───────┤
│Valid │4681.53│
╰─────────┴───────╯
The fix will be in the next release.
On Wed, Aug 26, 2026 at 3:24 AM ftr <[email protected]> wrote:
> My previous email lacked the data which produced the curious result.
>
> Hi,
>
> I come back to my error message in Quickcluster some time ago. Now I can
> reproduce the NaN error in the results.
>
> Valid N 4186
>
> N of cases in clusters : 2194;
>
> This case remains a puzzle to me.
>
>
> DESCRIPTIVES VARIABLES=community2 ego2 order2/save
>
> Mapping of Variables to Z-scores
> Source Target
> community2 Zcommunity2
> ego2 Zego2
> order2 Zorder2 Descriptive Statistics
>
> N Mean Std Dev Minimum Maximum
> community2 4681,53 -,01 ,87 -3,96 2,40
> ego2 4681,53 -,02 ,91 -3,14 2,91
> order2 4681,53 -,02 ,85 -3,65 2,31
> Valid N (listwise) 5056,29
>
>
>
> Missing N (listwise) 374,77
>
>
>
> QUICK CLUSTER zcommunity2 zego2 zorder2
> /CRITERIA=CLUSTERS(3)
> /MISSING=EXCLUDE
> /PRINT=INITIAL CLUSTER
> /SAVE=CLUSTER(clus3) DISTANCE(distclus3)
>
> Initial Cluster Centers
>
> Cluster
>
> 1 2 3
> Zcommunity2 Z-score of community2 2,02 -4,44 ,58
> Zego2 Z-score of ego2 ,61 -2,30 -2,99
> Zorder2 Z-score of order2 -3,33 -2,62 2,59 Final Cluster Centers
>
> Cluster
>
> 1 2 3
> Zcommunity2 Z-score of community2 -,01 NaN 1,50
> Zego2 Z-score of ego2 ,03 NaN -6,33
> Zorder2 Z-score of order2 -,02 NaN 3,23
>
>
>
>
> Number of Cases in each Cluster
>
>
> Count
> Cluster 1 2193
> 2 0
> 3 1
> Valid 2194
>
>
>