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:53:39 -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/t13551548560qqhpeez1zdsfea.htm/, Retrieved Fri, 19 Apr 2024 05:35:23 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=198214, Retrieved Fri, 19 Apr 2024 05:35:23 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact71
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 18:04:16] [b98453cac15ba1066b407e146608df68]
- RMPD    [Kendall tau Correlation Matrix] [WS10: Kendal Tau ...] [2012-12-10 15:53:39] [933e9ab295d38e240eca0a457ef09371] [Current]
Feedback Forum

Post a new message
Dataseries X:
210907	56	396	81	3	79	30
120982	56	297	55	4	58	28
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'George Udny Yule' @ yule.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 & 'George Udny Yule' @ yule.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=198214&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' @ yule.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=198214&T=0

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







Correlations for all pairs of data series (method=kendall)
time_in_rfcloginscompendium_views_infocompendium_views_prshared_compendiumsblogged_computationscompendiums_reviewed
time_in_rfc10.5490.6650.2770.0340.6540.418
logins0.54910.5670.395-0.030.450.355
compendium_views_info0.6650.56710.4260.020.5290.367
compendium_views_pr0.2770.3950.4261-0.1190.1970.217
shared_compendiums0.034-0.030.02-0.11910.0410.229
blogged_computations0.6540.450.5290.1970.04110.456
compendiums_reviewed0.4180.3550.3670.2170.2290.4561

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series (method=kendall) \tabularnewline
  & time_in_rfc & logins & compendium_views_info & compendium_views_pr & shared_compendiums & blogged_computations & compendiums_reviewed \tabularnewline
time_in_rfc & 1 & 0.549 & 0.665 & 0.277 & 0.034 & 0.654 & 0.418 \tabularnewline
logins & 0.549 & 1 & 0.567 & 0.395 & -0.03 & 0.45 & 0.355 \tabularnewline
compendium_views_info & 0.665 & 0.567 & 1 & 0.426 & 0.02 & 0.529 & 0.367 \tabularnewline
compendium_views_pr & 0.277 & 0.395 & 0.426 & 1 & -0.119 & 0.197 & 0.217 \tabularnewline
shared_compendiums & 0.034 & -0.03 & 0.02 & -0.119 & 1 & 0.041 & 0.229 \tabularnewline
blogged_computations & 0.654 & 0.45 & 0.529 & 0.197 & 0.041 & 1 & 0.456 \tabularnewline
compendiums_reviewed & 0.418 & 0.355 & 0.367 & 0.217 & 0.229 & 0.456 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=198214&T=1

