Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_partialcorrelationmatrix.wasp
Title produced by softwarePartial Correlation Matrix
Date of computationSun, 13 Dec 2015 16:35:09 +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/2015/Dec/13/t1450024565gc2v5l2xp3lh6lo.htm/, Retrieved Thu, 16 May 2024 14:35:21 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=286210, Retrieved Thu, 16 May 2024 14:35:21 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact84
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Partial Correlation Matrix] [Partiele correlat...] [2015-12-13 16:35:09] [5264f2fb10908d9927130993ef716e6e] [Current]
Feedback Forum

Post a new message
Dataseries X:
934 1.0682 0.8106 0.3932
130 1.0322 0.7811 0.3594
115 1.0089 0.7530 0.3480
207 1.0260 0.7660 0.3526
264 1.1273 0.8750 0.3853
325 1.2750 1.0410 0.4350
473 1.3540 1.0790 0.4890
368 1.3847 1.0941 0.5146
402 1.4561 1.2523 0.5693
294 1.3302 1.0225 0.4630
244 1.4555 1.2018 0.5894
153 1.6051 1.4405 0.6610
192 1.7076 1.5318 0.7183
159 1.6508 1.4758 0.6719
135 1.5956 1.4154 0.5960




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=286210&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'Gertrude Mary Cox' @ cox.wessa.net







Pearson Correlation Matrix
> r0
           insch_lpg     Psuper    Pdiesel       Plpg
insch_lpg  1.0000000 -0.2518342 -0.2789956 -0.2335253
Psuper    -0.2518342  1.0000000  0.9924228  0.9816979
Pdiesel   -0.2789956  0.9924228  1.0000000  0.9836265
Plpg      -0.2335253  0.9816979  0.9836265  1.0000000

\begin{tabular}{lllllllll}
\hline
Pearson Correlation Matrix \tabularnewline
> r0
           insch_lpg     Psuper    Pdiesel       Plpg
insch_lpg  1.0000000 -0.2518342 -0.2789956 -0.2335253
Psuper    -0.2518342  1.0000000  0.9924228  0.9816979
Pdiesel   -0.2789956  0.9924228  1.0000000  0.9836265
Plpg      -0.2335253  0.9816979  0.9836265  1.0000000
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=286210&T=1

[TABLE]
[ROW][C]Pearson Correlation Matrix[/C][/ROW]
[ROW][C]
> r0
           insch_lpg     Psuper    Pdiesel       Plpg
insch_lpg  1.0000000 -0.2518342 -0.2789956 -0.2335253
Psuper    -0.2518342  1.0000000  0.9924228  0.9816979
Pdiesel   -0.2789956  0.9924228  1.0000000  0.9836265
Plpg      -0.2335253  0.9816979  0.9836265  1.0000000
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=286210&T=1

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

As an alternative you can also use a QR Code:  

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

Pearson Correlation Matrix
> r0
           insch_lpg     Psuper    Pdiesel       Plpg
insch_lpg  1.0000000 -0.2518342 -0.2789956 -0.2335253
Psuper    -0.2518342  1.0000000  0.9924228  0.9816979
Pdiesel   -0.2789956  0.9924228  1.0000000  0.9836265
Plpg      -0.2335253  0.9816979  0.9836265  1.0000000







Partial Pearson Correlation Matrix (Shrinkage Method)
> r1
            insch_lpg      Psuper    Pdiesel       Plpg
insch_lpg  1.00000000 -0.02457441 -0.1077316 0.02276418
Psuper    -0.02457441  1.00000000  0.4909480 0.44262034
Pdiesel   -0.10773160  0.49094805  1.0000000 0.45221631
Plpg       0.02276418  0.44262034  0.4522163 1.00000000
attr(,"lambda")
[1] 0.1221301
attr(,"lambda.estimated")
[1] TRUE
attr(,"class")
[1] "shrinkage"
attr(,"spv")
insch_lpg    Psuper   Pdiesel      Plpg 
0.9392804 0.1937175 0.1894099 0.2045034 

\begin{tabular}{lllllllll}
\hline
Partial Pearson Correlation Matrix (Shrinkage Method) \tabularnewline
> r1
            insch_lpg      Psuper    Pdiesel       Plpg
insch_lpg  1.00000000 -0.02457441 -0.1077316 0.02276418
Psuper    -0.02457441  1.00000000  0.4909480 0.44262034
Pdiesel   -0.10773160  0.49094805  1.0000000 0.45221631
Plpg       0.02276418  0.44262034  0.4522163 1.00000000
attr(,"lambda")
[1] 0.1221301
attr(,"lambda.estimated")
[1] TRUE
attr(,"class")
[1] "shrinkage"
attr(,"spv")
insch_lpg    Psuper   Pdiesel      Plpg 
0.9392804 0.1937175 0.1894099 0.2045034 
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=286210&T=2

[TABLE]
[ROW][C]Partial Pearson Correlation Matrix (Shrinkage Method)[/C][/ROW]
[ROW][C]
> r1
            insch_lpg      Psuper    Pdiesel       Plpg
insch_lpg  1.00000000 -0.02457441 -0.1077316 0.02276418
Psuper    -0.02457441  1.00000000  0.4909480 0.44262034
Pdiesel   -0.10773160  0.49094805  1.0000000 0.45221631
Plpg       0.02276418  0.44262034  0.4522163 1.00000000
attr(,"lambda")
[1] 0.1221301
attr(,"lambda.estimated")
[1] TRUE
attr(,"class")
[1] "shrinkage"
attr(,"spv")
insch_lpg    Psuper   Pdiesel      Plpg 
0.9392804 0.1937175 0.1894099 0.2045034 
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=286210&T=2

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

As an alternative you can also use a QR Code:  

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

Partial Pearson Correlation Matrix (Shrinkage Method)
> r1
            insch_lpg      Psuper    Pdiesel       Plpg
insch_lpg  1.00000000 -0.02457441 -0.1077316 0.02276418
Psuper    -0.02457441  1.00000000  0.4909480 0.44262034
Pdiesel   -0.10773160  0.49094805  1.0000000 0.45221631
Plpg       0.02276418  0.44262034  0.4522163 1.00000000
attr(,"lambda")
[1] 0.1221301
attr(,"lambda.estimated")
[1] TRUE
attr(,"class")
[1] "shrinkage"
attr(,"spv")
insch_lpg    Psuper   Pdiesel      Plpg 
0.9392804 0.1937175 0.1894099 0.2045034 



Parameters (Session):
Parameters (R input):
R code (references can be found in the software module):
library(corpcor)
x <- t(y)
(r1 <- pcor.shrink(x))
(r0 <- cor(x))
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Pearson Correlation Matrix',1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,paste('
',RC.texteval('r0'),'
',sep=''))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable0.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Partial Pearson Correlation Matrix (Shrinkage Method)',1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,paste('
',RC.texteval('r1'),'
',sep=''))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')