R version 2.9.0 (2009-04-17) Copyright (C) 2009 The R Foundation for Statistical Computing ISBN 3-900051-07-0 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > z <- c(3.88 + ,3.98 + ,3.29 + ,2.88 + ,3.22 + ,3.62 + ,3.82 + ,3.54 + ,2.53 + ,2.22 + ,2.85 + ,2.78 + ,2.28 + ,2.26 + ,2.71 + ,2.77 + ,2.77 + ,2.64 + ,2.56 + ,2.07 + ,2.32 + ,2.16 + ,2.23 + ,2.4 + ,2.84 + ,2.77 + ,2.93 + ,2.91 + ,2.69 + ,2.38 + ,2.58 + ,3.19 + ,2.82 + ,2.72 + ,2.53 + ,2.7 + ,2.42 + ,2.5 + ,2.31 + ,2.41 + ,2.56 + ,2.76 + ,2.71 + ,2.44 + ,2.46 + ,2.12 + ,1.99 + ,1.86 + ,1.88 + ,1.82 + ,1.74 + ,1.71 + ,1.38 + ,1.27 + ,1.19 + ,1.28 + ,1.19 + ,1.22 + ,1.47 + ,1.46 + ,1.96 + ,1.88 + ,2.03 + ,2.04 + ,1.9 + ,1.8 + ,1.92 + ,1.92 + ,1.97 + ,2.46 + ,2.36 + ,2.53 + ,2.31 + ,1.98 + ,1.46 + ,1.26 + ,1.58 + ,1.74 + ,1.89 + ,1.85 + ,1.62 + ,1.3 + ,1.42 + ,1.15 + ,0.42 + ,0.74 + ,1.02 + ,1.51 + ,1.86 + ,1.59 + ,1.03 + ,0.44 + ,0.82 + ,0.86 + ,0.58 + ,0.59 + ,0.95 + ,0.98 + ,1.23 + ,1.17 + ,0.84 + ,0.74 + ,0.65 + ,0.91 + ,1.19 + ,1.3 + ,1.53 + ,1.94 + ,1.79 + ,1.95 + ,2.26 + ,2.04 + ,2.16 + ,2.75 + ,2.79 + ,2.88 + ,3.36 + ,2.97 + ,3.1 + ,2.49 + ,2.2 + ,2.25 + ,2.09 + ,2.79 + ,3.14 + ,2.93 + ,2.65 + ,2.67 + ,2.26 + ,2.35 + ,2.13 + ,2.18 + ,2.9 + ,2.63 + ,2.67 + ,1.81 + ,1.33 + ,0.88 + ,1.28 + ,1.26 + ,1.26 + ,1.29 + ,1.1 + ,1.37 + ,1.21 + ,1.74 + ,1.76 + ,1.48 + ,1.04 + ,1.62 + ,1.49 + ,1.79 + ,1.8 + ,1.58 + ,1.86 + ,1.74 + ,1.59 + ,1.26 + ,1.13 + ,1.92 + ,2.61 + ,2.26 + ,2.41 + ,2.26 + ,2.03 + ,2.86 + ,2.55 + ,2.27 + ,2.26 + ,2.57 + ,3.07 + ,2.76 + ,2.51 + ,2.87 + ,3.14 + ,3.11 + ,3.16 + ,2.47 + ,2.57 + ,2.89 + ,2.63 + ,2.38 + ,1.69 + ,1.96 + ,2.19 + ,1.87 + ,1.6 + ,1.63 + ,1.22 + ,1.21 + ,1.49 + ,1.64 + ,1.66 + ,1.77 + ,1.82 + ,1.78 + ,1.28 + ,1.29 + ,1.37 + ,1.12 + ,1.51 + ,2.24 + ,2.94 + ,3.09 + ,3.46 + ,3.64 + ,4.39 + ,4.15 + ,5.21 + ,5.8 + ,5.91 + ,5.39 + ,5.46 + ,4.72 + ,3.14 + ,2.63 + ,2.32 + ,1.93 + ,0.62 + ,0.6 + ,-0.37 + ,-1.1 + ,-1.68 + ,-0.78) > y <- c(153.3 + ,154.5 + ,155.2 + ,156.9 + ,157 + ,157.4 + ,157.2 + ,157.5 + ,158 + ,158.5 + ,159 + ,159.3 + ,160 + ,160.8 + ,161.9 + ,162.5 + ,162.7 + ,162.8 + ,162.9 + ,163 + ,164 + ,164.7 + ,164.8 + ,164.9 + ,165 + ,165.8 + ,166.1 + ,167.2 + ,167.7 + ,168.3 + ,168.6 + ,168.9 + ,169.1 + ,169.5 + ,169.6 + ,169.7 + ,169.8 + ,170.4 + ,170.9 + ,171.9 + ,171.9 + ,172 + ,172 + ,172.4 + ,173 + ,173.7 + ,173.8 + ,173.8 + ,173.9 + ,174.6 + ,175 + ,175.9 + ,176 + ,175.1 + ,175.6 + ,175.9 + ,176.7 + ,176.1 + ,176.1 + ,176.2 + ,176.3 + ,177.8 + ,178.5 + ,179.4 + ,179.5 + ,179.6 + ,179.7 + ,179.7 + ,179.8 + ,179.9 + ,180.2 + ,180.4 + ,180.4 + ,181.3 + ,181.9 + ,182.5 + ,182.7 + ,183.1 + ,183.6 + ,183.7 + ,183.8 + ,183.9 + ,184.1 + ,184.4 + ,184.5 + ,185.9 + ,186.6 + ,187.6 + ,187.8 + ,187.9 + ,188 + ,188.3 + ,188.4 + ,188.5 + ,188.5 + ,188.6 + ,188.6 + ,189.4 + ,190 + ,191.9 + ,192.5 + ,193 + ,193.5 + ,193.9 + ,194.2 + ,194.9 + ,194.9 + ,194.9 + ,194.9 + ,195.5 + ,196 + ,196.2 + ,196.2 + ,196.2 + ,196.2 + ,197 + ,197.7 + ,198 + ,198.2 + ,198.5 + ,198.6 + ,199.5 + ,200 + ,201.3 + ,202.2 + ,202.9 + ,203.5 + ,203.5 + ,204 + ,204.1 + ,204.3 + ,204.5 + ,204.8 + ,205.1 + ,205.7 + ,206.5 + ,206.9 + ,207.1 + ,207.8 + ,208 + ,208.5 + ,208.6 + ,209 + ,209.1 + ,209.7 + ,209.8 + ,209.9 + ,210 + ,210.8 + ,211.4 + ,211.7 + ,212 + ,212.2 + ,212.4 + ,212.9 + ,213.4 + ,213.7 + ,214 + ,214.3 + ,214.8 + ,215 + ,215.9 + ,216.4 + ,216.9 + ,217.2 + ,217.5 + ,217.9 + ,218.1 + ,218.6 + ,218.9 + ,219.3 + ,220.4 + ,220.9 + ,221 + ,221.8 + ,222 + ,222.2 + ,222.5 + ,222.9 + ,223.1 + ,223.4 + ,224 + ,225.1 + ,225.5 + ,225.9 + ,226.3 + ,226.5 + ,227 + ,227.3 + ,227.8 + ,228.1 + ,228.4 + ,228.5 + ,228.8 + ,229 + ,229.1 + ,229.3 + ,229.6 + ,229.9 + ,230 + ,230.2 + ,230.8 + ,231 + ,231.7 + ,231.9 + ,233 + ,235.1 + ,236 + ,236.9 + ,237.1 + ,237.5 + ,238.2 + ,238.9 + ,239.1 + ,240 + ,240.2 + ,240.5 + ,240.7 + ,241.1 + ,241.4 + ,242.2 + ,242.9 + ,243.2 + ,243.9) > x <- c(10.2,10,9.7,9.4,9.2,9.1,9.6,10.2,10.2,10,9.9,9.9,9.9,9.7,9.5,9.4,9.3,9.3,9.9,10.5,10.6,10.6,10.5,10.6,10.8,10.8,10.7,10.6,10.6,10.8,11.4,12.2,12.4,12.4,12.3,12.4,12.5,12.5,12.4,12.3,12.2,12.1,12.6,13.2,13.4,13.2,12.9,12.8,12.7,12.6,12.4,12.1,12,11.9,12.5,13.2,13.4,13.3,13,12.9,13,12.9,12.6,12.4,12.1,11.9,12.3,13,13,12.6,12.2,12.1,12,11.8,11.6,11.4,11.2,11.2,11.8,12.5,12.6,12.4,12.1,12,12,11.9,11.8,11.5,11.3,11.2,11.6,12.2,12.2,11.7,11.2,11,10.9,10.8,10.5,10.2,10,9.9,10.3,10.7,10.4,10.1,9.7,9.4,8.9,8.4,8.1,8.3,8.1,8,8.7,9.2,9,8.9,8.5,8.1,7.5,7.1,6.9,7.1,7,6.7,7,7.3,7.7,8.4,8.4,8.8,9.1,9,8.6,7.9,7.7,7.8,9.2,9.4,9.2,8.7,8.4,8.6,9,9.1,8.7,8.2,7.9,7.9,9.1,9.4,9.4,9.1,9,9.3,9.9,9.8,9.3,8.3,8,8.5,10.4,11.1,10.9,10,9.2,9.2,9.5,9.6,9.5,9.1,8.9,9,10.1,10.3,10.2,9.6,9.2,9.3,9.4,9.4,9.2,9,9,9,9.8,10,9.8,9.3,9,9,9.1,9.1,9.1,9.2,8.8,8.3,8.4,8.1,7.7,7.9,7.9,8,7.9,7.6,7.1,6.8,6.5,6.9,8.2,8.7,8.3,7.9,7.5,7.8,8.3,8.4,8.2,7.7,7.2,7.3,8.1,8.5) > #'GNU S' R Code compiled by R2WASP v. 1.0.44 () > #Author: Prof. Dr. P. Wessa > #To cite this work: AUTHOR(S), (YEAR), YOUR SOFTWARE TITLE (vNUMBER) in Free Statistics Software (v$_version), Office for Research Development and Education, URL http://www.wessa.net/rwasp_YOURPAGE.wasp/ > #Source of accompanying publication: Office for Research, Development, and Education > #Technical description: Write here your technical program description (don't use hard returns!) > (rho12 <- cor(x, y)) [1] -0.6527174 > (rho23 <- cor(y, z)) [1] -0.04389977 > (rho13 <- cor(x, z)) [1] -0.1991310 > (rhoxy_z <- (rho12-(rho13*rho23))/(sqrt(1-(rho13*rho13)) * sqrt(1-(rho23*rho23)))) [1] -0.6756284 > (rhoxz_y <- (rho13-(rho12*rho23))/(sqrt(1-(rho12*rho12)) * sqrt(1-(rho23*rho23)))) [1] -0.3009563 > (rhoyz_x <- (rho23-(rho12*rho13))/(sqrt(1-(rho12*rho12)) * sqrt(1-(rho13*rho13)))) [1] -0.2341989 > > #Note: the /var/www/html/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/www/html/rcomp/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="/var/www/html/rcomp/tmp/158761259511946.tab") > > > > proc.time() user system elapsed 0.222 0.025 0.243