Home » date » 2008 » Nov » 13 »

various EDA Q2 Yannick van schil

*Unverified author*
R Software Module: rwasp_hierarchicalclustering.wasp (opens new window with default values)
Title produced by software: Hierarchical Clustering
Date of computation: Thu, 13 Nov 2008 10:01:47 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Nov/13/t12265957525atmpa7p4zy0e8k.htm/, Retrieved Thu, 13 Nov 2008 17:02:35 +0000
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2008/Nov/13/t12265957525atmpa7p4zy0e8k.htm/},
    year = {2008},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2008},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
 
Feedback Forum:

Post a new message
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
110.40 109.20 99.90 72.50 96.40 88.60 99.80 59.40 101.90 94.30 99.80 85.70 106.20 98.30 100.30 88.20 81.00 86.40 99.90 62.80 94.70 80.60 99.90 87.00 101.00 104.10 100.00 79.20 109.40 108.20 100.10 112.00 102.30 93.40 100.10 79.20 90.70 71.90 100.20 132.10 96.20 94.10 100.30 40.10 96.10 94.90 100.60 69.00 106.00 96.40 100.00 59.40 103.10 91.10 100.10 73.80 102.00 84.40 100.20 57.40 104.70 86.40 100.00 81.10 86.00 88.00 100.10 46.60 92.10 75.10 100.10 41.40 106.90 109.70 100.10 71.20 112.60 103.00 100.50 67.90 101.70 82.10 100.50 72.00 92.00 68.00 100.50 145.50 97.40 96.40 96.30 39.70 97.00 94.30 96.30 51.90 105.40 90.00 96.80 73.70 102.70 88.00 96.80 70.90 98.10 76.10 96.90 60.80 104.50 82.50 96.80 61.00 87.40 81.40 96.80 54.50 89.90 66.50 96.80 39.10 109.80 97.20 96.80 66.60 111.70 94.10 97.00 58.50 98.60 80.70 97.00 59.80 96.90 70.50 97.00 80.90 95.10 87.80 96.80 37.30 97.00 89.50 96.90 44.60 112.70 99.60 97.20 48.70 102.90 84.20 97.30 54.00 97.40 75.10 97.30 49.50 111.40 92.00 97.20 61.60 87.40 80.80 97.30 35.00 96.80 73.10 97.30 35.70 114.10 99.80 97.30 51.30 110.30 90.00 97.30 49.00 103.90 83.10 97.30 41.50 101.60 72.40 97.30 72.50 94.60 78.80 98.10 42.10 95.90 87.30 96.80 44.10 104.70 91.00 96.80 45.10 102.80 80.10 96.80 50.30 98.10 73.60 96.80 40.90 113.90 86.40 96.80 47.20 80.90 74.50 96.80 36.90 95.70 71.20 96.80 40.90 113.20 92.40 96.80 38.30 105.90 81.50 96.80 46.30 108.80 85.30 96.80 28.40 102.30 69.90 96.80 78.40 99.00 84.20 96.90 36.80 100.70 90.70 97.10 50.70 115.50 100.30 97.10 42.80 135 125 149 170 170 158 133 114 140 145 150 178 163 172 178 199 199 184 162 146 166 171 180 193 181 183 218 230 242 209 191 172 194 196 196 236 235 229 243 264 272 237 211 180 201 204 188 235 227 234 264 302 293 259 229 203 229 242 233 267 269 270 315 364 347 312 274 237 278 284 277 317 313 318 374 413 405 355 306 271 306 315 301 356 348 355 422 465 467 404 347 305 336 340 318 362 348 363 435 491 505 404 359 310 337 360 342 406 396 420 472 548 559 463 407 362 405 417 391 419 461 472 535 622 606 508 461 390 432
 
Output produced by software:

Enter (or paste) a matrix (table) containing all data (time) series. Every column represents a different variable and must be delimited by a space or Tab. Every row represents a period in time (or category) and must be delimited by hard returns. The easiest way to enter data is to copy and paste a block of spreadsheet cells. Please, do not use commas or spaces to seperate groups of digits!


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


