Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_pairs.wasp
Title produced by softwareKendall tau Correlation Matrix
Date of computationThu, 26 Oct 2017 10:01:19 +0200
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2017/Oct/26/t1509004959g129b3ue49wvvif.htm/, Retrieved Sat, 11 May 2024 09:10:49 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=308055, Retrieved Sat, 11 May 2024 09:10:49 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact200
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Kendall tau Correlation Matrix] [] [2017-10-26 08:01:19] [882f73a830550adcc53d3c05ef985140] [Current]
Feedback Forum

Post a new message
Dataseries X:
2570 -5 2.88 5331
2669 -1 2.62 3075
2450 -2 2.39 2002
2842 -5 1.7 2306
3440 -4 1.96 1507
2678 -6 2.2 1992
2981 -2 1.87 2487
2260 -2 1.61 3490
2844 -2 1.63 4647
2546 -2 1.23 5594
2456 2 1.21 5611
2295 1 1.49 5788
2379 -8 1.64 6204
2471 -1 1.67 3013
2057 1 1.77 1931
2280 -1 1.81 2549
2351 2 1.78 1504
2276 2 1.28 2090
2548 1 1.29 2702
2311 -1 1.37 2939
2201 -2 1.12 4500
2725 -2 1.5 6208
2408 -1 2.24 6415
2139 -8 2.95 5657
1898 -4 3.08 5964
2539 -6 3.46 3163
2070 -3 3.65 1997
2063 -3 4.39 2422
2565 -7 4.16 1376
2443 -9 5.21 2202
2196 -11 5.8 2683
2799 -13 5.9 3303
2076 -11 5.39 5202
2628 -9 5.47 5231
2292 -17 4.72 4880
2155 -22 3.14 7998
2476 -25 2.63 4977
2138 -20 2.32 3531
1854 -24 1.93 2025
2081 -24 0.62 2205
1795 -22 0.6 1442
1756 -19 -0.37 2238
2237 -18 -1.1 2179
1960 -17 -1.68 3218
1829 -11 -0.77 5139
2524 -11 -1.2 4990
2077 -12 -0.97 4914
2366 -10 -0.12 6084
2185 -15 0.26 5672
2098 -15 0.62 3548
1836 -15 0.7 1793
1863 -13 1.65 2086
2044 -8 1.79 1262
2136 -13 2.28 1743
2931 -9 2.46 1964
3263 -7 2.57 3258
3328 -4 2.32 4966
3570 -4 2.91 4944
2313 -2 3.01 5907
1623 0 2.87 5561
1316 -2 3.11 5321
1507 -3 3.22 3582
1419 1 3.38 1757
1660 -2 3.52 1894
1790 -1 3.41 1192
1733 1 3.35 1658
2086 -3 3.68 1919
1814 -4 3.75 3354
2241 -9 3.6 4529
1943 -9 3.56 5233
1773 -7 3.57 5910
2143 -14 3.85 5164
2087 -12 3.48 5152
1805 -16 3.65 3057
1913 -20 3.66 1855
2296 -12 3.36 1978
2500 -12 3.19 1255
2210 -10 2.81 1693
2526 -10 2.25 2449
2249 -13 2.32 3178
2024 -16 2.85 4831
2091 -14 2.75 6025
2045 -17 2.78 4492
1882 -24 2.26 5174
1831 -25 2.23 5600
1964 -23 1.46 2752
1763 -17 1.19 1925
1688 -24 1.11 2824
2149 -20 1 1041
1823 -19 1.18 1476
2094 -18 1.59 2239
2145 -16 1.51 2727
1791 -12 1.01 4303
1996 -7 0.9 5160
2097 -6 0.63 4103
1796 -6 0.81 5554
1963 -5 0.97 4906
2042 -4 1.14 2677
1746 -4 0.97 1677
2210 -8 0.89 1991
2968 -9 0.62 993
3126 -6 0.36 1800
3708 -7 0.27 2012
3015 -10 0.34 2880
1569 -11 0.02 4705
1518 -11 -0.12 5107
1393 -12 0.09 4482
1615 -14 -0.11 5966
1777 -12 -0.38 4858
1648 -9 -0.65 3036
1463 -5 -0.4 1844
1779 -6 -0.4 2196




Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R ServerBig Analytics Cloud Computing Center

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input view raw input (R code)  \tabularnewline
Raw Outputview raw output of R engine  \tabularnewline
Computing time1 seconds \tabularnewline
R ServerBig Analytics Cloud Computing Center \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=308055&T=0

