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 computationTue, 16 Dec 2014 14:53:30 +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/2014/Dec/16/t1418741712rwps2y1yzc9yg08.htm/, Retrieved Thu, 16 May 2024 20:53:49 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=269670, Retrieved Thu, 16 May 2024 20:53:49 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact64
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Kendall tau Correlation Matrix] [] [2014-12-16 14:53:30] [37e054ac358b2aa7c2a1d0b751dfa890] [Current]
Feedback Forum

Post a new message
Dataseries X:
23 26 17 27 21 2
22 20 31 30 26 NA
26 19 33 24 22 NA
41 25 33 16 22 0
23 19 28 27 18 0
33 22 26 18 23 4
31 21 28 24 12 0
35 28 37 24 20 -1
28 20 22 18 22 0
31 24 27 22 21 1
23 26 32 25 19 0
25 20 16 16 22 3
30 26 27 18 15 -1
30 19 20 24 20 NA
19 25 30 24 19 4
32 28 31 29 18 1
50 27 32 22 15 0
27 21 27 21 20 -2
36 23 24 23 21 -4
31 21 31 24 21 NA
26 29 33 23 15 2
32 29 27 19 23 2
35 21 29 24 21 -4
30 30 37 20 25 2
38 28 34 24 9 2
41 27 34 30 30 0
27 22 25 17 20 NA
28 23 30 22 23 -3
24 21 21 24 16 2
21 15 14 20 16 0
39 16 26 23 19 4
33 31 24 19 25 NA
28 18 24 22 25 2
47 25 25 24 18 NA
26 25 33 20 23 2
25 15 26 24 21 NA
34 24 23 26 10 -4
30 20 27 24 14 3
30 24 31 24 22 NA
25 28 31 24 26 2
19 15 15 21 23 NA
28 20 26 22 23 NA
39 33 27 29 24 -1
20 13 13 23 24 -3
30 21 32 22 18 0
31 24 27 25 23 1
19 23 23 23 15 NA
25 21 24 24 19 NA
52 33 41 30 16 NA
33 24 37 24 25 NA
22 23 23 24 23 -3
32 20 30 20 17 NA
17 14 17 16 19 3
31 25 26 27 21 0
20 34 19 13 18 0
29 22 35 29 27 0
37 25 22 27 21 NA
21 21 27 24 13 3
23 21 21 24 8 NA
30 21 28 23 29 NA
21 24 24 22 28 0
24 22 32 26 23 2
40 28 39 26 21 -1
20 18 18 21 19 NA
33 23 31 23 19 3
20 16 19 20 20 NA
26 24 30 28 18 NA
22 27 37 29 19 NA
32 18 20 16 17 2
13 11 15 25 19 NA
28 26 34 28 25 2
32 26 25 24 19 NA
27 23 22 24 23 NA
32 20 34 24 26 NA
23 20 29 12 14 -2
28 25 24 22 28 NA
23 22 33 22 16 0
29 29 29 24 24 -2
26 22 23 26 20 0
15 19 25 24 12 NA
14 21 17 26 24 6
19 25 28 22 22 0
19 17 20 23 12 NA
26 27 23 29 22 -2
33 21 18 16 20 1
35 23 35 18 10 0
28 22 23 22 23 NA
25 21 16 23 17 NA
41 29 32 30 22 2
28 15 22 24 24 NA
25 23 34 21 18 NA
26 18 23 23 21 NA
41 26 36 14 20 2
28 23 24 25 20 NA
26 18 21 17 22 -3
24 21 21 24 19 NA
32 16 21 23 20 1
25 21 28 22 26 NA
22 23 25 16 23 NA
29 21 29 22 24 NA
36 27 34 30 21 NA
40 23 25 25 21 NA
27 15 23 21 19 NA
35 19 33 22 17 -4
18 24 26 23 20 NA
36 24 27 24 11 NA
27 22 33 22 8 NA
31 24 30 21 18 1
16 17 22 26 18 NA
26 28 28 24 19 0
20 25 32 27 19 NA




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Herman Ole Andreas Wold' @ wold.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 & 'Herman Ole Andreas Wold' @ wold.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=269670&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]'Herman Ole Andreas Wold' @ wold.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=269670&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=269670&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'Herman Ole Andreas Wold' @ wold.wessa.net







