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, 18 Dec 2010 16:46:36 +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/2010/Dec/18/t129269071643sj4mzmu4j713x.htm/, Retrieved Tue, 30 Apr 2024 06:41:29 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=112095, Retrieved Tue, 30 Apr 2024 06:41:29 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact129
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Kendall tau Correlation Matrix] [] [2010-12-05 17:44:33] [b98453cac15ba1066b407e146608df68]
-   PD  [Kendall tau Correlation Matrix] [WS 10 Pearson cor...] [2010-12-12 19:43:54] [49c7a512c56172bc46ae7e93e5b58c1c]
- RMPD      [Kendall tau Correlation Matrix] [Paper Kendall tau...] [2010-12-18 16:46:36] [628a2d48b4bd249e4129ba023c5511b0] [Current]
Feedback Forum

Post a new message
Dataseries X:
1	41	25	15	9	3
1	38	25	15	9	4
1	37	19	14	9	4
1	42	18	10	8	4
1	40	23	18	15	3
1	43	25	14	9	4
1	40	23	11	11	4
1	45	30	17	6	5
1	45	32	21	10	4
1	44	25	7	11	4
1	42	26	18	16	4
1	32	25	13	11	5
1	32	25	13	11	5
1	41	35	18	7	4
1	38	20	12	10	4
1	38	21	9	9	4
1	24	23	11	15	3
1	46	17	11	6	5
1	42	27	16	12	4
1	46	25	12	10	4
1	43	18	14	14	5
1	38	22	13	9	4
1	39	23	17	14	4
1	40	25	13	14	3
1	37	19	13	9	2
1	41	20	12	8	4
1	46	26	12	10	4
1	26	16	12	9	3
1	37	22	9	9	3
1	39	25	17	9	4
1	44	29	18	11	5
1	38	22	12	10	2
1	38	32	12	8	0
1	38	23	9	14	4
1	33	18	13	10	3
1	43	26	11	14	4
1	41	14	13	15	2
1	49	20	6	8	4
1	45	25	11	10	5
1	31	21	18	13	3
1	30	21	18	13	3
1	38	23	15	10	4
1	39	24	11	11	4
1	40	21	14	10	4
1	36	17	12	16	2
1	49	29	8	6	5
1	41	25	11	11	4
1	42	25	17	14	3
1	41	25	16	9	5
1	43	21	13	11	4
1	46	23	15	8	3
1	41	25	16	8	5
1	39	25	7	11	4
1	42	24	16	16	4
1	35	21	13	12	5
1	36	22	15	14	3
1	48	14	12	8	4
1	41	20	12	10	4
1	47	21	24	14	3
1	41	22	15	10	3
1	31	19	8	5	5
1	36	28	18	12	4
1	46	25	17	9	4
1	44	21	15	8	4
1	43	27	11	16	2
1	40	19	12	13	5
1	40	20	14	8	3
1	46	17	11	14	3
1	39	22	10	8	4
1	44	26	11	7	4
1	38	17	12	11	2
1	39	15	6	6	4
1	41	27	15	9	5
1	39	25	14	14	3
1	40	19	16	12	4
1	44	18	16	8	4
1	42	15	11	8	4
1	46	29	15	12	5
1	44	24	12	13	4
1	37	24	13	11	4
1	39	22	14	12	2
1	40	22	12	13	3
1	42	25	17	14	3
1	37	21	11	9	3
1	33	21	13	8	2
1	35	18	9	8	4
1	42	10	12	9	2
0	36	18	10	14	2
0	44	23	9	14	4
0	45	24	11	14	4
0	47	32	9	14	4
0	40	24	16	9	4
0	49	17	14	14	4
0	48	30	24	8	5
0	29	25	9	10	4
0	45	23	11	11	5
0	29	19	14	13	2
0	41	21	12	9	4
0	34	24	8	13	2
0	38	23	5	16	2
0	37	19	10	12	3
0	48	27	15	4	5
0	39	26	10	10	4
0	34	26	18	14	4
0	35	16	12	10	2
0	41	27	13	9	3
0	43	14	11	8	4
0	41	18	12	9	3
0	39	21	7	15	2
0	36	22	17	8	4
0	32	31	9	11	4
0	46	23	10	12	4
0	42	24	12	9	4
0	42	19	10	13	2
0	45	22	7	7	3
0	39	24	13	10	4
0	45	28	9	11	4
0	48	24	9	8	5
0	28	15	12	14	4
0	35	21	11	9	2
0	38	21	14	16	4
0	42	13	8	11	4
0	36	20	11	12	3
0	37	22	11	8	4
0	38	19	12	7	3
0	43	26	20	13	4
0	35	19	8	20	2
0	36	20	11	11	4
0	33	14	15	10	2
0	39	17	12	16	4
0	32	29	12	12	4
0	45	21	12	8	3
0	35	19	11	10	4
0	38	17	9	11	3
0	36	19	8	14	3
0	42	17	12	10	3
0	41	19	13	12	4
0	47	21	17	11	3
0	35	20	16	11	3
0	43	20	11	14	3
0	40	29	9	16	4
0	46	23	11	9	4
0	44	23	11	11	5
0	35	19	13	9	3
0	29	22	15	14	4




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\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 & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=112095&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]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=112095&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112095&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'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Correlations for all pairs of data series (method=kendall)
GenderStudyForCareerPersonalStandardsParentalExpectationDoubtsLeaderPreference
Gender10.0620.0980.232-0.1130.105
StudyForCareer0.06210.1760.028-0.1230.259
PersonalStandards0.0980.17610.1570.0240.281
ParentalExpectation0.2320.0280.15710.0180.055
Doubts-0.113-0.1230.0240.0181-0.195
LeaderPreference0.1050.2590.2810.055-0.1951

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series (method=kendall) \tabularnewline
  & Gender & StudyForCareer & PersonalStandards & ParentalExpectation & Doubts & LeaderPreference \tabularnewline
