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 computationSat, 17 Dec 2011 08:48:55 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2011/Dec/17/t132412979377zmml43x5yc1ka.htm/, Retrieved Tue, 23 Apr 2024 12:25:43 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=156298, Retrieved Tue, 23 Apr 2024 12:25:43 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact126
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Kendall tau Correlation Matrix] [] [2011-12-17 13:48:55] [d76b387543b13b5e3afd8ff9e5fdc89f] [Current]
Feedback Forum

Post a new message
Dataseries X:
1	2	2	3	4	3
1	2	2	2	3	2
1	2	2	3	4	1
1	1	2	3	4	1
1	1	1	1	4	2
1	1	1	1	3	1
1	1	1	2	4	2
1	1	1	1	4	1
1	1	4	1	4	1
1	1	1	1	3	1
1	1	3	3	3	2
1	1	2	2	3	2
1	1	1	1	4	2
1	1	2	1	4	2
1	1	1	2	1	2
1	2	2	2	3	3
1	2	2	3	3	2
1	2	2	2	3	3
1	1	2	1	1	1
1	1	3	1	4	1
1	1	1	2	4	1
1	1	2	2	4	1
1	2	2	3	4	2
1	1	2	2	4	1
1	2	1	1	4	1
1	1	3	3	4	1
1	2	1	2	3	1
1	2	3	4	3	4
1	2	2	2	3	1
1	2	3	4	3	3
1	1	3	1	2	2
1	2	1	3	3	1
1	1	2	2	4	3
1	1	2	1	4	3
1	1	3	4	4	2
1	1	1	2	4	1
1	1	2	2	3	2
1	2	3	1	3	1
1	2	3	2	3	2
1	2	2	3	3	2
1	2	2	1	4	3
1	3	3	2	2	3
1	2	3	3	4	3
1	1	2	4	3	1
1	2	1	2	4	3
1	1	2	3	4	3
1	1	1	1	4	1
1	1	1	2	4	1
1	2	2	2	3	4
1	2	2	2	4	3
1	1	2	2	3	4
1	1	2	3	4	1
1	1	2	1	3	1
1	2	1	1	4	2
1	1	2	2	1	2
1	1	1	2	4	2
1	2	3	1	3	3
1	1	2	2	4	2
1	2	3	3	3	3
1	1	2	1	3	1
1	1	1	1	3	3
1	2	2	2	3	3
1	1	1	2	4	1
1	2	4	1	4	1
1	2	2	2	3	1
1	2	1	2	4	1
1	1	1	2	4	2
1	2	3	1	3	2
1	1	1	1	4	4
1	2	3	3	2	2
1	2	2	1	4	1
1	2	2	4	3	2
1	1	2	2	4	1
1	1	1	1	3	1
1	2	2	1	4	2
1	2	1	2	4	1
1	3	2	2	4	4
1	2	1	1	4	1
1	2	3	3	3	4
1	1	2	4	3	3
1	1	1	1	4	2
1	1	1	3	4	3
1	2	2	2	4	2
1	2	2	2	4	3
1	2	2	3	3	2
1	2	1	3	3	2
1	2	2	3	3	1
1	2	1	1	3	1
1	2	1	1	3	2
1	2	2	3	3	1
1	1	2	2	4	3
1	2	2	1	3	3
1	3	2	4	3	2
1	2	3	3	4	4
1	1	2	1	4	3
1	1	1	2	3	3
1	1	1	3	4	1
2	2	4	2	2	1
2	2	3	3	3	2
2	2	2	2	3	2
2	2	3	3	2	2
2	2	3	3	2	2
2	2	3	2	3	3
2	2	2	2	3	1
2	2	4	3	3	3
2	1	2	4	3	3
2	2	3	1	3	3
2	2	2	2	3	3
2	2	1	2	3	2
2	2	3	3	3	1
2	2	3	3	2	3
2	3	2	3	2	3
2	2	3	2	3	3
2	2	2	3	4	1
2	3	3	3	2	4
2	3	4	4	3	2
2	3	3	3	2	4
2	2	3	4	3	1
2	2	2	2	4	1
2	2	2	2	4	2
2	2	2	2	3	2
2	2	3	3	3	1
2	3	2	3	3	1
2	2	2	3	3	2
2	2	2	3	4	2
2	3	2	1	3	2
2	2	2	3	3	2
3	3	2	2	2	3
3	3	3	3	2	4
3	3	3	2	3	2
3	3	3	2	3	3
3	2	2	2	1	1
3	3	4	4	2	3
3	3	4	2	2	1
3	3	2	3	1	4
3	3	2	3	2	3
3	3	2	4	1	3
3	4	3	3	2	1
3	3	3	3	2	3
3	3	1	1	3	1
3	2	2	1	4	3
4	4	4	3	2	4
4	4	4	3	3	4
4	4	2	4	2	4
4	4	4	4	3	4
4	3	3	4	1	4




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=156298&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 time2 seconds
R Server'Gertrude Mary Cox' @ cox.wessa.net