Correlations for all pairs of data series (method=kendall)
anderenpositiefnegatieforganisatieNUMERACYTOTDECTESTTOT
anderen10.2740.2990.0450.044-0.067
positief0.27410.3770.1940.064-0.018
negatief0.2990.37710.1480.027-0.028
organisatie0.0450.1940.14810.047-0.035
NUMERACYTOT0.0440.0640.0270.04710.005
DECTESTTOT-0.067-0.018-0.028-0.0350.0051

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series (method=kendall) \tabularnewline
  & anderen & positief & negatief & organisatie & NUMERACYTOT & DECTESTTOT \tabularnewline
anderen & 1 & 0.274 & 0.299 & 0.045 & 0.044 & -0.067 \tabularnewline
positief & 0.274 & 1 & 0.377 & 0.194 & 0.064 & -0.018 \tabularnewline
negatief & 0.299 & 0.377 & 1 & 0.148 & 0.027 & -0.028 \tabularnewline
organisatie & 0.045 & 0.194 & 0.148 & 1 & 0.047 & -0.035 \tabularnewline
NUMERACYTOT & 0.044 & 0.064 & 0.027 & 0.047 & 1 & 0.005 \tabularnewline
DECTESTTOT & -0.067 & -0.018 & -0.028 & -0.035 & 0.005 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=269670&T=1

