Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_hierarchicalclustering.wasp
Title produced by softwareHierarchical Clustering
Date of computationWed, 05 Dec 2007 15:51:14 -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/2007/Dec/05/t11968951823cwjsl2re991bbc.htm/, Retrieved Fri, 03 May 2024 03:04:11 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=2538, Retrieved Fri, 03 May 2024 03:04:11 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordshierarchical clusering
Estimated Impact328
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Hierarchical Clustering] [paper] [2007-12-05 22:51:14] [c4516de5538230e4cf0ae0b9d9e43dd3] [Current]
- RMPD    [Kendall tau Correlation Matrix] [] [2008-01-16 14:42:57] [74be16979710d4c4e7c6647856088456]
- RMPD    [Box-Cox Normality Plot] [] [2008-01-16 15:07:35] [74be16979710d4c4e7c6647856088456]
- RMPD    [Maximum-likelihood Fitting - Normal Distribution] [] [2008-01-16 15:40:36] [74be16979710d4c4e7c6647856088456]
- RMPD    [Standard Deviation-Mean Plot] [] [2008-01-16 15:49:26] [74be16979710d4c4e7c6647856088456]
- RMPD    [Standard Deviation-Mean Plot] [] [2008-01-16 15:59:23] [74be16979710d4c4e7c6647856088456]
- RMPD    [Variance Reduction Matrix] [] [2008-01-16 16:10:12] [74be16979710d4c4e7c6647856088456]
- RMPD    [Variance Reduction Matrix] [] [2008-01-16 16:17:34] [74be16979710d4c4e7c6647856088456]
- RMPD    [(Partial) Autocorrelation Function] [] [2008-01-16 17:13:52] [74be16979710d4c4e7c6647856088456]
- RMPD    [(Partial) Autocorrelation Function] [] [2008-01-16 17:16:50] [74be16979710d4c4e7c6647856088456]
- RMPD    [(Partial) Autocorrelation Function] [] [2008-01-16 17:22:33] [74be16979710d4c4e7c6647856088456]
- RMPD      [(Partial) Autocorrelation Function] [WS8 1] [2010-11-25 16:31:47] [717f3d787904f94c39256c5c1fc72d4c]
- RMPD    [(Partial) Autocorrelation Function] [] [2008-01-16 17:24:33] [74be16979710d4c4e7c6647856088456]
- RMPD    [(Partial) Autocorrelation Function] [] [2008-01-16 17:24:33] [74be16979710d4c4e7c6647856088456]
-    D    [Hierarchical Clustering] [paper 1.12 Hierar...] [2008-12-05 10:19:00] [819b576fab25b35cfda70f80599828ec]
-    D      [Hierarchical Clustering] [paper 1.12 hierar...] [2008-12-05 10:21:37] [a18c43c8b63fa6800a53bb187b9ddd45]
-             [Hierarchical Clustering] [paper 1.12 hierar...] [2008-12-08 21:15:21] [2bd2ad6af3eef3a703e9ec23e39bd695]
-           [Hierarchical Clustering] [paper 1.12 Hierar...] [2008-12-08 21:13:44] [2bd2ad6af3eef3a703e9ec23e39bd695]
Feedback Forum

Post a new message
Dataseries X:
467.037
460.070
447.988
442.867
436.087
431.328
484.015
509.673
512.927
502.831
470.984
471.067
476.049
474.605
470.439
461.251
454.724
455.626
516.847
525.192
522.975
518.585
509.239
512.238
519.164
517.009
509.933
509.127
500.857
506.971
569.323
579.714
577.992
565.464
547.344
554.788
562.325
560.854
555.332
543.599
536.662
542.722
593.530
610.763
612.613
611.324
594.167
595.454
590.865
589.379
584.428
573.100
567.456
569.028
620.735
628.884
628.232
612.117
595.404
597.141
593.408
590.072
579.799
574.205
572.775
572.942
619.567
625.809
619.916
587.625
565.742
557.274




Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\begin{tabular}{lllllllll}
\hline
Summary of compuational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 2 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=2538&T=0

