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, 10 Dec 2012 10:42:26 -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/2012/Dec/10/t1355154183vssgzebckcf580e.htm/, Retrieved Tue, 30 Apr 2024 02:03:31 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=198207, Retrieved Tue, 30 Apr 2024 02:03:31 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact102
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]
- RMPD    [Kendall tau Correlation Matrix] [WS10: Correlation...] [2012-12-10 15:42:26] [933e9ab295d38e240eca0a457ef09371] [Current]
Feedback Forum

Post a new message
Dataseries X:
176508	54	559	50	12	60	38
179321	89	967	125	2	108	30
123185	40	270	40	1	49	22
52746	25	143	37	3	0	26
385534	92	1562	63	0	121	25
33170	18	109	44	0	1	18
101645	63	371	88	0	20	11
149061	44	656	66	5	43	26
165446	33	511	57	0	69	25
237213	84	655	74	0	78	38
173326	88	465	49	7	86	44
133131	55	525	52	7	44	30
258873	60	885	88	3	104	40
180083	66	497	36	9	63	34
324799	154	1436	108	0	158	47
230964	53	612	43	4	102	30
236785	119	865	75	3	77	31
135473	41	385	32	0	82	23
202925	61	567	44	7	115	36
215147	58	639	85	0	101	36
344297	75	963	86	1	80	30
153935	33	398	56	5	50	25
132943	40	410	50	7	83	39
174724	92	966	135	0	123	34
174415	100	801	63	0	73	31
225548	112	892	81	5	81	31
223632	73	513	52	0	105	33
124817	40	469	44	0	47	25
221698	45	683	113	0	105	33
210767	60	643	39	3	94	35
170266	62	535	73	4	44	42
260561	75	625	48	1	114	43
84853	31	264	33	4	38	30
294424	77	992	59	2	107	33
101011	34	238	41	0	30	13
215641	46	818	69	0	71	32
325107	99	937	64	0	84	36
7176	17	70	1	0	0	0
167542	66	507	59	2	59	28
106408	30	260	32	1	33	14
96560	76	503	129	0	42	17
265769	146	927	37	2	96	32
269651	67	1269	31	10	106	30
149112	56	537	65	6	56	35
175824	107	910	107	0	57	20
152871	58	532	74	5	59	28
111665	34	345	54	4	39	28
116408	61	918	76	1	34	39
362301	119	1635	715	2	76	34
78800	42	330	57	2	20	26
183167	66	557	66	0	91	39
277965	89	1178	106	8	115	39
150629	44	740	54	3	85	33
168809	66	452	32	0	76	28
24188	24	218	20	0	8	4




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=198207&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'Gwilym Jenkins' @ jenkins.wessa.net







Correlations for all pairs of data series (method=pearson)
time_in_rfcloginscompendium_views_infocompendium_views_prshared_compendiumsblogged_computationscompendiums_reviewed
time_in_rfc10.7060.8570.380.0430.8020.587
logins0.70610.7610.376-0.0440.6190.467
compendium_views_info0.8570.76110.5180.030.70.476
compendium_views_pr0.380.3760.5181-0.0760.140.154
shared_compendiums0.043-0.0440.03-0.07610.0660.344
blogged_computations0.8020.6190.70.140.06610.669
compendiums_reviewed0.5870.4670.4760.1540.3440.6691

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series (method=pearson) \tabularnewline
  & time_in_rfc & logins & compendium_views_info & compendium_views_pr & shared_compendiums & blogged_computations & compendiums_reviewed \tabularnewline
time_in_rfc & 1 & 0.706 & 0.857 & 0.38 & 0.043 & 0.802 & 0.587 \tabularnewline
logins & 0.706 & 1 & 0.761 & 0.376 & -0.044 & 0.619 & 0.467 \tabularnewline
compendium_views_info & 0.857 & 0.761 & 1 & 0.518 & 0.03 & 0.7 & 0.476 \tabularnewline
compendium_views_pr & 0.38 & 0.376 & 0.518 & 1 & -0.076 & 0.14 & 0.154 \tabularnewline
shared_compendiums & 0.043 & -0.044 & 0.03 & -0.076 & 1 & 0.066 & 0.344 \tabularnewline
blogged_computations & 0.802 & 0.619 & 0.7 & 0.14 & 0.066 & 1 & 0.669 \tabularnewline
compendiums_reviewed & 0.587 & 0.467 & 0.476 & 0.154 & 0.344 & 0.669 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=198207&T=1

