I'm running a cluster analysis in which I want to feed in all the columns of my data table DT2WAY into the analysis, perform the analysis and then append the resulting allocation into 4 clusters to the right of that table, but without seeing any output. The following script does that for me, but leaves a dendrogram on the screen. Obviously I can simply delete it immediately afterwards, but I'd much prefer to suppress it altogether. How can I do that, please?
style="font-size: 8pt; font-family: "Courier New"; color: black;">
style="font-size: 8pt; font-family: "Courier New"; color: black;">Ylist
style="font-size: 8pt; font-family: "Courier New"; color: navy;">=
style="font-size: 8pt; font-family: "Courier New"; color: black;">
{}
style="font-size: 8pt; font-family: "Courier New"; color: navy;">;
style="font-size: 8pt; font-family: "Courier New"; color: black;">
style="font-size: 8pt; font-family: "Courier New"; color: rgb(0, 0, 221);">for
style="font-size: 8pt; font-family: "Courier New"; color: black;">(
style="font-size: 8pt; font-family: "Courier New"; color: black;">i
style="font-size: 8pt; font-family: "Courier New"; color: navy;">=
style="font-size: 8pt; font-family: "Courier New"; color: teal;">1
style="font-size: 8pt; font-family: "Courier New"; color: navy;">,
style="font-size: 8pt; font-family: "Courier New"; color: black;">
i
style="font-size: 8pt; font-family: "Courier New"; color: navy;"><=
style="font-size: 8pt; font-family: "Courier New"; color: rgb(0, 0, 221);">ncol
style="font-size: 8pt; font-family: "Courier New"; color: black;">(
style="font-size: 8pt; font-family: "Courier New"; color: black;">dt2way)
style="font-size: 8pt; font-family: "Courier New"; color: navy;">,
style="font-size: 8pt; font-family: "Courier New"; color: black;">
i
style="font-size: 8pt; font-family: "Courier New"; color: navy;">++,
style="font-size: 8pt; font-family: "Courier New"; color: black;">
style="font-size: 8pt; font-family: "Courier New"; color: rgb(0, 0, 221);">insert
into
style="font-size: 8pt; font-family: "Courier New"; color: black;">(
style="font-size: 8pt; font-family: "Courier New"; color: black;">Ylist
style="font-size: 8pt; font-family: "Courier New"; color: navy;">,
style="font-size: 8pt; font-family: "Courier New"; color: black;">
style="font-size: 8pt; font-family: "Courier New"; color: rgb(0, 0, 221);">column
style="font-size: 8pt; font-family: "Courier New"; color: black;">(
style="font-size: 8pt; font-family: "Courier New"; color: black;">dt2way
style="font-size: 8pt; font-family: "Courier New"; color: navy;">,
style="font-size: 8pt; font-family: "Courier New"; color: black;">
ColName[i])))
style="font-size: 8pt; font-family: "Courier New"; color: navy;">;
style="font-size: 8pt; font-family: "Courier New"; color: black;">
style="font-size: 8pt; font-family: "Courier New"; color: black;">
style="font-size: 8pt; font-family: "Courier New"; color: black;">dt2way
style="font-size: 8pt; font-family: "Courier New"; color: navy;"><<
style="font-size: 8pt; font-family: "Courier New"; color: black;">
Hierarchical
Cluster(
style="font-size: 8pt; font-family: "Courier New"; color: black;">
style="">
Y(
style="font-size: 8pt; font-family: "Courier New"; color: rgb(0, 0, 221);">eval
list
style="font-size: 8pt; font-family: "Courier New"; color: black;">(
style="font-size: 8pt; font-family: "Courier New"; color: black;">Ylist)
)
style="font-size: 8pt; font-family: "Courier New"; color: navy;">,
style="font-size: 8pt; font-family: "Courier New"; color: black;">
style="font-size: 8pt; font-family: "Courier New"; color: black;">
style="">
Method(
style="font-size: 8pt; font-family: "Courier New"; color: purple;">"Ward"
style="font-size: 8pt; font-family: "Courier New"; color: black;">
)
style="font-size: 8pt; font-family: "Courier New"; color: navy;">,
style="font-size: 8pt; font-family: "Courier New"; color: black;">
style="font-size: 8pt; font-family: "Courier New"; color: black;">
style="">
Standardize(
style="font-size: 8pt; font-family: "Courier New"; color: teal;">1
style="font-size: 8pt; font-family: "Courier New"; color: black;">
)
style="font-size: 8pt; font-family: "Courier New"; color: navy;">,
style="font-size: 8pt; font-family: "Courier New"; color: black;">
style="font-size: 8pt; font-family: "Courier New"; color: black;">
style="">
Number
of Clusters(
style="font-size: 8pt; font-family: "Courier New"; color: teal;">4
style="font-size: 8pt; font-family: "Courier New"; color: black;">
)
style="font-size: 8pt; font-family: "Courier New"; color: navy;">,
style="font-size: 8pt; font-family: "Courier New"; color: black;">
style="font-size: 8pt; font-family: "Courier New"; color: black;">
style="">
Save
Clusters
style="font-size: 8pt; font-family: "Courier New"; color: black;">)
style="font-size: 8pt; font-family: "Courier New"; color: navy;">;
style="font-size: 8pt; font-family: "Courier New"; color: black;">