Home » date » 2010 » Dec » 10 »

Schiphol: Pearson correlatie

*The author of this computation has been verified*
R Software Module: Patrick.Wessa/rwasp_pairs.wasp (opens new window with default values)
Title produced by software: Kendall tau Correlation Matrix
Date of computation: Fri, 10 Dec 2010 22:30:24 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/10/t1292020120bo4qqrbxdxrh6t3.htm/, Retrieved Fri, 10 Dec 2010 23:28:42 +0100
 
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/2010/Dec/10/t1292020120bo4qqrbxdxrh6t3.htm/},
    year = {2010},
}
@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 = {2010},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
0 1979900 7 0 1737275 1742117 1522522 1276674 1086979 1149822 0 2061036 8 0 1979900 1737275 1742117 1522522 1276674 1086979 0 1867943 9 0 2061036 1979900 1737275 1742117 1522522 1276674 0 1707752 10 0 1867943 2061036 1979900 1737275 1742117 1522522 0 1298756 11 0 1707752 1867943 2061036 1979900 1737275 1742117 0 1281814 12 0 1298756 1707752 1867943 2061036 1979900 1737275 0 1281151 13 0 1281814 1298756 1707752 1867943 2061036 1979900 0 1164976 14 0 1281151 1281814 1298756 1707752 1867943 2061036 0 1454329 15 0 1164976 1281151 1281814 1298756 1707752 1867943 0 1645288 16 0 1454329 1164976 1281151 1281814 1298756 1707752 0 1817743 17 0 1645288 1454329 1164976 1281151 1281814 1298756 0 1895785 18 0 1817743 1645288 1454329 1164976 1281151 1281814 0 2236311 19 0 1895785 1817743 1645288 1454329 1164976 1281151 0 2295951 20 0 2236311 1895785 1817743 1645288 1454329 1164976 0 2087315 21 0 2295951 2236311 1895785 1817743 1645288 1454329 0 1980891 22 0 2087315 2295951 2236311 1895785 1817743 1645288 0 1 etc...
 
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 time8 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Correlations for all pairs of data series (method=pearson)
9/11YttT_9/11Yt-1Yt-2Yt-3Yt-4Yt-5Yt-6
9/1110.6570.8660.9670.6670.6780.6840.690.6930.694
Yt0.65710.7950.6790.9290.8370.6980.5550.4750.428
t0.8660.79510.9270.7960.7960.7960.7960.7980.799
T_9/110.9670.6790.92710.6860.6930.6960.6980.70.701
Yt-10.6670.9290.7960.68610.9290.8370.6980.5580.478
Yt-20.6780.8370.7960.6930.92910.9290.8370.70.56
Yt-30.6840.6980.7960.6960.8370.92910.9290.8390.702
Yt-40.690.5550.7960.6980.6980.8370.92910.9310.841
Yt-50.6930.4750.7980.70.5580.70.8390.93110.931
Yt-60.6940.4280.7990.7010.4780.560.7020.8410.9311


Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
9/11;Yt0.65670.66420.5435
p-value(0)(0)(0)
9/11;t0.8660.8660.7087
p-value(0)(0)(0)
9/11;T_9/110.96740.92580.8177
p-value(0)(0)(0)
9/11;Yt-10.66690.67480.5522
p-value(0)(0)(0)
9/11;Yt-20.67770.68610.5615
p-value(0)(0)(0)
9/11;Yt-30.68430.69330.5673
p-value(0)(0)(0)
9/11;Yt-40.69030.70.5728
p-value(0)(0)(0)
9/11;Yt-50.6930.70440.5765
p-value(0)(0)(0)
9/11;Yt-60.69410.70630.578
p-value(0)(0)(0)
Yt;t0.79540.7950.605
p-value(0)(0)(0)
Yt;T_9/110.67910.67860.5149
p-value(0)(0)(0)
Yt;Yt-10.92870.92840.7788
p-value(0)(0)(0)
Yt;Yt-20.83650.83410.6479
p-value(0)(0)(0)
Yt;Yt-30.69790.6940.5076
p-value(0)(0)(0)
Yt;Yt-40.5550.55330.3926
p-value(0)(0)(0)
Yt;Yt-50.47470.47610.3117
p-value(0)(0)(0)
Yt;Yt-60.42760.42960.2672
p-value(0)(0)(0)
t;T_9/110.92730.93540.8667
p-value(0)(0)(0)
t;Yt-10.79570.79530.605
p-value(0)(0)(0)
t;Yt-20.79610.79570.6052
p-value(0)(0)(0)
t;Yt-30.79590.79570.6049
p-value(0)(0)(0)
t;Yt-40.7960.79590.6051
p-value(0)(0)(0)
t;Yt-50.79760.79720.6074
p-value(0)(0)(0)
t;Yt-60.79920.79850.6096
p-value(0)(0)(0)
T_9/11;Yt-10.68560.68260.5165
p-value(0)(0)(0)
T_9/11;Yt-20.69260.68710.5185
p-value(0)(0)(0)
T_9/11;Yt-30.69580.68910.5187
p-value(0)(0)(0)
T_9/11;Yt-40.69810.6910.5186
p-value(0)(0)(0)
T_9/11;Yt-50.69990.6930.52
p-value(0)(0)(0)
T_9/11;Yt-60.70080.6940.5211
p-value(0)(0)(0)
Yt-1;Yt-20.92880.92880.7796
p-value(0)(0)(0)
Yt-1;Yt-30.83680.83440.6484
p-value(0)(0)(0)
Yt-1;Yt-40.69830.69440.5077
p-value(0)(0)(0)
Yt-1;Yt-50.55760.5560.3945
p-value(0)(0)(0)
Yt-1;Yt-60.47770.47950.3137
p-value(0)(0)(0)
Yt-2;Yt-30.92910.9290.78
p-value(0)(0)(0)
Yt-2;Yt-40.83720.83460.6484
p-value(0)(0)(0)
Yt-2;Yt-50.69980.69620.5088
p-value(0)(0)(0)
Yt-2;Yt-60.560.55880.3963
p-value(0)(0)(0)
Yt-3;Yt-40.9290.9290.7797
p-value(0)(0)(0)
Yt-3;Yt-50.83860.83560.6495
p-value(0)(0)(0)
Yt-3;Yt-60.70190.69790.5104
p-value(0)(0)(0)
Yt-4;Yt-50.93060.92970.7816
p-value(0)(0)(0)
Yt-4;Yt-60.84070.83670.6513
p-value(0)(0)(0)
Yt-5;Yt-60.93150.93020.7827
p-value(0)(0)(0)
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/10/t1292020120bo4qqrbxdxrh6t3/1y2uq1292020215.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/10/t1292020120bo4qqrbxdxrh6t3/1y2uq1292020215.ps (open in new window)


 
Parameters (Session):
par1 = FALSE ; par2 = 0.3 ; par3 = 1 ; par4 = 1 ; par5 = 12 ; par6 = 0 ; par7 = 1 ; par8 = 2 ; par9 = 1 ;
 