[TABLE]
[ROW]
Summary of computational transaction[/C][/ROW] [ROW]Raw Input[/C] view raw input (R code) [/C][/ROW] [ROW]Raw Output[/C]view raw output of R engine [/C][/ROW] [ROW]Computing time[/C]1 seconds[/C][/ROW] [ROW]R Server[/C]Big Analytics Cloud Computing Center[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=308055&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=308055&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R ServerBig Analytics Cloud Computing Center







Correlations for all pairs of data series (method=pearson)
bouwvergunningenConsumentenvertrouwenInflatiehuwelijken
bouwvergunningen10.2250.108-0.067
Consumentenvertrouwen0.22510.118-0.015
Inflatie0.1080.11810.021
huwelijken-0.067-0.0150.0211

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series (method=pearson) \tabularnewline
  & bouwvergunningen & Consumentenvertrouwen & Inflatie & huwelijken \tabularnewline
bouwvergunningen & 1 & 0.225 & 0.108 & -0.067 \tabularnewline
Consumentenvertrouwen & 0.225 & 1 & 0.118 & -0.015 \tabularnewline
Inflatie & 0.108 & 0.118 & 1 & 0.021 \tabularnewline
huwelijken & -0.067 & -0.015 & 0.021 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=308055&T=1

[TABLE]
[ROW][C]Correlations for all pairs of data series (method=pearson)[/C][/ROW]
[ROW][C] [/C][C]bouwvergunningen[/C][C]Consumentenvertrouwen[/C][C]Inflatie[/C][C]huwelijken[/C][/ROW]
[ROW][C]bouwvergunningen[/C][C]1[/C][C]0.225[/C][C]0.108[/C][C]-0.067[/C][/ROW]
[ROW][C]Consumentenvertrouwen[/C][C]0.225[/C][C]1[/C][C]0.118[/C][C]-0.015[/C][/ROW]
[ROW][C]Inflatie[/C][C]0.108[/C][C]0.118[/C][C]1[/C][C]0.021[/C][/ROW]
[ROW][C]huwelijken[/C][C]-0.067[/C][C]-0.015[/C][C]0.021[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=308055&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=308055&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Correlations for all pairs of data series (method=pearson)
bouwvergunningenConsumentenvertrouwenInflatiehuwelijken
bouwvergunningen10.2250.108-0.067
Consumentenvertrouwen0.22510.118-0.015
Inflatie0.1080.11810.021
huwelijken-0.067-0.0150.0211







Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
bouwvergunningen;Consumentenvertrouwen0.22520.22660.1563
p-value(0.017)(0.0163)(0.0164)
bouwvergunningen;Inflatie0.10750.13680.0977
p-value(0.2592)(0.1504)(0.1269)
bouwvergunningen;huwelijken-0.0670.00420.0027
p-value(0.4829)(0.9652)(0.9659)
Consumentenvertrouwen;Inflatie0.11830.1410.0899
p-value(0.214)(0.1381)(0.1676)
Consumentenvertrouwen;huwelijken-0.0148-0.01047e-04
p-value(0.8768)(0.9133)(0.992)
Inflatie;huwelijken0.02140.02210.0129
p-value(0.8225)(0.817)(0.8406)

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series with p-values \tabularnewline
pair & Pearson r & Spearman rho & Kendall tau \tabularnewline
bouwvergunningen;Consumentenvertrouwen & 0.2252 & 0.2266 & 0.1563 \tabularnewline
p-value & (0.017) & (0.0163) & (0.0164) \tabularnewline
bouwvergunningen;Inflatie & 0.1075 & 0.1368 & 0.0977 \tabularnewline
p-value & (0.2592) & (0.1504) & (0.1269) \tabularnewline
bouwvergunningen;huwelijken & -0.067 & 0.0042 & 0.0027 \tabularnewline
p-value & (0.4829) & (0.9652) & (0.9659) \tabularnewline
Consumentenvertrouwen;Inflatie & 0.1183 & 0.141 & 0.0899 \tabularnewline
p-value & (0.214) & (0.1381) & (0.1676) \tabularnewline
Consumentenvertrouwen;huwelijken & -0.0148 & -0.0104 & 7e-04 \tabularnewline
p-value & (0.8768) & (0.9133) & (0.992) \tabularnewline
Inflatie;huwelijken & 0.0214 & 0.0221 & 0.0129 \tabularnewline
p-value & (0.8225) & (0.817) & (0.8406) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=308055&T=2

[TABLE]
[ROW][C]Correlations for all pairs of data series with p-values[/C][/ROW]
[ROW][C]pair[/C][C]Pearson r[/C][C]Spearman rho[/C][C]Kendall tau[/C][/ROW]
[ROW][C]bouwvergunningen;Consumentenvertrouwen[/C][C]0.2252[/C][C]0.2266[/C][C]0.1563[/C][/ROW]
[ROW][C]p-value[/C][C](0.017)[/C][C](0.0163)[/C][C](0.0164)[/C][/ROW]
[ROW][C]bouwvergunningen;Inflatie[/C][C]0.1075[/C][C]0.1368[/C][C]0.0977[/C][/ROW]
[ROW][C]p-value[/C][C](0.2592)[/C][C](0.1504)[/C][C](0.1269)[/C][/ROW]
[ROW][C]bouwvergunningen;huwelijken[/C][C]-0.067[/C][C]0.0042[/C][C]0.0027[/C][/ROW]
[ROW][C]p-value[/C][C](0.4829)[/C][C](0.9652)[/C][C](0.9659)[/C][/ROW]
[ROW][C]Consumentenvertrouwen;Inflatie[/C][C]0.1183[/C][C]0.141[/C][C]0.0899[/C][/ROW]
[ROW][C]p-value[/C][C](0.214)[/C][C](0.1381)[/C][C](0.1676)[/C][/ROW]
[ROW][C]Consumentenvertrouwen;huwelijken[/C][C]-0.0148[/C][C]-0.0104[/C][C]7e-04[/C][/ROW]
[ROW][C]p-value[/C][C](0.8768)[/C][C](0.9133)[/C][C](0.992)[/C][/ROW]
[ROW][C]Inflatie;huwelijken[/C][C]0.0214[/C][C]0.0221[/C][C]0.0129[/C][/ROW]
[ROW][C]p-value[/C][C](0.8225)[/C][C](0.817)[/C][C](0.8406)[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=308055&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=308055&T=2

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
bouwvergunningen;Consumentenvertrouwen0.22520.22660.1563
p-value(0.017)(0.0163)(0.0164)
bouwvergunningen;Inflatie0.10750.13680.0977
p-value(0.2592)(0.1504)(0.1269)
bouwvergunningen;huwelijken-0.0670.00420.0027
p-value(0.4829)(0.9652)(0.9659)
Consumentenvertrouwen;Inflatie0.11830.1410.0899
p-value(0.214)(0.1381)(0.1676)
Consumentenvertrouwen;huwelijken-0.0148-0.01047e-04
p-value(0.8768)(0.9133)(0.992)
Inflatie;huwelijken0.02140.02210.0129
p-value(0.8225)(0.817)(0.8406)







Meta Analysis of Correlation Tests
Number of significant by total number of Correlations
Type I errorPearson rSpearman rhoKendall tau
0.01000
0.020.170.170.17
0.030.170.170.17
0.040.170.170.17
0.050.170.170.17
0.060.170.170.17
0.070.170.170.17
0.080.170.170.17
0.090.170.170.17
0.10.170.170.17

\begin{tabular}{lllllllll}
\hline
Meta Analysis of Correlation Tests \tabularnewline
Number of significant by total number of Correlations \tabularnewline
Type I error & Pearson r & Spearman rho & Kendall tau \tabularnewline
0.01 & 0 & 0 & 0 \tabularnewline
0.02 & 0.17 & 0.17 & 0.17 \tabularnewline
0.03 & 0.17 & 0.17 & 0.17 \tabularnewline
0.04 & 0.17 & 0.17 & 0.17 \tabularnewline
0.05 & 0.17 & 0.17 & 0.17 \tabularnewline
0.06 & 0.17 & 0.17 & 0.17 \tabularnewline
0.07 & 0.17 & 0.17 & 0.17 \tabularnewline
0.08 & 0.17 & 0.17 & 0.17 \tabularnewline
0.09 & 0.17 & 0.17 & 0.17 \tabularnewline
0.1 & 0.17 & 0.17 & 0.17 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=308055&T=3

[TABLE]
[ROW][C]Meta Analysis of Correlation Tests[/C][/ROW]
[ROW][C]Number of significant by total number of Correlations[/C][/ROW]
[ROW][C]Type I error[/C][C]Pearson r[/C][C]Spearman rho[/C][C]Kendall tau[/C][/ROW]
[ROW][C]0.01[/C][C]0[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]0.02[/C][C]0.17[/C][C]0.17[/C][C]0.17[/C][/ROW]
[ROW][C]0.03[/C][C]0.17[/C][C]0.17[/C][C]0.17[/C][/ROW]
[ROW][C]0.04[/C][C]0.17[/C][C]0.17[/C][C]0.17[/C][/ROW]
[ROW][C]0.05[/C][C]0.17[/C][C]0.17[/C][C]0.17[/C][/ROW]
[ROW][C]0.06[/C][C]0.17[/C][C]0.17[/C][C]0.17[/C][/ROW]
[ROW][C]0.07[/C][C]0.17[/C][C]0.17[/C][C]0.17[/C][/ROW]
[ROW][C]0.08[/C][C]0.17[/C][C]0.17[/C][C]0.17[/C][/ROW]
[ROW][C]0.09[/C][C]0.17[/C][C]0.17[/C][C]0.17[/C][/ROW]
[ROW][C]0.1[/C][C]0.17[/C][C]0.17[/C][C]0.17[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=308055&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=308055&T=3

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Meta Analysis of Correlation Tests
Number of significant by total number of Correlations
Type I errorPearson rSpearman rhoKendall tau
0.01000
0.020.170.170.17
0.030.170.170.17
0.040.170.170.17
0.050.170.170.17
0.060.170.170.17
0.070.170.170.17
0.080.170.170.17
0.090.170.170.17
0.10.170.170.17



Parameters (Session):
par1 = 0 ; par2 = no ; par3 = 512 ;
Parameters (R input):
par1 = pearson ;
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', ...)
}
x <- na.omit(x)
y <- t(na.omit(t(y)))
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])
print(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')
ncorrs <- (n*n -n)/2
mycorrs <- array(0, dim=c(10,3))
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)
for (iii in 1:10) {
iiid100 <- iii / 100
if (rp$p.value < iiid100) mycorrs[iii, 1] = mycorrs[iii, 1] + 1
if (rs$p.value < iiid100) mycorrs[iii, 2] = mycorrs[iii, 2] + 1
if (rk$p.value < iiid100) mycorrs[iii, 3] = mycorrs[iii, 3] + 1
}
}
}
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Meta Analysis of Correlation Tests',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Number of significant by total number of Correlations',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Type I error',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)
for (iii in 1:10) {
iiid100 <- iii / 100
a<-table.row.start(a)
a<-table.element(a,round(iiid100,2),header=T)
a<-table.element(a,round(mycorrs[iii,1]/ncorrs,2))
a<-table.element(a,round(mycorrs[iii,2]/ncorrs,2))
a<-table.element(a,round(mycorrs[iii,3]/ncorrs,2))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')