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 computationMon, 11 Jan 2016 08:16:51 +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/2016/Jan/11/t14525002944na4zyvzuxlhjpt.htm/, Retrieved Tue, 07 May 2024 10:05:00 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=288375, Retrieved Tue, 07 May 2024 10:05:00 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact66
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Partial Correlation Matrix] [] [2016-01-11 08:16:51] [458bc02f6d4386c4526d029d1899c9d8] [Current]
Feedback Forum

Post a new message
Dataseries X:
1 1 0 0 3.2 3.2
0 0 1 0 3.3 0
1 0 1 1 3.0 3
0 0 1 0 3.5 0
1 0 1 0 3.7 3.7
0 1 0 0 2.7 0
1 0 1 1 3.6 3.6
0 0 1 0 3.5 0
1 1 0 0 3.8 3.8
0 0 1 0 3.4 0
1 0 0 0 3.7 3.7
0 0 1 0 3.5 0
1 0 0 1 2.8 2.8
0 1 0 1 3.8 0
1 0 1 0 4.3 4.3
0 0 0 0 3.3 0
1 0 0 0 3.6 3.6
0 1 0 1 3.6 0
1 1 1 0 3.3 3.3
0 0 0 0 2.8 0




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=288375&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'Sir Maurice George Kendall' @ kendall.wessa.net







Pearson Correlation Matrix
> r0
            Geslacht       Drugs      Fruit       Sport  Gebgewicht       Inter
Geslacht   1.0000000  0.00000000  0.0000000  0.11547005  0.21038067  0.98640481
Drugs      0.0000000  1.00000000 -0.4364358  0.12598816 -0.03443162 -0.01230007
Fruit      0.0000000 -0.43643578  1.0000000 -0.11547005  0.23667826  0.02254640
Sport      0.1154701  0.12598816 -0.1154701  1.00000000 -0.09109750  0.04230579
Gebgewicht 0.2103807 -0.03443162  0.2366783 -0.09109750  1.00000000  0.33351510
Inter      0.9864048 -0.01230007  0.0225464  0.04230579  0.33351510  1.00000000

\begin{tabular}{lllllllll}
\hline
Pearson Correlation Matrix \tabularnewline
> r0
            Geslacht       Drugs      Fruit       Sport  Gebgewicht       Inter
Geslacht   1.0000000  0.00000000  0.0000000  0.11547005  0.21038067  0.98640481
Drugs      0.0000000  1.00000000 -0.4364358  0.12598816 -0.03443162 -0.01230007
Fruit      0.0000000 -0.43643578  1.0000000 -0.11547005  0.23667826  0.02254640
Sport      0.1154701  0.12598816 -0.1154701  1.00000000 -0.09109750  0.04230579
Gebgewicht 0.2103807 -0.03443162  0.2366783 -0.09109750  1.00000000  0.33351510
Inter      0.9864048 -0.01230007  0.0225464  0.04230579  0.33351510  1.00000000
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=288375&T=1

[TABLE]
[ROW][C]Pearson Correlation Matrix[/C][/ROW]
[ROW][C]
> r0
            Geslacht       Drugs      Fruit       Sport  Gebgewicht       Inter
Geslacht   1.0000000  0.00000000  0.0000000  0.11547005  0.21038067  0.98640481
Drugs      0.0000000  1.00000000 -0.4364358  0.12598816 -0.03443162 -0.01230007
Fruit      0.0000000 -0.43643578  1.0000000 -0.11547005  0.23667826  0.02254640
Sport      0.1154701  0.12598816 -0.1154701  1.00000000 -0.09109750  0.04230579
Gebgewicht 0.2103807 -0.03443162  0.2366783 -0.09109750  1.00000000  0.33351510
Inter      0.9864048 -0.01230007  0.0225464  0.04230579  0.33351510  1.00000000
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=288375&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=288375&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
            Geslacht       Drugs      Fruit       Sport  Gebgewicht       Inter
Geslacht   1.0000000  0.00000000  0.0000000  0.11547005  0.21038067  0.98640481
Drugs      0.0000000  1.00000000 -0.4364358  0.12598816 -0.03443162 -0.01230007
Fruit      0.0000000 -0.43643578  1.0000000 -0.11547005  0.23667826  0.02254640
Sport      0.1154701  0.12598816 -0.1154701  1.00000000 -0.09109750  0.04230579
Gebgewicht 0.2103807 -0.03443162  0.2366783 -0.09109750  1.00000000  0.33351510
Inter      0.9864048 -0.01230007  0.0225464  0.04230579  0.33351510  1.00000000







Partial Pearson Correlation Matrix (Shrinkage Method)
> r1
                Geslacht         Drugs        Fruit         Sport  Gebgewicht