Correlations for all pairs of data series (method=pearson)
I_felt_depressedI_felt_sadeverything_was_efforttrouble_mindI_enjoyed_lifesleep_restless
I_felt_depressed10.7360.4350.343-0.5180.317
I_felt_sad0.73610.4520.362-0.4540.365
everything_was_effort0.4350.45210.362-0.3340.279
trouble_mind0.3430.3620.3621-0.2890.263
I_enjoyed_life-0.518-0.454-0.334-0.2891-0.233
sleep_restless0.3170.3650.2790.263-0.2331

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series (method=pearson) \tabularnewline
  & I_felt_depressed & I_felt_sad & everything_was_effort & trouble_mind & I_enjoyed_life & sleep_restless \tabularnewline
I_felt_depressed & 1 & 0.736 & 0.435 & 0.343 & -0.518 & 0.317 \tabularnewline
I_felt_sad & 0.736 & 1 & 0.452 & 0.362 & -0.454 & 0.365 \tabularnewline
everything_was_effort & 0.435 & 0.452 & 1 & 0.362 & -0.334 & 0.279 \tabularnewline
trouble_mind & 0.343 & 0.362 & 0.362 & 1 & -0.289 & 0.263 \tabularnewline
I_enjoyed_life & -0.518 & -0.454 & -0.334 & -0.289 & 1 & -0.233 \tabularnewline
sleep_restless & 0.317 & 0.365 & 0.279 & 0.263 & -0.233 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=156298&T=1