Gender & 1 & 0.062 & 0.098 & 0.232 & -0.113 & 0.105 \tabularnewline
StudyForCareer & 0.062 & 1 & 0.176 & 0.028 & -0.123 & 0.259 \tabularnewline
PersonalStandards & 0.098 & 0.176 & 1 & 0.157 & 0.024 & 0.281 \tabularnewline
ParentalExpectation & 0.232 & 0.028 & 0.157 & 1 & 0.018 & 0.055 \tabularnewline
Doubts & -0.113 & -0.123 & 0.024 & 0.018 & 1 & -0.195 \tabularnewline
LeaderPreference & 0.105 & 0.259 & 0.281 & 0.055 & -0.195 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=112095&T=1

[TABLE]
[ROW][C]Correlations for all pairs of data series (method=kendall)[/C][/ROW]
[ROW][C] [/C][C]Gender[/C][C]StudyForCareer[/C][C]PersonalStandards[/C][C]ParentalExpectation[/C][C]Doubts[/C][C]LeaderPreference[/C][/ROW]
[ROW][C]Gender[/C][C]1[/C][C]0.062[/C][C]0.098[/C][C]0.232[/C][C]-0.113[/C][C]0.105[/C][/ROW]
[ROW][C]StudyForCareer[/C][C]0.062[/C][C]1[/C][C]0.176[/C][C]0.028[/C][C]-0.123[/C][C]0.259[/C][/ROW]
[ROW][C]PersonalStandards[/C][C]0.098[/C][C]0.176[/C][C]1[/C][C]0.157[/C][C]0.024[/C][C]0.281[/C][/ROW]
[ROW][C]ParentalExpectation[/C][C]0.232[/C][C]0.028[/C][C]0.157[/C][C]1[/C][C]0.018[/C][C]0.055[/C][/ROW]
[ROW][C]Doubts[/C][C]-0.113[/C][C]-0.123[/C][C]0.024[/C][C]0.018[/C][C]1[/C][C]-0.195[/C][/ROW]
[ROW][C]LeaderPreference[/C][C]0.105[/C][C]0.259[/C][C]0.281[/C][C]0.055[/C][C]-0.195[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=112095&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112095&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)
GenderStudyForCareerPersonalStandardsParentalExpectationDoubtsLeaderPreference
Gender10.0620.0980.232-0.1130.105
StudyForCareer0.06210.1760.028-0.1230.259
PersonalStandards0.0980.17610.1570.0240.281
ParentalExpectation0.2320.0280.15710.0180.055
Doubts-0.113-0.1230.0240.0181-0.195
LeaderPreference0.1050.2590.2810.055-0.1951







Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
Gender;StudyForCareer0.06410.07420.0623
p-value(0.444)(0.3754)(0.3736)
Gender;PersonalStandards0.0930.11540.0976
p-value(0.2657)(0.1668)(0.166)
Gender;ParentalExpectation0.22460.27110.2317
p-value(0.0066)(0.001)(0.0011)
Gender;Doubts-0.1338-0.1317-0.1134
p-value(0.1085)(0.1144)(0.1141)
Gender;LeaderPreference0.10030.11270.1046
p-value(0.2299)(0.1773)(0.1764)
StudyForCareer;PersonalStandards0.19650.23310.1762
p-value(0.0178)(0.0048)(0.003)
StudyForCareer;ParentalExpectation0.07660.03730.0282
p-value(0.3601)(0.6556)(0.6377)
StudyForCareer;Doubts-0.1807-0.1619-0.1234
p-value(0.0296)(0.0517)(0.041)
StudyForCareer;LeaderPreference0.29540.32430.2594
p-value(3e-04)(1e-04)(1e-04)
PersonalStandards;ParentalExpectation0.25230.20810.1567
p-value(0.0022)(0.012)(0.0093)
PersonalStandards;Doubts-0.00870.03110.0235
p-value(0.9175)(0.7101)(0.6984)
PersonalStandards;LeaderPreference0.28410.3450.281
p-value(5e-04)(0)(0)
ParentalExpectation;Doubts0.02490.02730.0181
p-value(0.766)(0.7442)(0.7681)
ParentalExpectation;LeaderPreference0.11590.07010.0546
p-value(0.1652)(0.4019)(0.4088)
Doubts;LeaderPreference-0.2633-0.2406-0.1948
p-value(0.0014)(0.0036)(0.0035)

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series with p-values \tabularnewline
pair & Pearson r & Spearman rho & Kendall tau \tabularnewline
Gender;StudyForCareer & 0.0641 & 0.0742 & 0.0623 \tabularnewline
p-value & (0.444) & (0.3754) & (0.3736) \tabularnewline
Gender;PersonalStandards & 0.093 & 0.1154 & 0.0976 \tabularnewline
p-value & (0.2657) & (0.1668) & (0.166) \tabularnewline
Gender;ParentalExpectation & 0.2246 & 0.2711 & 0.2317 \tabularnewline
p-value & (0.0066) & (0.001) & (0.0011) \tabularnewline
Gender;Doubts & -0.1338 & -0.1317 & -0.1134 \tabularnewline
p-value & (0.1085) & (0.1144) & (0.1141) \tabularnewline
Gender;LeaderPreference & 0.1003 & 0.1127 & 0.1046 \tabularnewline
p-value & (0.2299) & (0.1773) & (0.1764) \tabularnewline
StudyForCareer;PersonalStandards & 0.1965 & 0.2331 & 0.1762 \tabularnewline
p-value & (0.0178) & (0.0048) & (0.003) \tabularnewline
StudyForCareer;ParentalExpectation & 0.0766 & 0.0373 & 0.0282 \tabularnewline
p-value & (0.3601) & (0.6556) & (0.6377) \tabularnewline
StudyForCareer;Doubts & -0.1807 & -0.1619 & -0.1234 \tabularnewline
p-value & (0.0296) & (0.0517) & (0.041) \tabularnewline
StudyForCareer;LeaderPreference & 0.2954 & 0.3243 & 0.2594 \tabularnewline
p-value & (3e-04) & (1e-04) & (1e-04) \tabularnewline
PersonalStandards;ParentalExpectation & 0.2523 & 0.2081 & 0.1567 \tabularnewline
p-value & (0.0022) & (0.012) & (0.0093) \tabularnewline
PersonalStandards;Doubts & -0.0087 & 0.0311 & 0.0235 \tabularnewline
p-value & (0.9175) & (0.7101) & (0.6984) \tabularnewline
PersonalStandards;LeaderPreference & 0.2841 & 0.345 & 0.281 \tabularnewline
p-value & (5e-04) & (0) & (0) \tabularnewline
ParentalExpectation;Doubts & 0.0249 & 0.0273 & 0.0181 \tabularnewline
p-value & (0.766) & (0.7442) & (0.7681) \tabularnewline
ParentalExpectation;LeaderPreference & 0.1159 & 0.0701 & 0.0546 \tabularnewline
p-value & (0.1652) & (0.4019) & (0.4088) \tabularnewline
Doubts;LeaderPreference & -0.2633 & -0.2406 & -0.1948 \tabularnewline
p-value & (0.0014) & (0.0036) & (0.0035) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=112095&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]Gender;StudyForCareer[/C][C]0.0641[/C][C]0.0742[/C][C]0.0623[/C][/ROW]
[ROW][C]p-value[/C][C](0.444)[/C][C](0.3754)[/C][C](0.3736)[/C][/ROW]
[ROW][C]Gender;PersonalStandards[/C][C]0.093[/C][C]0.1154[/C][C]0.0976[/C][/ROW]
[ROW][C]p-value[/C][C](0.2657)[/C][C](0.1668)[/C][C](0.166)[/C][/ROW]
[ROW][C]Gender;ParentalExpectation[/C][C]0.2246[/C][C]0.2711[/C][C]0.2317[/C][/ROW]
[ROW][C]p-value[/C][C](0.0066)[/C][C](0.001)[/C][C](0.0011)[/C][/ROW]
[ROW][C]Gender;Doubts[/C][C]-0.1338[/C][C]-0.1317[/C][C]-0.1134[/C][/ROW]
[ROW][C]p-value[/C][C](0.1085)[/C][C](0.1144)[/C][C](0.1141)[/C][/ROW]
[ROW][C]Gender;LeaderPreference[/C][C]0.1003[/C][C]0.1127[/C][C]0.1046[/C][/ROW]
[ROW][C]p-value[/C][C](0.2299)[/C][C](0.1773)[/C][C](0.1764)[/C][/ROW]
[ROW][C]StudyForCareer;PersonalStandards[/C][C]0.1965[/C][C]0.2331[/C][C]0.1762[/C][/ROW]
[ROW][C]p-value[/C][C](0.0178)[/C][C](0.0048)[/C][C](0.003)[/C][/ROW]
[ROW][C]StudyForCareer;ParentalExpectation[/C][C]0.0766[/C][C]0.0373[/C][C]0.0282[/C][/ROW]
[ROW][C]p-value[/C][C](0.3601)[/C][C](0.6556)[/C][C](0.6377)[/C][/ROW]
[ROW][C]StudyForCareer;Doubts[/C][C]-0.1807[/C][C]-0.1619[/C][C]-0.1234[/C][/ROW]
[ROW][C]p-value[/C][C](0.0296)[/C][C](0.0517)[/C][C](0.041)[/C][/ROW]
[ROW][C]StudyForCareer;LeaderPreference[/C][C]0.2954[/C][C]0.3243[/C][C]0.2594[/C][/ROW]
[ROW][C]p-value[/C][C](3e-04)[/C][C](1e-04)[/C][C](1e-04)[/C][/ROW]
[ROW][C]PersonalStandards;ParentalExpectation[/C][C]0.2523[/C][C]0.2081[/C][C]0.1567[/C][/ROW]
[ROW][C]p-value[/C][C](0.0022)[/C][C](0.012)[/C][C](0.0093)[/C][/ROW]
[ROW][C]PersonalStandards;Doubts[/C][C]-0.0087[/C][C]0.0311[/C][C]0.0235[/C][/ROW]
[ROW][C]p-value[/C][C](0.9175)[/C][C](0.7101)[/C][C](0.6984)[/C][/ROW]
[ROW][C]PersonalStandards;LeaderPreference[/C][C]0.2841[/C][C]0.345[/C][C]0.281[/C][/ROW]
[ROW][C]p-value[/C][C](5e-04)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]ParentalExpectation;Doubts[/C][C]0.0249[/C][C]0.0273[/C][C]0.0181[/C][/ROW]
[ROW][C]p-value[/C][C](0.766)[/C][C](0.7442)[/C][C](0.7681)[/C][/ROW]
[ROW][C]ParentalExpectation;LeaderPreference[/C][C]0.1159[/C][C]0.0701[/C][C]0.0546[/C][/ROW]
[ROW][C]p-value[/C][C](0.1652)[/C][C](0.4019)[/C][C](0.4088)[/C][/ROW]
[ROW][C]Doubts;LeaderPreference[/C][C]-0.2633[/C][C]-0.2406[/C][C]-0.1948[/C][/ROW]
[ROW][C]p-value[/C][C](0.0014)[/C][C](0.0036)[/C][C](0.0035)[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=112095&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112095&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
Gender;StudyForCareer0.06410.07420.0623
p-value(0.444)(0.3754)(0.3736)
Gender;PersonalStandards0.0930.11540.0976
p-value(0.2657)(0.1668)(0.166)
Gender;ParentalExpectation0.22460.27110.2317
p-value(0.0066)(0.001)(0.0011)
Gender;Doubts-0.1338-0.1317-0.1134
p-value(0.1085)(0.1144)(0.1141)
Gender;LeaderPreference0.10030.11270.1046
p-value(0.2299)(0.1773)(0.1764)
StudyForCareer;PersonalStandards0.19650.23310.1762
p-value(0.0178)(0.0048)(0.003)
StudyForCareer;ParentalExpectation0.07660.03730.0282
p-value(0.3601)(0.6556)(0.6377)
StudyForCareer;Doubts-0.1807-0.1619-0.1234
p-value(0.0296)(0.0517)(0.041)
StudyForCareer;LeaderPreference0.29540.32430.2594
p-value(3e-04)(1e-04)(1e-04)
PersonalStandards;ParentalExpectation0.25230.20810.1567
p-value(0.0022)(0.012)(0.0093)
PersonalStandards;Doubts-0.00870.03110.0235
p-value(0.9175)(0.7101)(0.6984)
PersonalStandards;LeaderPreference0.28410.3450.281
p-value(5e-04)(0)(0)
ParentalExpectation;Doubts0.02490.02730.0181
p-value(0.766)(0.7442)(0.7681)
ParentalExpectation;LeaderPreference0.11590.07010.0546
p-value(0.1652)(0.4019)(0.4088)
Doubts;LeaderPreference-0.2633-0.2406-0.1948
p-value(0.0014)(0.0036)(0.0035)



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