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 computationThu, 08 Dec 2011 16:35:02 -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/08/t1323380119kgwuxnpvc6n6lz0.htm/, Retrieved Fri, 03 May 2024 11:19:54 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=153149, Retrieved Fri, 03 May 2024 11:19:54 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact80
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] [WS 10 - Pearson C...] [2011-12-08 21:35:02] [a0aae37dd27f4b65e222573f53b5a13b] [Current]
Feedback Forum

Post a new message
Dataseries X:
1418	210907	79	30	146283	1	2
2172	179321	108	30	96933	1	4
1583	149061	43	26	95757	1	0
1764	237213	78	38	143983	1	0
1495	173326	86	44	75851	1	-4
1373	133131	44	30	59238	1	4
2187	258873	104	40	93163	1	4
4041	324799	158	47	151511	1	0
1706	230964	102	30	136368	1	-1
2152	236785	77	31	112642	1	0
2242	344297	80	30	127766	1	1
2515	174724	123	34	85646	1	0
2147	174415	73	31	98579	1	3
1638	223632	105	33	131741	1	-1
2452	294424	107	33	171975	1	4
2662	325107	84	36	159676	1	3
865	106408	33	14	58391	1	1
1793	96560	42	17	31580	0	0
2527	265769	96	32	136815	1	-2
2747	269651	106	30	120642	1	-3
1324	149112	56	35	69107	1	-4
1383	152871	59	28	108016	1	2
4308	362301	76	34	79336	1	2
1831	183167	91	39	93176	1	-4
3373	277965	115	39	161632	1	3
2352	218946	76	29	102996	1	2
2144	244052	101	44	160604	1	2
4691	341570	94	21	158051	0	0
2694	233328	92	28	162647	1	5
1769	206161	75	28	60622	1	-2
3148	311473	128	38	179566	1	0
1954	207176	56	32	96144	1	-2
1226	196553	41	29	129847	1	-3
1496	143246	67	27	71180	1	2
1943	182192	77	40	86767	1	2
1762	194979	66	40	93487	1	2
1403	167488	69	28	82981	1	0
1425	143756	105	34	73815	1	4
1857	275541	116	33	94552	1	4
1420	152299	62	33	67808	1	2
1644	193339	100	35	106175	1	2
1054	130585	67	29	76669	1	-4
937	112611	46	20	57283	0	3
2547	148446	135	37	72413	1	3
1626	182079	124	33	96971	1	2
1964	243060	58	29	120336	1	-1
1381	162765	68	28	93913	1	-3
1290	85574	37	21	32036	0	0
1982	225060	93	41	102255	1	1
1590	133328	56	20	63506	0	-3
1281	100750	83	30	68370	1	3
1272	101523	59	22	50517	0	0
1944	243511	133	42	103950	1	0
1605	152474	106	32	84396	1	0
1386	132487	71	36	55515	1	3
2395	317394	116	31	209056	1	-3
2699	244749	98	33	142775	1	0
1606	184510	64	40	68847	1	-4
1204	128423	32	38	20112	1	2
1138	97839	25	24	61023	1	-1
1111	172494	46	43	112494	1	3
2186	229242	63	31	78876	1	2
3604	351619	95	40	170745	1	5
3261	324598	113	37	122037	1	2
1641	195838	111	31	112283	1	-2
2312	254488	120	39	120691	1	0
2201	199476	87	32	122422	1	3
961	92499	25	18	25899	0	-2
1900	224330	131	39	139296	1	0
1645	181633	47	30	89455	1	6
2429	271856	109	37	147866	1	-3
872	95227	37	32	14336	1	3
1018	98146	15	17	30059	0	0
1403	118612	54	12	41907	0	-2
616	65475	16	13	35885	0	1
1232	108446	22	17	55764	0	0
1255	121848	37	17	35619	0	2
995	76302	29	20	40557	0	2
2048	98104	55	17	44197	0	-3
301	30989	5	17	4103	0	-2
628	31774	0	17	4694	0	1
1597	150580	27	22	62991	0	-4
717	54157	37	15	24261	0	0
652	59382	29	12	21425	0	1
733	84105	17	17	27184	0	0




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=153149&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=153149&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=153149&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=pearson)
PageviewsTijd_RFCBlogsReviewsCompendium_urenPopTestscore
Pageviews10.8570.6810.4870.6940.3650.142
Tijd_RFC0.85710.7230.6350.8610.5760.111
Blogs0.6810.72310.7060.7280.6150.111
Reviews0.4870.6350.70610.5950.8020.156
Compendium_uren0.6940.8610.7280.59510.5960.085
Pop0.3650.5760.6150.8020.59610.188
Testscore0.1420.1110.1110.1560.0850.1881

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series (method=pearson) \tabularnewline
  & Pageviews & Tijd_RFC & Blogs & Reviews & Compendium_uren & Pop & Testscore \tabularnewline