[TABLE]
[ROW][C]Correlations for all pairs of data series (method=pearson)[/C][/ROW]
[ROW][C] [/C][C]time_in_rfc[/C][C]logins[/C][C]compendium_views_info[/C][C]compendium_views_pr[/C][C]shared_compendiums[/C][C]blogged_computations[/C][C]compendiums_reviewed[/C][/ROW]
[ROW][C]time_in_rfc[/C][C]1[/C][C]0.706[/C][C]0.857[/C][C]0.38[/C][C]0.043[/C][C]0.802[/C][C]0.587[/C][/ROW]
[ROW][C]logins[/C][C]0.706[/C][C]1[/C][C]0.761[/C][C]0.376[/C][C]-0.044[/C][C]0.619[/C][C]0.467[/C][/ROW]
[ROW][C]compendium_views_info[/C][C]0.857[/C][C]0.761[/C][C]1[/C][C]0.518[/C][C]0.03[/C][C]0.7[/C][C]0.476[/C][/ROW]
[ROW][C]compendium_views_pr[/C][C]0.38[/C][C]0.376[/C][C]0.518[/C][C]1[/C][C]-0.076[/C][C]0.14[/C][C]0.154[/C][/ROW]
[ROW][C]shared_compendiums[/C][C]0.043[/C][C]-0.044[/C][C]0.03[/C][C]-0.076[/C][C]1[/C][C]0.066[/C][C]0.344[/C][/ROW]
[ROW][C]blogged_computations[/C][C]0.802[/C][C]0.619[/C][C]0.7[/C][C]0.14[/C][C]0.066[/C][C]1[/C][C]0.669[/C][/ROW]
[ROW][C]compendiums_reviewed[/C][C]0.587[/C][C]0.467[/C][C]0.476[/C][C]0.154[/C][C]0.344[/C][C]0.669[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=198207&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=198207&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)
time_in_rfcloginscompendium_views_infocompendium_views_prshared_compendiumsblogged_computationscompendiums_reviewed
time_in_rfc10.7060.8570.380.0430.8020.587
logins0.70610.7610.376-0.0440.6190.467
compendium_views_info0.8570.76110.5180.030.70.476
compendium_views_pr0.380.3760.5181-0.0760.140.154
shared_compendiums0.043-0.0440.03-0.07610.0660.344
blogged_computations0.8020.6190.70.140.06610.669
compendiums_reviewed0.5870.4670.4760.1540.3440.6691







Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
time_in_rfc;logins0.70630.74180.5639
p-value(0)(0)(0)
time_in_rfc;compendium_views_info0.85730.8380.6808
p-value(0)(0)(0)
time_in_rfc;compendium_views_pr0.38030.37920.2729
p-value(0.0042)(0.0043)(0.0034)
time_in_rfc;shared_compendiums0.04320.06240.0427
p-value(0.754)(0.6509)(0.6677)
time_in_rfc;blogged_computations0.80160.82160.6561
p-value(0)(0)(0)
time_in_rfc;compendiums_reviewed0.58740.57640.4123
p-value(0)(0)(0)
logins;compendium_views_info0.76110.77270.5707
p-value(0)(0)(0)
logins;compendium_views_pr0.37640.54390.4007
p-value(0.0046)(0)(0)
logins;shared_compendiums-0.0437-0.034-0.0196
p-value(0.7516)(0.8052)(0.8447)
logins;blogged_computations0.61890.60760.4518
p-value(0)(0)(0)
logins;compendiums_reviewed0.46660.46210.3466
p-value(3e-04)(4e-04)(3e-04)
compendium_views_info;compendium_views_pr0.51840.60040.4502
p-value(1e-04)(0)(0)
compendium_views_info;shared_compendiums0.03040.04940.0322
p-value(0.8257)(0.7205)(0.7461)
compendium_views_info;blogged_computations0.69960.71350.5386
p-value(0)(0)(0)
compendium_views_info;compendiums_reviewed0.47580.51230.3533
p-value(2e-04)(1e-04)(2e-04)
compendium_views_pr;shared_compendiums-0.0762-0.151-0.1197
p-value(0.5804)(0.2712)(0.2309)
compendium_views_pr;blogged_computations0.13950.27440.1941
p-value(0.3097)(0.0426)(0.0378)
compendium_views_pr;compendiums_reviewed0.15350.31160.2255
p-value(0.2631)(0.0206)(0.0173)
shared_compendiums;blogged_computations0.06550.05250.0488
p-value(0.6345)(0.7032)(0.6244)
shared_compendiums;compendiums_reviewed0.3440.32040.2418
p-value(0.0101)(0.0171)(0.0168)
blogged_computations;compendiums_reviewed0.66920.60290.4469
p-value(0)(0)(0)

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series with p-values \tabularnewline
pair & Pearson r & Spearman rho & Kendall tau \tabularnewline
time_in_rfc;logins & 0.7063 & 0.7418 & 0.5639 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
time_in_rfc;compendium_views_info & 0.8573 & 0.838 & 0.6808 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
time_in_rfc;compendium_views_pr & 0.3803 & 0.3792 & 0.2729 \tabularnewline
p-value & (0.0042) & (0.0043) & (0.0034) \tabularnewline
time_in_rfc;shared_compendiums & 0.0432 & 0.0624 & 0.0427 \tabularnewline
p-value & (0.754) & (0.6509) & (0.6677) \tabularnewline
time_in_rfc;blogged_computations & 0.8016 & 0.8216 & 0.6561 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
time_in_rfc;compendiums_reviewed & 0.5874 & 0.5764 & 0.4123 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
logins;compendium_views_info & 0.7611 & 0.7727 & 0.5707 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
logins;compendium_views_pr & 0.3764 & 0.5439 & 0.4007 \tabularnewline
p-value & (0.0046) & (0) & (0) \tabularnewline
logins;shared_compendiums & -0.0437 & -0.034 & -0.0196 \tabularnewline
p-value & (0.7516) & (0.8052) & (0.8447) \tabularnewline
logins;blogged_computations & 0.6189 & 0.6076 & 0.4518 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
logins;compendiums_reviewed & 0.4666 & 0.4621 & 0.3466 \tabularnewline
p-value & (3e-04) & (4e-04) & (3e-04) \tabularnewline
compendium_views_info;compendium_views_pr & 0.5184 & 0.6004 & 0.4502 \tabularnewline
p-value & (1e-04) & (0) & (0) \tabularnewline
compendium_views_info;shared_compendiums & 0.0304 & 0.0494 & 0.0322 \tabularnewline
p-value & (0.8257) & (0.7205) & (0.7461) \tabularnewline
compendium_views_info;blogged_computations & 0.6996 & 0.7135 & 0.5386 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
compendium_views_info;compendiums_reviewed & 0.4758 & 0.5123 & 0.3533 \tabularnewline
p-value & (2e-04) & (1e-04) & (2e-04) \tabularnewline
compendium_views_pr;shared_compendiums & -0.0762 & -0.151 & -0.1197 \tabularnewline
p-value & (0.5804) & (0.2712) & (0.2309) \tabularnewline
compendium_views_pr;blogged_computations & 0.1395 & 0.2744 & 0.1941 \tabularnewline
p-value & (0.3097) & (0.0426) & (0.0378) \tabularnewline
compendium_views_pr;compendiums_reviewed & 0.1535 & 0.3116 & 0.2255 \tabularnewline
p-value & (0.2631) & (0.0206) & (0.0173) \tabularnewline
shared_compendiums;blogged_computations & 0.0655 & 0.0525 & 0.0488 \tabularnewline
p-value & (0.6345) & (0.7032) & (0.6244) \tabularnewline
shared_compendiums;compendiums_reviewed & 0.344 & 0.3204 & 0.2418 \tabularnewline
p-value & (0.0101) & (0.0171) & (0.0168) \tabularnewline
blogged_computations;compendiums_reviewed & 0.6692 & 0.6029 & 0.4469 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=198207&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]time_in_rfc;logins[/C][C]0.7063[/C][C]0.7418[/C][C]0.5639[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]time_in_rfc;compendium_views_info[/C][C]0.8573[/C][C]0.838[/C][C]0.6808[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]time_in_rfc;compendium_views_pr[/C][C]0.3803[/C][C]0.3792[/C][C]0.2729[/C][/ROW]
[ROW][C]p-value[/C][C](0.0042)[/C][C](0.0043)[/C][C](0.0034)[/C][/ROW]
[ROW][C]time_in_rfc;shared_compendiums[/C][C]0.0432[/C][C]0.0624[/C][C]0.0427[/C][/ROW]
[ROW][C]p-value[/C][C](0.754)[/C][C](0.6509)[/C][C](0.6677)[/C][/ROW]
[ROW][C]time_in_rfc;blogged_computations[/C][C]0.8016[/C][C]0.8216[/C][C]0.6561[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]time_in_rfc;compendiums_reviewed[/C][C]0.5874[/C][C]0.5764[/C][C]0.4123[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]logins;compendium_views_info[/C][C]0.7611[/C][C]0.7727[/C][C]0.5707[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]logins;compendium_views_pr[/C][C]0.3764[/C][C]0.5439[/C][C]0.4007[/C][/ROW]
[ROW][C]p-value[/C][C](0.0046)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]logins;shared_compendiums[/C][C]-0.0437[/C][C]-0.034[/C][C]-0.0196[/C][/ROW]
[ROW][C]p-value[/C][C](0.7516)[/C][C](0.8052)[/C][C](0.8447)[/C][/ROW]
[ROW][C]logins;blogged_computations[/C][C]0.6189[/C][C]0.6076[/C][C]0.4518[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]logins;compendiums_reviewed[/C][C]0.4666[/C][C]0.4621[/C][C]0.3466[/C][/ROW]
[ROW][C]p-value[/C][C](3e-04)[/C][C](4e-04)[/C][C](3e-04)[/C][/ROW]
[ROW][C]compendium_views_info;compendium_views_pr[/C][C]0.5184[/C][C]0.6004[/C][C]0.4502[/C][/ROW]
[ROW][C]p-value[/C][C](1e-04)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]compendium_views_info;shared_compendiums[/C][C]0.0304[/C][C]0.0494[/C][C]0.0322[/C][/ROW]
[ROW][C]p-value[/C][C](0.8257)[/C][C](0.7205)[/C][C](0.7461)[/C][/ROW]
[ROW][C]compendium_views_info;blogged_computations[/C][C]0.6996[/C][C]0.7135[/C][C]0.5386[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]compendium_views_info;compendiums_reviewed[/C][C]0.4758[/C][C]0.5123[/C][C]0.3533[/C][/ROW]
[ROW][C]p-value[/C][C](2e-04)[/C][C](1e-04)[/C][C](2e-04)[/C][/ROW]
[ROW][C]compendium_views_pr;shared_compendiums[/C][C]-0.0762[/C][C]-0.151[/C][C]-0.1197[/C][/ROW]
[ROW][C]p-value[/C][C](0.5804)[/C][C](0.2712)[/C][C](0.2309)[/C][/ROW]
[ROW][C]compendium_views_pr;blogged_computations[/C][C]0.1395[/C][C]0.2744[/C][C]0.1941[/C][/ROW]
[ROW][C]p-value[/C][C](0.3097)[/C][C](0.0426)[/C][C](0.0378)[/C][/ROW]
[ROW][C]compendium_views_pr;compendiums_reviewed[/C][C]0.1535[/C][C]0.3116[/C][C]0.2255[/C][/ROW]
[ROW][C]p-value[/C][C](0.2631)[/C][C](0.0206)[/C][C](0.0173)[/C][/ROW]
[ROW][C]shared_compendiums;blogged_computations[/C][C]0.0655[/C][C]0.0525[/C][C]0.0488[/C][/ROW]
[ROW][C]p-value[/C][C](0.6345)[/C][C](0.7032)[/C][C](0.6244)[/C][/ROW]
[ROW][C]shared_compendiums;compendiums_reviewed[/C][C]0.344[/C][C]0.3204[/C][C]0.2418[/C][/ROW]
[ROW][C]p-value[/C][C](0.0101)[/C][C](0.0171)[/C][C](0.0168)[/C][/ROW]
[ROW][C]blogged_computations;compendiums_reviewed[/C][C]0.6692[/C][C]0.6029[/C][C]0.4469[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=198207&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=198207&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
time_in_rfc;logins0.70630.74180.5639
p-value(0)(0)(0)
time_in_rfc;compendium_views_info0.85730.8380.6808
p-value(0)(0)(0)
time_in_rfc;compendium_views_pr0.38030.37920.2729
p-value(0.0042)(0.0043)(0.0034)
time_in_rfc;shared_compendiums0.04320.06240.0427
p-value(0.754)(0.6509)(0.6677)
time_in_rfc;blogged_computations0.80160.82160.6561
p-value(0)(0)(0)
time_in_rfc;compendiums_reviewed0.58740.57640.4123
p-value(0)(0)(0)
logins;compendium_views_info0.76110.77270.5707
p-value(0)(0)(0)
logins;compendium_views_pr0.37640.54390.4007
p-value(0.0046)(0)(0)
logins;shared_compendiums-0.0437-0.034-0.0196
p-value(0.7516)(0.8052)(0.8447)
logins;blogged_computations0.61890.60760.4518
p-value(0)(0)(0)
logins;compendiums_reviewed0.46660.46210.3466
p-value(3e-04)(4e-04)(3e-04)
compendium_views_info;compendium_views_pr0.51840.60040.4502
p-value(1e-04)(0)(0)
compendium_views_info;shared_compendiums0.03040.04940.0322
p-value(0.8257)(0.7205)(0.7461)
compendium_views_info;blogged_computations0.69960.71350.5386
p-value(0)(0)(0)
compendium_views_info;compendiums_reviewed0.47580.51230.3533
p-value(2e-04)(1e-04)(2e-04)
compendium_views_pr;shared_compendiums-0.0762-0.151-0.1197
p-value(0.5804)(0.2712)(0.2309)
compendium_views_pr;blogged_computations0.13950.27440.1941
p-value(0.3097)(0.0426)(0.0378)
compendium_views_pr;compendiums_reviewed0.15350.31160.2255
p-value(0.2631)(0.0206)(0.0173)
shared_compendiums;blogged_computations0.06550.05250.0488
p-value(0.6345)(0.7032)(0.6244)
shared_compendiums;compendiums_reviewed0.3440.32040.2418
p-value(0.0101)(0.0171)(0.0168)
blogged_computations;compendiums_reviewed0.66920.60290.4469
p-value(0)(0)(0)



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