Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_correlation.wasp
Title produced by softwarePearson Correlation
Date of computationThu, 20 Dec 2012 16:13:35 -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/20/t1356038073qckv282ao93abil.htm/, Retrieved Fri, 29 Mar 2024 14:34:00 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=203137, Retrieved Fri, 29 Mar 2024 14:34:00 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact103
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Pearson Correlation] [Correlatie & Cova...] [2012-12-20 21:13:35] [cae7db30b04823cf35f719a9709248c2] [Current]
Feedback Forum

Post a new message
Dataseries X:
210907
120982
176508
179321
123185
52746
385534
33170
101645
149061
165446
237213
173326
133131
258873
180083
324799
230964
236785
135473
202925
215147
344297
153935
132943
174724
174415
225548
223632
124817
221698
210767
170266
260561
84853
294424
101011
215641
325107
7176
167542
106408
96560
265769
269651
149112
175824
152871
111665
116408
362301
78800
183167
277965
150629
168809
24188
329267
65029
101097
218946
244052
341570
103597
233328
256462
206161
311473
235800
177939
207176
196553
174184
143246
187559
187681
119016
182192
73566
194979
167488
143756
275541
243199
182999
135649
152299
120221
346485
145790
193339
80953
122774
130585
112611
286468
241066
148446
204713
182079
140344
220516
243060
162765
182613
232138
265318
85574
310839
225060
232317
144966
43287
155754
164709
201940
235454
220801
99466
92661
133328
61361
125930
100750
224549
82316
102010
101523
243511
22938
41566
152474
61857
99923
132487
317394
21054
209641
22648
31414
46698
131698
91735
244749
184510
79863
128423
97839
38214
151101
272458
172494
108043
328107
250579
351067
158015
98866
85439
229242
351619
84207
120445
324598
131069
204271
165543
141722
116048
250047
299775
195838
173260
254488
104389
136084
199476
92499
224330
135781
74408
81240
14688
181633
271856
7199
46660
17547
133368
95227
152601
98146
79619
59194
139942
118612
72880
65475
99643
71965
77272
49289
135131
108446
89746
44296
77648
181528
134019
124064
92630
121848
52915
81872
58981
53515
60812
56375
65490
80949
76302
104011
98104
67989
30989
135458
73504
63123
61254
74914
31774
81437
87186
50090
65745
56653
158399
46455
73624
38395
91899
139526
52164
51567
70551
84856
102538
86678
85709
34662
150580
99611
19349
99373
86230
30837
31706
89806
62088
40151
27634
76990
37460
54157
49862
84337
64175
59382
119308
76702
103425
70344
43410
104838
62215
69304
53117
19764
86680
84105
77945
89113
91005
40248
64187
50857
56613
62792
72535
Dataseries Y:
56
56
54
89
40
25
92
18
63
44
33
84
88
55
60
66
154
53
119
41
61
58
75
33
40
92
100
112
73
40
45
60
62
75
31
77
34
46
99
17
66
30
76
146
67
56
107
58
34
61
119
42
66
89
44
66
24
259
17
64
41
68
168
43
132
105
71
112
94
82
70
57
53
103
121
62
52
52
32
62
45
46
63
75
88
46
53
37
90
63
78
25
45
46
41
144
82
91
71
63
53
62
63
32
39
62
117
34
92
93
54
144
14
61
109
38
73
75
50
61
55
77
75
72
50
32
53
42
71
10
35
65
25
66
41
86
16
42
19
19
45
65
35
95
49
37
64
38
34
32
65
52
62
65
83
95
29
18
33
247
139
29
118
110
67
42
65
94
64
81
95
67
63
83
45
30
70
32
83
31
67
66
10
70
103
5
20
5
36
34
48
40
43
31
42
46
33
18
55
35
59
19
66
60
36
25
47
54
53
40
40
39
14
45
36
28
44
30
22
17
31
55
54
21
14
81
35
43
46
30
23
38
54
20
53
45
39
20
24
31
35
151
52
30
31
29
57
40
44
25
77
35
11
63
44
19
13
42
38
29
20
27
20
19
37
26
42
49
30
49
67
28
19
49
27
30
22
12
31
20
20
39
29
16
27
21
19
35
14




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ fisher.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 & 'Sir Ronald Aylmer Fisher' @ fisher.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=203137&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]'Sir Ronald Aylmer Fisher' @ fisher.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=203137&T=0

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







Pearson Product Moment Correlation - Ungrouped Data
StatisticVariable XVariable Y
Mean138088.05190311454.8719723183391
Biased Variance6756318290.582081143.1981417847
Biased Standard Deviation82196.826523790333.8112132551422
Covariance1996697.62125144
Correlation0.715963924794207
Determination0.512604341606724
T-Test17.3736576859618
p-value (2 sided)0
p-value (1 sided)0
Degrees of Freedom287
Number of Observations289

