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 computationThu, 21 Dec 2017 18:02:40 +0100
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2017/Dec/21/t1513876391dzd17rawbcj7qly.htm/, Retrieved Tue, 14 May 2024 20:57:17 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=310676, Retrieved Tue, 14 May 2024 20:57:17 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact55
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Partial Correlation Matrix] [] [2017-12-21 17:02:40] [5370b2258acb413c12b88dfd0545a67d] [Current]
Feedback Forum

Post a new message
Dataseries X:
3	2	4	4	2
2	3	3	4	3
2	2	2	3	4
2	2	3	4	4
4	4	3	4	3
5	4	4	5	3
5	2	3	4	5
2	3	4	4	3
4	5	3	4	3
4	1	3	5	3
3	2	4	3	3
3	3	3	3	4
3	3	3	3	3
3	3	3	3	3
4	4	3	3	5
4	3	3	4	4
3	3	3	3	4
3	3	3	5	4
4	3	4	3	4
2	3	2	4	5
1	3	3	4	5
4	3	4	4	4
4	2	3	2	3
3	2	2	4	4
3	3	3	4	3
4	4	4	4	4
4	4	4	3	5
2	2	2	3	3
5	4	4	4	4
3	3	3	3	3
3	3	3	4	4
4	4	4	4	4
4	3	3	4	4
3	3	4	4	4
3	2	3	5	4
3	3	4	4	4
4	4	4	4	3
3	4	4	3	3
3	1	3	2	4
4	3	3	4	3
4	4	4	4	3
1	3	3	4	4
4	3	4	3	5
4	4	3	4	3
4	3	4	4	3
4	3	3	3	3
4	4	4	4	4
4	4	3	3	4
4	3	4	4	5
5	4	4	4	5
4	4	4	5	4
4	4	4	5	4
3	3	3	4	3
3	3	4	4	4
3	3	4	3	3
4	2	5	4	4
5	5	4	4	3
5	5	5	4	5
5	4	5	4	4
4	3	4	4	4
4	4	4	4	3
2	2	3	5	5
4	4	4	4	4
3	3	3	3	4
4	4	5	5	5
4	4	5	4	4
5	4	5	4	4
3	4	4	4	5
4	5	4	5	4
5	4	4	5	4
5	3	4	5	5
5	4	5	4	5
4	3	4	4	4
4	5	5	5	5
5	4	3	4	3
4	4	4	4	4
3	4	3	2	4
3	3	3	3	3
3	3	3	4	3
3	4	4	4	3
5	5	4	4	4
3	4	3	4	4
4	4	4	4	3
5	2	5	5	5
2	3	3	4	4
3	2	3	4	4
3	4	3	4	4
4	4	5	5	5
4	4	5	5	5




Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R ServerBig Analytics Cloud Computing Center
R Framework error message
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input view raw input (R code)  \tabularnewline
Raw Outputview raw output of R engine  \tabularnewline
Computing time1 seconds \tabularnewline
R ServerBig Analytics Cloud Computing Center \tabularnewline
R Framework error message & 
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=310676&T=0

[TABLE]
[ROW]
Summary of computational transaction[/C][/ROW] [ROW]Raw Input[/C] view raw input (R code) [/C][/ROW] [ROW]Raw Output[/C]view raw output of R engine [/C][/ROW] [ROW]Computing time[/C]1 seconds[/C][/ROW] [ROW]R Server[/C]Big Analytics Cloud Computing Center[/C][/ROW] [ROW]R Framework error message[/C][C]
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=310676&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=310676&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 Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R ServerBig Analytics Cloud Computing Center
R Framework error message
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.







Pearson Correlation Matrix
> r0
              Q1        Q2        Q3        Q4    Q5\r\r
Q1     1.0000000 0.4459873 0.5608077 0.2457501 0.1417641
Q2     0.4459873 1.0000000 0.4378263 0.2154838 0.1067104
Q3     0.5608077 0.4378263 1.0000000 0.3703109 0.2804102
Q4     0.2457501 0.2154838 0.3703109 1.0000000 0.2511471
Q5\r\r 0.1417641 0.1067104 0.2804102 0.2511471 1.0000000

\begin{tabular}{lllllllll}
\hline
Pearson Correlation Matrix \tabularnewline
> r0
              Q1        Q2        Q3        Q4    Q5\r\r
Q1     1.0000000 0.4459873 0.5608077 0.2457501 0.1417641
Q2     0.4459873 1.0000000 0.4378263 0.2154838 0.1067104
Q3     0.5608077 0.4378263 1.0000000 0.3703109 0.2804102
Q4     0.2457501 0.2154838 0.3703109 1.0000000 0.2511471
Q5\r\r 0.1417641 0.1067104 0.2804102 0.2511471 1.0000000
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=310676&T=1