Parameters (R input):
par1 = pearson ; par2 = 0.3 ; par3 = 1 ; par4 = 1 ; par5 = 12 ; par6 = 0 ; par7 = 1 ; par8 = 2 ; par9 = 1 ;
 
R code (references can be found in the software module):
panel.tau <- function(x, y, digits=2, prefix='', cex.cor)
{
usr <- par('usr'); on.exit(par(usr))
par(usr = c(0, 1, 0, 1))
rr <- cor.test(x, y, method=par1)
r <- round(rr$p.value,2)
txt <- format(c(r, 0.123456789), digits=digits)[1]
txt <- paste(prefix, txt, sep='')
if(missing(cex.cor)) cex <- 0.5/strwidth(txt)
text(0.5, 0.5, txt, cex = cex)
}
panel.hist <- function(x, ...)
{
usr <- par('usr'); on.exit(par(usr))
par(usr = c(usr[1:2], 0, 1.5) )
h <- hist(x, plot = FALSE)
breaks <- h$breaks; nB <- length(breaks)
y <- h$counts; y <- y/max(y)
rect(breaks[-nB], 0, breaks[-1], y, col='grey', ...)
}
bitmap(file='test1.png')
pairs(t(y),diag.panel=panel.hist, upper.panel=panel.smooth, lower.panel=panel.tau, main=main)
dev.off()
load(file='createtable')
n <- length(y[,1])
n
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,paste('Correlations for all pairs of data series (method=',par1,')',sep=''),n+1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,' ',header=TRUE)
for (i in 1:n) {
a<-table.element(a,dimnames(t(x))[[2]][i],header=TRUE)
}
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,dimnames(t(x))[[2]][i],header=TRUE)
for (j in 1:n) {
r <- cor.test(y[i,],y[j,],method=par1)
a<-table.element(a,round(r$estimate,3))
}
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Correlations for all pairs of data series with p-values',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'pair',1,TRUE)
a<-table.element(a,'Pearson r',1,TRUE)
a<-table.element(a,'Spearman rho',1,TRUE)
a<-table.element(a,'Kendall tau',1,TRUE)
a<-table.row.end(a)
cor.test(y[1,],y[2,],method=par1)
for (i in 1:(n-1))
{
for (j in (i+1):n)
{
a<-table.row.start(a)
dum <- paste(dimnames(t(x))[[2]][i],';',dimnames(t(x))[[2]][j],sep='')
a<-table.element(a,dum,header=TRUE)
rp <- cor.test(y[i,],y[j,],method='pearson')
a<-table.element(a,round(rp$estimate,4))
rs <- cor.test(y[i,],y[j,],method='spearman')
a<-table.element(a,round(rs$estimate,4))
rk <- cor.test(y[i,],y[j,],method='kendall')
a<-table.element(a,round(rk$estimate,4))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-value',header=T)
a<-table.element(a,paste('(',round(rp$p.value,4),')',sep=''))
a<-table.element(a,paste('(',round(rs$p.value,4),')',sep=''))
a<-table.element(a,paste('(',round(rk$p.value,4),')',sep=''))
a<-table.row.end(a)
}
}
a<-table.end(a)
table.save(a,file='mytable1.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