Summary of Dendrogram
LabelHeight
10.984885780179617
21.51657508881032
32.51197133741609
42.9086079144498
52.94618397253124
62.96141857899216
73.39411254969542
83.43074335968169
93.76164857476080
103.772267222772
113.92683078321437
124.08411557133243
134.17133072292284
144.45196585791041
154.56289381861994
164.73497624070069
174.78434948556228
184.85180378828328
194.94267134250296
205.00199960015992
215.11985360729854
225.25071423713004
235.33197899470731
245.36003731330296
255.4230987451825
265.86770824087224
275.98414572015086
286.04069532421558
296.08687111741328
306.08769250208976
316.25065996541364
326.40234332100365
336.48999229583518
346.52548865032021
356.74907401055878
366.85598684882411
377.07106781186548
387.24844810976806
397.31862934082526
407.35798885565886
417.54055700860354
427.56960620527561
437.64068059795723
447.82370024247937
457.9031639233917
468.14243881330763
478.29638475481942
488.56051278084377
498.83232698670062
508.85934844935958
519.14632994752397
529.21954445729289
539.26282894152753
549.32152916309868
559.48720883650591
569.65038859321219
579.7906642531135
589.80116422703554
5910.0717426496113
6010.2717397717901
6110.3662915259026
6210.6977783089397
6310.9004587059444
6410.9175633333175
6510.9475302735850
6611.1749887841323
6711.9998557297210
6812.4550566032831
6912.7365437294496
7012.8814001172322
7113.1753978982080
7213.3416640641263
7313.5042881778377
7413.5843397662809
7513.7105442514842
7614.0196290963777
7714.2228689089086
7814.4740197839994
7914.6004513882873
8014.7528628152703
8114.7624888662622
8215.1019866242823
8315.2801814647016
8415.3896454665556
8515.5241746962600
8615.6637791142937
8715.7329885315009
8815.9843268216369
8916.2638446536299
9016.4012194668567
9116.7357873183021
9217.9057134540054
9319.1451676950719
9419.7149003674515
9519.9749843554382
9620.6909168174239
9721.3201783624796
9822.1359436211787
9922.6497280015666
10022.8315762376692
10123.4330811510197
10223.9161328160879
10324.1012522657793
10425.2909898511548
10526.6779054441941
10627.1661554144122
10727.7542232927572
10830.1496268633627
10930.4027879379277
11031.0644491340181
11131.1600667086278
11231.6543835826888
11332.4786719273815
11433.0970428319562
11533.4050629295510
11633.5065226775146
11733.6154726279432
11833.734255586866
11938.2616088179198
12040.1621712560464
12140.4563433677724
12241.8360593901745
12342.2863700223221
12442.3083916026124
12542.9484552536474
12642.9997724529726
12743.0379231790051
12843.4200153140677
12943.7492857084547
13043.9733326835754
13145.0555060849483
13245.5112366211433
13347.5815090134813
13447.8647852269159
13548.7749935930288
13651.6494546509497
13751.720402163943
13852.3999530900087
13955.3263047744922
14057.1486548087513
14157.2684936628814
14258.7622327690158
14364.4971223320583
14464.8780776060888
14569.8280410170927
14673.3397304190025
14779.1075217662644
14879.7084079161374
14981.1976333884486
15084.4705196604339
15184.8357954178091
15285.1679100131984
15385.5859536406968
15496.3661047576742
155101.044832444436
156103.678403646185
157104.840902584218
158105.315763872571
159105.434617403245
160109.623790559329
161127.098967718465
162135.744608610011
163145.12435511728
164146.287404030175
165148.416484447378
166150.575770048106
167155.008957058639
168155.041960402745
169172.263995693086
170181.541047768840
171181.626816924787
172233.033982134435
173237.599172577599
174252.043858034607
175303.899423253562
176321.434626996701
177324.466469762285
178379.332308413272
179395.181506512553
180543.444927165786
181565.373345402758
182597.650021877275
183603.453886235506
184933.150426088258
1851168.88433589466
1862241.31063402949
1872429.60611121347
1886652.00085273747
18922918.1768561001
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/13/t12265957525atmpa7p4zy0e8k/1kkxv1226595704.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/13/t12265957525atmpa7p4zy0e8k/1kkxv1226595704.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/13/t12265957525atmpa7p4zy0e8k/2v7lz1226595704.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/13/t12265957525atmpa7p4zy0e8k/2v7lz1226595704.ps (open in new window)


 
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')
}
 





Copyright

Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Software written by Ed van Stee & Patrick Wessa


Disclaimer

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. However, we make no warranties or representations as to the accuracy or completeness of such information (or software), and we assume no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.


Privacy Policy

We may request personal information to be submitted to our servers in order to be able to:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

We NEVER allow other companies to directly offer registered users information about their products and services. Banner references and hyperlinks of third parties NEVER contain any personal data of the visitor.

We do NOT sell, nor transmit by any means, personal information, nor statistical data series uploaded by you to third parties.

We carefully protect your data from loss, misuse, alteration, and destruction. However, at any time, and under any circumstance you are solely responsible for managing your passwords, and keeping them secret.

We store a unique ANONYMOUS USER ID in the form of a small 'Cookie' on your computer. This allows us to track your progress when using this website which is necessary to create state-dependent features. The cookie is used for NO OTHER PURPOSE. At any time you may opt to disallow cookies from this website - this will not affect other features of this website.

We examine cookies that are used by third-parties (banner and online ads) very closely: abuse from third-parties automatically results in termination of the advertising contract without refund. We have very good reason to believe that the cookies that are produced by third parties (banner ads) do NOT cause any privacy or security risk.

FreeStatistics.org is safe. There is no need to download any software to use the applications and services contained in this website. Hence, your system's security is not compromised by their use, and your personal data - other than data you submit in the account application form, and the user-agent information that is transmitted by your browser - is never transmitted to our servers.

As a general rule, we do not log on-line behavior of individuals (other than normal logging of webserver 'hits'). However, in cases of abuse, hacking, unauthorized access, Denial of Service attacks, illegal copying, hotlinking, non-compliance with international webstandards (such as robots.txt), or any other harmful behavior, our system engineers are empowered to log, track, identify, publish, and ban misbehaving individuals - even if this leads to ban entire blocks of IP addresses, or disclosing user's identity.


FreeStatistics.org is powered by