Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software ModulePatrick.Wessarwasp_pairs.wasp
Title produced by softwareKendall tau Correlation Matrix
Date of computationSun, 12 Dec 2010 19:43:54 +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/12/t1292183183tth7i95b8dpaksm.htm/, Retrieved Tue, 07 May 2024 08:12:52 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=108642, Retrieved Tue, 07 May 2024 08:12:52 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact57
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] [628a2d48b4bd249e4129ba023c5511b0] [Current]
- RM D      [Kendall tau Correlation Matrix] [Paper Pearson Cor...] [2010-12-18 16:31:01] [49c7a512c56172bc46ae7e93e5b58c1c]
- RMPD      [Kendall tau Correlation Matrix] [Paper Kendall tau...] [2010-12-18 16:36:51] [49c7a512c56172bc46ae7e93e5b58c1c]
- RMPD      [Kendall tau Correlation Matrix] [Paper Kendall tau...] [2010-12-18 16:46:36] [49c7a512c56172bc46ae7e93e5b58c1c]
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	18	16	10	12	2
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'George Udny Yule' @ 72.249.76.132

\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 & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108642&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]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108642&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=108642&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'George Udny Yule' @ 72.249.76.132







Correlations for all pairs of data series (method=pearson)
GenderStudyForCareerPersonalStandardsParentalExpectationDoubtsLeaderPreference
Gender10.0370.0840.219-0.1310.089
StudyForCareer0.03710.2240.094-0.1810.324
PersonalStandards0.0840.22410.258-0.0130.296
ParentalExpectation0.2190.0940.25810.0230.124
Doubts-0.131-0.181-0.0130.0231-0.265
LeaderPreference0.0890.3240.2960.124-0.2651

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series (method=pearson) \tabularnewline
  & Gender & StudyForCareer & PersonalStandards & ParentalExpectation & Doubts & LeaderPreference \tabularnewline
Gender & 1 & 0.037 & 0.084 & 0.219 & -0.131 & 0.089 \tabularnewline
StudyForCareer & 0.037 & 1 & 0.224 & 0.094 & -0.181 & 0.324 \tabularnewline
PersonalStandards & 0.084 & 0.224 & 1 & 0.258 & -0.013 & 0.296 \tabularnewline
ParentalExpectation & 0.219 & 0.094 & 0.258 & 1 & 0.023 & 0.124 \tabularnewline
Doubts & -0.131 & -0.181 & -0.013 & 0.023 & 1 & -0.265 \tabularnewline
LeaderPreference & 0.089 & 0.324 & 0.296 & 0.124 & -0.265 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108642&T=1

