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

Post a new message
Dataseries X:
-0.232848639176328	-1.35958549541592
-0.547883529473232	-1.06335528978275
0.974012637632575	0.50921201375493
1.82020991254399	-0.685851768403997
-1.18162315839233	0.426878076181471
-2.08405528168471	-1.01121515186136
-0.788661408045896	-0.275137869211113
1.03490526439490	-0.670915046065796
-0.674308705307156	0.457064236096954
-0.244860024353037	1.25049595435496
0.655789305484174	0.0162072630817879
0.208196187975931	-0.581673762282288
-0.993064796432363	-0.384608933616869
-1.13978470878015	-1.20142980046462
-0.359610603549477	0.129304324484321
-0.86602248127933	1.04606845214016
-0.561118137926332	0.603823223007102
0.190013958184832	0.277344339550871
2.44948022574623	-0.305975641716412
-1.38330837245354	-0.510121164777993
-0.387442067930637	0.699316125102493
0.494588970449341	0.631059555801397
0.0627125730358035	0.572263783897482
-1.30751312782203	1.2844690497113
1.46853779811581	-0.335993319183827
0.171181012181757	1.17623235476883
1.04177258622387	0.94225086541113
0.284807716676656	0.444357605865477
1.53750979541121	-2.17556042589682
-0.474526106325816	-0.818785704316793
1.16168971277959	1.28175740238895
-0.878506900811041	0.841162427663467
-0.520496864828194	-0.306112888478988
1.75760001492152	1.80643651370975
-0.889969430641854	-0.648964088561474
1.09825404737994	1.06871565783209
-0.394166608937547	0.625058418000397
0.263468473611836	0.323244077775866
-0.697891389503202	0.98444813643772
0.0321188844212655	-1.20857068029295
0.81869519033426	1.80569235007083
-0.682315322462046	0.208574246160070
-1.85652435533709	-0.356602105379284
1.44499337029941	0.249448843949671
-1.81328704003404	0.242187223114770
0.643284440095109	-0.67459690400749
-0.795924638493254	0.860684279401206
2.72449757055511	-1.67701185967584
-0.806200936930079	1.60784373953555
-0.751563639869691	-0.302051877067135
> {
+     res <- cor.test(RCx$X1, RCx$X2)
+     print(res)
+ }

	Pearson's product-moment correlation

data:  RCx$X1 and RCx$X2 
t = -0.3462, df = 48, p-value = 0.7307
alternative hypothesis: true correlation is not equal to 0 
95 percent confidence interval:
 -0.3237611  0.2316548 
sample estimates:
        cor 
-0.04991126 


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