Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software ModuleRscript (source code is shown below)
Title produced by softwareR console
Date of computationFri, 24 Jul 2009 09:57:29 -0600
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Jul/24/t1248451050o9f4y8ybsvdz0z6.htm/, Retrieved Sat, 18 May 2024 10:49:50 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=42387, Retrieved Sat, 18 May 2024 10:49:50 +0000
QR Codes:

Original text written by user:This example is used in the manual files of the RC package.
IsPrivate?No (this computation is public)
User-defined keywordsmanRCx
Estimated Impact213
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [R console] [correlation test] [2009-07-24 15:57:29] [256f657a32c6b2b7628dddcfa9a822d0] [Current]
- RMPD    [Mean Plot] [Mean Plot - overl...] [2009-08-18 08:05:21] [3277f4fd1367f73c9bc433502ffbb1d3]
Feedback Forum

Post a new message
Dataseries X:
-0.0105435031328062	-2.15486420908439
-0.106059415057697	-0.640211910654636
0.144220917792958	-1.01930806799777
0.840210397415013	0.0534377008960116
2.00413566594368	-1.66817827811561
-0.358307121684008	1.27325822427246
-0.737696557701286	-0.0228387271712592
-0.575256065117646	1.73220523989378
0.403421560321989	-1.03467053312466
1.35256523811364	-0.997805656401574
-0.677470937611168	1.26550931330539
0.962957174564829	0.603911785324397
0.0645394475343039	-1.53040082338683
0.0764369615522503	1.9509502599704
-0.595988677059521	1.13411506013095
0.441686773936359	1.91501694642302
0.901905717162464	-0.464834060826622
-0.762600229975893	-0.640170431073448
0.794746047385989	0.571307756586327
0.622168497812321	0.723177901935499
0.625948189532942	-1.00869770445257
0.61753712816814	0.811535925112163
-0.341483860464853	0.827979077435883
1.877169069687	0.500286006179767
-0.416296810249849	0.876050145416829
1.33297200144027	-1.30490548367114
1.21151284013498	1.12016585648662
-0.257617449180229	0.651486690892342
-0.718473990210047	0.639239822600388
-1.34333112100290	0.367419693218976
-0.480743173432414	-0.338710926691920
-1.56456332851164	0.508680791666263
2.39945599048121	-0.247791441642386
-0.185589137001653	-0.0253430678521385
-0.242764626785159	0.968099748784335
-0.402609727416275	1.47755610375216
0.355002337777479	-1.15099703654221
0.291244279869691	1.18789348379349
2.53141380396948	0.272971635902426
0.102234600870554	-0.0858242557073371
-0.70515590607298	0.397232835502791
0.659076220200459	2.76792405282769
1.03539391939432	-0.390350996810397
-1.39522067013238	1.03437270914248
0.306628290559189	-1.77329190606951
1.13907877606448	1.02439837532807
0.590982149687546	-1.16210939888053
1.48012039645846	-0.247562890537976
-0.913592607961794	-1.05966182043064
0.641969353148498	-0.560739177189005
> {
+     res <- cor.test(RCx$X1, RCx$X2)
+     print(res)
+ }

	Pearson's product-moment correlation

data:  RCx$X1 and RCx$X2 
t = -1.4563, df = 48, p-value = 0.1518
alternative hypothesis: true correlation is not equal to 0 
95 percent confidence interval:
 -0.45783448  0.07705917 
sample estimates:
       cor 
-0.2057007 


Parameters (Session):
Parameters (R input):
R code (body of R function):
{
res <- cor.test(RCx$X1, RCx$X2)
print(res)
}