[TABLE]
[ROW][C]Correlations for all pairs of data series (method=kendall)[/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.549[/C][C]0.665[/C][C]0.277[/C][C]0.034[/C][C]0.654[/C][C]0.418[/C][/ROW]
[ROW][C]logins[/C][C]0.549[/C][C]1[/C][C]0.567[/C][C]0.395[/C][C]-0.03[/C][C]0.45[/C][C]0.355[/C][/ROW]
[ROW][C]compendium_views_info[/C][C]0.665[/C][C]0.567[/C][C]1[/C][C]0.426[/C][C]0.02[/C][C]0.529[/C][C]0.367[/C][/ROW]
[ROW][C]compendium_views_pr[/C][C]0.277[/C][C]0.395[/C][C]0.426[/C][C]1[/C][C]-0.119[/C][C]0.197[/C][C]0.217[/C][/ROW]
[ROW][C]shared_compendiums[/C][C]0.034[/C][C]-0.03[/C][C]0.02[/C][C]-0.119[/C][C]1[/C][C]0.041[/C][C]0.229[/C][/ROW]
[ROW][C]blogged_computations[/C][C]0.654[/C][C]0.45[/C][C]0.529[/C][C]0.197[/C][C]0.041[/C][C]1[/C][C]0.456[/C][/ROW]
[ROW][C]compendiums_reviewed[/C][C]0.418[/C][C]0.355[/C][C]0.367[/C][C]0.217[/C][C]0.229[/C][C]0.456[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=198214&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=198214&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)
time_in_rfcloginscompendium_views_infocompendium_views_prshared_compendiumsblogged_computationscompendiums_reviewed
time_in_rfc10.5490.6650.2770.0340.6540.418
logins0.54910.5670.395-0.030.450.355
compendium_views_info0.6650.56710.4260.020.5290.367
compendium_views_pr0.2770.3950.4261-0.1190.1970.217
shared_compendiums0.034-0.030.02-0.11910.0410.229
blogged_computations0.6540.450.5290.1970.04110.456
compendiums_reviewed0.4180.3550.3670.2170.2290.4561







Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
time_in_rfc;logins0.7030.72950.5489
p-value(0)(0)(0)
time_in_rfc;compendium_views_info0.84910.82510.6654
p-value(0)(0)(0)
time_in_rfc;compendium_views_pr0.38110.38410.2765
p-value(0.0034)(0.0032)(0.0025)
time_in_rfc;shared_compendiums0.03750.04760.034
p-value(0.7816)(0.7249)(0.7273)
time_in_rfc;blogged_computations0.80170.82180.6537
p-value(0)(0)(0)
time_in_rfc;compendiums_reviewed0.58630.58180.4182
p-value(0)(0)(0)
logins;compendium_views_info0.75830.7670.5666
p-value(0)(0)(0)
logins;compendium_views_pr0.37640.53350.3952
p-value(0.0039)(0)(0)
logins;shared_compendiums-0.0466-0.0451-0.03
p-value(0.7305)(0.7393)(0.7594)
logins;blogged_computations0.61740.60360.4496
p-value(0)(0)(0)
logins;compendiums_reviewed0.46650.47370.3555
p-value(3e-04)(2e-04)(1e-04)
compendium_views_info;compendium_views_pr0.51380.57470.4265
p-value(0)(0)(0)
compendium_views_info;shared_compendiums0.01950.02440.0201
p-value(0.8853)(0.8573)(0.8365)
compendium_views_info;blogged_computations0.69180.70560.5294
p-value(0)(0)(0)
compendium_views_info;compendiums_reviewed0.47170.53180.3671
p-value(2e-04)(0)(1e-04)
compendium_views_pr;shared_compendiums-0.0776-0.148-0.1185
p-value(0.5663)(0.2721)(0.2261)
compendium_views_pr;blogged_computations0.14090.27240.197
p-value(0.2959)(0.0403)(0.0316)
compendium_views_pr;compendiums_reviewed0.15410.30130.2167
p-value(0.2523)(0.0227)(0.02)
shared_compendiums;blogged_computations0.06290.0450.041
p-value(0.6419)(0.7394)(0.6745)
shared_compendiums;compendiums_reviewed0.34180.3060.2293
p-value(0.0093)(0.0206)(0.0208)
blogged_computations;compendiums_reviewed0.66910.60860.4557
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.703 & 0.7295 & 0.5489 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
time_in_rfc;compendium_views_info & 0.8491 & 0.8251 & 0.6654 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
time_in_rfc;compendium_views_pr & 0.3811 & 0.3841 & 0.2765 \tabularnewline
p-value & (0.0034) & (0.0032) & (0.0025) \tabularnewline
time_in_rfc;shared_compendiums & 0.0375 & 0.0476 & 0.034 \tabularnewline
p-value & (0.7816) & (0.7249) & (0.7273) \tabularnewline
time_in_rfc;blogged_computations & 0.8017 & 0.8218 & 0.6537 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
time_in_rfc;compendiums_reviewed & 0.5863 & 0.5818 & 0.4182 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
logins;compendium_views_info & 0.7583 & 0.767 & 0.5666 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
logins;compendium_views_pr & 0.3764 & 0.5335 & 0.3952 \tabularnewline
p-value & (0.0039) & (0) & (0) \tabularnewline
logins;shared_compendiums & -0.0466 & -0.0451 & -0.03 \tabularnewline
p-value & (0.7305) & (0.7393) & (0.7594) \tabularnewline
logins;blogged_computations & 0.6174 & 0.6036 & 0.4496 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
logins;compendiums_reviewed & 0.4665 & 0.4737 & 0.3555 \tabularnewline
p-value & (3e-04) & (2e-04) & (1e-04) \tabularnewline
compendium_views_info;compendium_views_pr & 0.5138 & 0.5747 & 0.4265 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
compendium_views_info;shared_compendiums & 0.0195 & 0.0244 & 0.0201 \tabularnewline
p-value & (0.8853) & (0.8573) & (0.8365) \tabularnewline
compendium_views_info;blogged_computations & 0.6918 & 0.7056 & 0.5294 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
compendium_views_info;compendiums_reviewed & 0.4717 & 0.5318 & 0.3671 \tabularnewline
p-value & (2e-04) & (0) & (1e-04) \tabularnewline
compendium_views_pr;shared_compendiums & -0.0776 & -0.148 & -0.1185 \tabularnewline
p-value & (0.5663) & (0.2721) & (0.2261) \tabularnewline
compendium_views_pr;blogged_computations & 0.1409 & 0.2724 & 0.197 \tabularnewline
p-value & (0.2959) & (0.0403) & (0.0316) \tabularnewline
compendium_views_pr;compendiums_reviewed & 0.1541 & 0.3013 & 0.2167 \tabularnewline
p-value & (0.2523) & (0.0227) & (0.02) \tabularnewline
shared_compendiums;blogged_computations & 0.0629 & 0.045 & 0.041 \tabularnewline
p-value & (0.6419) & (0.7394) & (0.6745) \tabularnewline
shared_compendiums;compendiums_reviewed & 0.3418 & 0.306 & 0.2293 \tabularnewline
p-value & (0.0093) & (0.0206) & (0.0208) \tabularnewline
blogged_computations;compendiums_reviewed & 0.6691 & 0.6086 & 0.4557 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=198214&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.703[/C][C]0.7295[/C][C]0.5489[/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.8491[/C][C]0.8251[/C][C]0.6654[/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.3811[/C][C]0.3841[/C][C]0.2765[/C][/ROW]
[ROW][C]p-value[/C][C](0.0034)[/C][C](0.0032)[/C][C](0.0025)[/C][/ROW]
[ROW][C]time_in_rfc;shared_compendiums[/C][C]0.0375[/C][C]0.0476[/C][C]0.034[/C][/ROW]
[ROW][C]p-value[/C][C](0.7816)[/C][C](0.7249)[/C][C](0.7273)[/C][/ROW]
[ROW][C]time_in_rfc;blogged_computations[/C][C]0.8017[/C][C]0.8218[/C][C]0.6537[/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.5863[/C][C]0.5818[/C][C]0.4182[/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.7583[/C][C]0.767[/C][C]0.5666[/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.5335[/C][C]0.3952[/C][/ROW]
[ROW][C]p-value[/C][C](0.0039)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]logins;shared_compendiums[/C][C]-0.0466[/C][C]-0.0451[/C][C]-0.03[/C][/ROW]
[ROW][C]p-value[/C][C](0.7305)[/C][C](0.7393)[/C][C](0.7594)[/C][/ROW]
[ROW][C]logins;blogged_computations[/C][C]0.6174[/C][C]0.6036[/C][C]0.4496[/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.4665[/C][C]0.4737[/C][C]0.3555[/C][/ROW]
[ROW][C]p-value[/C][C](3e-04)[/C][C](2e-04)[/C][C](1e-04)[/C][/ROW]
[ROW][C]compendium_views_info;compendium_views_pr[/C][C]0.5138[/C][C]0.5747[/C][C]0.4265[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]compendium_views_info;shared_compendiums[/C][C]0.0195[/C][C]0.0244[/C][C]0.0201[/C][/ROW]
[ROW][C]p-value[/C][C](0.8853)[/C][C](0.8573)[/C][C](0.8365)[/C][/ROW]
[ROW][C]compendium_views_info;blogged_computations[/C][C]0.6918[/C][C]0.7056[/C][C]0.5294[/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.4717[/C][C]0.5318[/C][C]0.3671[/C][/ROW]
[ROW][C]p-value[/C][C](2e-04)[/C][C](0)[/C][C](1e-04)[/C][/ROW]
[ROW][C]compendium_views_pr;shared_compendiums[/C][C]-0.0776[/C][C]-0.148[/C][C]-0.1185[/C][/ROW]
[ROW][C]p-value[/C][C](0.5663)[/C][C](0.2721)[/C][C](0.2261)[/C][/ROW]
[ROW][C]compendium_views_pr;blogged_computations[/C][C]0.1409[/C][C]0.2724[/C][C]0.197[/C][/ROW]
[ROW][C]p-value[/C][C](0.2959)[/C][C](0.0403)[/C][C](0.0316)[/C][/ROW]
[ROW][C]compendium_views_pr;compendiums_reviewed[/C][C]0.1541[/C][C]0.3013[/C][C]0.2167[/C][/ROW]
[ROW][C]p-value[/C][C](0.2523)[/C][C](0.0227)[/C][C](0.02)[/C][/ROW]
[ROW][C]shared_compendiums;blogged_computations[/C][C]0.0629[/C][C]0.045[/C][C]0.041[/C][/ROW]
[ROW][C]p-value[/C][C](0.6419)[/C][C](0.7394)[/C][C](0.6745)[/C][/ROW]
[ROW][C]shared_compendiums;compendiums_reviewed[/C][C]0.3418[/C][C]0.306[/C][C]0.2293[/C][/ROW]
[ROW][C]p-value[/C][C](0.0093)[/C][C](0.0206)[/C][C](0.0208)[/C][/ROW]
[ROW][C]blogged_computations;compendiums_reviewed[/C][C]0.6691[/C][C]0.6086[/C][C]0.4557[/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=198214&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=198214&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.7030.72950.5489
p-value(0)(0)(0)
time_in_rfc;compendium_views_info0.84910.82510.6654
p-value(0)(0)(0)
time_in_rfc;compendium_views_pr0.38110.38410.2765
p-value(0.0034)(0.0032)(0.0025)
time_in_rfc;shared_compendiums0.03750.04760.034
p-value(0.7816)(0.7249)(0.7273)
time_in_rfc;blogged_computations0.80170.82180.6537
p-value(0)(0)(0)
time_in_rfc;compendiums_reviewed0.58630.58180.4182
p-value(0)(0)(0)
logins;compendium_views_info0.75830.7670.5666
p-value(0)(0)(0)
logins;compendium_views_pr0.37640.53350.3952
p-value(0.0039)(0)(0)
logins;shared_compendiums-0.0466-0.0451-0.03
p-value(0.7305)(0.7393)(0.7594)
logins;blogged_computations0.61740.60360.4496
p-value(0)(0)(0)
logins;compendiums_reviewed0.46650.47370.3555
p-value(3e-04)(2e-04)(1e-04)
compendium_views_info;compendium_views_pr0.51380.57470.4265
p-value(0)(0)(0)
compendium_views_info;shared_compendiums0.01950.02440.0201
p-value(0.8853)(0.8573)(0.8365)
compendium_views_info;blogged_computations0.69180.70560.5294
p-value(0)(0)(0)
compendium_views_info;compendiums_reviewed0.47170.53180.3671
p-value(2e-04)(0)(1e-04)
compendium_views_pr;shared_compendiums-0.0776-0.148-0.1185
p-value(0.5663)(0.2721)(0.2261)
compendium_views_pr;blogged_computations0.14090.27240.197
p-value(0.2959)(0.0403)(0.0316)
compendium_views_pr;compendiums_reviewed0.15410.30130.2167
p-value(0.2523)(0.0227)(0.02)
shared_compendiums;blogged_computations0.06290.0450.041
p-value(0.6419)(0.7394)(0.6745)
shared_compendiums;compendiums_reviewed0.34180.3060.2293
p-value(0.0093)(0.0206)(0.0208)
blogged_computations;compendiums_reviewed0.66910.60860.4557
p-value(0)(0)(0)



Parameters (Session):
par1 = kendall ;
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')