Free Statistics

of Irreproducible Research!

Author's title

Correlatie Olieprijs per vat en verbruik van petroleum door Amerikaanse gez...

Author*The author of this computation has been verified*
R Software Modulerwasp_correlation.wasp
Title produced by softwarePearson Correlation
Date of computationTue, 21 Dec 2010 12:13:11 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/21/t1292933523xrs2alj630s58vf.htm/, Retrieved Sun, 19 May 2024 19:40:51 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=113357, Retrieved Sun, 19 May 2024 19:40:51 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact108
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Mean versus Median] [Totale Invoer naa...] [2008-12-07 18:21:05] [299afd6311e4c20059ea2f05c8dd029d]
- RM D  [Variability] [Totale Invoer naa...] [2008-12-07 18:28:38] [299afd6311e4c20059ea2f05c8dd029d]
- RMP     [Stem-and-leaf Plot] [Totale Invoer naa...] [2008-12-07 18:32:41] [299afd6311e4c20059ea2f05c8dd029d]
- RMPD      [Quartiles] [Totale Invoer naa...] [2008-12-07 18:52:56] [299afd6311e4c20059ea2f05c8dd029d]
- RM D        [Harrell-Davis Quantiles] [Totale Invoer naa...] [2008-12-07 19:02:20] [299afd6311e4c20059ea2f05c8dd029d]
- RM D          [Pearson Correlation] [Totale Uitvoer vs...] [2008-12-07 19:10:32] [299afd6311e4c20059ea2f05c8dd029d]
-  MPD              [Pearson Correlation] [Correlatie Oliepr...] [2010-12-21 12:13:11] [2e87ce7aa3eb3dfe16df617f31f74f3c] [Current]
Feedback Forum

Post a new message
Dataseries X:
175.348
154.439
136.186
113.662
106.157
100.546
98.314
118.179
112.295
126.938
130.92
181.279
180.389
146.917
150.597
124.222
101.554
102.138
110.315
111.015
105.017
119.888
127.623
149.415
159.755
139.737
136.283
101.952
104.044
96.712
100.665
103.699
103.765
122.732
127.297
160.278
191.784
155.375
142.616
115.331
102.136
95.205
101.566
105.273
117.394
121.148
116.666
154.841
177.74
154.427
133.159
118.102
101.361
101.345
102.233
108.522
101.939
118.405
125.06
178
167.714
143.582
139.259
104.674
103.722
106.153
106.21
113.986
96.906
107.512
112.616
148.507
130.48
137.436
128.21
97.552
91.55
83.104
84.68
85.98
84.891
89.896
94.835
115.348
131.284
134.701
127.193
87.077
72.744
77.542
78.005
85.329
86.041
96.384
116.678
160.672
152.364
144.936
122.974
94.456
82.491
84.89
85.277
81.206
71.012
87.302
97.427
133.242
137.064
119.042
116.47
96.028
79.281
73.872
80.964
86.739
89.997
96.292
101.355
136.543
Dataseries Y:
25.22
27.63
27.47
22.54
27.4
29.68
28.51
29.89
32.62
30.93
32.52
25.28
25.64
27.41
24.4
25.55
28.45
27.72
24.54
25.67
25.54
20.48
18.94
18.6
19.49
20.29
23.69
25.65
25.43
24.13
25.77
26.63
28.34
27.55
24.5
28.52
31.29
32.65
30.34
25.02
25.81
27.55
28.4
29.83
27.1
29.59
28.77
29.88
31.18
30.87
33.8
33.36
37.92
35.19
38.37
43.03
43.38
49.77
43.05
39.65
44.28
45.56
53.08
51.86
48.67
54.31
57.58
64.09
62.98
58.52
55.54
56.75
63.57
59.92
62.25
70.44
70.19
68.86
73.9
73.61
62.77
58.38
58.48
62.31
54.3
57.76
62.14
67.4
67.48
71.32
77.2
70.8
77.13
83.04
92.53
91.45
91.92
94.82
103.28
110.44
123.94
133.05
133.9
113.85
99.06
72.84
53.24
41.58
44.86
43.24
46.84
50.85
57.94
68.59
64.92
72.5
67.69
73.19
77.04
74.67




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk

\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 & 1 seconds \tabularnewline
R Server & 'RServer@AstonUniversity' @ vre.aston.ac.uk \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113357&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]1 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'RServer@AstonUniversity' @ vre.aston.ac.uk[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113357&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113357&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 time1 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk







Pearson Product Moment Correlation - Ungrouped Data
StatisticVariable XVariable Y
Mean116.32980833333349.6926666666667
Biased Variance729.441164088264671.389376222222
Biased Standard Deviation27.008168469710525.9111824551143
Covariance-293.702648812325
Correlation-0.416189589124424
Determination0.173213774095557
T-Test-4.97205128421223
p-value (2 sided)2.27061697965649e-06
p-value (1 sided)1.13530848982824e-06
Degrees of Freedom118
Number of Observations120

\begin{tabular}{lllllllll}
\hline
Pearson Product Moment Correlation - Ungrouped Data \tabularnewline
Statistic & Variable X & Variable Y \tabularnewline
Mean & 116.329808333333 & 49.6926666666667 \tabularnewline
Biased Variance & 729.441164088264 & 671.389376222222 \tabularnewline
Biased Standard Deviation & 27.0081684697105 & 25.9111824551143 \tabularnewline
Covariance & -293.702648812325 \tabularnewline
Correlation & -0.416189589124424 \tabularnewline
Determination & 0.173213774095557 \tabularnewline
T-Test & -4.97205128421223 \tabularnewline
p-value (2 sided) & 2.27061697965649e-06 \tabularnewline
p-value (1 sided) & 1.13530848982824e-06 \tabularnewline
Degrees of Freedom & 118 \tabularnewline
Number of Observations & 120 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113357&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]116.329808333333[/C][C]49.6926666666667[/C][/ROW]
[ROW][C]Biased Variance[/C][C]729.441164088264[/C][C]671.389376222222[/C][/ROW]
[ROW][C]Biased Standard Deviation[/C][C]27.0081684697105[/C][C]25.9111824551143[/C][/ROW]
[ROW][C]Covariance[/C][C]-293.702648812325[/C][/ROW]
[ROW][C]Correlation[/C][C]-0.416189589124424[/C][/ROW]
[ROW][C]Determination[/C][C]0.173213774095557[/C][/ROW]
[ROW][C]T-Test[/C][C]-4.97205128421223[/C][/ROW]
[ROW][C]p-value (2 sided)[/C][C]2.27061697965649e-06[/C][/ROW]
[ROW][C]p-value (1 sided)[/C][C]1.13530848982824e-06[/C][/ROW]
[ROW][C]Degrees of Freedom[/C][C]118[/C][/ROW]
[ROW][C]Number of Observations[/C][C]120[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113357&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113357&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
Mean116.32980833333349.6926666666667
Biased Variance729.441164088264671.389376222222
Biased Standard Deviation27.008168469710525.9111824551143
Covariance-293.702648812325
Correlation-0.416189589124424
Determination0.173213774095557
T-Test-4.97205128421223
p-value (2 sided)2.27061697965649e-06
p-value (1 sided)1.13530848982824e-06
Degrees of Freedom118
Number of Observations120



Parameters (Session):
Parameters (R input):
R code (references can be found in the software module):
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')
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')