Pageviews & 1 & 0.857 & 0.681 & 0.487 & 0.694 & 0.365 & 0.142 \tabularnewline
Tijd_RFC & 0.857 & 1 & 0.723 & 0.635 & 0.861 & 0.576 & 0.111 \tabularnewline
Blogs & 0.681 & 0.723 & 1 & 0.706 & 0.728 & 0.615 & 0.111 \tabularnewline
Reviews & 0.487 & 0.635 & 0.706 & 1 & 0.595 & 0.802 & 0.156 \tabularnewline
Compendium_uren & 0.694 & 0.861 & 0.728 & 0.595 & 1 & 0.596 & 0.085 \tabularnewline
Pop & 0.365 & 0.576 & 0.615 & 0.802 & 0.596 & 1 & 0.188 \tabularnewline
Testscore & 0.142 & 0.111 & 0.111 & 0.156 & 0.085 & 0.188 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=153149&T=1

[TABLE]
[ROW][C]Correlations for all pairs of data series (method=pearson)[/C][/ROW]
[ROW][C] [/C][C]Pageviews[/C][C]Tijd_RFC[/C][C]Blogs[/C][C]Reviews[/C][C]Compendium_uren[/C][C]Pop[/C][C]Testscore[/C][/ROW]
[ROW][C]Pageviews[/C][C]1[/C][C]0.857[/C][C]0.681[/C][C]0.487[/C][C]0.694[/C][C]0.365[/C][C]0.142[/C][/ROW]
[ROW][C]Tijd_RFC[/C][C]0.857[/C][C]1[/C][C]0.723[/C][C]0.635[/C][C]0.861[/C][C]0.576[/C][C]0.111[/C][/ROW]
[ROW][C]Blogs[/C][C]0.681[/C][C]0.723[/C][C]1[/C][C]0.706[/C][C]0.728[/C][C]0.615[/C][C]0.111[/C][/ROW]
[ROW][C]Reviews[/C][C]0.487[/C][C]0.635[/C][C]0.706[/C][C]1[/C][C]0.595[/C][C]0.802[/C][C]0.156[/C][/ROW]
[ROW][C]Compendium_uren[/C][C]0.694[/C][C]0.861[/C][C]0.728[/C][C]0.595[/C][C]1[/C][C]0.596[/C][C]0.085[/C][/ROW]
[ROW][C]Pop[/C][C]0.365[/C][C]0.576[/C][C]0.615[/C][C]0.802[/C][C]0.596[/C][C]1[/C][C]0.188[/C][/ROW]
[ROW][C]Testscore[/C][C]0.142[/C][C]0.111[/C][C]0.111[/C][C]0.156[/C][C]0.085[/C][C]0.188[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=153149&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=153149&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)
PageviewsTijd_RFCBlogsReviewsCompendium_urenPopTestscore
Pageviews10.8570.6810.4870.6940.3650.142
Tijd_RFC0.85710.7230.6350.8610.5760.111
Blogs0.6810.72310.7060.7280.6150.111
Reviews0.4870.6350.70610.5950.8020.156
Compendium_uren0.6940.8610.7280.59510.5960.085
Pop0.3650.5760.6150.8020.59610.188
Testscore0.1420.1110.1110.1560.0850.1881







Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
Pageviews;Tijd_RFC0.85680.86240.704
p-value(0)(0)(0)
Pageviews;Blogs0.6810.76140.568
p-value(0)(0)(0)
Pageviews;Reviews0.48690.5390.3945
p-value(0)(0)(0)
Pageviews;Compendium_uren0.69410.75130.5729
p-value(0)(0)(0)
Pageviews;Pop0.36530.47990.3942
p-value(6e-04)(0)(0)
Pageviews;Testscore0.14160.12320.0887
p-value(0.1961)(0.2613)(0.2552)
Tijd_RFC;Blogs0.72320.74880.5631
p-value(0)(0)(0)
Tijd_RFC;Reviews0.63520.62930.453
p-value(0)(0)(0)
Tijd_RFC;Compendium_uren0.86070.88720.7221
p-value(0)(0)(0)
Tijd_RFC;Pop0.57570.61380.5041
p-value(0)(0)(0)
Tijd_RFC;Testscore0.11080.08340.062
p-value(0.3129)(0.4478)(0.4262)
Blogs;Reviews0.70610.67750.5078
p-value(0)(0)(0)
Blogs;Compendium_uren0.72780.74180.5496
p-value(0)(0)(0)
Blogs;Pop0.61550.61610.5073
p-value(0)(0)(0)
Blogs;Testscore0.11080.12640.0946
p-value(0.3125)(0.2492)(0.2258)
Reviews;Compendium_uren0.59530.55470.4039
p-value(0)(0)(0)
Reviews;Pop0.80180.71670.5996
p-value(0)(0)(0)
Reviews;Testscore0.15610.19050.1253
p-value(0.1538)(0.0808)(0.1143)
Compendium_uren;Pop0.59560.61830.5078
p-value(0)(0)(0)
Compendium_uren;Testscore0.08480.08270.0578
p-value(0.4404)(0.4516)(0.4581)
Pop;Testscore0.1880.20420.1772
p-value(0.0849)(0.0609)(0.0613)

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series with p-values \tabularnewline
pair & Pearson r & Spearman rho & Kendall tau \tabularnewline
Pageviews;Tijd_RFC & 0.8568 & 0.8624 & 0.704 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
Pageviews;Blogs & 0.681 & 0.7614 & 0.568 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
Pageviews;Reviews & 0.4869 & 0.539 & 0.3945 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
Pageviews;Compendium_uren & 0.6941 & 0.7513 & 0.5729 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
Pageviews;Pop & 0.3653 & 0.4799 & 0.3942 \tabularnewline
p-value & (6e-04) & (0) & (0) \tabularnewline
Pageviews;Testscore & 0.1416 & 0.1232 & 0.0887 \tabularnewline
p-value & (0.1961) & (0.2613) & (0.2552) \tabularnewline
Tijd_RFC;Blogs & 0.7232 & 0.7488 & 0.5631 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
Tijd_RFC;Reviews & 0.6352 & 0.6293 & 0.453 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
Tijd_RFC;Compendium_uren & 0.8607 & 0.8872 & 0.7221 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
Tijd_RFC;Pop & 0.5757 & 0.6138 & 0.5041 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
Tijd_RFC;Testscore & 0.1108 & 0.0834 & 0.062 \tabularnewline
p-value & (0.3129) & (0.4478) & (0.4262) \tabularnewline
Blogs;Reviews & 0.7061 & 0.6775 & 0.5078 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
Blogs;Compendium_uren & 0.7278 & 0.7418 & 0.5496 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
Blogs;Pop & 0.6155 & 0.6161 & 0.5073 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
Blogs;Testscore & 0.1108 & 0.1264 & 0.0946 \tabularnewline
p-value & (0.3125) & (0.2492) & (0.2258) \tabularnewline
Reviews;Compendium_uren & 0.5953 & 0.5547 & 0.4039 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
Reviews;Pop & 0.8018 & 0.7167 & 0.5996 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
Reviews;Testscore & 0.1561 & 0.1905 & 0.1253 \tabularnewline
p-value & (0.1538) & (0.0808) & (0.1143) \tabularnewline
Compendium_uren;Pop & 0.5956 & 0.6183 & 0.5078 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
Compendium_uren;Testscore & 0.0848 & 0.0827 & 0.0578 \tabularnewline
p-value & (0.4404) & (0.4516) & (0.4581) \tabularnewline
Pop;Testscore & 0.188 & 0.2042 & 0.1772 \tabularnewline
p-value & (0.0849) & (0.0609) & (0.0613) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=153149&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]Pageviews;Tijd_RFC[/C][C]0.8568[/C][C]0.8624[/C][C]0.704[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]Pageviews;Blogs[/C][C]0.681[/C][C]0.7614[/C][C]0.568[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]Pageviews;Reviews[/C][C]0.4869[/C][C]0.539[/C][C]0.3945[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]Pageviews;Compendium_uren[/C][C]0.6941[/C][C]0.7513[/C][C]0.5729[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]Pageviews;Pop[/C][C]0.3653[/C][C]0.4799[/C][C]0.3942[/C][/ROW]
[ROW][C]p-value[/C][C](6e-04)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]Pageviews;Testscore[/C][C]0.1416[/C][C]0.1232[/C][C]0.0887[/C][/ROW]
[ROW][C]p-value[/C][C](0.1961)[/C][C](0.2613)[/C][C](0.2552)[/C][/ROW]
[ROW][C]Tijd_RFC;Blogs[/C][C]0.7232[/C][C]0.7488[/C][C]0.5631[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]Tijd_RFC;Reviews[/C][C]0.6352[/C][C]0.6293[/C][C]0.453[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]Tijd_RFC;Compendium_uren[/C][C]0.8607[/C][C]0.8872[/C][C]0.7221[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]Tijd_RFC;Pop[/C][C]0.5757[/C][C]0.6138[/C][C]0.5041[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]Tijd_RFC;Testscore[/C][C]0.1108[/C][C]0.0834[/C][C]0.062[/C][/ROW]
[ROW][C]p-value[/C][C](0.3129)[/C][C](0.4478)[/C][C](0.4262)[/C][/ROW]
[ROW][C]Blogs;Reviews[/C][C]0.7061[/C][C]0.6775[/C][C]0.5078[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]Blogs;Compendium_uren[/C][C]0.7278[/C][C]0.7418[/C][C]0.5496[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]Blogs;Pop[/C][C]0.6155[/C][C]0.6161[/C][C]0.5073[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]Blogs;Testscore[/C][C]0.1108[/C][C]0.1264[/C][C]0.0946[/C][/ROW]
[ROW][C]p-value[/C][C](0.3125)[/C][C](0.2492)[/C][C](0.2258)[/C][/ROW]
[ROW][C]Reviews;Compendium_uren[/C][C]0.5953[/C][C]0.5547[/C][C]0.4039[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]Reviews;Pop[/C][C]0.8018[/C][C]0.7167[/C][C]0.5996[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]Reviews;Testscore[/C][C]0.1561[/C][C]0.1905[/C][C]0.1253[/C][/ROW]
[ROW][C]p-value[/C][C](0.1538)[/C][C](0.0808)[/C][C](0.1143)[/C][/ROW]
[ROW][C]Compendium_uren;Pop[/C][C]0.5956[/C][C]0.6183[/C][C]0.5078[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]Compendium_uren;Testscore[/C][C]0.0848[/C][C]0.0827[/C][C]0.0578[/C][/ROW]
[ROW][C]p-value[/C][C](0.4404)[/C][C](0.4516)[/C][C](0.4581)[/C][/ROW]
[ROW][C]Pop;Testscore[/C][C]0.188[/C][C]0.2042[/C][C]0.1772[/C][/ROW]
[ROW][C]p-value[/C][C](0.0849)[/C][C](0.0609)[/C][C](0.0613)[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=153149&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=153149&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
Pageviews;Tijd_RFC0.85680.86240.704
p-value(0)(0)(0)
Pageviews;Blogs0.6810.76140.568
p-value(0)(0)(0)
Pageviews;Reviews0.48690.5390.3945
p-value(0)(0)(0)
Pageviews;Compendium_uren0.69410.75130.5729
p-value(0)(0)(0)
Pageviews;Pop0.36530.47990.3942
p-value(6e-04)(0)(0)
Pageviews;Testscore0.14160.12320.0887
p-value(0.1961)(0.2613)(0.2552)
Tijd_RFC;Blogs0.72320.74880.5631
p-value(0)(0)(0)
Tijd_RFC;Reviews0.63520.62930.453
p-value(0)(0)(0)
Tijd_RFC;Compendium_uren0.86070.88720.7221
p-value(0)(0)(0)
Tijd_RFC;Pop0.57570.61380.5041
p-value(0)(0)(0)
Tijd_RFC;Testscore0.11080.08340.062
p-value(0.3129)(0.4478)(0.4262)
Blogs;Reviews0.70610.67750.5078
p-value(0)(0)(0)
Blogs;Compendium_uren0.72780.74180.5496
p-value(0)(0)(0)
Blogs;Pop0.61550.61610.5073
p-value(0)(0)(0)
Blogs;Testscore0.11080.12640.0946
p-value(0.3125)(0.2492)(0.2258)
Reviews;Compendium_uren0.59530.55470.4039
p-value(0)(0)(0)
Reviews;Pop0.80180.71670.5996
p-value(0)(0)(0)
Reviews;Testscore0.15610.19050.1253
p-value(0.1538)(0.0808)(0.1143)
Compendium_uren;Pop0.59560.61830.5078
p-value(0)(0)(0)
Compendium_uren;Testscore0.08480.08270.0578
p-value(0.4404)(0.4516)(0.4581)
Pop;Testscore0.1880.20420.1772
p-value(0.0849)(0.0609)(0.0613)



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