Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_hierarchicalclustering.wasp
Title produced by softwareHierarchical Clustering
Date of computationMon, 10 Nov 2008 09:56:31 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Nov/10/t122633629397nh3av3zmgucnh.htm/, Retrieved Mon, 20 May 2024 05:23:31 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=23137, Retrieved Mon, 20 May 2024 05:23:31 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact167
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F     [Partial Correlation] [Opdracht 6Q1 Part...] [2008-11-10 13:54:43] [aa5573c1db401b164e448aef050955a1]
F RMPD    [Hierarchical Clustering] [Q2 opdracht 6] [2008-11-10 16:56:31] [8a1195ff8db4df756ce44b463a631c76] [Current]
Feedback Forum
2008-11-14 12:58:12 [Ken Van den Heuvel] [reply
Deze methode verdeeld de data in clusters die samenhoren (gelijkaardige waarden vertonen). De nummers die je afleest op de x-as zijn de volgnummers van de data zoals deze in de reeks voorkomen. Het gemiddelde heeft hier dus niet echt iets mee te maken. Data 60 behoort gewoon tot een andere cluster.

Post a new message
Dataseries X:
82.7	97.4	74.8	89.3
88.9	97	93.1	87.5
105.9	105.4	103.9	106.7
100.8	102.7	83.9	102.5
94	98.1	77.7	109.2
105	104.5	141.5	123.7
58.5	87.4	58.9	83.1
87.6	89.9	75.3	97
113.1	109.8	108.4	119.1
112.5	111.7	91	125.1
89.6	98.6	84.6	113.6
74.5	96.9	179.8	122.4
82.7	95.1	85.6	92.8
90.1	97	76.4	97.2
109.4	112.7	109.7	115.6
96	102.9	99.1	111.3
89.2	97.4	86.7	114.6
109.1	111.4	111.4	137.5
49.1	87.4	78.4	83.7
92.9	96.8	76.7	106
107.7	114.1	114.2	123.4
103.5	110.3	99.7	126.5
91.1	103.9	94.2	120
79.8	101.6	173.5	141.6
71.9	94.6	83.1	90.5
82.9	95.9	88.9	96.5
90.1	104.7	132	113.5
100.7	102.8	122.1	120.1
90.7	98.1	105.1	123.9
108.8	113.9	133.7	144.4
44.1	80.9	63.6	90.8
93.6	95.7	112.7	114.2
107.4	113.2	120.5	138.1
96.5	105.9	112	135
93.6	108.8	126.2	131.3
76.5	102.3	209.2	144.6
76.7	99	91	101.7
84	100.7	116.7	108.7
103.3	115.5	137.6	135.3
88.5	100.7	108.1	124.3
99	109.9	136.6	138.3
105.9	114.6	152.3	158.2
44.7	85.4	114.3	93.5
94	100.5	120.7	124.8
107.1	114.8	131.8	154.4
104.8	116.5	129.4	152.8
102.5	112.9	187.5	148.9
77.7	102	189.5	170.3
85.2	106	109.2	124.8
91.3	105.3	158.1	134.4
106.5	118.8	176.2	154
92.4	106.1	125.5	147.9
97.5	109.3	155	168.1
107	117.2	170.3	175.7
51.1	92.5	99.4	116.7
98.6	104.2	139.2	140.8
102.2	112.5	169.6	164.2
114.3	122.4	136.1	173.8
99.4	113.3	168.2	167.8
72.5	100	318.6	166.6
92.3	110.7	154.1	135.1
99.4	112.8	161.4	158.1
85.9	109.8	183.4	151.8
109.4	117.3	167.2	168.7
97.6	109.1	205.3	166.9




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'George Udny Yule' @ 72.249.76.132

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 1 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=23137&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]1 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=23137&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=23137&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'George Udny Yule' @ 72.249.76.132