[TABLE]
[ROW][C]Correlations for all pairs of data series (method=pearson)[/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.037[/C][C]0.084[/C][C]0.219[/C][C]-0.131[/C][C]0.089[/C][/ROW]
[ROW][C]StudyForCareer[/C][C]0.037[/C][C]1[/C][C]0.224[/C][C]0.094[/C][C]-0.181[/C][C]0.324[/C][/ROW]
[ROW][C]PersonalStandards[/C][C]0.084[/C][C]0.224[/C][C]1[/C][C]0.258[/C][C]-0.013[/C][C]0.296[/C][/ROW]
[ROW][C]ParentalExpectation[/C][C]0.219[/C][C]0.094[/C][C]0.258[/C][C]1[/C][C]0.023[/C][C]0.124[/C][/ROW]
[ROW][C]Doubts[/C][C]-0.131[/C][C]-0.181[/C][C]-0.013[/C][C]0.023[/C][C]1[/C][C]-0.265[/C][/ROW]
[ROW][C]LeaderPreference[/C][C]0.089[/C][C]0.324[/C][C]0.296[/C][C]0.124[/C][C]-0.265[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108642&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=108642&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)
GenderStudyForCareerPersonalStandardsParentalExpectationDoubtsLeaderPreference
Gender10.0370.0840.219-0.1310.089
StudyForCareer0.03710.2240.094-0.1810.324
PersonalStandards0.0840.22410.258-0.0130.296
ParentalExpectation0.2190.0940.25810.0230.124
Doubts-0.131-0.181-0.0130.0231-0.265
LeaderPreference0.0890.3240.2960.124-0.2651







Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
Gender;StudyForCareer0.03710.06360.0534
p-value(0.6569)(0.4459)(0.444)
Gender;PersonalStandards0.08410.10580.0895
p-value(0.3128)(0.2037)(0.2027)
Gender;ParentalExpectation0.21920.26380.2254
p-value(0.0079)(0.0013)(0.0015)
Gender;Doubts-0.1312-0.1278-0.1101
p-value(0.1144)(0.1242)(0.1238)
Gender;LeaderPreference0.08940.10250.0951
p-value(0.283)(0.2181)(0.217)
StudyForCareer;PersonalStandards0.22410.24610.1863
p-value(0.0065)(0.0028)(0.0016)
StudyForCareer;ParentalExpectation0.09420.04940.0368
p-value(0.258)(0.5537)(0.5377)
StudyForCareer;Doubts-0.1811-0.1663-0.1266
p-value(0.0287)(0.0448)(0.0353)
StudyForCareer;LeaderPreference0.32360.33720.2698
p-value(1e-04)(0)(0)
PersonalStandards;ParentalExpectation0.25780.21510.1623
p-value(0.0017)(0.0091)(0.0069)
PersonalStandards;Doubts-0.01260.02510.0195
p-value(0.8805)(0.7633)(0.7476)
PersonalStandards;LeaderPreference0.29620.35510.2897
p-value(3e-04)(0)(0)
ParentalExpectation;Doubts0.02270.0230.0144
p-value(0.7858)(0.7827)(0.8141)
ParentalExpectation;LeaderPreference0.12380.08070.063
p-value(0.1366)(0.3327)(0.3384)
Doubts;LeaderPreference-0.2651-0.2449-0.1975
p-value(0.0012)(0.0029)(0.0029)

\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.0371 & 0.0636 & 0.0534 \tabularnewline
p-value & (0.6569) & (0.4459) & (0.444) \tabularnewline
Gender;PersonalStandards & 0.0841 & 0.1058 & 0.0895 \tabularnewline
p-value & (0.3128) & (0.2037) & (0.2027) \tabularnewline
Gender;ParentalExpectation & 0.2192 & 0.2638 & 0.2254 \tabularnewline
p-value & (0.0079) & (0.0013) & (0.0015) \tabularnewline
Gender;Doubts & -0.1312 & -0.1278 & -0.1101 \tabularnewline
p-value & (0.1144) & (0.1242) & (0.1238) \tabularnewline
Gender;LeaderPreference & 0.0894 & 0.1025 & 0.0951 \tabularnewline
p-value & (0.283) & (0.2181) & (0.217) \tabularnewline
StudyForCareer;PersonalStandards & 0.2241 & 0.2461 & 0.1863 \tabularnewline
p-value & (0.0065) & (0.0028) & (0.0016) \tabularnewline
StudyForCareer;ParentalExpectation & 0.0942 & 0.0494 & 0.0368 \tabularnewline
p-value & (0.258) & (0.5537) & (0.5377) \tabularnewline
StudyForCareer;Doubts & -0.1811 & -0.1663 & -0.1266 \tabularnewline
p-value & (0.0287) & (0.0448) & (0.0353) \tabularnewline
StudyForCareer;LeaderPreference & 0.3236 & 0.3372 & 0.2698 \tabularnewline
p-value & (1e-04) & (0) & (0) \tabularnewline
PersonalStandards;ParentalExpectation & 0.2578 & 0.2151 & 0.1623 \tabularnewline
p-value & (0.0017) & (0.0091) & (0.0069) \tabularnewline
PersonalStandards;Doubts & -0.0126 & 0.0251 & 0.0195 \tabularnewline
p-value & (0.8805) & (0.7633) & (0.7476) \tabularnewline
PersonalStandards;LeaderPreference & 0.2962 & 0.3551 & 0.2897 \tabularnewline
p-value & (3e-04) & (0) & (0) \tabularnewline
ParentalExpectation;Doubts & 0.0227 & 0.023 & 0.0144 \tabularnewline
p-value & (0.7858) & (0.7827) & (0.8141) \tabularnewline
ParentalExpectation;LeaderPreference & 0.1238 & 0.0807 & 0.063 \tabularnewline
p-value & (0.1366) & (0.3327) & (0.3384) \tabularnewline
Doubts;LeaderPreference & -0.2651 & -0.2449 & -0.1975 \tabularnewline
p-value & (0.0012) & (0.0029) & (0.0029) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108642&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.0371[/C][C]0.0636[/C][C]0.0534[/C][/ROW]
[ROW][C]p-value[/C][C](0.6569)[/C][C](0.4459)[/C][C](0.444)[/C][/ROW]
[ROW][C]Gender;PersonalStandards[/C][C]0.0841[/C][C]0.1058[/C][C]0.0895[/C][/ROW]
[ROW][C]p-value[/C][C](0.3128)[/C][C](0.2037)[/C][C](0.2027)[/C][/ROW]
[ROW][C]Gender;ParentalExpectation[/C][C]0.2192[/C][C]0.2638[/C][C]0.2254[/C][/ROW]
[ROW][C]p-value[/C][C](0.0079)[/C][C](0.0013)[/C][C](0.0015)[/C][/ROW]
[ROW][C]Gender;Doubts[/C][C]-0.1312[/C][C]-0.1278[/C][C]-0.1101[/C][/ROW]
[ROW][C]p-value[/C][C](0.1144)[/C][C](0.1242)[/C][C](0.1238)[/C][/ROW]
[ROW][C]Gender;LeaderPreference[/C][C]0.0894[/C][C]0.1025[/C][C]0.0951[/C][/ROW]
[ROW][C]p-value[/C][C](0.283)[/C][C](0.2181)[/C][C](0.217)[/C][/ROW]
[ROW][C]StudyForCareer;PersonalStandards[/C][C]0.2241[/C][C]0.2461[/C][C]0.1863[/C][/ROW]
[ROW][C]p-value[/C][C](0.0065)[/C][C](0.0028)[/C][C](0.0016)[/C][/ROW]
[ROW][C]StudyForCareer;ParentalExpectation[/C][C]0.0942[/C][C]0.0494[/C][C]0.0368[/C][/ROW]
[ROW][C]p-value[/C][C](0.258)[/C][C](0.5537)[/C][C](0.5377)[/C][/ROW]
[ROW][C]StudyForCareer;Doubts[/C][C]-0.1811[/C][C]-0.1663[/C][C]-0.1266[/C][/ROW]
[ROW][C]p-value[/C][C](0.0287)[/C][C](0.0448)[/C][C](0.0353)[/C][/ROW]
[ROW][C]StudyForCareer;LeaderPreference[/C][C]0.3236[/C][C]0.3372[/C][C]0.2698[/C][/ROW]
[ROW][C]p-value[/C][C](1e-04)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]PersonalStandards;ParentalExpectation[/C][C]0.2578[/C][C]0.2151[/C][C]0.1623[/C][/ROW]
[ROW][C]p-value[/C][C](0.0017)[/C][C](0.0091)[/C][C](0.0069)[/C][/ROW]
[ROW][C]PersonalStandards;Doubts[/C][C]-0.0126[/C][C]0.0251[/C][C]0.0195[/C][/ROW]
[ROW][C]p-value[/C][C](0.8805)[/C][C](0.7633)[/C][C](0.7476)[/C][/ROW]
[ROW][C]PersonalStandards;LeaderPreference[/C][C]0.2962[/C][C]0.3551[/C][C]0.2897[/C][/ROW]
[ROW][C]p-value[/C][C](3e-04)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]ParentalExpectation;Doubts[/C][C]0.0227[/C][C]0.023[/C][C]0.0144[/C][/ROW]
[ROW][C]p-value[/C][C](0.7858)[/C][C](0.7827)[/C][C](0.8141)[/C][/ROW]
[ROW][C]ParentalExpectation;LeaderPreference[/C][C]0.1238[/C][C]0.0807[/C][C]0.063[/C][/ROW]
[ROW][C]p-value[/C][C](0.1366)[/C][C](0.3327)[/C][C](0.3384)[/C][/ROW]
[ROW][C]Doubts;LeaderPreference[/C][C]-0.2651[/C][C]-0.2449[/C][C]-0.1975[/C][/ROW]
[ROW][C]p-value[/C][C](0.0012)[/C][C](0.0029)[/C][C](0.0029)[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108642&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=108642&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.03710.06360.0534
p-value(0.6569)(0.4459)(0.444)
Gender;PersonalStandards0.08410.10580.0895
p-value(0.3128)(0.2037)(0.2027)
Gender;ParentalExpectation0.21920.26380.2254
p-value(0.0079)(0.0013)(0.0015)
Gender;Doubts-0.1312-0.1278-0.1101
p-value(0.1144)(0.1242)(0.1238)
Gender;LeaderPreference0.08940.10250.0951
p-value(0.283)(0.2181)(0.217)
StudyForCareer;PersonalStandards0.22410.24610.1863
p-value(0.0065)(0.0028)(0.0016)
StudyForCareer;ParentalExpectation0.09420.04940.0368
p-value(0.258)(0.5537)(0.5377)
StudyForCareer;Doubts-0.1811-0.1663-0.1266
p-value(0.0287)(0.0448)(0.0353)
StudyForCareer;LeaderPreference0.32360.33720.2698
p-value(1e-04)(0)(0)
PersonalStandards;ParentalExpectation0.25780.21510.1623
p-value(0.0017)(0.0091)(0.0069)
PersonalStandards;Doubts-0.01260.02510.0195
p-value(0.8805)(0.7633)(0.7476)
PersonalStandards;LeaderPreference0.29620.35510.2897
p-value(3e-04)(0)(0)
ParentalExpectation;Doubts0.02270.0230.0144
p-value(0.7858)(0.7827)(0.8141)
ParentalExpectation;LeaderPreference0.12380.08070.063
p-value(0.1366)(0.3327)(0.3384)
Doubts;LeaderPreference-0.2651-0.2449-0.1975
p-value(0.0012)(0.0029)(0.0029)



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')