Home » date » 2008 » Nov » 11 »

Q2

*The author of this computation has been verified*
R Software Module: rwasp_hierarchicalclustering.wasp (opens new window with default values)
Title produced by software: Hierarchical Clustering
Date of computation: Tue, 11 Nov 2008 09:10:44 -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/11/t1226419919hqz8k5nhr1zkrjx.htm/, Retrieved Tue, 11 Nov 2008 16:11:59 +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/11/t1226419919hqz8k5nhr1zkrjx.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 «
12192.5 3277.2 10772.8 3421.3 11268.8 3833 9987.7 3531.4 9097.4 2606.3 8638.7 3219.2 12639.8 3643.8 11063.7 3552.3 13040.1 3686.4 11855.7 3787.7 11687.3 3281.6 10684.5 3392.7 11191.7 3669.3 11337.4 3550 11391.9 3191.5 10478 3681.9 11793.1 3512.7 11123.9 3519.1 13933.2 3970.7 12909.3 4283.2 12778.1 3601.2 11339.9 4046.2 11810.3 3610 10462.2 3824.9 13698.4 4172.1 12733.5 4793.1 11956.6 3956.2 10519.2 3977.7 10723.8 3142.7 10414.9 3983.4 13938.9 3884.3 12476.8 4152.9 13979.8 3892.2 12384.6 4286.1 13807.4 3613 12266.7 4348.1 12973.9 3730.5 12919.9 3949.3 12509.8 3481.3 11497.3 4166.7 12934.1 3649.5 12142 4217.9 14908.3 4215.2 13919.4 4528.2 13772.1 4066.6 12656.8 4232.2 13012.6 4196.8 12034.1 4470.9 14049.9 4536.6 13199.7 5121.2 11816.5 4441.6 10881.3 4170.8 11593.2 3548.3 11301.2 4398.6 14466.2 4735.9 13643.9 4491.4 13615.9 4130.6 12517 4251.8 14733.9 4356.2 13981.1 4901.9 13880.7 4159.6 14275.7 4745.2 13527.5 3988 13435 4666.9 13584 4167.8 13565.7 4210.4 16170.2 4902.2 16216.3 5273.6 13260.6 3909.4 12970 4095.3 14741.9 4697.6 14079.9 4610.1 15486.5 4308.9 14235 4718.1 13154.5 4420.4 12213.4 4185.5 12621.2 3544.2 12581 4314.7 15031.6 4433 14130.4 4422.6 15452.4 4479.7 14210.8 5059.2 15428 4533.2 14378.5 5043.6 13105.9 4237.5 13142.8 4436.6 14716.8 4207.4 13714.7 4922.6 14180 4394 13621.9 4454.8 16202.2 5148.4 15379.8 5058.7 14392.4 4202.2 13306.3 4768.9 15140.6 4682.5 14391.2 5171.8 15960.1 4884.3 14909.9 4989.3 14351.3 5288.9 14025.4 5202.1 13230.2 4505.2 12951.2 4838.4 15202.1 4611.5 14344.3 4876.5 17157.3 5081.1 16213.3 5845.3 16159.1 4523.1 15544.5 5686.3 13405.7 4412.8 14750.6 4753.8 17224.7 4647.4 17292.7 6620.4 17338.4 4778.6 17568.5 5597.2 17370.6 4495.3 17930.8 5643.5 18817.8 4633.5 18644.7 6357.3 16593.2 4360.5 16694.8 5909.1 17979.5 4517.9 17242.8 6165.8
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Summary of Dendrogram
LabelHeight
1167.267151586915
2178.393553695194
3220.051448529657
4306.318951421553
5313.408599116234
6343.965245337374
7354.479773753031
8371.521345281803
9409.701073955146
10416.102138903418
11424.588318256638
12428.642298426088
13447.916967751837
14463.358079674888
15470.80575612454
16510.876726813818
17528.807469690056
18530.219341405046
19534.104465437239
20541.171488532055
21589.759832474203
22594.96520066303
23603.828170922822
24621.76896834757
25699.618395984554
26717.871304622214
27756.836105111272
28780.258015018108
29860.465600706966
30861.197282856837
31874.915167316237
32891.989047017954
33896.171998000384
34898.325030264659
35915.443875942157
36947.246351272994
37984.846698730316
381005.48866229312
391033.06462527763
401036.04336781816
411185.71768984021
421197.76103626725
431257.07683933799
441334.29445026201
451338.14773100731
461373.81700018598
471436.68816727918
481618.40006178942
491663.58746689196
501761.86257977176
511905.34733316527
522106.01197290044
532146.54180019863
542169.58108859752
552299.98686517989
563789.58326204874
574745.29123869126
584904.02946259502
598947.8030471172
6014441.7250912071
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/11/t1226419919hqz8k5nhr1zkrjx/1faam1226419839.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/11/t1226419919hqz8k5nhr1zkrjx/1faam1226419839.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/11/t1226419919hqz8k5nhr1zkrjx/2hqqy1226419839.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/11/t1226419919hqz8k5nhr1zkrjx/2hqqy1226419839.ps (open in new window)


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