Summary of Dendrogram
LabelHeight
12.64764045897475
23.76031913539263
34.06201920231798
44.55631429995781
54.83735464897915
65.02593274925164
76.00333240792145
86.75721836261046
96.83008052661168
107.60986202240224
118.02371485036701
128.43033685624696
138.61568337394081
149.44986772394195
159.62968844559864
1610.4665393942959
1710.6244324499563
1810.7743875118316
1911.1673631623584
2011.2287935307354
2111.3865671059767
2211.5419345459195
2312.6732000694379
2412.7831920896152
2513.4583320545332
2613.5094932929121
2713.9941321283943
2814.2811063997157
2914.3006992836015
3014.7719152170963
3114.9612722382725
3215.4839934949911
3316.4342971069022
3416.8513415330612
3517.4029902792645
3617.4451579002465
3717.5023923477295
3817.5071414000116
3917.6381247677795
4018.1931305717295
4118.5781025043344
4218.9720472645744
4319.4668801295032
4420.0025510458627
4521.1129118015186
4622.0920304300215
4723.4760445557226
4825.6689086521344
4925.6872900562846
5026.2997662671983
5126.6011277956405
5227.8297771764680
5327.8360029852678
5429.1825290199462
5532.0452854085598
5637.3885141467009
5737.6613750476367
5839.2017541356928
5945.5723734882986
6046.1172623401261
6149.4883217452201
6260.346694615647
6386.1620279690037
64202.267450012703

\begin{tabular}{lllllllll}
\hline
Summary of Dendrogram \tabularnewline
Label & Height \tabularnewline
1 & 2.64764045897475 \tabularnewline
2 & 3.76031913539263 \tabularnewline
3 & 4.06201920231798 \tabularnewline
4 & 4.55631429995781 \tabularnewline
5 & 4.83735464897915 \tabularnewline
6 & 5.02593274925164 \tabularnewline
7 & 6.00333240792145 \tabularnewline
8 & 6.75721836261046 \tabularnewline
9 & 6.83008052661168 \tabularnewline
10 & 7.60986202240224 \tabularnewline
11 & 8.02371485036701 \tabularnewline
12 & 8.43033685624696 \tabularnewline
13 & 8.61568337394081 \tabularnewline
14 & 9.44986772394195 \tabularnewline
15 & 9.62968844559864 \tabularnewline
16 & 10.4665393942959 \tabularnewline
17 & 10.6244324499563 \tabularnewline
18 & 10.7743875118316 \tabularnewline
19 & 11.1673631623584 \tabularnewline
20 & 11.2287935307354 \tabularnewline
21 & 11.3865671059767 \tabularnewline
22 & 11.5419345459195 \tabularnewline
23 & 12.6732000694379 \tabularnewline
24 & 12.7831920896152 \tabularnewline
25 & 13.4583320545332 \tabularnewline
26 & 13.5094932929121 \tabularnewline
27 & 13.9941321283943 \tabularnewline
28 & 14.2811063997157 \tabularnewline
29 & 14.3006992836015 \tabularnewline
30 & 14.7719152170963 \tabularnewline
31 & 14.9612722382725 \tabularnewline
32 & 15.4839934949911 \tabularnewline
33 & 16.4342971069022 \tabularnewline
34 & 16.8513415330612 \tabularnewline
35 & 17.4029902792645 \tabularnewline
36 & 17.4451579002465 \tabularnewline
37 & 17.5023923477295 \tabularnewline
38 & 17.5071414000116 \tabularnewline
39 & 17.6381247677795 \tabularnewline
40 & 18.1931305717295 \tabularnewline
41 & 18.5781025043344 \tabularnewline
42 & 18.9720472645744 \tabularnewline
43 & 19.4668801295032 \tabularnewline
44 & 20.0025510458627 \tabularnewline
45 & 21.1129118015186 \tabularnewline
46 & 22.0920304300215 \tabularnewline
47 & 23.4760445557226 \tabularnewline
48 & 25.6689086521344 \tabularnewline
49 & 25.6872900562846 \tabularnewline
50 & 26.2997662671983 \tabularnewline
51 & 26.6011277956405 \tabularnewline
52 & 27.8297771764680 \tabularnewline
53 & 27.8360029852678 \tabularnewline
54 & 29.1825290199462 \tabularnewline
55 & 32.0452854085598 \tabularnewline
56 & 37.3885141467009 \tabularnewline
57 & 37.6613750476367 \tabularnewline
58 & 39.2017541356928 \tabularnewline
59 & 45.5723734882986 \tabularnewline
60 & 46.1172623401261 \tabularnewline
61 & 49.4883217452201 \tabularnewline
62 & 60.346694615647 \tabularnewline
63 & 86.1620279690037 \tabularnewline
64 & 202.267450012703 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=23137&T=1

