Home » date » 2008 » Nov » 09 »

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: Sun, 09 Nov 2008 15:15:21 -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/09/t12262690124axmamvxofj3n9h.htm/, Retrieved Sun, 09 Nov 2008 22:16:52 +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/09/t12262690124axmamvxofj3n9h.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 «
1332.7 744.8 64.5 53.3 1343.8 672.1 57.9 66.9 1421.6 666.6 72.5 73.7 1329.8 760.8 82.9 71.9 1306.8 756 62.7 67.9 1412.8 604.4 66.6 77.5 1358.1 883.9 70.9 82 1163.9 527.9 56.3 40.5 1467.9 756.2 81.2 76.2 1433.7 812.9 67.8 75 1362.2 655.6 57.2 64 1299 707.6 62.8 77.2 1291.5 612.6 51.2 63.9 1452.7 659.2 66.5 71.4 1555.4 833.4 71.5 71.3 1402.5 727.8 67.8 50 1242.9 797.2 56.9 47.9 1514.6 753 90.6 55.2 1308.6 762 64.1 61.8 1239.3 613.7 65.7 53.6 1519.9 759.2 77.9 60 1659.4 816.4 84.2 72.7 1597.6 736.8 81.7 63.6 1340.6 680.1 65.9 62.1 1427.2 736.5 76.1 58.1 1438.1 637.2 80.1 68.1 1616.2 801.9 74.3 65.5 1392.8 772.3 86.5 59.3 1318.7 897.3 70.9 65.7 1420.9 792.1 91.5 68.3 1221 826.8 93.7 77.8 1310 666.8 77.5 49.1 1466.7 906.6 100.3 96.9 1299.3 871.4 85.7 64.6 1640 891 95 67 1506.3 739.2 73.7 64.6 1530.2 833.6 87.6 84.3 1661.9 715.6 87.6 72.6 1880.3 871.6 92.9 71.3 1230.8 751.6 80.7 52.8 1406.5 1005.5 74 63.9 1523.5 681.2 87.7 67.9 1323.2 837.3 68.2 74.1 1319.2 674.7 117.4 61.7 1500.7 806.3 100.1 74.1 1483 860.2 97.7 83.5 1497 689.8 101.1 75.6 1219.8 691.6 87.6 77.9 1472.9 682.6 83.2 69.2 1423.9 800.1 85.9 67.8 1629.6 1023.7 118 74.8 1353.4 733.5 87.3 69.7 1366.8 875.3 79.5 69.9 1527.1 770.2 93.2 84.3 1487.6 1005.7 99.2 81.7 1478.6 982.3 66.6 69.3 1536.7 742.9 83.9 83.8 1682.1 974.2 100.4 96 1576.5 822.3 73.5 74.2 1280.5 773.2 60.8 70.4
 
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
18.85494212290515
210.2279030108816
312.6996062931101
415.8385605406553
519.2359039298911
624.1004149341873
728.1475732839986
828.6405307213397
929.8832729131199
1030.4004934170485
1130.8047074324688
1231.5280827200132
1334.9322789588908
1435.1176389143834
1535.6008426866556
1636.5707863979078
1738.4613843571213
1839.1834708518015
1942.9543944201289
2043.3108531432943
2143.5639759434329
2244.6210549016530
2347.1841074939434
2451.038906728103
2553.0680694956959
2653.6888015539384
2755.1578643531456
2857.6835603709639
2959.4460935409873
3066.4627566779564
3168.5546497328957
3271.6705743709065
3373.3481828871525
3476.2674164099332
3577.2379440430673
3682.6471113345416
3789.454724127598
3889.9400046249197
3994.3906816738263
4098.0445799036604
4199.320618871841
42115.148376076700
43130.421807563817
44172.65571564099
45182.470380793106
46182.891267727916
47188.558462082211
48254.72856076033
49320.25023469103
50333.574297031748
51334.891331545112
52467.451853099401
53486.638134936534
54525.662150516458
55582.389426488984
56944.599626611977
57966.756896711748
581202.39501240223
593381.28192838584
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/09/t12262690124axmamvxofj3n9h/1uljj1226268916.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/09/t12262690124axmamvxofj3n9h/1uljj1226268916.ps (open in new window)


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