[TABLE]
[ROW][C]Summary of compuational 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]2 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=2538&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=2538&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 compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Summary of Dendrogram
LabelHeight
10.0499999999999545
20.0830000000000268
30.0849999999999227
40.111999999999966
50.121999999999957
60.158000000000015
70.162000000000035
80.259999999999991
90.275333333333379
100.277999999999906
110.294999999999959
120.349000000000046
130.496000000000095
140.543999999999983
150.560999999999922
160.578999999999951
170.652000000000044
180.688999999999965
190.692999999999984
200.754333333333288
210.877000000000066
220.890000000000062
230.901999999999987
241.05400000000003
251.18099999999998
261.20833333333330
271.28833333333334
281.44399999999996
291.47100000000000
301.79066666666671
311.97399999999999
322.11450000000002
332.19433333333332
342.21699999999998
352.266
362.32433333333343
372.77066666666667
383.197
393.44800000000002
403.52250000000004
413.74999999999999
424.75900000000001
435.12099999999998
445.2299999999999
455.2856666666667
465.48016666666671
476.03586666666674
487.0784666666667
498.29728571428587
509.92950000000002
5110.2988333333333
5211.1026666666667
5311.6911333333334
5413.5868333333334
5517.9426666666666
5618.5000000000001
5718.7215476190476
5819.8783333333332
5920.7397142857142
6024.2073818181818
6133.7999999999999
6246.2168333333334
6353.2047499999999
6457.8987999999999
6569.7068235294117
66120.806369047619
67123.261390756302
68222.632103896104
69556.161
70606.015266666667
712347.65065555556

\begin{tabular}{lllllllll}
\hline
Summary of Dendrogram \tabularnewline
Label & Height \tabularnewline
1 & 0.0499999999999545 \tabularnewline
2 & 0.0830000000000268 \tabularnewline
3 & 0.0849999999999227 \tabularnewline
4 & 0.111999999999966 \tabularnewline
5 & 0.121999999999957 \tabularnewline
6 & 0.158000000000015 \tabularnewline
7 & 0.162000000000035 \tabularnewline
8 & 0.259999999999991 \tabularnewline
9 & 0.275333333333379 \tabularnewline
10 & 0.277999999999906 \tabularnewline
11 & 0.294999999999959 \tabularnewline
12 & 0.349000000000046 \tabularnewline
13 & 0.496000000000095 \tabularnewline
14 & 0.543999999999983 \tabularnewline
15 & 0.560999999999922 \tabularnewline
16 & 0.578999999999951 \tabularnewline
17 & 0.652000000000044 \tabularnewline
18 & 0.688999999999965 \tabularnewline
19 & 0.692999999999984 \tabularnewline
20 & 0.754333333333288 \tabularnewline
21 & 0.877000000000066 \tabularnewline
22 & 0.890000000000062 \tabularnewline
23 & 0.901999999999987 \tabularnewline
24 & 1.05400000000003 \tabularnewline
25 & 1.18099999999998 \tabularnewline
26 & 1.20833333333330 \tabularnewline
27 & 1.28833333333334 \tabularnewline
28 & 1.44399999999996 \tabularnewline
29 & 1.47100000000000 \tabularnewline
30 & 1.79066666666671 \tabularnewline
31 & 1.97399999999999 \tabularnewline
32 & 2.11450000000002 \tabularnewline
33 & 2.19433333333332 \tabularnewline
34 & 2.21699999999998 \tabularnewline
35 & 2.266 \tabularnewline
36 & 2.32433333333343 \tabularnewline
37 & 2.77066666666667 \tabularnewline
38 & 3.197 \tabularnewline
39 & 3.44800000000002 \tabularnewline
40 & 3.52250000000004 \tabularnewline
41 & 3.74999999999999 \tabularnewline
42 & 4.75900000000001 \tabularnewline
43 & 5.12099999999998 \tabularnewline
44 & 5.2299999999999 \tabularnewline
45 & 5.2856666666667 \tabularnewline
46 & 5.48016666666671 \tabularnewline
47 & 6.03586666666674 \tabularnewline
48 & 7.0784666666667 \tabularnewline
49 & 8.29728571428587 \tabularnewline
50 & 9.92950000000002 \tabularnewline
51 & 10.2988333333333 \tabularnewline
52 & 11.1026666666667 \tabularnewline
53 & 11.6911333333334 \tabularnewline
54 & 13.5868333333334 \tabularnewline
55 & 17.9426666666666 \tabularnewline
56 & 18.5000000000001 \tabularnewline
57 & 18.7215476190476 \tabularnewline
58 & 19.8783333333332 \tabularnewline
59 & 20.7397142857142 \tabularnewline
60 & 24.2073818181818 \tabularnewline
61 & 33.7999999999999 \tabularnewline
62 & 46.2168333333334 \tabularnewline
63 & 53.2047499999999 \tabularnewline
64 & 57.8987999999999 \tabularnewline
65 & 69.7068235294117 \tabularnewline
66 & 120.806369047619 \tabularnewline
67 & 123.261390756302 \tabularnewline
68 & 222.632103896104 \tabularnewline
69 & 556.161 \tabularnewline
70 & 606.015266666667 \tabularnewline
71 & 2347.65065555556 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=2538&T=1