[TABLE]
[ROW][C]Correlations for all pairs of data series (method=pearson)[/C][/ROW]
[ROW][C] [/C][C]I_felt_depressed[/C][C]I_felt_sad[/C][C]everything_was_effort[/C][C]trouble_mind[/C][C]I_enjoyed_life[/C][C]sleep_restless[/C][/ROW]
[ROW][C]I_felt_depressed[/C][C]1[/C][C]0.736[/C][C]0.435[/C][C]0.343[/C][C]-0.518[/C][C]0.317[/C][/ROW]
[ROW][C]I_felt_sad[/C][C]0.736[/C][C]1[/C][C]0.452[/C][C]0.362[/C][C]-0.454[/C][C]0.365[/C][/ROW]
[ROW][C]everything_was_effort[/C][C]0.435[/C][C]0.452[/C][C]1[/C][C]0.362[/C][C]-0.334[/C][C]0.279[/C][/ROW]
[ROW][C]trouble_mind[/C][C]0.343[/C][C]0.362[/C][C]0.362[/C][C]1[/C][C]-0.289[/C][C]0.263[/C][/ROW]
[ROW][C]I_enjoyed_life[/C][C]-0.518[/C][C]-0.454[/C][C]-0.334[/C][C]-0.289[/C][C]1[/C][C]-0.233[/C][/ROW]
[ROW][C]sleep_restless[/C][C]0.317[/C][C]0.365[/C][C]0.279[/C][C]0.263[/C][C]-0.233[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=156298&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=156298&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)
I_felt_depressedI_felt_sadeverything_was_efforttrouble_mindI_enjoyed_lifesleep_restless
I_felt_depressed10.7360.4350.343-0.5180.317
I_felt_sad0.73610.4520.362-0.4540.365
everything_was_effort0.4350.45210.362-0.3340.279
trouble_mind0.3430.3620.3621-0.2890.263
I_enjoyed_life-0.518-0.454-0.334-0.2891-0.233
sleep_restless0.3170.3650.2790.263-0.2331







Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
I_felt_depressed;I_felt_sad0.73560.65320.621
p-value(0)(0)(0)
I_felt_depressed;everything_was_effort0.43470.42330.3836
p-value(0)(0)(0)
I_felt_depressed;trouble_mind0.34270.33940.3048
p-value(0)(0)(0)
I_felt_depressed;I_enjoyed_life-0.5178-0.5122-0.4756
p-value(0)(0)(0)
I_felt_depressed;sleep_restless0.31710.2360.2133
p-value(1e-04)(0.0041)(0.0036)
I_felt_sad;everything_was_effort0.45190.42920.3863
p-value(0)(0)(0)
I_felt_sad;trouble_mind0.3620.34750.3096
p-value(0)(0)(0)
I_felt_sad;I_enjoyed_life-0.4543-0.4827-0.4468
p-value(0)(0)(0)
I_felt_sad;sleep_restless0.36490.31940.2855
p-value(0)(1e-04)(1e-04)
everything_was_effort;trouble_mind0.36220.37610.3319
p-value(0)(0)(0)
everything_was_effort;I_enjoyed_life-0.3341-0.3877-0.3425
p-value(0)(0)(0)
everything_was_effort;sleep_restless0.27930.28340.2496
p-value(6e-04)(5e-04)(5e-04)
trouble_mind;I_enjoyed_life-0.2888-0.3031-0.2617
p-value(4e-04)(2e-04)(3e-04)
trouble_mind;sleep_restless0.26330.24660.2106
p-value(0.0013)(0.0027)(0.0029)
I_enjoyed_life;sleep_restless-0.2331-0.2291-0.202
p-value(0.0046)(0.0054)(0.0052)

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series with p-values \tabularnewline
pair & Pearson r & Spearman rho & Kendall tau \tabularnewline
I_felt_depressed;I_felt_sad & 0.7356 & 0.6532 & 0.621 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
I_felt_depressed;everything_was_effort & 0.4347 & 0.4233 & 0.3836 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
I_felt_depressed;trouble_mind & 0.3427 & 0.3394 & 0.3048 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
I_felt_depressed;I_enjoyed_life & -0.5178 & -0.5122 & -0.4756 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
I_felt_depressed;sleep_restless & 0.3171 & 0.236 & 0.2133 \tabularnewline
p-value & (1e-04) & (0.0041) & (0.0036) \tabularnewline
I_felt_sad;everything_was_effort & 0.4519 & 0.4292 & 0.3863 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
I_felt_sad;trouble_mind & 0.362 & 0.3475 & 0.3096 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
I_felt_sad;I_enjoyed_life & -0.4543 & -0.4827 & -0.4468 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
I_felt_sad;sleep_restless & 0.3649 & 0.3194 & 0.2855 \tabularnewline
p-value & (0) & (1e-04) & (1e-04) \tabularnewline
everything_was_effort;trouble_mind & 0.3622 & 0.3761 & 0.3319 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
everything_was_effort;I_enjoyed_life & -0.3341 & -0.3877 & -0.3425 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
everything_was_effort;sleep_restless & 0.2793 & 0.2834 & 0.2496 \tabularnewline
p-value & (6e-04) & (5e-04) & (5e-04) \tabularnewline
trouble_mind;I_enjoyed_life & -0.2888 & -0.3031 & -0.2617 \tabularnewline
p-value & (4e-04) & (2e-04) & (3e-04) \tabularnewline
trouble_mind;sleep_restless & 0.2633 & 0.2466 & 0.2106 \tabularnewline
p-value & (0.0013) & (0.0027) & (0.0029) \tabularnewline
I_enjoyed_life;sleep_restless & -0.2331 & -0.2291 & -0.202 \tabularnewline
p-value & (0.0046) & (0.0054) & (0.0052) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=156298&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]I_felt_depressed;I_felt_sad[/C][C]0.7356[/C][C]0.6532[/C][C]0.621[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]I_felt_depressed;everything_was_effort[/C][C]0.4347[/C][C]0.4233[/C][C]0.3836[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]I_felt_depressed;trouble_mind[/C][C]0.3427[/C][C]0.3394[/C][C]0.3048[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]I_felt_depressed;I_enjoyed_life[/C][C]-0.5178[/C][C]-0.5122[/C][C]-0.4756[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]I_felt_depressed;sleep_restless[/C][C]0.3171[/C][C]0.236[/C][C]0.2133[/C][/ROW]
[ROW][C]p-value[/C][C](1e-04)[/C][C](0.0041)[/C][C](0.0036)[/C][/ROW]
[ROW][C]I_felt_sad;everything_was_effort[/C][C]0.4519[/C][C]0.4292[/C][C]0.3863[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]I_felt_sad;trouble_mind[/C][C]0.362[/C][C]0.3475[/C][C]0.3096[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]I_felt_sad;I_enjoyed_life[/C][C]-0.4543[/C][C]-0.4827[/C][C]-0.4468[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]I_felt_sad;sleep_restless[/C][C]0.3649[/C][C]0.3194[/C][C]0.2855[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](1e-04)[/C][C](1e-04)[/C][/ROW]
[ROW][C]everything_was_effort;trouble_mind[/C][C]0.3622[/C][C]0.3761[/C][C]0.3319[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]everything_was_effort;I_enjoyed_life[/C][C]-0.3341[/C][C]-0.3877[/C][C]-0.3425[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]everything_was_effort;sleep_restless[/C][C]0.2793[/C][C]0.2834[/C][C]0.2496[/C][/ROW]
[ROW][C]p-value[/C][C](6e-04)[/C][C](5e-04)[/C][C](5e-04)[/C][/ROW]
[ROW][C]trouble_mind;I_enjoyed_life[/C][C]-0.2888[/C][C]-0.3031[/C][C]-0.2617[/C][/ROW]
[ROW][C]p-value[/C][C](4e-04)[/C][C](2e-04)[/C][C](3e-04)[/C][/ROW]
[ROW][C]trouble_mind;sleep_restless[/C][C]0.2633[/C][C]0.2466[/C][C]0.2106[/C][/ROW]
[ROW][C]p-value[/C][C](0.0013)[/C][C](0.0027)[/C][C](0.0029)[/C][/ROW]
[ROW][C]I_enjoyed_life;sleep_restless[/C][C]-0.2331[/C][C]-0.2291[/C][C]-0.202[/C][/ROW]
[ROW][C]p-value[/C][C](0.0046)[/C][C](0.0054)[/C][C](0.0052)[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=156298&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=156298&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
I_felt_depressed;I_felt_sad0.73560.65320.621
p-value(0)(0)(0)
I_felt_depressed;everything_was_effort0.43470.42330.3836
p-value(0)(0)(0)
I_felt_depressed;trouble_mind0.34270.33940.3048
p-value(0)(0)(0)
I_felt_depressed;I_enjoyed_life-0.5178-0.5122-0.4756
p-value(0)(0)(0)
I_felt_depressed;sleep_restless0.31710.2360.2133
p-value(1e-04)(0.0041)(0.0036)
I_felt_sad;everything_was_effort0.45190.42920.3863
p-value(0)(0)(0)
I_felt_sad;trouble_mind0.3620.34750.3096
p-value(0)(0)(0)
I_felt_sad;I_enjoyed_life-0.4543-0.4827-0.4468
p-value(0)(0)(0)
I_felt_sad;sleep_restless0.36490.31940.2855
p-value(0)(1e-04)(1e-04)
everything_was_effort;trouble_mind0.36220.37610.3319
p-value(0)(0)(0)
everything_was_effort;I_enjoyed_life-0.3341-0.3877-0.3425
p-value(0)(0)(0)
everything_was_effort;sleep_restless0.27930.28340.2496
p-value(6e-04)(5e-04)(5e-04)
trouble_mind;I_enjoyed_life-0.2888-0.3031-0.2617
p-value(4e-04)(2e-04)(3e-04)
trouble_mind;sleep_restless0.26330.24660.2106
p-value(0.0013)(0.0027)(0.0029)
I_enjoyed_life;sleep_restless-0.2331-0.2291-0.202
p-value(0.0046)(0.0054)(0.0052)



Parameters (Session):
par1 = pearson ;
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', ...)
}
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')