\begin{tabular}{lllllllll}
\hline
Pearson Product Moment Correlation - Ungrouped Data \tabularnewline
Statistic & Variable X & Variable Y \tabularnewline
Mean & 138088.051903114 & 54.8719723183391 \tabularnewline
Biased Variance & 6756318290.58208 & 1143.1981417847 \tabularnewline
Biased Standard Deviation & 82196.8265237903 & 33.8112132551422 \tabularnewline
Covariance & 1996697.62125144 \tabularnewline
Correlation & 0.715963924794207 \tabularnewline
Determination & 0.512604341606724 \tabularnewline
T-Test & 17.3736576859618 \tabularnewline
p-value (2 sided) & 0 \tabularnewline
p-value (1 sided) & 0 \tabularnewline
Degrees of Freedom & 287 \tabularnewline
Number of Observations & 289 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=203137&T=1

[TABLE]
[ROW][C]Pearson Product Moment Correlation - Ungrouped Data[/C][/ROW]
[ROW][C]Statistic[/C][C]Variable X[/C][C]Variable Y[/C][/ROW]
[ROW][C]Mean[/C][C]138088.051903114[/C][C]54.8719723183391[/C][/ROW]
[ROW][C]Biased Variance[/C][C]6756318290.58208[/C][C]1143.1981417847[/C][/ROW]
[ROW][C]Biased Standard Deviation[/C][C]82196.8265237903[/C][C]33.8112132551422[/C][/ROW]
[ROW][C]Covariance[/C][C]1996697.62125144[/C][/ROW]
[ROW][C]Correlation[/C][C]0.715963924794207[/C][/ROW]
[ROW][C]Determination[/C][C]0.512604341606724[/C][/ROW]
[ROW][C]T-Test[/C][C]17.3736576859618[/C][/ROW]
[ROW][C]p-value (2 sided)[/C][C]0[/C][/ROW]
[ROW][C]p-value (1 sided)[/C][C]0[/C][/ROW]
[ROW][C]Degrees of Freedom[/C][C]287[/C][/ROW]
[ROW][C]Number of Observations[/C][C]289[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=203137&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=203137&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Pearson Product Moment Correlation - Ungrouped Data
StatisticVariable XVariable Y
Mean138088.05190311454.8719723183391
Biased Variance6756318290.582081143.1981417847
Biased Standard Deviation82196.826523790333.8112132551422
Covariance1996697.62125144
Correlation0.715963924794207
Determination0.512604341606724
T-Test17.3736576859618
p-value (2 sided)0
p-value (1 sided)0
Degrees of Freedom287
Number of Observations289



Parameters (Session):
Parameters (R input):
R code (references can be found in the software module):
x <- x[!is.na(y)]
y <- y[!is.na(y)]
y <- y[!is.na(x)]
x <- x[!is.na(x)]
bitmap(file='test1.png')
histx <- hist(x, plot=FALSE)
histy <- hist(y, plot=FALSE)
maxcounts <- max(c(histx$counts, histx$counts))
xrange <- c(min(x),max(x))
yrange <- c(min(y),max(y))
nf <- layout(matrix(c(2,0,1,3),2,2,byrow=TRUE), c(3,1), c(1,3), TRUE)
par(mar=c(4,4,1,1))
plot(x, y, xlim=xrange, ylim=yrange, xlab=xlab, ylab=ylab)
par(mar=c(0,4,1,1))
barplot(histx$counts, axes=FALSE, ylim=c(0, maxcounts), space=0)
par(mar=c(4,0,1,1))
barplot(histy$counts, axes=FALSE, xlim=c(0, maxcounts), space=0, horiz=TRUE)
dev.off()
lx = length(x)
makebiased = (lx-1)/lx
varx = var(x)*makebiased
vary = var(y)*makebiased
corxy <- cor.test(x,y,method='pearson', na.rm = T)
cxy <- as.matrix(corxy$estimate)[1,1]
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Pearson Product Moment Correlation - Ungrouped Data',3,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Statistic',1,TRUE)
a<-table.element(a,'Variable X',1,TRUE)
a<-table.element(a,'Variable Y',1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,hyperlink('arithmetic_mean.htm','Mean',''),header=TRUE)
a<-table.element(a,mean(x))
a<-table.element(a,mean(y))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,hyperlink('biased.htm','Biased Variance',''),header=TRUE)
a<-table.element(a,varx)
a<-table.element(a,vary)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,hyperlink('biased1.htm','Biased Standard Deviation',''),header=TRUE)
a<-table.element(a,sqrt(varx))
a<-table.element(a,sqrt(vary))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,hyperlink('covariance.htm','Covariance',''),header=TRUE)
a<-table.element(a,cov(x,y),2)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,hyperlink('pearson_correlation.htm','Correlation',''),header=TRUE)
a<-table.element(a,cxy,2)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,hyperlink('coeff_of_determination.htm','Determination',''),header=TRUE)
a<-table.element(a,cxy*cxy,2)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,hyperlink('ttest_statistic.htm','T-Test',''),header=TRUE)
a<-table.element(a,as.matrix(corxy$statistic)[1,1],2)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-value (2 sided)',header=TRUE)
a<-table.element(a,(p2 <- as.matrix(corxy$p.value)[1,1]),2)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-value (1 sided)',header=TRUE)
a<-table.element(a,p2/2,2)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Degrees of Freedom',header=TRUE)
a<-table.element(a,lx-2,2)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Number of Observations',header=TRUE)
a<-table.element(a,lx,2)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable.tab')