Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_partialcorrelation.wasp
Title produced by softwarePartial Correlation
Date of computationMon, 10 Nov 2008 07:11:24 -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/10/t1226326337uh9hu6kwjuokovn.htm/, Retrieved Sun, 19 May 2024 11:38:06 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=23071, Retrieved Sun, 19 May 2024 11:38:06 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact175
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F       [Partial Correlation] [Partial correlation] [2008-11-10 14:11:24] [b0654df83a8a0e1de3ceb7bf60f0d58f] [Current]
Feedback Forum
2008-11-20 23:10:07 [Olivier Uyttendaele] [reply
De partial correlation berekent de associatie van 3 variabelen maar je gaat ook opzoek naar de partiele correlatie.
De correlatie van de 2 variabelen X & Y van hierboven (bivariate density) noem je bijvoorbeeld de simpele correlatie r(X,Y). Bij dit model introduceer je dan een 3de variabele Z. Bedoeling hier is om te bekijken of Z -misschien wel of misschien niet- een invloed heeft de relatie tussen X & Y.

Via de partial correlation te berekenen tussen X & Y kan je dus nagaan of Z een factor is die invloed heeft Dit wordt dan r(X,Y|Z). Als r(X,Y) relatief groot is, en r(X,Y|Z) is veel kleiner, dan kan je veronderstellen dat Z een invloedrijke variabele is. Z kan dus voor een gedeelte de relatie uitleggen tussen X & Y. Het zal de relatie uitleggen maar we zullen niet te weten komen wat de relatie veroorzaakt.

Als er 3 variabelen zijn, kan je dus drie eenvoudige correlaties maken nl. r(X,Y), r(X,Z) en r(Y,Z). Wanneer je deze drie correlaties kent, kan je gemakkelijk de partiele correlatie berekenen. Vb; r (X,Z|Y).
Je zal dus telkens op deze manier bij deze de banden met de variabele wegwissen. Wanneer de partial correlation r(X,Y|Z) dicht bij de simpele correlatie ligt, dan kan gesteld worden dat Z weinig invloed heeft op de correlatie tussen X,Y.


Je probeert dus eigenlijk te onderzoeken of 1 van de reeksen invloed heeft op de correlatie van de andere reeksen.

Post a new message
Dataseries X:
217859
208679
213188
216234
213587
209465
204045
200237
203666
241476
260307
243324
244460
233575
237217
235243
230354
227184
221678
217142
219452
256446
265845
248624
241114
229245
231805
219277
219313
212610
214771
211142
211457
240048
240636
230580
208795
197922
194596
194581
185686
178106
172608
167302
168053
202300
202388
182516
173476
166444
171297
169701
164182
161914
159612
151001
158114
186530
187069
174330
Dataseries Y:
258778
252791
256389
258961
258647
256304
250498
247883
249552
262626
264416
273049
272441
267564
265952
263937
264765
263386
258985
257334
257477
271486
274488
281274
272674
269704
268227
276444
272247
268516
263406
263619
265905
281681
287413
289423
281242
273878
269022
272630
270287
260447
262248
252806
238663
258438
266719
263279
258064
248828
248284
253376
251846
239494
239709
228793
229521
249999
254016
251178
Dataseries Z:
88827
85874
85211
87130
88620
89563
89056
88542
89504
89428
86040
96240
94423
93028
92285
91685
94260
93858
92437
92980
92099
92803
88551
98334
98329
96455
97109
97687
98512
98673
96028
98014
95580
97838
97760
99913
97588
93942
93656
93365
92881
93120
91063
90930
91946
94624
95484
95862
95530
94574
94677
93845
91533
91214
90922
89563
89945
91850
92505
92437




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time0 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 0 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=23071&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]0 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=23071&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=23071&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 time0 seconds
R Server'George Udny Yule' @ 72.249.76.132







Pearson Product Moment Partial Correlation - Ungrouped Data
StatisticValue
Correlation r(xy)0.714331672197013
Partial Correlation r(xy.z)0.773695126471343
Correlation r(xz)0.163222966369223
Partial Correlation r(xz.y)-0.449677519578435
Correlation r(yz)0.585595935013178
Partial Correlation r(yz.x)0.679295234742385

\begin{tabular}{lllllllll}
\hline
Pearson Product Moment Partial Correlation - Ungrouped Data \tabularnewline
Statistic & Value \tabularnewline
Correlation r(xy) & 0.714331672197013 \tabularnewline
Partial Correlation r(xy.z) & 0.773695126471343 \tabularnewline
Correlation r(xz) & 0.163222966369223 \tabularnewline
Partial Correlation r(xz.y) & -0.449677519578435 \tabularnewline
Correlation r(yz) & 0.585595935013178 \tabularnewline
Partial Correlation r(yz.x) & 0.679295234742385 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=23071&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.714331672197013[/C][/ROW]
[ROW][C]Partial Correlation r(xy.z)[/C][C]0.773695126471343[/C][/ROW]
[ROW][C]Correlation r(xz)[/C][C]0.163222966369223[/C][/ROW]
[ROW][C]Partial Correlation r(xz.y)[/C][C]-0.449677519578435[/C][/ROW]
[ROW][C]Correlation r(yz)[/C][C]0.585595935013178[/C][/ROW]
[ROW][C]Partial Correlation r(yz.x)[/C][C]0.679295234742385[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=23071&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=23071&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.714331672197013
Partial Correlation r(xy.z)0.773695126471343
Correlation r(xz)0.163222966369223
Partial Correlation r(xz.y)-0.449677519578435
Correlation r(yz)0.585595935013178
Partial Correlation r(yz.x)0.679295234742385



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')