[TABLE]
[ROW][C]Correlations for all pairs of data series (method=kendall)[/C][/ROW]
[ROW][C] [/C][C]anderen[/C][C]positief[/C][C]negatief[/C][C]organisatie[/C][C]NUMERACYTOT[/C][C]DECTESTTOT[/C][/ROW]
[ROW][C]anderen[/C][C]1[/C][C]0.274[/C][C]0.299[/C][C]0.045[/C][C]0.044[/C][C]-0.067[/C][/ROW]
[ROW][C]positief[/C][C]0.274[/C][C]1[/C][C]0.377[/C][C]0.194[/C][C]0.064[/C][C]-0.018[/C][/ROW]
[ROW][C]negatief[/C][C]0.299[/C][C]0.377[/C][C]1[/C][C]0.148[/C][C]0.027[/C][C]-0.028[/C][/ROW]
[ROW][C]organisatie[/C][C]0.045[/C][C]0.194[/C][C]0.148[/C][C]1[/C][C]0.047[/C][C]-0.035[/C][/ROW]
[ROW][C]NUMERACYTOT[/C][C]0.044[/C][C]0.064[/C][C]0.027[/C][C]0.047[/C][C]1[/C][C]0.005[/C][/ROW]
[ROW][C]DECTESTTOT[/C][C]-0.067[/C][C]-0.018[/C][C]-0.028[/C][C]-0.035[/C][C]0.005[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=269670&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=269670&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=kendall)
anderenpositiefnegatieforganisatieNUMERACYTOTDECTESTTOT
anderen10.2740.2990.0450.044-0.067
positief0.27410.3770.1940.064-0.018
negatief0.2990.37710.1480.027-0.028
organisatie0.0450.1940.14810.047-0.035
NUMERACYTOT0.0440.0640.0270.04710.005
DECTESTTOT-0.067-0.018-0.028-0.0350.0051







Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
anderen;positief0.43450.37430.2736
p-value(0)(1e-04)(0)
anderen;negatief0.47130.41720.2994
p-value(0)(0)(0)
anderen;organisatie0.10660.06640.0454
p-value(0.2656)(0.4889)(0.5072)
anderen;NUMERACYTOT0.00170.05380.0436
p-value(0.9858)(0.5752)(0.5185)
anderen;DECTESTTOT-0.1462-0.107-0.0675
p-value(0.2529)(0.4037)(0.4706)
positief;negatief0.53150.50350.3773
p-value(0)(0)(0)
positief;organisatie0.19880.2530.1935
p-value(0.0365)(0.0074)(0.0052)
positief;NUMERACYTOT0.07010.09420.0638
p-value(0.4644)(0.3253)(0.35)
positief;DECTESTTOT-0.0026-0.0283-0.0183
p-value(0.9837)(0.8256)(0.846)
negatief;organisatie0.25070.20480.148
p-value(0.008)(0.0311)(0.031)
negatief;NUMERACYTOT0.02020.0360.0273
p-value(0.8336)(0.7077)(0.6856)
negatief;DECTESTTOT-0.0253-0.0276-0.0284
p-value(0.8438)(0.8297)(0.7617)
organisatie;NUMERACYTOT0.10750.06120.0474
p-value(0.2614)(0.5234)(0.4947)
organisatie;DECTESTTOT-0.0342-0.0469-0.0348
p-value(0.79)(0.7153)(0.7147)
NUMERACYTOT;DECTESTTOT0.03180.00420.0046
p-value(0.8047)(0.9738)(0.9613)

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series with p-values \tabularnewline
pair & Pearson r & Spearman rho & Kendall tau \tabularnewline
anderen;positief & 0.4345 & 0.3743 & 0.2736 \tabularnewline
p-value & (0) & (1e-04) & (0) \tabularnewline
anderen;negatief & 0.4713 & 0.4172 & 0.2994 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
anderen;organisatie & 0.1066 & 0.0664 & 0.0454 \tabularnewline
p-value & (0.2656) & (0.4889) & (0.5072) \tabularnewline
anderen;NUMERACYTOT & 0.0017 & 0.0538 & 0.0436 \tabularnewline
p-value & (0.9858) & (0.5752) & (0.5185) \tabularnewline
anderen;DECTESTTOT & -0.1462 & -0.107 & -0.0675 \tabularnewline
p-value & (0.2529) & (0.4037) & (0.4706) \tabularnewline
positief;negatief & 0.5315 & 0.5035 & 0.3773 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
positief;organisatie & 0.1988 & 0.253 & 0.1935 \tabularnewline
p-value & (0.0365) & (0.0074) & (0.0052) \tabularnewline
positief;NUMERACYTOT & 0.0701 & 0.0942 & 0.0638 \tabularnewline
p-value & (0.4644) & (0.3253) & (0.35) \tabularnewline
positief;DECTESTTOT & -0.0026 & -0.0283 & -0.0183 \tabularnewline
p-value & (0.9837) & (0.8256) & (0.846) \tabularnewline
negatief;organisatie & 0.2507 & 0.2048 & 0.148 \tabularnewline
p-value & (0.008) & (0.0311) & (0.031) \tabularnewline
negatief;NUMERACYTOT & 0.0202 & 0.036 & 0.0273 \tabularnewline
p-value & (0.8336) & (0.7077) & (0.6856) \tabularnewline
negatief;DECTESTTOT & -0.0253 & -0.0276 & -0.0284 \tabularnewline
p-value & (0.8438) & (0.8297) & (0.7617) \tabularnewline
organisatie;NUMERACYTOT & 0.1075 & 0.0612 & 0.0474 \tabularnewline
p-value & (0.2614) & (0.5234) & (0.4947) \tabularnewline
organisatie;DECTESTTOT & -0.0342 & -0.0469 & -0.0348 \tabularnewline
p-value & (0.79) & (0.7153) & (0.7147) \tabularnewline
NUMERACYTOT;DECTESTTOT & 0.0318 & 0.0042 & 0.0046 \tabularnewline
p-value & (0.8047) & (0.9738) & (0.9613) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=269670&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]anderen;positief[/C][C]0.4345[/C][C]0.3743[/C][C]0.2736[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](1e-04)[/C][C](0)[/C][/ROW]
[ROW][C]anderen;negatief[/C][C]0.4713[/C][C]0.4172[/C][C]0.2994[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]anderen;organisatie[/C][C]0.1066[/C][C]0.0664[/C][C]0.0454[/C][/ROW]
[ROW][C]p-value[/C][C](0.2656)[/C][C](0.4889)[/C][C](0.5072)[/C][/ROW]
[ROW][C]anderen;NUMERACYTOT[/C][C]0.0017[/C][C]0.0538[/C][C]0.0436[/C][/ROW]
[ROW][C]p-value[/C][C](0.9858)[/C][C](0.5752)[/C][C](0.5185)[/C][/ROW]
[ROW][C]anderen;DECTESTTOT[/C][C]-0.1462[/C][C]-0.107[/C][C]-0.0675[/C][/ROW]
[ROW][C]p-value[/C][C](0.2529)[/C][C](0.4037)[/C][C](0.4706)[/C][/ROW]
[ROW][C]positief;negatief[/C][C]0.5315[/C][C]0.5035[/C][C]0.3773[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]positief;organisatie[/C][C]0.1988[/C][C]0.253[/C][C]0.1935[/C][/ROW]
[ROW][C]p-value[/C][C](0.0365)[/C][C](0.0074)[/C][C](0.0052)[/C][/ROW]
[ROW][C]positief;NUMERACYTOT[/C][C]0.0701[/C][C]0.0942[/C][C]0.0638[/C][/ROW]
[ROW][C]p-value[/C][C](0.4644)[/C][C](0.3253)[/C][C](0.35)[/C][/ROW]
[ROW][C]positief;DECTESTTOT[/C][C]-0.0026[/C][C]-0.0283[/C][C]-0.0183[/C][/ROW]
[ROW][C]p-value[/C][C](0.9837)[/C][C](0.8256)[/C][C](0.846)[/C][/ROW]
[ROW][C]negatief;organisatie[/C][C]0.2507[/C][C]0.2048[/C][C]0.148[/C][/ROW]
[ROW][C]p-value[/C][C](0.008)[/C][C](0.0311)[/C][C](0.031)[/C][/ROW]
[ROW][C]negatief;NUMERACYTOT[/C][C]0.0202[/C][C]0.036[/C][C]0.0273[/C][/ROW]
[ROW][C]p-value[/C][C](0.8336)[/C][C](0.7077)[/C][C](0.6856)[/C][/ROW]
[ROW][C]negatief;DECTESTTOT[/C][C]-0.0253[/C][C]-0.0276[/C][C]-0.0284[/C][/ROW]
[ROW][C]p-value[/C][C](0.8438)[/C][C](0.8297)[/C][C](0.7617)[/C][/ROW]
[ROW][C]organisatie;NUMERACYTOT[/C][C]0.1075[/C][C]0.0612[/C][C]0.0474[/C][/ROW]
[ROW][C]p-value[/C][C](0.2614)[/C][C](0.5234)[/C][C](0.4947)[/C][/ROW]
[ROW][C]organisatie;DECTESTTOT[/C][C]-0.0342[/C][C]-0.0469[/C][C]-0.0348[/C][/ROW]
[ROW][C]p-value[/C][C](0.79)[/C][C](0.7153)[/C][C](0.7147)[/C][/ROW]
[ROW][C]NUMERACYTOT;DECTESTTOT[/C][C]0.0318[/C][C]0.0042[/C][C]0.0046[/C][/ROW]
[ROW][C]p-value[/C][C](0.8047)[/C][C](0.9738)[/C][C](0.9613)[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=269670&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=269670&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
anderen;positief0.43450.37430.2736
p-value(0)(1e-04)(0)
anderen;negatief0.47130.41720.2994
p-value(0)(0)(0)
anderen;organisatie0.10660.06640.0454
p-value(0.2656)(0.4889)(0.5072)
anderen;NUMERACYTOT0.00170.05380.0436
p-value(0.9858)(0.5752)(0.5185)
anderen;DECTESTTOT-0.1462-0.107-0.0675
p-value(0.2529)(0.4037)(0.4706)
positief;negatief0.53150.50350.3773
p-value(0)(0)(0)
positief;organisatie0.19880.2530.1935
p-value(0.0365)(0.0074)(0.0052)
positief;NUMERACYTOT0.07010.09420.0638
p-value(0.4644)(0.3253)(0.35)
positief;DECTESTTOT-0.0026-0.0283-0.0183
p-value(0.9837)(0.8256)(0.846)
negatief;organisatie0.25070.20480.148
p-value(0.008)(0.0311)(0.031)
negatief;NUMERACYTOT0.02020.0360.0273
p-value(0.8336)(0.7077)(0.6856)
negatief;DECTESTTOT-0.0253-0.0276-0.0284
p-value(0.8438)(0.8297)(0.7617)
organisatie;NUMERACYTOT0.10750.06120.0474
p-value(0.2614)(0.5234)(0.4947)
organisatie;DECTESTTOT-0.0342-0.0469-0.0348
p-value(0.79)(0.7153)(0.7147)
NUMERACYTOT;DECTESTTOT0.03180.00420.0046
p-value(0.8047)(0.9738)(0.9613)







Meta Analysis of Correlation Tests
Number of significant by total number of Correlations
Type I errorPearson rSpearman rhoKendall tau
0.010.270.270.27
0.020.270.270.27
0.030.270.270.27
0.040.330.330.33
0.050.330.330.33
0.060.330.330.33
0.070.330.330.33
0.080.330.330.33
0.090.330.330.33
0.10.330.330.33

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=269670&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.270.270.27
0.020.270.270.27
0.030.270.270.27
0.040.330.330.33
0.050.330.330.33
0.060.330.330.33
0.070.330.330.33
0.080.330.330.33
0.090.330.330.33
0.10.330.330.33



Parameters (Session):
par1 = kendall ;
Parameters (R input):
par1 = kendall ;
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')
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')