[TABLE]
[ROW][C]Pearson Correlation Matrix[/C][/ROW]
[ROW][C]
> r0
              Q1        Q2        Q3        Q4    Q5\r\r
Q1     1.0000000 0.4459873 0.5608077 0.2457501 0.1417641
Q2     0.4459873 1.0000000 0.4378263 0.2154838 0.1067104
Q3     0.5608077 0.4378263 1.0000000 0.3703109 0.2804102
Q4     0.2457501 0.2154838 0.3703109 1.0000000 0.2511471
Q5\r\r 0.1417641 0.1067104 0.2804102 0.2511471 1.0000000
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=310676&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=310676&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
              Q1        Q2        Q3        Q4    Q5\r\r
Q1     1.0000000 0.4459873 0.5608077 0.2457501 0.1417641
Q2     0.4459873 1.0000000 0.4378263 0.2154838 0.1067104
Q3     0.5608077 0.4378263 1.0000000 0.3703109 0.2804102
Q4     0.2457501 0.2154838 0.3703109 1.0000000 0.2511471
Q5\r\r 0.1417641 0.1067104 0.2804102 0.2511471 1.0000000







Partial Pearson Correlation Matrix (Shrinkage Method)
> r1
                 Q1          Q2        Q3         Q4       Q5\r\r
Q1      1.000000000  0.25067340 0.3799114 0.04931418 -0.005642069
Q2      0.250673402  1.00000000 0.2186516 0.05916887 -0.012680552
Q3      0.379911402  0.21865161 1.0000000 0.20872334  0.173040193
Q4      0.049314180  0.05916887 0.2087233 1.00000000  0.155691768
Q5\r\r -0.005642069 -0.01268055 0.1730402 0.15569177  1.000000000
attr(,"lambda")
[1] 0.1057119
attr(,"lambda.estimated")
[1] TRUE
attr(,"class")
[1] "shrinkage"
attr(,"spv")
       Q1        Q2        Q3        Q4    Q5\r\r 
0.6983504 0.7891400 0.6436339 0.8620909 0.9143874 

\begin{tabular}{lllllllll}
\hline
Partial Pearson Correlation Matrix (Shrinkage Method) \tabularnewline
> r1
                 Q1          Q2        Q3         Q4       Q5\r\r
Q1      1.000000000  0.25067340 0.3799114 0.04931418 -0.005642069
Q2      0.250673402  1.00000000 0.2186516 0.05916887 -0.012680552
Q3      0.379911402  0.21865161 1.0000000 0.20872334  0.173040193
Q4      0.049314180  0.05916887 0.2087233 1.00000000  0.155691768
Q5\r\r -0.005642069 -0.01268055 0.1730402 0.15569177  1.000000000
attr(,"lambda")
[1] 0.1057119
attr(,"lambda.estimated")
[1] TRUE
attr(,"class")
[1] "shrinkage"
attr(,"spv")
       Q1        Q2        Q3        Q4    Q5\r\r 
0.6983504 0.7891400 0.6436339 0.8620909 0.9143874 
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=310676&T=2

[TABLE]
[ROW][C]Partial Pearson Correlation Matrix (Shrinkage Method)[/C][/ROW]
[ROW][C]
> r1
                 Q1          Q2        Q3         Q4       Q5\r\r
Q1      1.000000000  0.25067340 0.3799114 0.04931418 -0.005642069
Q2      0.250673402  1.00000000 0.2186516 0.05916887 -0.012680552
Q3      0.379911402  0.21865161 1.0000000 0.20872334  0.173040193
Q4      0.049314180  0.05916887 0.2087233 1.00000000  0.155691768
Q5\r\r -0.005642069 -0.01268055 0.1730402 0.15569177  1.000000000
attr(,"lambda")
[1] 0.1057119
attr(,"lambda.estimated")
[1] TRUE
attr(,"class")
[1] "shrinkage"
attr(,"spv")
       Q1        Q2        Q3        Q4    Q5\r\r 
0.6983504 0.7891400 0.6436339 0.8620909 0.9143874 
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=310676&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=310676&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
                 Q1          Q2        Q3         Q4       Q5\r\r
Q1      1.000000000  0.25067340 0.3799114 0.04931418 -0.005642069
Q2      0.250673402  1.00000000 0.2186516 0.05916887 -0.012680552
Q3      0.379911402  0.21865161 1.0000000 0.20872334  0.173040193
Q4      0.049314180  0.05916887 0.2087233 1.00000000  0.155691768
Q5\r\r -0.005642069 -0.01268055 0.1730402 0.15569177  1.000000000
attr(,"lambda")
[1] 0.1057119
attr(,"lambda.estimated")
[1] TRUE
attr(,"class")
[1] "shrinkage"
attr(,"spv")
       Q1        Q2        Q3        Q4    Q5\r\r 
0.6983504 0.7891400 0.6436339 0.8620909 0.9143874 



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