[TABLE]
[ROW][C]Summary of Dendrogram[/C][/ROW]
[ROW][C]Label[/C][C]Height[/C][/ROW]
[ROW][C]1[/C][C]2.64764045897475[/C][/ROW]
[ROW][C]2[/C][C]3.76031913539263[/C][/ROW]
[ROW][C]3[/C][C]4.06201920231798[/C][/ROW]
[ROW][C]4[/C][C]4.55631429995781[/C][/ROW]
[ROW][C]5[/C][C]4.83735464897915[/C][/ROW]
[ROW][C]6[/C][C]5.02593274925164[/C][/ROW]
[ROW][C]7[/C][C]6.00333240792145[/C][/ROW]
[ROW][C]8[/C][C]6.75721836261046[/C][/ROW]
[ROW][C]9[/C][C]6.83008052661168[/C][/ROW]
[ROW][C]10[/C][C]7.60986202240224[/C][/ROW]
[ROW][C]11[/C][C]8.02371485036701[/C][/ROW]
[ROW][C]12[/C][C]8.43033685624696[/C][/ROW]
[ROW][C]13[/C][C]8.61568337394081[/C][/ROW]
[ROW][C]14[/C][C]9.44986772394195[/C][/ROW]
[ROW][C]15[/C][C]9.62968844559864[/C][/ROW]
[ROW][C]16[/C][C]10.4665393942959[/C][/ROW]
[ROW][C]17[/C][C]10.6244324499563[/C][/ROW]
[ROW][C]18[/C][C]10.7743875118316[/C][/ROW]
[ROW][C]19[/C][C]11.1673631623584[/C][/ROW]
[ROW][C]20[/C][C]11.2287935307354[/C][/ROW]
[ROW][C]21[/C][C]11.3865671059767[/C][/ROW]
[ROW][C]22[/C][C]11.5419345459195[/C][/ROW]
[ROW][C]23[/C][C]12.6732000694379[/C][/ROW]
[ROW][C]24[/C][C]12.7831920896152[/C][/ROW]
[ROW][C]25[/C][C]13.4583320545332[/C][/ROW]
[ROW][C]26[/C][C]13.5094932929121[/C][/ROW]
[ROW][C]27[/C][C]13.9941321283943[/C][/ROW]
[ROW][C]28[/C][C]14.2811063997157[/C][/ROW]
[ROW][C]29[/C][C]14.3006992836015[/C][/ROW]
[ROW][C]30[/C][C]14.7719152170963[/C][/ROW]
[ROW][C]31[/C][C]14.9612722382725[/C][/ROW]
[ROW][C]32[/C][C]15.4839934949911[/C][/ROW]
[ROW][C]33[/C][C]16.4342971069022[/C][/ROW]
[ROW][C]34[/C][C]16.8513415330612[/C][/ROW]
[ROW][C]35[/C][C]17.4029902792645[/C][/ROW]
[ROW][C]36[/C][C]17.4451579002465[/C][/ROW]
[ROW][C]37[/C][C]17.5023923477295[/C][/ROW]
[ROW][C]38[/C][C]17.5071414000116[/C][/ROW]
[ROW][C]39[/C][C]17.6381247677795[/C][/ROW]
[ROW][C]40[/C][C]18.1931305717295[/C][/ROW]
[ROW][C]41[/C][C]18.5781025043344[/C][/ROW]
[ROW][C]42[/C][C]18.9720472645744[/C][/ROW]
[ROW][C]43[/C][C]19.4668801295032[/C][/ROW]
[ROW][C]44[/C][C]20.0025510458627[/C][/ROW]
[ROW][C]45[/C][C]21.1129118015186[/C][/ROW]
[ROW][C]46[/C][C]22.0920304300215[/C][/ROW]
[ROW][C]47[/C][C]23.4760445557226[/C][/ROW]
[ROW][C]48[/C][C]25.6689086521344[/C][/ROW]
[ROW][C]49[/C][C]25.6872900562846[/C][/ROW]
[ROW][C]50[/C][C]26.2997662671983[/C][/ROW]
[ROW][C]51[/C][C]26.6011277956405[/C][/ROW]
[ROW][C]52[/C][C]27.8297771764680[/C][/ROW]
[ROW][C]53[/C][C]27.8360029852678[/C][/ROW]
[ROW][C]54[/C][C]29.1825290199462[/C][/ROW]
[ROW][C]55[/C][C]32.0452854085598[/C][/ROW]
[ROW][C]56[/C][C]37.3885141467009[/C][/ROW]
[ROW][C]57[/C][C]37.6613750476367[/C][/ROW]
[ROW][C]58[/C][C]39.2017541356928[/C][/ROW]
[ROW][C]59[/C][C]45.5723734882986[/C][/ROW]
[ROW][C]60[/C][C]46.1172623401261[/C][/ROW]
[ROW][C]61[/C][C]49.4883217452201[/C][/ROW]
[ROW][C]62[/C][C]60.346694615647[/C][/ROW]
[ROW][C]63[/C][C]86.1620279690037[/C][/ROW]
[ROW][C]64[/C][C]202.267450012703[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=23137&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=23137&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Summary of Dendrogram
LabelHeight
12.64764045897475
23.76031913539263
34.06201920231798
44.55631429995781
54.83735464897915
65.02593274925164
76.00333240792145
86.75721836261046
96.83008052661168
107.60986202240224
118.02371485036701
128.43033685624696
138.61568337394081
149.44986772394195
159.62968844559864
1610.4665393942959
1710.6244324499563
1810.7743875118316
1911.1673631623584
2011.2287935307354
2111.3865671059767
2211.5419345459195
2312.6732000694379
2412.7831920896152
2513.4583320545332
2613.5094932929121
2713.9941321283943
2814.2811063997157
2914.3006992836015
3014.7719152170963
3114.9612722382725
3215.4839934949911
3316.4342971069022
3416.8513415330612
3517.4029902792645
3617.4451579002465
3717.5023923477295
3817.5071414000116
3917.6381247677795
4018.1931305717295
4118.5781025043344
4218.9720472645744
4319.4668801295032
4420.0025510458627
4521.1129118015186
4622.0920304300215
4723.4760445557226
4825.6689086521344
4925.6872900562846
5026.2997662671983
5126.6011277956405
5227.8297771764680
5327.8360029852678
5429.1825290199462
5532.0452854085598
5637.3885141467009
5737.6613750476367
5839.2017541356928
5945.5723734882986
6046.1172623401261
6149.4883217452201
6260.346694615647
6386.1620279690037
64202.267450012703







Summary of Cut Dendrogram
LabelHeight
131.7032420354063
233.787301978702
336.0335423298835
441.9961557520396
543.680024305624
646.3369891003818
757.2949505708752
883.990266865065
9201.873046333383

\begin{tabular}{lllllllll}
\hline
Summary of Cut Dendrogram \tabularnewline
Label & Height \tabularnewline
1 & 31.7032420354063 \tabularnewline
2 & 33.787301978702 \tabularnewline
3 & 36.0335423298835 \tabularnewline
4 & 41.9961557520396 \tabularnewline
5 & 43.680024305624 \tabularnewline
6 & 46.3369891003818 \tabularnewline
7 & 57.2949505708752 \tabularnewline
8 & 83.990266865065 \tabularnewline
9 & 201.873046333383 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=23137&T=2

[TABLE]
[ROW][C]Summary of Cut Dendrogram[/C][/ROW]
[ROW][C]Label[/C][C]Height[/C][/ROW]
[ROW][C]1[/C][C]31.7032420354063[/C][/ROW]
[ROW][C]2[/C][C]33.787301978702[/C][/ROW]
[ROW][C]3[/C][C]36.0335423298835[/C][/ROW]
[ROW][C]4[/C][C]41.9961557520396[/C][/ROW]
[ROW][C]5[/C][C]43.680024305624[/C][/ROW]
[ROW][C]6[/C][C]46.3369891003818[/C][/ROW]
[ROW][C]7[/C][C]57.2949505708752[/C][/ROW]
[ROW][C]8[/C][C]83.990266865065[/C][/ROW]
[ROW][C]9[/C][C]201.873046333383[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=23137&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=23137&T=2

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Summary of Cut Dendrogram
LabelHeight
131.7032420354063
233.787301978702
336.0335423298835
441.9961557520396
543.680024305624
646.3369891003818
757.2949505708752
883.990266865065
9201.873046333383



Parameters (Session):
par1 = median ; par2 = ALL ; par3 = FALSE ; par4 = FALSE ;
Parameters (R input):
par1 = average ; par2 = 10 ; par3 = FALSE ; par4 = FALSE ;
R code (references can be found in the software module):
par3 <- as.logical(par3)
par4 <- as.logical(par4)
if (par3 == 'TRUE'){
dum = xlab
xlab = ylab
ylab = dum
}
x <- t(y)
hc <- hclust(dist(x),method=par1)
d <- as.dendrogram(hc)
str(d)
mysub <- paste('Method: ',par1)
bitmap(file='test1.png')
if (par4 == 'TRUE'){
plot(d,main=main,ylab=ylab,xlab=xlab,horiz=par3, nodePar=list(pch = c(1,NA), cex=0.8, lab.cex = 0.8),type='t',center=T, sub=mysub)
} else {
plot(d,main=main,ylab=ylab,xlab=xlab,horiz=par3, nodePar=list(pch = c(1,NA), cex=0.8, lab.cex = 0.8), sub=mysub)
}
dev.off()
if (par2 != 'ALL'){
if (par3 == 'TRUE'){
ylab = 'cluster'
} else {
xlab = 'cluster'
}
par2 <- as.numeric(par2)
memb <- cutree(hc, k = par2)
cent <- NULL
for(k in 1:par2){
cent <- rbind(cent, colMeans(x[memb == k, , drop = FALSE]))
}
hc1 <- hclust(dist(cent),method=par1, members = table(memb))
de <- as.dendrogram(hc1)
bitmap(file='test2.png')
if (par4 == 'TRUE'){
plot(de,main=main,ylab=ylab,xlab=xlab,horiz=par3, nodePar=list(pch = c(1,NA), cex=0.8, lab.cex = 0.8),type='t',center=T, sub=mysub)
} else {
plot(de,main=main,ylab=ylab,xlab=xlab,horiz=par3, nodePar=list(pch = c(1,NA), cex=0.8, lab.cex = 0.8), sub=mysub)
}
dev.off()
str(de)
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Summary of Dendrogram',2,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Label',header=TRUE)
a<-table.element(a,'Height',header=TRUE)
a<-table.row.end(a)
num <- length(x[,1])-1
for (i in 1:num)
{
a<-table.row.start(a)
a<-table.element(a,hc$labels[i])
a<-table.element(a,hc$height[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable1.tab')
if (par2 != 'ALL'){
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Summary of Cut Dendrogram',2,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Label',header=TRUE)
a<-table.element(a,'Height',header=TRUE)
a<-table.row.end(a)
num <- par2-1
for (i in 1:num)
{
a<-table.row.start(a)
a<-table.element(a,i)
a<-table.element(a,hc1$height[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
}