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, 03 Dec 2015 15:49:14 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2015/Dec/03/t1449157836g9z75846wf1c5nt.htm/, Retrieved Thu, 16 May 2024 15:24:34 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=284992, Retrieved Thu, 16 May 2024 15:24:34 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact73
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Kendall tau Correlation Matrix] [Pearson correlati...] [2015-12-03 15:49:14] [a4bdc537ec4a904195444f775f268376] [Current]
Feedback Forum

Post a new message
Dataseries X:
1244 266 220 894 251 60
1160 270 229 894 235 72
1191 246 236 1057 249 104
1189 266 244 1111 236 81
1148 237 199 1035 236 71
1133 230 234 999 253 57
1062 213 198 1102 235 92
1108 263 230 1033 232 68
1086 228 185 1017 240 55
988 185 212 940 208 84
1046 210 183 1094 188 91




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Sir Maurice George Kendall' @ kendall.wessa.net

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 1 seconds \tabularnewline
R Server & 'Sir Maurice George Kendall' @ kendall.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=284992&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]1 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Sir Maurice George Kendall' @ kendall.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=284992&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=284992&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 Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Sir Maurice George Kendall' @ kendall.wessa.net







Correlations for all pairs of data series (method=pearson)
Belgi?_MAntw._MBrussel_MBelgi?_VAntw._VBrussel_V
Belgi?_M10.860.57-0.1940.719-0.21
Antw._M0.8610.607-0.190.574-0.294
Brussel_M0.570.6071-0.170.5180.015
Belgi?_V-0.194-0.19-0.171-0.2150.491
Antw._V0.7190.5740.518-0.2151-0.396
Brussel_V-0.21-0.2940.0150.491-0.3961

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series (method=pearson) \tabularnewline
  & Belgi?_M & Antw._M & Brussel_M & Belgi?_V & Antw._V & Brussel_V \tabularnewline
Belgi?_M & 1 & 0.86 & 0.57 & -0.194 & 0.719 & -0.21 \tabularnewline
Antw._M & 0.86 & 1 & 0.607 & -0.19 & 0.574 & -0.294 \tabularnewline
Brussel_M & 0.57 & 0.607 & 1 & -0.17 & 0.518 & 0.015 \tabularnewline
Belgi?_V & -0.194 & -0.19 & -0.17 & 1 & -0.215 & 0.491 \tabularnewline
Antw._V & 0.719 & 0.574 & 0.518 & -0.215 & 1 & -0.396 \tabularnewline
Brussel_V & -0.21 & -0.294 & 0.015 & 0.491 & -0.396 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=284992&T=1

