R version 2.13.0 (2011-04-13) Copyright (C) 2011 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i486-pc-linux-gnu (32-bit) 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. > y <- c(96 + ,91 + ,108 + ,95 + ,105 + ,117 + ,94 + ,98 + ,120 + ,91 + ,100 + ,90 + ,123 + ,97 + ,120 + ,133 + ,141 + ,138 + ,85 + ,121 + ,74 + ,100 + ,67 + ,73 + ,116 + ,115 + ,92 + ,109 + ,120 + ,105 + ,115 + ,105 + ,122 + ,87 + ,94 + ,78 + ,135 + ,113 + ,123 + ,126 + ,127 + ,120 + ,108 + ,83 + ,117 + ,96 + ,103 + ,134 + ,112 + ,93 + ,103 + ,84 + ,116 + ,97 + ,87 + ,122 + ,111 + ,101 + ,109 + ,96 + ,100 + ,90 + ,120 + ,86 + ,85 + ,96 + ,93 + ,95 + ,127 + ,156 + ,94 + ,123 + ,80 + ,98 + ,88 + ,109 + ,98 + ,83 + ,85 + ,85 + ,76 + ,96 + ,72 + ,125 + ,121 + ,103 + ,113 + ,89 + ,108 + ,80 + ,87 + ,84 + ,93 + ,94 + ,87 + ,95 + ,106 + ,94 + ,91 + ,106 + ,103 + ,121 + ,112 + ,98 + ,91 + ,112 + ,118 + ,90 + ,80 + ,73 + ,135 + ,97 + ,82 + ,99 + ,132 + ,130 + ,67 + ,78 + ,131 + ,80 + ,121 + ,79 + ,82 + ,101 + ,91 + ,83 + ,76 + ,93 + ,73 + ,107 + ,97 + ,133 + ,74 + ,93 + ,99 + ,105 + ,95 + ,90 + ,115 + ,95 + ,115 + ,105 + ,115 + ,102 + ,92 + ,101 + ,90 + ,93 + ,102 + ,79 + ,83 + ,89 + ,65 + ,97 + ,78 + ,99 + ,126 + ,106 + ,115 + ,90 + ,104 + ,76 + ,95 + ,114 + ,81 + ,91 + ,120 + ,132 + ,96 + ,95 + ,74 + ,93 + ,152 + ,116 + ,148 + ,84 + ,87 + ,114 + ,106 + ,110 + ,99 + ,96 + ,80 + ,144 + ,102 + ,125 + ,98 + ,87 + ,100 + ,128 + ,102 + ,104 + ,96 + ,127 + ,85 + ,106 + ,85 + ,126 + ,121 + ,94 + ,94 + ,128 + ,82 + ,118 + ,128 + ,149 + ,92 + ,105 + ,146 + ,106 + ,130 + ,77 + ,92 + ,83 + ,88 + ,89 + ,132 + ,113 + ,83 + ,84 + ,88 + ,74 + ,71 + ,119 + ,120 + ,113 + ,88 + ,92 + ,91 + ,123 + ,80 + ,79 + ,109 + ,98 + ,98 + ,106 + ,117 + ,108 + ,79 + ,93 + ,86 + ,106 + ,100 + ,78 + ,92 + ,111 + ,97 + ,77 + ,134 + ,95 + ,134 + ,96 + ,78 + ,79 + ,87 + ,95 + ,110 + ,96 + ,129 + ,93 + ,154 + ,97 + ,109 + ,118 + ,91 + ,83 + ,65 + ,99 + ,103 + ,75 + ,135 + ,109 + ,98 + ,81 + ,78 + ,75 + ,171 + ,96 + ,78 + ,96 + ,121 + ,100 + ,97 + ,99 + ,92 + ,108 + ,96 + ,77 + ,82 + ,94 + ,98 + ,139 + ,116 + ,126 + ,121 + ,96 + ,91 + ,99 + ,74 + ,95 + ,118 + ,74 + ,96 + ,117 + ,85 + ,84 + ,100 + ,88 + ,120 + ,97 + ,94 + ,105 + ,81 + ,70 + ,83 + ,93 + ,141 + ,109 + ,115 + ,97 + ,109 + ,103 + ,95 + ,92 + ,80 + ,109 + ,86 + ,74 + ,84 + ,121 + ,99 + ,76 + ,73 + ,73 + ,66 + ,134 + ,102 + ,81 + ,144 + ,78 + ,95 + ,116 + ,118 + ,77 + ,77 + ,72 + ,113 + ,104 + ,111 + ,86 + ,76 + ,117 + ,103 + ,95 + ,87 + ,105 + ,84 + ,90 + ,90 + ,84 + ,109 + ,113 + ,73 + ,102 + ,124 + ,102 + ,78 + ,103 + ,122 + ,112 + ,76 + ,97 + ,95 + ,106 + ,77 + ,88 + ,85 + ,121 + ,86 + ,113 + ,95 + ,92 + ,97 + ,83 + ,81 + ,90 + ,89 + ,83 + ,89 + ,90 + ,110 + ,116 + ,95 + ,79 + ,87 + ,109 + ,90 + ,96 + ,81 + ,93 + ,101 + ,80 + ,90 + ,108 + ,102 + ,90 + ,93 + ,97 + ,128 + ,99 + ,118 + ,131 + ,110 + ,79 + ,89 + ,84 + ,132 + ,89 + ,100 + ,97 + ,75 + ,94 + ,86 + ,97 + ,117 + ,79 + ,96 + ,71 + ,103 + ,138 + ,113 + ,207 + ,91 + ,85 + ,78 + ,114 + ,98 + ,97 + ,113 + ,69 + ,107 + ,113 + ,100 + ,92 + ,126 + ,106 + ,100 + ,68 + ,85 + ,124 + ,89 + ,80 + ,132 + ,89 + ,122 + ,139 + ,87 + ,103 + ,116 + ,90 + ,115 + ,101 + ,110 + ,103 + ,116 + ,92 + ,136 + ,122 + ,93 + ,81 + ,105 + ,86 + ,75 + ,84 + ,96 + ,96 + ,87 + ,115 + ,81 + ,124 + ,118 + ,136 + ,104 + ,116 + ,114 + ,90 + ,115 + ,98 + ,119 + ,110 + ,69 + ,135 + ,92 + ,112 + ,77 + ,182 + ,85 + ,102 + ,100 + ,118 + ,88 + ,115 + ,114 + ,101 + ,133 + ,93 + ,156 + ,105 + ,128 + ,131 + ,88 + ,81 + ,91 + ,95 + ,78 + ,125 + ,140 + ,114 + ,86 + ,103 + ,92 + ,107 + ,92 + ,83 + ,109 + ,116 + ,93 + ,118 + ,101 + ,91 + ,110 + ,105 + ,111 + ,78 + ,88 + ,70 + ,95 + ,85 + ,95 + ,146 + ,75 + ,89 + ,100 + ,120 + ,85 + ,83 + ,99 + ,121 + ,136 + ,85 + ,88 + ,87 + ,107 + ,87 + ,96 + ,116 + ,67 + ,105 + ,67 + ,90 + ,119 + ,97 + ,72 + ,80 + ,102 + ,105 + ,111 + ,74 + ,96 + ,84 + ,97 + ,102 + ,85 + ,101 + ,77 + ,116 + ,138 + ,140 + ,114 + ,112 + ,81 + ,103 + ,97 + ,73 + ,112 + ,129 + ,117 + ,88 + ,140 + ,146 + ,97 + ,99 + ,104 + ,60 + ,75 + ,91 + ,114 + ,94 + ,82 + ,138 + ,95 + ,98 + ,136 + ,76 + ,74 + ,77 + ,84 + ,84 + ,73 + ,88 + ,75 + ,90 + ,96 + ,110 + ,123 + ,107 + ,106 + ,119 + ,87 + ,123 + ,88 + ,93 + ,127 + ,86 + ,89 + ,84 + ,98 + ,122 + ,68 + ,134 + ,105 + ,88 + ,95 + ,90 + ,137 + ,99 + ,80 + ,108 + ,72 + ,104 + ,70 + ,133 + ,110 + ,136 + ,101 + ,133 + ,102 + ,116 + ,65 + ,113 + ,97 + ,115 + ,94) > x <- c(14 + ,13 + ,16 + ,13 + ,14 + ,15 + ,14 + ,13 + ,15 + ,13 + ,13 + ,13 + ,16 + ,16 + ,12 + ,15 + ,16 + ,16 + ,12 + ,16 + ,13 + ,14 + ,11 + ,12 + ,15 + ,15 + ,14 + ,15 + ,15 + ,15 + ,16 + ,15 + ,16 + ,12 + ,16 + ,12 + ,18 + ,18 + ,15 + ,17 + ,17 + ,16 + ,14 + ,14 + ,15 + ,14 + ,14 + ,17 + ,15 + ,14 + ,15 + ,14 + ,15 + ,15 + ,14 + ,15 + ,14 + ,16 + ,15 + ,15 + ,14 + ,16 + ,16 + ,13 + ,13 + ,15 + ,14 + ,13 + ,17 + ,18 + ,13 + ,16 + ,13 + ,15 + ,15 + ,13 + ,14 + ,14 + ,14 + ,15 + ,12 + ,16 + ,13 + ,15 + ,16 + ,14 + ,17 + ,12 + ,16 + ,13 + ,13 + ,14 + ,14 + ,13 + ,15 + ,15 + ,15 + ,12 + ,12 + ,14 + ,12 + ,15 + ,14 + ,15 + ,13 + ,15 + ,14 + ,13 + ,14 + ,14 + ,17 + ,14 + ,12 + ,15 + ,16 + ,16 + ,13 + ,14 + ,15 + ,13 + ,17 + ,13 + ,13 + ,12 + ,14 + ,15 + ,13 + ,15 + ,13 + ,15 + ,14 + ,16 + ,13 + ,15 + ,15 + ,14 + ,13 + ,15 + ,16 + ,15 + ,16 + ,16 + ,16 + ,14 + ,12 + ,13 + ,15 + ,15 + ,15 + ,14 + ,14 + ,14 + ,13 + ,15 + ,13 + ,15 + ,16 + ,15 + ,13 + ,13 + ,14 + ,15 + ,15 + ,16 + ,15 + ,12 + ,14 + ,16 + ,14 + ,14 + ,14 + ,12 + ,18 + ,14 + ,16 + ,12 + ,14 + ,13 + ,14 + ,16 + ,13 + ,13 + ,13 + ,14 + ,13 + ,14 + ,14 + ,14 + ,15 + ,15 + ,14 + ,13 + ,14 + ,17 + ,13 + ,15 + ,14 + ,16 + ,14 + ,14 + ,14 + ,17 + ,13 + ,14 + ,15 + ,18 + ,15 + ,15 + ,16 + ,15 + ,15 + ,12 + ,14 + ,14 + ,15 + ,14 + ,17 + ,15 + ,14 + ,13 + ,14 + ,14 + ,13 + ,14 + ,14 + ,14 + ,14 + ,15 + ,14 + ,15 + ,13 + ,12 + ,14 + ,14 + ,14 + ,15 + ,15 + ,15 + ,13 + ,13 + ,13 + ,14 + ,13 + ,12 + ,14 + ,15 + ,15 + ,10 + ,14 + ,14 + ,18 + ,15 + ,12 + ,13 + ,17 + ,14 + ,16 + ,14 + ,17 + ,15 + ,19 + ,13 + ,17 + ,16 + ,15 + ,15 + ,14 + ,14 + ,14 + ,12 + ,16 + ,17 + ,14 + ,13 + ,14 + ,13 + ,18 + ,14 + ,12 + ,15 + ,14 + ,16 + ,13 + ,15 + ,16 + ,13 + ,15 + ,13 + ,13 + ,12 + ,14 + ,15 + ,14 + ,15 + ,15 + ,15 + ,14 + ,15 + ,13 + ,13 + ,17 + ,13 + ,11 + ,16 + ,13 + ,15 + ,13 + ,14 + ,15 + ,15 + ,13 + ,15 + ,13 + ,13 + ,14 + ,14 + ,16 + ,15 + ,15 + ,15 + ,16 + ,13 + ,14 + ,15 + ,13 + ,17 + ,13 + ,12 + ,13 + ,15 + ,12 + ,12 + ,14 + ,13 + ,13 + ,15 + ,14 + ,13 + ,17 + ,13 + ,16 + ,16 + ,13 + ,14 + ,13 + ,12 + ,15 + ,15 + ,16 + ,13 + ,13 + ,15 + ,14 + ,15 + ,15 + ,16 + ,14 + ,13 + ,13 + ,15 + ,15 + ,13 + ,11 + ,13 + ,16 + ,13 + ,13 + ,15 + ,15 + ,14 + ,12 + ,14 + ,15 + ,13 + ,13 + ,14 + ,15 + ,16 + ,13 + ,16 + ,13 + ,16 + ,16 + ,14 + ,13 + ,14 + ,14 + ,14 + ,15 + ,14 + ,16 + ,15 + ,14 + ,13 + ,12 + ,16 + ,13 + ,13 + ,13 + ,12 + ,14 + ,12 + ,13 + ,15 + ,15 + ,13 + ,14 + ,13 + ,14 + ,16 + ,16 + ,15 + ,16 + ,15 + ,13 + ,13 + ,16 + ,14 + ,14 + ,14 + ,11 + ,14 + ,14 + ,13 + ,15 + ,12 + ,14 + ,15 + ,15 + ,15 + ,16 + ,19 + ,16 + ,14 + ,13 + ,16 + ,12 + ,16 + ,15 + ,11 + ,16 + ,16 + ,15 + ,15 + ,17 + ,15 + ,14 + ,13 + ,14 + ,16 + ,14 + ,14 + ,17 + ,14 + ,15 + ,15 + ,14 + ,14 + ,16 + ,13 + ,15 + ,14 + ,14 + ,16 + ,15 + ,14 + ,17 + ,16 + ,15 + ,13 + ,15 + ,14 + ,10 + ,15 + ,14 + ,16 + ,14 + ,15 + ,15 + ,15 + ,14 + ,17 + ,15 + ,15 + ,15 + ,15 + ,16 + ,13 + ,15 + ,16 + ,13 + ,17 + ,12 + ,15 + ,15 + ,17 + ,13 + ,17 + ,13 + ,15 + ,15 + ,14 + ,16 + ,15 + ,16 + ,14 + ,17 + ,14 + ,16 + ,16 + ,15 + ,13 + ,15 + ,14 + ,14 + ,15 + ,17 + ,16 + ,15 + ,15 + ,14 + ,14 + ,14 + ,13 + ,14 + ,16 + ,14 + ,16 + ,13 + ,13 + ,16 + ,15 + ,16 + ,14 + ,12 + ,15 + ,14 + ,15 + ,14 + ,17 + ,13 + ,14 + ,15 + ,15 + ,15 + ,15 + ,15 + ,16 + ,17 + ,16 + ,14 + ,13 + ,14 + ,16 + ,16 + ,14 + ,14 + ,15 + ,13 + ,15 + ,17 + ,14 + ,10 + ,14 + ,15 + ,15 + ,15 + ,12 + ,16 + ,14 + ,16 + ,15 + ,13 + ,13 + ,12 + ,13 + ,17 + ,18 + ,15 + ,15 + ,12 + ,14 + ,13 + ,14 + ,15 + ,16 + ,14 + ,15 + ,17 + ,18 + ,15 + ,14 + ,15 + ,12 + ,12 + ,13 + ,15 + ,13 + ,11 + ,15 + ,14 + ,14 + ,16 + ,13 + ,15 + ,13 + ,13 + ,14 + ,12 + ,15 + ,13 + ,15 + ,14 + ,16 + ,15 + ,14 + ,14 + ,16 + ,15 + ,17 + ,14 + ,14 + ,16 + ,15 + ,13 + ,15 + ,11 + ,16 + ,14 + ,15 + ,16 + ,13 + ,13 + ,14 + ,15 + ,14 + ,14 + ,15 + ,13 + ,13 + ,13 + ,17 + ,14 + ,17 + ,14 + ,16 + ,15 + ,16 + ,12 + ,16 + ,15 + ,15 + ,15) > par1 = '0' > #'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!) > par1 <- as.numeric(par1) > library(lattice) > z <- as.data.frame(cbind(x,y)) > m <- lm(y~x) > summary(m) Call: lm(formula = y ~ x) Residuals: Min 1Q Median 3Q Max -37.424 -9.758 -0.925 9.075 64.243 Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) -31.4050 5.5530 -5.656 2.33e-08 *** x 9.1664 0.3838 23.885 < 2e-16 *** --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 Residual standard error: 14.06 on 651 degrees of freedom Multiple R-squared: 0.467, Adjusted R-squared: 0.4662 F-statistic: 570.5 on 1 and 651 DF, p-value: < 2.2e-16 > postscript(file="/var/wessaorg/rcomp/tmp/1ev9s1321352725.ps",horizontal=F,onefile=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > plot(z,main='Scatterplot, lowess, and regression line') > lines(lowess(z),col='red') > abline(m) > grid() > dev.off() null device 1 > postscript(file="/var/wessaorg/rcomp/tmp/2leo71321352725.ps",horizontal=F,onefile=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > m2 <- lm(m$fitted.values ~ x) > summary(m2) Call: lm(formula = m$fitted.values ~ x) Residuals: Min 1Q Median 3Q Max -3.063e-14 -4.012e-15 2.273e-15 3.708e-15 3.609e-14 Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) -3.141e+01 1.710e-15 -1.836e+16 <2e-16 *** x 9.166e+00 1.182e-16 7.755e+16 <2e-16 *** --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 Residual standard error: 4.331e-15 on 651 degrees of freedom Multiple R-squared: 1, Adjusted R-squared: 1 F-statistic: 6.014e+33 on 1 and 651 DF, p-value: < 2.2e-16 > z2 <- as.data.frame(cbind(x,m$fitted.values)) > names(z2) <- list('x','Fitted') > plot(z2,main='Scatterplot, lowess, and regression line') > lines(lowess(z2),col='red') > abline(m2) > grid() > dev.off() null device 1 > postscript(file="/var/wessaorg/rcomp/tmp/3js361321352725.ps",horizontal=F,onefile=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > m3 <- lm(m$residuals ~ x) > summary(m3) Call: lm(formula = m$residuals ~ x) Residuals: Min 1Q Median 3Q Max -37.424 -9.758 -0.925 9.075 64.243 Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 2.724e-16 5.553e+00 0 1 x -9.558e-18 3.838e-01 0 1 Residual standard error: 14.06 on 651 degrees of freedom Multiple R-squared: 1.285e-34, Adjusted R-squared: -0.001536 F-statistic: 8.363e-32 on 1 and 651 DF, p-value: 1 > z3 <- as.data.frame(cbind(x,m$residuals)) > names(z3) <- list('x','Residuals') > plot(z3,main='Scatterplot, lowess, and regression line') > lines(lowess(z3),col='red') > abline(m3) > grid() > dev.off() null device 1 > postscript(file="/var/wessaorg/rcomp/tmp/442pl1321352725.ps",horizontal=F,onefile=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > m4 <- lm(m$fitted.values ~ m$residuals) > summary(m4) Call: lm(formula = m$fitted.values ~ m$residuals) Residuals: Min 1Q Median 3Q Max -40.315 -12.816 -3.650 5.517 42.182 Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 1.006e+02 5.151e-01 195.2 <2e-16 *** m$residuals -1.882e-17 3.669e-02 0.0 1 --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 Residual standard error: 13.16 on 651 degrees of freedom Multiple R-squared: 7.161e-31, Adjusted R-squared: -0.001536 F-statistic: 4.662e-28 on 1 and 651 DF, p-value: 1 > z4 <- as.data.frame(cbind(m$residuals,m$fitted.values)) > names(z4) <- list('Residuals','Fitted') > plot(z4,main='Scatterplot, lowess, and regression line') > lines(lowess(z4),col='red') > abline(m4) > grid() > dev.off() null device 1 > postscript(file="/var/wessaorg/rcomp/tmp/5rjt51321352725.ps",horizontal=F,onefile=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > myr <- as.ts(m$residuals) > z5 <- as.data.frame(cbind(lag(myr,1),myr)) > names(z5) <- list('Lagged Residuals','Residuals') > plot(z5,main='Lag plot') > m5 <- lm(z5) > summary(m5) Call: lm(formula = z5) Residuals: Min 1Q Median 3Q Max -37.136 -9.470 -0.774 9.142 64.317 Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 0.0008065 0.5508120 0.001 0.999 Residuals 0.0329763 0.0392241 0.841 0.401 Residual standard error: 14.06 on 650 degrees of freedom (2 observations deleted due to missingness) Multiple R-squared: 0.001086, Adjusted R-squared: -0.0004506 F-statistic: 0.7068 on 1 and 650 DF, p-value: 0.4008 > abline(m5) > grid() > dev.off() null device 1 > postscript(file="/var/wessaorg/rcomp/tmp/6zq6m1321352725.ps",horizontal=F,onefile=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > hist(m$residuals,main='Residual Histogram',xlab='Residuals') > dev.off() null device 1 > postscript(file="/var/wessaorg/rcomp/tmp/7sq341321352725.ps",horizontal=F,onefile=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > if (par1 > 0) + { + densityplot(~m$residuals,col='black',main=paste('Density Plot bw = ',par1),bw=par1) + } else { + densityplot(~m$residuals,col='black',main='Density Plot') + } > dev.off() null device 1 > postscript(file="/var/wessaorg/rcomp/tmp/8mxv11321352725.ps",horizontal=F,onefile=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > acf(m$residuals,main='Residual Autocorrelation Function') > dev.off() null device 1 > postscript(file="/var/wessaorg/rcomp/tmp/9t5uf1321352725.ps",horizontal=F,onefile=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > qqnorm(x) > qqline(x) > grid() > dev.off() null device 1 > > #Note: the /var/wessaorg/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/wessaorg/rcomp/createtable") > > a<-table.start() > a<-table.row.start(a) > a<-table.element(a,'Simple Linear Regression',5,TRUE) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Statistics',1,TRUE) > a<-table.element(a,'Estimate',1,TRUE) > a<-table.element(a,'S.D.',1,TRUE) > a<-table.element(a,'T-STAT (H0: coeff=0)',1,TRUE) > a<-table.element(a,'P-value (two-sided)',1,TRUE) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'constant term',header=TRUE) > a<-table.element(a,m$coefficients[[1]]) > sd <- sqrt(vcov(m)[1,1]) > a<-table.element(a,sd) > tstat <- m$coefficients[[1]]/sd > a<-table.element(a,tstat) > pval <- 2*(1-pt(abs(tstat),length(x)-2)) > a<-table.element(a,pval) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'slope',header=TRUE) > a<-table.element(a,m$coefficients[[2]]) > sd <- sqrt(vcov(m)[2,2]) > a<-table.element(a,sd) > tstat <- m$coefficients[[2]]/sd > a<-table.element(a,tstat) > pval <- 2*(1-pt(abs(tstat),length(x)-2)) > a<-table.element(a,pval) > a<-table.row.end(a) > a<-table.end(a) > table.save(a,file="/var/wessaorg/rcomp/tmp/10jjm31321352725.tab") > > try(system("convert tmp/1ev9s1321352725.ps tmp/1ev9s1321352725.png",intern=TRUE)) character(0) > try(system("convert tmp/2leo71321352725.ps tmp/2leo71321352725.png",intern=TRUE)) character(0) > try(system("convert tmp/3js361321352725.ps tmp/3js361321352725.png",intern=TRUE)) character(0) > try(system("convert tmp/442pl1321352725.ps tmp/442pl1321352725.png",intern=TRUE)) character(0) > try(system("convert tmp/5rjt51321352725.ps tmp/5rjt51321352725.png",intern=TRUE)) character(0) > try(system("convert tmp/6zq6m1321352725.ps tmp/6zq6m1321352725.png",intern=TRUE)) character(0) > try(system("convert tmp/7sq341321352725.ps tmp/7sq341321352725.png",intern=TRUE)) character(0) > try(system("convert tmp/8mxv11321352725.ps tmp/8mxv11321352725.png",intern=TRUE)) character(0) > try(system("convert tmp/9t5uf1321352725.ps tmp/9t5uf1321352725.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 3.196 0.601 3.867