Home » date » 2008 » Nov » 13 »

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: Thu, 13 Nov 2008 10:06:04 -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/t1226596046tl1rxgfmot2juis.htm/, Retrieved Thu, 13 Nov 2008 17:07:29 +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/t1226596046tl1rxgfmot2juis.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 «
97,4 91,2 97,3 119,46 97 99,2 97,4 122,52 105,4 108,2 97,5 124,1 102,7 101,5 95,5 118,39 98,1 106,9 95,3 113,1 104,5 104,4 95,4 113,94 87,4 77,9 95,4 114,58 89,9 60 95,4 118,79 109,8 99,5 95,5 120,44 111,7 95 94,6 118,37 98,6 105,6 95,2 118,44 96,9 102,5 95,2 117,93 95,1 93,3 94,7 117,76 97 97,3 94,7 118,29 112,7 127 94,7 121,11 102,9 111,7 95,3 124,86 97,4 96,4 94,7 131,17 111,4 133 94,8 130,16 87,4 72,2 94,9 131,76 96,8 95,8 95,4 134,7 114,1 124,1 96 135,32 110,3 127,6 95,9 140,23 103,9 110,7 95,8 136,31 101,6 104,6 95,8 131,62 94,6 112,7 95,1 128,9 95,9 115,3 95,2 133,89 104,7 139,4 95,2 138,21 102,8 119 95,3 146,12 98,1 97,4 95,4 144,69 113,9 154 95,3 149,18 80,9 81,5 95,3 156,6 95,7 88,8 95 158,87 113,2 127,7 94,9 164,85 105,9 105,1 95,7 162,89 108,8 114,9 95,7 153,31 102,3 106,4 96,3 150,91 99 104,5 91,7 119,55 100,7 121,6 92,2 119,44 115,5 141,4 92,2 120,25 100,7 99 92,6 124,92 109,9 126,7 93 126,34 114,6 134,1 93 125,88 85,4 81,3 93 127,34 100,5 88,6 93,7 127,48 114,8 132,7 93,1 119,41 116,5 132,9 93,1 114,82 112,9 134,4 93,2 115,28 102 103,7 93,2 116,37 106 119,7 93 111,99 105,3 115 93,7 113,57 118,8 132,9 94 117,69 106,1 108,5 93,1 120,74 109,3 113,9 94,2 122,37 117,2 142 94,2 123,57 92,5 97,7 93,5 124,86 104,2 92,2 95 122,08 112,5 128,8 93,7 123,56 122,4 134,9 93,9 126,92 113,3 128,2 94,6 134,88 100 114,8 93,8 130,64 110,7 117,9 91,2 131,65 112,8 119,1 91,4 130,97 109,8 120,7 91,3 136,77 117,3 129,1 91,5 138,17 109,1 117,6 91,5 146,4 115,9 129,2 91,5 152,07 96 100 91,3 153,05 97,6 87,3 92,8 142,89
 
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 time3 seconds
R Server'George Udny Yule' @ 72.249.76.132


Summary of Dendrogram
LabelHeight
12.52039679415761
23.2066337489648
33.57212821718369
43.69741801802285
53.78640990913557
63.83411006623440
74.27462279037577
84.39886348958455
94.42759528412433
104.59544620390592
114.85457516163876
124.89056233985418
135.05632277450718
145.24905615642281
155.36590160178138
165.38097574794758
175.43897968372745
185.61641894928298
195.74529372617275
205.98555422948228
216.1626852785304
226.43098555484393
237.47519559630302
247.49455802566102
257.57939659851098
267.58287544405156
277.93167736442996
287.9491084099433
298.02949333769852
308.03094639503964
318.16861540106916
328.3894704910672
339.89290654964456
3410.0091921050243
3510.4860097272509
3610.8781090219082
3711.1642344242557
3811.2769092592800
3911.5372030634177
4013.0493855699064
4113.5804418190278
4216.0899172746490
4316.3113580060031
4416.9128392266366
4517.2059930954734
4617.6230170550563
4719.3109932800032
4820.4487383473896
4920.6772116791852
5023.0013131879744
5123.0629010131737
5223.8633704055692
5323.9929537681241
5426.7941190598829
5527.6124004646797
5629.4673176269962
5729.5774546396966
5837.3411187850998
5948.1348308714605
6052.5389318553996
6154.4507801097401
6259.2820113475205
63108.777537755306
64131.835367727673
65156.327921441824
66233.881323970893
67552.805323733346
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/13/t1226596046tl1rxgfmot2juis/1j07m1226595960.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/13/t1226596046tl1rxgfmot2juis/1j07m1226595960.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/13/t1226596046tl1rxgfmot2juis/2nbwa1226595960.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/13/t1226596046tl1rxgfmot2juis/2nbwa1226595960.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