Geslacht    1.0000000000 -0.0009897077 -0.006691144  0.0545728176  0.03082249
Drugs      -0.0009897077  1.0000000000 -0.212280381  0.0516659009  0.01137720
Fruit      -0.0066911439 -0.2122803814  1.000000000 -0.0392484138  0.11395804
Sport       0.0545728176  0.0516659009 -0.039248414  1.0000000000 -0.04485779
Gebgewicht  0.0308224882  0.0113771997  0.113958039 -0.0448577874  1.00000000
Inter       0.4777483157 -0.0053955635 -0.003855957 -0.0009947825  0.13047914
                   Inter
Geslacht    0.4777483157
Drugs      -0.0053955635
Fruit      -0.0038559574
Sport      -0.0009947825
Gebgewicht  0.1304791440
Inter       1.0000000000
attr(,"lambda")
[1] 0.5068397
attr(,"lambda.estimated")
[1] TRUE
attr(,"class")
[1] "shrinkage"
attr(,"spv")
  Geslacht      Drugs      Fruit      Sport Gebgewicht      Inter 
 0.7604391  0.9510331  0.9392853  0.9888648  0.9569597  0.7501935 

\begin{tabular}{lllllllll}
\hline
Partial Pearson Correlation Matrix (Shrinkage Method) \tabularnewline
> r1
                Geslacht         Drugs        Fruit         Sport  Gebgewicht
Geslacht    1.0000000000 -0.0009897077 -0.006691144  0.0545728176  0.03082249
Drugs      -0.0009897077  1.0000000000 -0.212280381  0.0516659009  0.01137720
Fruit      -0.0066911439 -0.2122803814  1.000000000 -0.0392484138  0.11395804
Sport       0.0545728176  0.0516659009 -0.039248414  1.0000000000 -0.04485779
Gebgewicht  0.0308224882  0.0113771997  0.113958039 -0.0448577874  1.00000000
Inter       0.4777483157 -0.0053955635 -0.003855957 -0.0009947825  0.13047914
                   Inter
Geslacht    0.4777483157
Drugs      -0.0053955635
Fruit      -0.0038559574
Sport      -0.0009947825
Gebgewicht  0.1304791440
Inter       1.0000000000
attr(,"lambda")
[1] 0.5068397
attr(,"lambda.estimated")
[1] TRUE
attr(,"class")
[1] "shrinkage"
attr(,"spv")
  Geslacht      Drugs      Fruit      Sport Gebgewicht      Inter 
 0.7604391  0.9510331  0.9392853  0.9888648  0.9569597  0.7501935 
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=288375&T=2

[TABLE]
[ROW][C]Partial Pearson Correlation Matrix (Shrinkage Method)[/C][/ROW]
[ROW][C]
> r1
                Geslacht         Drugs        Fruit         Sport  Gebgewicht
Geslacht    1.0000000000 -0.0009897077 -0.006691144  0.0545728176  0.03082249
Drugs      -0.0009897077  1.0000000000 -0.212280381  0.0516659009  0.01137720
Fruit      -0.0066911439 -0.2122803814  1.000000000 -0.0392484138  0.11395804
Sport       0.0545728176  0.0516659009 -0.039248414  1.0000000000 -0.04485779
Gebgewicht  0.0308224882  0.0113771997  0.113958039 -0.0448577874  1.00000000
Inter       0.4777483157 -0.0053955635 -0.003855957 -0.0009947825  0.13047914
                   Inter
Geslacht    0.4777483157
Drugs      -0.0053955635
Fruit      -0.0038559574
Sport      -0.0009947825
Gebgewicht  0.1304791440
Inter       1.0000000000
attr(,"lambda")
[1] 0.5068397
attr(,"lambda.estimated")
[1] TRUE
attr(,"class")
[1] "shrinkage"
attr(,"spv")
  Geslacht      Drugs      Fruit      Sport Gebgewicht      Inter 
 0.7604391  0.9510331  0.9392853  0.9888648  0.9569597  0.7501935 
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=288375&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=288375&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
                Geslacht         Drugs        Fruit         Sport  Gebgewicht
Geslacht    1.0000000000 -0.0009897077 -0.006691144  0.0545728176  0.03082249
Drugs      -0.0009897077  1.0000000000 -0.212280381  0.0516659009  0.01137720
Fruit      -0.0066911439 -0.2122803814  1.000000000 -0.0392484138  0.11395804
Sport       0.0545728176  0.0516659009 -0.039248414  1.0000000000 -0.04485779
Gebgewicht  0.0308224882  0.0113771997  0.113958039 -0.0448577874  1.00000000
Inter       0.4777483157 -0.0053955635 -0.003855957 -0.0009947825  0.13047914
                   Inter
Geslacht    0.4777483157
Drugs      -0.0053955635
Fruit      -0.0038559574
Sport      -0.0009947825
Gebgewicht  0.1304791440
Inter       1.0000000000
attr(,"lambda")
[1] 0.5068397
attr(,"lambda.estimated")
[1] TRUE
attr(,"class")
[1] "shrinkage"
attr(,"spv")
  Geslacht      Drugs      Fruit      Sport Gebgewicht      Inter 
 0.7604391  0.9510331  0.9392853  0.9888648  0.9569597  0.7501935 



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