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 10:24:47 -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/t1248452688ordk21gdciiwzeh.htm/, Retrieved Sat, 18 May 2024 11:11:38 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=42390, Retrieved Sat, 18 May 2024 11:11:38 +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 Impact227
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 16:22:34] [63c67d2c4e43d53d437fbe4438f17920]
- R  D    [R console] [correlation test] [2009-07-24 16:24:47] [256f657a32c6b2b7628dddcfa9a822d0] [Current]
Feedback Forum

Post a new message
Dataseries X:
0.168125704044480	2.33995949787816
-1.09796174835413	1.63206153209246
-0.61385504236022	-0.152782797831797
0.533059718895446	-0.268716334138616
0.745120721531204	-0.0856159775502065
2.89925818736389	-0.231693812804725
-0.834948345234626	0.0369729083104767
0.143135128895540	1.96527054965057
0.581599731536853	0.952278577487182
-1.33301883401667	-0.332110165762142
-1.30028318851234	-0.869973129264373
-0.740381267738917	0.0319400044338124
0.56432901564906	-0.541853217512787
0.0925611670077916	-0.586317343601326
-0.364879354859834	1.39741257100734
0.0961468185867675	0.600538634217775
0.53460220448835	0.067820706016643
1.23402578965523	-0.439748641411763
0.0242190044851162	0.273654630551558
-0.193384630819419	-0.711795722168824
-0.165779720475706	-1.13561100231962
-0.638743901679283	-1.71164507264666
0.0387748622667295	-2.28200482611867
0.0523483231233413	-0.418937927581381
1.39423440400211	-0.889937653799873
-1.03095598817929	-0.144939855405556
-0.555755493285253	1.64525787778275
0.0818597367982628	-1.03750269290733
-0.534463453702326	0.089868532080908
-0.812296232329612	1.11210516028576
-0.334524546864443	0.0634981649857003
-1.05494233530707	1.46562945348089
-0.75825682213303	-0.310017414300459
0.415652240301552	0.295398277982089
0.814443232178272	-1.29922705703139
0.437337014293791	-0.00827938084802284
-1.17741559606516	0.302574958235545
1.37295789576339	0.0687971757312904
1.08277080209887	1.37299133376748
-0.224063105793917	-1.04138574774133
-1.06842204658981	-0.296823510625103
-0.561098775614037	0.98930257082787
-1.71863162640169	-0.269186088131788
-1.81207999741178	2.31095566361264
0.738215748718154	-0.0339481839378357
0.725429362560965	-0.475470528990039
1.48168451854403	-0.381639220221789
-1.05340605007533	-0.241741040040286
2.31650160106843	0.622224399953249
0.103390702852989	0.431804224504104
> {
+     res <- cor.test(RCx$X1, RCx$X2)
+     print(res)
+     pairs(x)
+ }

	Pearson's product-moment correlation

data:  RCx$X1 and RCx$X2 
t = -0.993, df = 48, p-value = 0.3257
alternative hypothesis: true correlation is not equal to 0 
95 percent confidence interval:
 -0.4042593  0.1420825 
sample estimates:
       cor 
-0.1418762 


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

pairs(x)

}