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 computationMon, 11 Jan 2016 10:25:28 +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/2016/Jan/11/t1452507947ty59k6z43a01eiy.htm/, Retrieved Tue, 07 May 2024 16:06:38 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=289456, Retrieved Tue, 07 May 2024 16:06:38 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact54
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Kendall tau Correlation Matrix] [vraag 7] [2016-01-11 10:25:28] [19257762123ac9dca9ca2540ec1ddee7] [Current]
Feedback Forum

Post a new message
Dataseries X:
1 1 0 0 0 3.2
0 0 1 0 1 3.3
1 0 1 1 1 3.0
0 0 1 0 1 3.5
1 0 1 0 0 3.7
0 1 0 0 0 2.7
1 0 1 1 1 3.6
0 0 1 0 1 3.5
1 1 0 0 0 3.8
0 0 1 0 0 3.4
1 0 0 0 1 3.7
0 0 1 0 0 3.5
1 0 0 1 0 2.8
0 1 0 1 0 3.8
1 0 1 0 0 4.3
0 0 0 0 1 3.3
1 0 0 0 0 3.6
0 1 0 1 0 3.6
1 1 1 0 0 3.3
0 0 0 0 0 2.8




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

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







Correlations for all pairs of data series (method=pearson)
GeslachtDrugsFruitSportAlcoholGebgewicht
Geslacht1000.115-0.1050.21
Drugs01-0.4360.126-0.48-0.034
Fruit0-0.4361-0.1150.3140.237
Sport0.1150.126-0.11510.061-0.091
Alcohol-0.105-0.480.3140.0611-0.011
Gebgewicht0.21-0.0340.237-0.091-0.0111

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series (method=pearson) \tabularnewline
  & Geslacht & Drugs & Fruit & Sport & Alcohol & Gebgewicht \tabularnewline
Geslacht & 1 & 0 & 0 & 0.115 & -0.105 & 0.21 \tabularnewline
Drugs & 0 & 1 & -0.436 & 0.126 & -0.48 & -0.034 \tabularnewline
Fruit & 0 & -0.436 & 1 & -0.115 & 0.314 & 0.237 \tabularnewline
Sport & 0.115 & 0.126 & -0.115 & 1 & 0.061 & -0.091 \tabularnewline
Alcohol & -0.105 & -0.48 & 0.314 & 0.061 & 1 & -0.011 \tabularnewline
Gebgewicht & 0.21 & -0.034 & 0.237 & -0.091 & -0.011 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=289456&T=1