[TABLE]
[ROW][C]Summary of Dendrogram[/C][/ROW]
[ROW][C]Label[/C][C]Height[/C][/ROW]
[ROW][C]1[/C][C]0.0499999999999545[/C][/ROW]
[ROW][C]2[/C][C]0.0830000000000268[/C][/ROW]
[ROW][C]3[/C][C]0.0849999999999227[/C][/ROW]
[ROW][C]4[/C][C]0.111999999999966[/C][/ROW]
[ROW][C]5[/C][C]0.121999999999957[/C][/ROW]
[ROW][C]6[/C][C]0.158000000000015[/C][/ROW]
[ROW][C]7[/C][C]0.162000000000035[/C][/ROW]
[ROW][C]8[/C][C]0.259999999999991[/C][/ROW]
[ROW][C]9[/C][C]0.275333333333379[/C][/ROW]
[ROW][C]10[/C][C]0.277999999999906[/C][/ROW]
[ROW][C]11[/C][C]0.294999999999959[/C][/ROW]
[ROW][C]12[/C][C]0.349000000000046[/C][/ROW]
[ROW][C]13[/C][C]0.496000000000095[/C][/ROW]
[ROW][C]14[/C][C]0.543999999999983[/C][/ROW]
[ROW][C]15[/C][C]0.560999999999922[/C][/ROW]
[ROW][C]16[/C][C]0.578999999999951[/C][/ROW]
[ROW][C]17[/C][C]0.652000000000044[/C][/ROW]
[ROW][C]18[/C][C]0.688999999999965[/C][/ROW]
[ROW][C]19[/C][C]0.692999999999984[/C][/ROW]
[ROW][C]20[/C][C]0.754333333333288[/C][/ROW]
[ROW][C]21[/C][C]0.877000000000066[/C][/ROW]
[ROW][C]22[/C][C]0.890000000000062[/C][/ROW]
[ROW][C]23[/C][C]0.901999999999987[/C][/ROW]
[ROW][C]24[/C][C]1.05400000000003[/C][/ROW]
[ROW][C]25[/C][C]1.18099999999998[/C][/ROW]
[ROW][C]26[/C][C]1.20833333333330[/C][/ROW]
[ROW][C]27[/C][C]1.28833333333334[/C][/ROW]
[ROW][C]28[/C][C]1.44399999999996[/C][/ROW]
[ROW][C]29[/C][C]1.47100000000000[/C][/ROW]
[ROW][C]30[/C][C]1.79066666666671[/C][/ROW]
[ROW][C]31[/C][C]1.97399999999999[/C][/ROW]
[ROW][C]32[/C][C]2.11450000000002[/C][/ROW]
[ROW][C]33[/C][C]2.19433333333332[/C][/ROW]
[ROW][C]34[/C][C]2.21699999999998[/C][/ROW]
[ROW][C]35[/C][C]2.266[/C][/ROW]
[ROW][C]36[/C][C]2.32433333333343[/C][/ROW]
[ROW][C]37[/C][C]2.77066666666667[/C][/ROW]
[ROW][C]38[/C][C]3.197[/C][/ROW]
[ROW][C]39[/C][C]3.44800000000002[/C][/ROW]
[ROW][C]40[/C][C]3.52250000000004[/C][/ROW]
[ROW][C]41[/C][C]3.74999999999999[/C][/ROW]
[ROW][C]42[/C][C]4.75900000000001[/C][/ROW]
[ROW][C]43[/C][C]5.12099999999998[/C][/ROW]
[ROW][C]44[/C][C]5.2299999999999[/C][/ROW]
[ROW][C]45[/C][C]5.2856666666667[/C][/ROW]
[ROW][C]46[/C][C]5.48016666666671[/C][/ROW]
[ROW][C]47[/C][C]6.03586666666674[/C][/ROW]
[ROW][C]48[/C][C]7.0784666666667[/C][/ROW]
[ROW][C]49[/C][C]8.29728571428587[/C][/ROW]
[ROW][C]50[/C][C]9.92950000000002[/C][/ROW]
[ROW][C]51[/C][C]10.2988333333333[/C][/ROW]
[ROW][C]52[/C][C]11.1026666666667[/C][/ROW]
[ROW][C]53[/C][C]11.6911333333334[/C][/ROW]
[ROW][C]54[/C][C]13.5868333333334[/C][/ROW]
[ROW][C]55[/C][C]17.9426666666666[/C][/ROW]
[ROW][C]56[/C][C]18.5000000000001[/C][/ROW]
[ROW][C]57[/C][C]18.7215476190476[/C][/ROW]
[ROW][C]58[/C][C]19.8783333333332[/C][/ROW]
[ROW][C]59[/C][C]20.7397142857142[/C][/ROW]
[ROW][C]60[/C][C]24.2073818181818[/C][/ROW]
[ROW][C]61[/C][C]33.7999999999999[/C][/ROW]
[ROW][C]62[/C][C]46.2168333333334[/C][/ROW]
[ROW][C]63[/C][C]53.2047499999999[/C][/ROW]
[ROW][C]64[/C][C]57.8987999999999[/C][/ROW]
[ROW][C]65[/C][C]69.7068235294117[/C][/ROW]
[ROW][C]66[/C][C]120.806369047619[/C][/ROW]
[ROW][C]67[/C][C]123.261390756302[/C][/ROW]
[ROW][C]68[/C][C]222.632103896104[/C][/ROW]
[ROW][C]69[/C][C]556.161[/C][/ROW]
[ROW][C]70[/C][C]606.015266666667[/C][/ROW]
[ROW][C]71[/C][C]2347.65065555556[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=2538&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=2538&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
10.0499999999999545
20.0830000000000268
30.0849999999999227
40.111999999999966
50.121999999999957
60.158000000000015
70.162000000000035
80.259999999999991
90.275333333333379
100.277999999999906
110.294999999999959
120.349000000000046
130.496000000000095
140.543999999999983
150.560999999999922
160.578999999999951
170.652000000000044
180.688999999999965
190.692999999999984
200.754333333333288
210.877000000000066
220.890000000000062
230.901999999999987
241.05400000000003
251.18099999999998
261.20833333333330
271.28833333333334
281.44399999999996
291.47100000000000
301.79066666666671
311.97399999999999
322.11450000000002
332.19433333333332
342.21699999999998
352.266
362.32433333333343
372.77066666666667
383.197
393.44800000000002
403.52250000000004
413.74999999999999
424.75900000000001
435.12099999999998
445.2299999999999
455.2856666666667
465.48016666666671
476.03586666666674
487.0784666666667
498.29728571428587
509.92950000000002
5110.2988333333333
5211.1026666666667
5311.6911333333334
5413.5868333333334
5517.9426666666666
5618.5000000000001
5718.7215476190476
5819.8783333333332
5920.7397142857142
6024.2073818181818
6133.7999999999999
6246.2168333333334
6353.2047499999999
6457.8987999999999
6569.7068235294117
66120.806369047619
67123.261390756302
68222.632103896104
69556.161
70606.015266666667
712347.65065555556



Parameters (Session):
par1 = ward ; par2 = ALL ; par3 = FALSE ; par4 = FALSE ;
Parameters (R input):
par1 = ward ; par2 = ALL ; 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')
}