[TABLE]
[ROW][C]Correlations for all pairs of data series (method=pearson)[/C][/ROW]
[ROW][C] [/C][C]Belgi?_M[/C][C]Antw._M[/C][C]Brussel_M[/C][C]Belgi?_V[/C][C]Antw._V[/C][C]Brussel_V[/C][/ROW]
[ROW][C]Belgi?_M[/C][C]1[/C][C]0.86[/C][C]0.57[/C][C]-0.194[/C][C]0.719[/C][C]-0.21[/C][/ROW]
[ROW][C]Antw._M[/C][C]0.86[/C][C]1[/C][C]0.607[/C][C]-0.19[/C][C]0.574[/C][C]-0.294[/C][/ROW]
[ROW][C]Brussel_M[/C][C]0.57[/C][C]0.607[/C][C]1[/C][C]-0.17[/C][C]0.518[/C][C]0.015[/C][/ROW]
[ROW][C]Belgi?_V[/C][C]-0.194[/C][C]-0.19[/C][C]-0.17[/C][C]1[/C][C]-0.215[/C][C]0.491[/C][/ROW]
[ROW][C]Antw._V[/C][C]0.719[/C][C]0.574[/C][C]0.518[/C][C]-0.215[/C][C]1[/C][C]-0.396[/C][/ROW]
[ROW][C]Brussel_V[/C][C]-0.21[/C][C]-0.294[/C][C]0.015[/C][C]0.491[/C][C]-0.396[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=284992&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=284992&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)
Belgi?_MAntw._MBrussel_MBelgi?_VAntw._VBrussel_V
Belgi?_M10.860.57-0.1940.719-0.21
Antw._M0.8610.607-0.190.574-0.294
Brussel_M0.570.6071-0.170.5180.015
Belgi?_V-0.194-0.19-0.171-0.2150.491
Antw._V0.7190.5740.518-0.2151-0.396
Brussel_V-0.21-0.2940.0150.491-0.3961







Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
Belgi?_M;Antw._M0.86030.85650.734
p-value(7e-04)(8e-04)(0.0018)
Belgi?_M;Brussel_M0.56990.64550.4545
p-value(0.0672)(0.037)(0.0602)
Belgi?_M;Belgi?_V-0.1935-0.1321-0.0734
p-value(0.5686)(0.6986)(0.7548)
Belgi?_M;Antw._V0.71930.68040.5371
p-value(0.0126)(0.0212)(0.0231)
Belgi?_M;Brussel_V-0.2103-0.13640.0182
p-value(0.5348)(0.6935)(1)
Antw._M;Brussel_M0.60680.63330.4404
p-value(0.0477)(0.0365)(0.0609)
Antw._M;Belgi?_V-0.1904-0.2169-0.1296
p-value(0.5749)(0.5218)(0.5835)
Antw._M;Antw._V0.57370.3730.2617
p-value(0.065)(0.2586)(0.2714)
Antw._M;Brussel_V-0.2936-0.2369-0.0734
p-value(0.3809)(0.4831)(0.7548)
Brussel_M;Belgi?_V-0.17030.00460
p-value(0.6166)(0.9894)(1)
Brussel_M;Antw._V0.51760.42470.2778
p-value(0.1029)(0.193)(0.24)
Brussel_M;Brussel_V0.01490.0182-0.0182
p-value(0.9654)(0.9676)(1)
Belgi?_V;Antw._V-0.2154-0.2128-0.1495
p-value(0.5247)(0.5298)(0.5297)
Belgi?_V;Brussel_V0.49140.54210.367
p-value(0.1248)(0.0849)(0.1183)
Antw._V;Brussel_V-0.3962-0.4566-0.3519
p-value(0.2277)(0.158)(0.1367)

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series with p-values \tabularnewline
pair & Pearson r & Spearman rho & Kendall tau \tabularnewline
Belgi?_M;Antw._M & 0.8603 & 0.8565 & 0.734 \tabularnewline
p-value & (7e-04) & (8e-04) & (0.0018) \tabularnewline
Belgi?_M;Brussel_M & 0.5699 & 0.6455 & 0.4545 \tabularnewline
p-value & (0.0672) & (0.037) & (0.0602) \tabularnewline
Belgi?_M;Belgi?_V & -0.1935 & -0.1321 & -0.0734 \tabularnewline
p-value & (0.5686) & (0.6986) & (0.7548) \tabularnewline
Belgi?_M;Antw._V & 0.7193 & 0.6804 & 0.5371 \tabularnewline
p-value & (0.0126) & (0.0212) & (0.0231) \tabularnewline
Belgi?_M;Brussel_V & -0.2103 & -0.1364 & 0.0182 \tabularnewline
p-value & (0.5348) & (0.6935) & (1) \tabularnewline
Antw._M;Brussel_M & 0.6068 & 0.6333 & 0.4404 \tabularnewline
p-value & (0.0477) & (0.0365) & (0.0609) \tabularnewline
Antw._M;Belgi?_V & -0.1904 & -0.2169 & -0.1296 \tabularnewline
p-value & (0.5749) & (0.5218) & (0.5835) \tabularnewline
Antw._M;Antw._V & 0.5737 & 0.373 & 0.2617 \tabularnewline
p-value & (0.065) & (0.2586) & (0.2714) \tabularnewline
Antw._M;Brussel_V & -0.2936 & -0.2369 & -0.0734 \tabularnewline
p-value & (0.3809) & (0.4831) & (0.7548) \tabularnewline
Brussel_M;Belgi?_V & -0.1703 & 0.0046 & 0 \tabularnewline
p-value & (0.6166) & (0.9894) & (1) \tabularnewline
Brussel_M;Antw._V & 0.5176 & 0.4247 & 0.2778 \tabularnewline
p-value & (0.1029) & (0.193) & (0.24) \tabularnewline
Brussel_M;Brussel_V & 0.0149 & 0.0182 & -0.0182 \tabularnewline
p-value & (0.9654) & (0.9676) & (1) \tabularnewline
Belgi?_V;Antw._V & -0.2154 & -0.2128 & -0.1495 \tabularnewline
p-value & (0.5247) & (0.5298) & (0.5297) \tabularnewline
Belgi?_V;Brussel_V & 0.4914 & 0.5421 & 0.367 \tabularnewline
p-value & (0.1248) & (0.0849) & (0.1183) \tabularnewline
Antw._V;Brussel_V & -0.3962 & -0.4566 & -0.3519 \tabularnewline
p-value & (0.2277) & (0.158) & (0.1367) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=284992&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]Belgi?_M;Antw._M[/C][C]0.8603[/C][C]0.8565[/C][C]0.734[/C][/ROW]
[ROW][C]p-value[/C][C](7e-04)[/C][C](8e-04)[/C][C](0.0018)[/C][/ROW]
[ROW][C]Belgi?_M;Brussel_M[/C][C]0.5699[/C][C]0.6455[/C][C]0.4545[/C][/ROW]
[ROW][C]p-value[/C][C](0.0672)[/C][C](0.037)[/C][C](0.0602)[/C][/ROW]
[ROW][C]Belgi?_M;Belgi?_V[/C][C]-0.1935[/C][C]-0.1321[/C][C]-0.0734[/C][/ROW]
[ROW][C]p-value[/C][C](0.5686)[/C][C](0.6986)[/C][C](0.7548)[/C][/ROW]
[ROW][C]Belgi?_M;Antw._V[/C][C]0.7193[/C][C]0.6804[/C][C]0.5371[/C][/ROW]
[ROW][C]p-value[/C][C](0.0126)[/C][C](0.0212)[/C][C](0.0231)[/C][/ROW]
[ROW][C]Belgi?_M;Brussel_V[/C][C]-0.2103[/C][C]-0.1364[/C][C]0.0182[/C][/ROW]
[ROW][C]p-value[/C][C](0.5348)[/C][C](0.6935)[/C][C](1)[/C][/ROW]
[ROW][C]Antw._M;Brussel_M[/C][C]0.6068[/C][C]0.6333[/C][C]0.4404[/C][/ROW]
[ROW][C]p-value[/C][C](0.0477)[/C][C](0.0365)[/C][C](0.0609)[/C][/ROW]
[ROW][C]Antw._M;Belgi?_V[/C][C]-0.1904[/C][C]-0.2169[/C][C]-0.1296[/C][/ROW]
[ROW][C]p-value[/C][C](0.5749)[/C][C](0.5218)[/C][C](0.5835)[/C][/ROW]
[ROW][C]Antw._M;Antw._V[/C][C]0.5737[/C][C]0.373[/C][C]0.2617[/C][/ROW]
[ROW][C]p-value[/C][C](0.065)[/C][C](0.2586)[/C][C](0.2714)[/C][/ROW]
[ROW][C]Antw._M;Brussel_V[/C][C]-0.2936[/C][C]-0.2369[/C][C]-0.0734[/C][/ROW]
[ROW][C]p-value[/C][C](0.3809)[/C][C](0.4831)[/C][C](0.7548)[/C][/ROW]
[ROW][C]Brussel_M;Belgi?_V[/C][C]-0.1703[/C][C]0.0046[/C][C]0[/C][/ROW]
[ROW][C]p-value[/C][C](0.6166)[/C][C](0.9894)[/C][C](1)[/C][/ROW]
[ROW][C]Brussel_M;Antw._V[/C][C]0.5176[/C][C]0.4247[/C][C]0.2778[/C][/ROW]
[ROW][C]p-value[/C][C](0.1029)[/C][C](0.193)[/C][C](0.24)[/C][/ROW]
[ROW][C]Brussel_M;Brussel_V[/C][C]0.0149[/C][C]0.0182[/C][C]-0.0182[/C][/ROW]
[ROW][C]p-value[/C][C](0.9654)[/C][C](0.9676)[/C][C](1)[/C][/ROW]
[ROW][C]Belgi?_V;Antw._V[/C][C]-0.2154[/C][C]-0.2128[/C][C]-0.1495[/C][/ROW]
[ROW][C]p-value[/C][C](0.5247)[/C][C](0.5298)[/C][C](0.5297)[/C][/ROW]
[ROW][C]Belgi?_V;Brussel_V[/C][C]0.4914[/C][C]0.5421[/C][C]0.367[/C][/ROW]
[ROW][C]p-value[/C][C](0.1248)[/C][C](0.0849)[/C][C](0.1183)[/C][/ROW]
[ROW][C]Antw._V;Brussel_V[/C][C]-0.3962[/C][C]-0.4566[/C][C]-0.3519[/C][/ROW]
[ROW][C]p-value[/C][C](0.2277)[/C][C](0.158)[/C][C](0.1367)[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=284992&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=284992&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
Belgi?_M;Antw._M0.86030.85650.734
p-value(7e-04)(8e-04)(0.0018)
Belgi?_M;Brussel_M0.56990.64550.4545
p-value(0.0672)(0.037)(0.0602)
Belgi?_M;Belgi?_V-0.1935-0.1321-0.0734
p-value(0.5686)(0.6986)(0.7548)
Belgi?_M;Antw._V0.71930.68040.5371
p-value(0.0126)(0.0212)(0.0231)
Belgi?_M;Brussel_V-0.2103-0.13640.0182
p-value(0.5348)(0.6935)(1)
Antw._M;Brussel_M0.60680.63330.4404
p-value(0.0477)(0.0365)(0.0609)
Antw._M;Belgi?_V-0.1904-0.2169-0.1296
p-value(0.5749)(0.5218)(0.5835)
Antw._M;Antw._V0.57370.3730.2617
p-value(0.065)(0.2586)(0.2714)
Antw._M;Brussel_V-0.2936-0.2369-0.0734
p-value(0.3809)(0.4831)(0.7548)
Brussel_M;Belgi?_V-0.17030.00460
p-value(0.6166)(0.9894)(1)
Brussel_M;Antw._V0.51760.42470.2778
p-value(0.1029)(0.193)(0.24)
Brussel_M;Brussel_V0.01490.0182-0.0182
p-value(0.9654)(0.9676)(1)
Belgi?_V;Antw._V-0.2154-0.2128-0.1495
p-value(0.5247)(0.5298)(0.5297)
Belgi?_V;Brussel_V0.49140.54210.367
p-value(0.1248)(0.0849)(0.1183)
Antw._V;Brussel_V-0.3962-0.4566-0.3519
p-value(0.2277)(0.158)(0.1367)







Meta Analysis of Correlation Tests
Number of significant by total number of Correlations
Type I errorPearson rSpearman rhoKendall tau
0.010.070.070.07
0.020.130.070.07
0.030.130.130.13
0.040.130.270.13
0.050.20.270.13
0.060.20.270.13
0.070.330.270.27
0.080.330.270.27
0.090.330.330.27
0.10.330.330.27

\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.07 & 0.07 & 0.07 \tabularnewline
0.02 & 0.13 & 0.07 & 0.07 \tabularnewline
0.03 & 0.13 & 0.13 & 0.13 \tabularnewline
0.04 & 0.13 & 0.27 & 0.13 \tabularnewline
0.05 & 0.2 & 0.27 & 0.13 \tabularnewline
0.06 & 0.2 & 0.27 & 0.13 \tabularnewline
0.07 & 0.33 & 0.27 & 0.27 \tabularnewline
0.08 & 0.33 & 0.27 & 0.27 \tabularnewline
0.09 & 0.33 & 0.33 & 0.27 \tabularnewline
0.1 & 0.33 & 0.33 & 0.27 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=284992&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.07[/C][C]0.07[/C][C]0.07[/C][/ROW]
[ROW][C]0.02[/C][C]0.13[/C][C]0.07[/C][C]0.07[/C][/ROW]
[ROW][C]0.03[/C][C]0.13[/C][C]0.13[/C][C]0.13[/C][/ROW]
[ROW][C]0.04[/C][C]0.13[/C][C]0.27[/C][C]0.13[/C][/ROW]
[ROW][C]0.05[/C][C]0.2[/C][C]0.27[/C][C]0.13[/C][/ROW]
[ROW][C]0.06[/C][C]0.2[/C][C]0.27[/C][C]0.13[/C][/ROW]
[ROW][C]0.07[/C][C]0.33[/C][C]0.27[/C][C]0.27[/C][/ROW]
[ROW][C]0.08[/C][C]0.33[/C][C]0.27[/C][C]0.27[/C][/ROW]
[ROW][C]0.09[/C][C]0.33[/C][C]0.33[/C][C]0.27[/C][/ROW]
[ROW][C]0.1[/C][C]0.33[/C][C]0.33[/C][C]0.27[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=284992&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=284992&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.010.070.070.07
0.020.130.070.07
0.030.130.130.13
0.040.130.270.13
0.050.20.270.13
0.060.20.270.13
0.070.330.270.27
0.080.330.270.27
0.090.330.330.27
0.10.330.330.27



Parameters (Session):
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])
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')