Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_partialcorrelation.wasp
Title produced by softwarePartial Correlation
Date of computationWed, 12 Nov 2008 03:44:02 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Nov/12/t1226487560oa8xlnyuanhs5u1.htm/, Retrieved Sun, 19 May 2024 10:49:28 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=24115, Retrieved Sun, 19 May 2024 10:49:28 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact161
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F       [Partial Correlation] [W3Q1(b)] [2008-11-12 10:44:02] [434228f9e3c7eaa307f0fb12855e2147] [Current]
Feedback Forum
2008-11-22 12:27:07 [Sandra Hofmans] [reply
Juiste tabel, maar onvolledige conclusie. Ik neem hier als voorbeeld x en y. Wanneer we kijken naar de correlatie bedraagt deze 0,84. Maar wanneer we deze correlatie onderzoeken als de invloed van de variabele z wordt weggewerkt, bedraagt deze slechts 0,22. Z geeft dus een vertekend beeld op x en y.
2008-11-23 15:52:35 [Peter Van Doninck] [reply
De student heeft de partial correlation correct berekend, maar heeft er geen conclusie over geschreven. De partial correlation en de gewone correlatie wijken in dit geval van elkaar af. Het verschil tussen beide correlaties wordt veroorzaakt door de andere variabele, die niet in de correlatie werd opgenomen. Omdat het verschil toch niet verwaarloosbaar is, kunnen we besluiten dat de 'andere' variabele toch een vertekenend effect heeft op de 2 variabelen.

Post a new message
Dataseries X:
118,4
121,4
128,8
131,7
141,7
142,9
139,4
134,7
125,0
113,6
111,5
108,5
112,3
116,6
115,5
120,1
132,9
128,1
129,3
132,5
131,0
124,9
120,8
122,0
122,1
127,4
135,2
137,3
135,0
136,0
138,4
134,7
138,4
133,9
133,6
141,2
151,8
155,4
156,6
161,6
160,7
156,0
159,5
168,7
169,9
169,9
185,9
190,8
195,8
211,9
227,1
251,3
256,7
251,9
251,2
270,3
267,2
243,0
229,9
187,2
Dataseries Y:
111,4
114,1
121,8
127,6
129,9
128,0
123,5
124,0
127,4
127,6
128,4
131,4
135,1
134,0
144,5
147,3
150,9
148,7
141,4
138,9
139,8
145,6
147,9
148,5
151,1
157,5
167,5
172,3
173,5
187,5
205,5
195,1
204,5
204,5
201,7
207,0
206,6
210,6
211,1
215,0
223,9
238,2
238,9
229,6
232,2
222,1
221,6
227,3
221,0
213,6
243,4
253,8
265,3
268,2
268,5
266,9
268,4
250,8
231,2
192,0
Dataseries Z:
104,0
107,9
113,8
113,8
123,1
125,1
137,6
134,0
140,3
152,1
150,6
167,3
153,2
142,0
154,4
158,5
180,9
181,3
172,4
192,0
199,3
215,4
214,3
201,5
190,5
196,0
215,7
209,4
214,1
237,8
239,0
237,8
251,5
248,8
215,4
201,2
203,1
214,2
188,9
203,0
213,3
228,5
228,2
240,9
258,8
248,5
269,2
289,6
323,4
317,2
322,8
340,9
368,2
388,5
441,2
474,3
483,9
417,9
365,9
263,0




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\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 & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=24115&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]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=24115&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=24115&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'Gwilym Jenkins' @ 72.249.127.135







Pearson Product Moment Partial Correlation - Ungrouped Data
StatisticValue
Correlation r(xy)0.841656312058416
Partial Correlation r(xy.z)0.223930018431962
Correlation r(xz)0.915131551289786
Partial Correlation r(xz.y)0.685994858389179
Correlation r(yz)0.871297226013151
Partial Correlation r(yz.x)0.464247278201083

\begin{tabular}{lllllllll}
\hline
Pearson Product Moment Partial Correlation - Ungrouped Data \tabularnewline
Statistic & Value \tabularnewline
Correlation r(xy) & 0.841656312058416 \tabularnewline
Partial Correlation r(xy.z) & 0.223930018431962 \tabularnewline
Correlation r(xz) & 0.915131551289786 \tabularnewline
Partial Correlation r(xz.y) & 0.685994858389179 \tabularnewline
Correlation r(yz) & 0.871297226013151 \tabularnewline
Partial Correlation r(yz.x) & 0.464247278201083 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=24115&T=1

[TABLE]
[ROW][C]Pearson Product Moment Partial Correlation - Ungrouped Data[/C][/ROW]
[ROW][C]Statistic[/C][C]Value[/C][/ROW]
[ROW][C]Correlation r(xy)[/C][C]0.841656312058416[/C][/ROW]
[ROW][C]Partial Correlation r(xy.z)[/C][C]0.223930018431962[/C][/ROW]
[ROW][C]Correlation r(xz)[/C][C]0.915131551289786[/C][/ROW]
[ROW][C]Partial Correlation r(xz.y)[/C][C]0.685994858389179[/C][/ROW]
[ROW][C]Correlation r(yz)[/C][C]0.871297226013151[/C][/ROW]
[ROW][C]Partial Correlation r(yz.x)[/C][C]0.464247278201083[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=24115&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=24115&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 Partial Correlation - Ungrouped Data
StatisticValue
Correlation r(xy)0.841656312058416
Partial Correlation r(xy.z)0.223930018431962
Correlation r(xz)0.915131551289786
Partial Correlation r(xz.y)0.685994858389179
Correlation r(yz)0.871297226013151
Partial Correlation r(yz.x)0.464247278201083



Parameters (Session):
Parameters (R input):
R code (references can be found in the software module):
(rho12 <- cor(x, y))
(rho23 <- cor(y, z))
(rho13 <- cor(x, z))
(rhoxy_z <- (rho12-(rho13*rho23))/(sqrt(1-(rho13*rho13)) * sqrt(1-(rho23*rho23))))
(rhoxz_y <- (rho13-(rho12*rho23))/(sqrt(1-(rho12*rho12)) * sqrt(1-(rho23*rho23))))
(rhoyz_x <- (rho23-(rho12*rho13))/(sqrt(1-(rho12*rho12)) * sqrt(1-(rho13*rho13))))
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Pearson Product Moment Partial Correlation - Ungrouped Data',2,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Statistic',1,TRUE)
a<-table.element(a,'Value',1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Correlation r(xy)',header=TRUE)
a<-table.element(a,rho12)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,hyperlink('partial_correlation1.htm','Partial Correlation r(xy.z)',''),header=TRUE)
a<-table.element(a,rhoxy_z)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Correlation r(xz)',header=TRUE)
a<-table.element(a,rho13)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,hyperlink('partial_correlation1.htm','Partial Correlation r(xz.y)',''),header=TRUE)
a<-table.element(a,rhoxz_y)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Correlation r(yz)',header=TRUE)
a<-table.element(a,rho23)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,hyperlink('partial_correlation1.htm','Partial Correlation r(yz.x)',''),header=TRUE)
a<-table.element(a,rhoyz_x)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable.tab')