Send output to:
Browser Blue - Charts White
Browser Black/White
CSV
Data X:
1.4 1.2 1 1.7 2.4 2 2.1 2 1.8 2.7 2.3 1.9 2 2.3 2.8 2.4 2.3 2.7 2.7 2.9 3 2.2 2.3 2.8 2.8 2.8 2.2 2.6 2.8 2.5 2.4 2.3 1.9 1.7 2 2.1 1.7 1.8 1.8 1.8 1.3 1.3 1.3 1.2 1.4 2.2 2.9 3.1 3.5 3.6 4.4 4.1 5.1 5.8 5.9 5.4 5.5 4.8 3.2 2.7 2.1 1.9 0.6 0.7 -0.2 -1 -1.7 -0.7 -1
Data Y:
2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2.21 2.25 2.25 2.45 2.5 2.5 2.64 2.75 2.93 3 3.17 3.25 3.39 3.5 3.5 3.65 3.75 3.75 3.9 4 4 4 4 4 4 4 4 4 4 4 4 4.18 4.25 4.25 3.97 3.42 2.75 2.31 2 1.66 1.31 1.09 1 1 1 1
Data Z:
0.4 1 1.7 3.1 3.3 3.1 3.5 6 5.7 4.7 4.2 3.6 4.4 2.5 -0.6 -1.9 -1.9 0.7 -0.9 -1.7 -3.1 -2.1 0.2 1.2 3.8 4 6.6 5.3 7.6 4.7 6.6 4.4 4.6 6 4.8 4 2.7 3 4.1 4 2.7 2.6 3.1 4.4 3 2 1.3 1.5 1.3 3.2 1.8 3.3 1 2.4 0.4 -0.1 1.3 -1.1 -4.4 -7.5 -12.2 -14.5 -16 -16.7 -16.3 -16.9 -15 -14.6 -14.3
R Code
(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('http://www.xycoon.com/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('http://www.xycoon.com/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('http://www.xycoon.com/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')
Compute
Summary of computational transaction
Raw Input
view raw input (R code)
Raw Output
view raw output of R engine
Computing time
0 seconds
R Server
Big Analytics Cloud Computing Center
Click here to blog (archive) this computation