[TABLE]
[ROW][C]Correlations for all pairs of data series (method=pearson)[/C][/ROW]
[ROW][C] [/C][C]Geslacht[/C][C]Drugs[/C][C]Fruit[/C][C]Sport[/C][C]Alcohol[/C][C]Gebgewicht[/C][/ROW]
[ROW][C]Geslacht[/C][C]1[/C][C]0[/C][C]0[/C][C]0.115[/C][C]-0.105[/C][C]0.21[/C][/ROW]
[ROW][C]Drugs[/C][C]0[/C][C]1[/C][C]-0.436[/C][C]0.126[/C][C]-0.48[/C][C]-0.034[/C][/ROW]
[ROW][C]Fruit[/C][C]0[/C][C]-0.436[/C][C]1[/C][C]-0.115[/C][C]0.314[/C][C]0.237[/C][/ROW]
[ROW][C]Sport[/C][C]0.115[/C][C]0.126[/C][C]-0.115[/C][C]1[/C][C]0.061[/C][C]-0.091[/C][/ROW]
[ROW][C]Alcohol[/C][C]-0.105[/C][C]-0.48[/C][C]0.314[/C][C]0.061[/C][C]1[/C][C]-0.011[/C][/ROW]
[ROW][C]Gebgewicht[/C][C]0.21[/C][C]-0.034[/C][C]0.237[/C][C]-0.091[/C][C]-0.011[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=289456&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=289456&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)
GeslachtDrugsFruitSportAlcoholGebgewicht
Geslacht1000.115-0.1050.21
Drugs01-0.4360.126-0.48-0.034
Fruit0-0.4361-0.1150.3140.237
Sport0.1150.126-0.11510.061-0.091
Alcohol-0.105-0.480.3140.0611-0.011
Gebgewicht0.21-0.0340.237-0.091-0.0111







Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
Geslacht;Drugs000
p-value(1)(1)(1)
Geslacht;Fruit000
p-value(1)(1)(1)
Geslacht;Sport0.11550.11550.1155
p-value(0.6278)(0.6278)(0.6147)
Geslacht;Alcohol-0.1048-0.1048-0.1048
p-value(0.6601)(0.6601)(0.6477)
Geslacht;Gebgewicht0.21040.22670.1949
p-value(0.3733)(0.3364)(0.323)
Drugs;Fruit-0.4364-0.4364-0.4364
p-value(0.0544)(0.0544)(0.0571)
Drugs;Sport0.1260.1260.126
p-value(0.5966)(0.5966)(0.5829)
Drugs;Alcohol-0.4804-0.4804-0.4804
p-value(0.032)(0.032)(0.0363)
Drugs;Gebgewicht-0.03440.0190.0164
p-value(0.8854)(0.9365)(0.9339)
Fruit;Sport-0.1155-0.1155-0.1155
p-value(0.6278)(0.6278)(0.6147)
Fruit;Alcohol0.31450.31450.3145
p-value(0.1769)(0.1769)(0.1704)
Fruit;Gebgewicht0.23670.09590.0824
p-value(0.3151)(0.6875)(0.6759)
Sport;Alcohol0.06050.06050.0605
p-value(0.7999)(0.7999)(0.7919)
Sport;Gebgewicht-0.09110.01010.0087
p-value(0.7025)(0.9664)(0.965)
Alcohol;Gebgewicht-0.011-0.0548-0.0471
p-value(0.9632)(0.8183)(0.811)

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series with p-values \tabularnewline
pair & Pearson r & Spearman rho & Kendall tau \tabularnewline
Geslacht;Drugs & 0 & 0 & 0 \tabularnewline
p-value & (1) & (1) & (1) \tabularnewline
Geslacht;Fruit & 0 & 0 & 0 \tabularnewline
p-value & (1) & (1) & (1) \tabularnewline
Geslacht;Sport & 0.1155 & 0.1155 & 0.1155 \tabularnewline
p-value & (0.6278) & (0.6278) & (0.6147) \tabularnewline
Geslacht;Alcohol & -0.1048 & -0.1048 & -0.1048 \tabularnewline
p-value & (0.6601) & (0.6601) & (0.6477) \tabularnewline
Geslacht;Gebgewicht & 0.2104 & 0.2267 & 0.1949 \tabularnewline
p-value & (0.3733) & (0.3364) & (0.323) \tabularnewline
Drugs;Fruit & -0.4364 & -0.4364 & -0.4364 \tabularnewline
p-value & (0.0544) & (0.0544) & (0.0571) \tabularnewline
Drugs;Sport & 0.126 & 0.126 & 0.126 \tabularnewline
p-value & (0.5966) & (0.5966) & (0.5829) \tabularnewline
Drugs;Alcohol & -0.4804 & -0.4804 & -0.4804 \tabularnewline
p-value & (0.032) & (0.032) & (0.0363) \tabularnewline
Drugs;Gebgewicht & -0.0344 & 0.019 & 0.0164 \tabularnewline
p-value & (0.8854) & (0.9365) & (0.9339) \tabularnewline
Fruit;Sport & -0.1155 & -0.1155 & -0.1155 \tabularnewline
p-value & (0.6278) & (0.6278) & (0.6147) \tabularnewline
Fruit;Alcohol & 0.3145 & 0.3145 & 0.3145 \tabularnewline
p-value & (0.1769) & (0.1769) & (0.1704) \tabularnewline
Fruit;Gebgewicht & 0.2367 & 0.0959 & 0.0824 \tabularnewline
p-value & (0.3151) & (0.6875) & (0.6759) \tabularnewline
Sport;Alcohol & 0.0605 & 0.0605 & 0.0605 \tabularnewline
p-value & (0.7999) & (0.7999) & (0.7919) \tabularnewline
Sport;Gebgewicht & -0.0911 & 0.0101 & 0.0087 \tabularnewline
p-value & (0.7025) & (0.9664) & (0.965) \tabularnewline
Alcohol;Gebgewicht & -0.011 & -0.0548 & -0.0471 \tabularnewline
p-value & (0.9632) & (0.8183) & (0.811) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=289456&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]Geslacht;Drugs[/C][C]0[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]p-value[/C][C](1)[/C][C](1)[/C][C](1)[/C][/ROW]
[ROW][C]Geslacht;Fruit[/C][C]0[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]p-value[/C][C](1)[/C][C](1)[/C][C](1)[/C][/ROW]
[ROW][C]Geslacht;Sport[/C][C]0.1155[/C][C]0.1155[/C][C]0.1155[/C][/ROW]
[ROW][C]p-value[/C][C](0.6278)[/C][C](0.6278)[/C][C](0.6147)[/C][/ROW]
[ROW][C]Geslacht;Alcohol[/C][C]-0.1048[/C][C]-0.1048[/C][C]-0.1048[/C][/ROW]
[ROW][C]p-value[/C][C](0.6601)[/C][C](0.6601)[/C][C](0.6477)[/C][/ROW]
[ROW][C]Geslacht;Gebgewicht[/C][C]0.2104[/C][C]0.2267[/C][C]0.1949[/C][/ROW]
[ROW][C]p-value[/C][C](0.3733)[/C][C](0.3364)[/C][C](0.323)[/C][/ROW]
[ROW][C]Drugs;Fruit[/C][C]-0.4364[/C][C]-0.4364[/C][C]-0.4364[/C][/ROW]
[ROW][C]p-value[/C][C](0.0544)[/C][C](0.0544)[/C][C](0.0571)[/C][/ROW]
[ROW][C]Drugs;Sport[/C][C]0.126[/C][C]0.126[/C][C]0.126[/C][/ROW]
[ROW][C]p-value[/C][C](0.5966)[/C][C](0.5966)[/C][C](0.5829)[/C][/ROW]
[ROW][C]Drugs;Alcohol[/C][C]-0.4804[/C][C]-0.4804[/C][C]-0.4804[/C][/ROW]
[ROW][C]p-value[/C][C](0.032)[/C][C](0.032)[/C][C](0.0363)[/C][/ROW]
[ROW][C]Drugs;Gebgewicht[/C][C]-0.0344[/C][C]0.019[/C][C]0.0164[/C][/ROW]
[ROW][C]p-value[/C][C](0.8854)[/C][C](0.9365)[/C][C](0.9339)[/C][/ROW]
[ROW][C]Fruit;Sport[/C][C]-0.1155[/C][C]-0.1155[/C][C]-0.1155[/C][/ROW]
[ROW][C]p-value[/C][C](0.6278)[/C][C](0.6278)[/C][C](0.6147)[/C][/ROW]
[ROW][C]Fruit;Alcohol[/C][C]0.3145[/C][C]0.3145[/C][C]0.3145[/C][/ROW]
[ROW][C]p-value[/C][C](0.1769)[/C][C](0.1769)[/C][C](0.1704)[/C][/ROW]
[ROW][C]Fruit;Gebgewicht[/C][C]0.2367[/C][C]0.0959[/C][C]0.0824[/C][/ROW]
[ROW][C]p-value[/C][C](0.3151)[/C][C](0.6875)[/C][C](0.6759)[/C][/ROW]
[ROW][C]Sport;Alcohol[/C][C]0.0605[/C][C]0.0605[/C][C]0.0605[/C][/ROW]
[ROW][C]p-value[/C][C](0.7999)[/C][C](0.7999)[/C][C](0.7919)[/C][/ROW]
[ROW][C]Sport;Gebgewicht[/C][C]-0.0911[/C][C]0.0101[/C][C]0.0087[/C][/ROW]
[ROW][C]p-value[/C][C](0.7025)[/C][C](0.9664)[/C][C](0.965)[/C][/ROW]
[ROW][C]Alcohol;Gebgewicht[/C][C]-0.011[/C][C]-0.0548[/C][C]-0.0471[/C][/ROW]
[ROW][C]p-value[/C][C](0.9632)[/C][C](0.8183)[/C][C](0.811)[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=289456&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=289456&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
Geslacht;Drugs000
p-value(1)(1)(1)
Geslacht;Fruit000
p-value(1)(1)(1)
Geslacht;Sport0.11550.11550.1155
p-value(0.6278)(0.6278)(0.6147)
Geslacht;Alcohol-0.1048-0.1048-0.1048
p-value(0.6601)(0.6601)(0.6477)
Geslacht;Gebgewicht0.21040.22670.1949
p-value(0.3733)(0.3364)(0.323)
Drugs;Fruit-0.4364-0.4364-0.4364
p-value(0.0544)(0.0544)(0.0571)
Drugs;Sport0.1260.1260.126
p-value(0.5966)(0.5966)(0.5829)
Drugs;Alcohol-0.4804-0.4804-0.4804
p-value(0.032)(0.032)(0.0363)
Drugs;Gebgewicht-0.03440.0190.0164
p-value(0.8854)(0.9365)(0.9339)
Fruit;Sport-0.1155-0.1155-0.1155
p-value(0.6278)(0.6278)(0.6147)
Fruit;Alcohol0.31450.31450.3145
p-value(0.1769)(0.1769)(0.1704)
Fruit;Gebgewicht0.23670.09590.0824
p-value(0.3151)(0.6875)(0.6759)
Sport;Alcohol0.06050.06050.0605
p-value(0.7999)(0.7999)(0.7919)
Sport;Gebgewicht-0.09110.01010.0087
p-value(0.7025)(0.9664)(0.965)
Alcohol;Gebgewicht-0.011-0.0548-0.0471
p-value(0.9632)(0.8183)(0.811)







Meta Analysis of Correlation Tests
Number of significant by total number of Correlations
Type I errorPearson rSpearman rhoKendall tau
0.01000
0.02000
0.03000
0.040.070.070.07
0.050.070.070.07
0.060.130.130.13
0.070.130.130.13
0.080.130.130.13
0.090.130.130.13
0.10.130.130.13

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=289456&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.02000
0.03000
0.040.070.070.07
0.050.070.070.07
0.060.130.130.13
0.070.130.130.13
0.080.130.130.13
0.090.130.130.13
0.10.130.130.13



Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ; par4 = 0 ; par5 = 0 ;
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')