R version 2.7.2 (2008-08-25) Copyright (C) 2008 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. > x <- c(0.522730109 + ,0.521589508 + ,0.495683636 + ,0.493009324 + ,0.499377624 + ,0.502885563 + ,0.510229065 + ,0.49967574 + ,0.503774667 + ,0.512237207 + ,0.527246669 + ,0.498336252 + ,0.520631102 + ,0.523966555 + ,0.513520756 + ,0.498976863 + ,0.51553335 + ,0.513282554 + ,0.517516609 + ,0.516359908 + ,0.519958131 + ,0.518776078 + ,0.531536026 + ,0.498547639 + ,0.524485042 + ,0.519529501 + ,0.515403662 + ,0.48387851 + ,0.50512689 + ,0.50793722 + ,0.510811329 + ,0.515720991 + ,0.522085003 + ,0.521500954 + ,0.527647532 + ,0.496727726 + ,0.526984168 + ,0.516730049 + ,0.515349737 + ,0.499554599 + ,0.50736522 + ,0.511065552 + ,0.510134943 + ,0.515634887 + ,0.519072689 + ,0.504857743 + ,0.52327868 + ,0.490592539 + ,0.51732225 + ,0.517388623 + ,0.511834806 + ,0.497545691 + ,0.505169783 + ,0.503395207 + ,0.508993591 + ,0.513673523 + ,0.510446575 + ,0.503598194 + ,0.5192589 + ,0.490950476 + ,0.514285944 + ,0.514164774 + ,0.50272693 + ,0.486769217 + ,0.491768068 + ,0.499658015 + ,0.495095425 + ,0.501529123 + ,0.509828348 + ,0.510868808 + ,0.517307455 + ,0.488955298 + ,0.511989184 + ,0.508444701 + ,0.506844272 + ,0.496621119 + ,0.50381907 + ,0.506785664 + ,0.51091191 + ,0.507082122 + ,0.503301926 + ,0.511599368 + ,0.505309036 + ,0.499237157 + ,0.507593302 + ,0.502030607 + ,0.493455491 + ,0.477416071 + ,0.477711138 + ,0.488420523 + ,0.481201667 + ,0.483997994 + ,0.481057267 + ,0.490074261) > par2 = '0' > par1 = '0' > #'GNU S' R Code compiled by R2WASP v. 1.0.44 () > #Author: Prof. Dr. P. Wessa > #To cite this work: Wessa P., (2007), Univariate Explorative Data Analysis (v1.0.5) in Free Statistics Software (v$_version), Office for Research Development and Education, URL http://www.wessa.net/rwasp_edauni.wasp/ > #Source of accompanying publication: Office for Research, Development, and Education > #Technical description: Write here your technical program description > par1 <- as.numeric(par1) > par2 <- as.numeric(par2) > x <- as.ts(x) > library(lattice) > postscript(file="/var/www/html/rcomp/tmp/13e031225141051.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > plot(x,type='l',main='Run Sequence Plot',xlab='time or index',ylab='value') > grid() > dev.off() null device 1 > postscript(file="/var/www/html/rcomp/tmp/2ywgz1225141051.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > hist(x) > grid() > dev.off() null device 1 > postscript(file="/var/www/html/rcomp/tmp/3e2bp1225141051.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > if (par1 > 0) + { + densityplot(~x,col='black',main=paste('Density Plot bw = ',par1),bw=par1) + } else { + densityplot(~x,col='black',main='Density Plot') + } > dev.off() null device 1 > postscript(file="/var/www/html/rcomp/tmp/44wy01225141051.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > qqnorm(x) > grid() > dev.off() null device 1 > if (par2 > 0) + { + postscript(file="/var/www/html/rcomp/tmp/5jiyp1225141051.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) + dum <- cbind(lag(x,k=1),x) + dum + dum1 <- dum[2:length(x),] + dum1 + z <- as.data.frame(dum1) + z + plot(z,main=paste('Lag plot, lowess, and regression line')) + lines(lowess(z)) + abline(lm(z)) + dev.off() + postscript(file="/var/www/html/rcomp/tmp/6qr0k1225141051.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) + acf(x,lag.max=par2,main='Autocorrelation Function') + grid() + dev.off() + } > summary(x) Min. 1st Qu. Median Mean 3rd Qu. Max. 0.4774 0.4993 0.5082 0.5070 0.5157 0.5315 > > #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,'Descriptive Statistics',2,TRUE) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'# observations',header=TRUE) > a<-table.element(a,length(x)) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'minimum',header=TRUE) > a<-table.element(a,min(x)) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Q1',header=TRUE) > a<-table.element(a,quantile(x,0.25)) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'median',header=TRUE) > a<-table.element(a,median(x)) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'mean',header=TRUE) > a<-table.element(a,mean(x)) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Q3',header=TRUE) > a<-table.element(a,quantile(x,0.75)) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'maximum',header=TRUE) > a<-table.element(a,max(x)) > a<-table.row.end(a) > a<-table.end(a) > table.save(a,file="/var/www/html/rcomp/tmp/7r89z1225141052.tab") > > system("convert tmp/13e031225141051.ps tmp/13e031225141051.png") > system("convert tmp/2ywgz1225141051.ps tmp/2ywgz1225141051.png") > system("convert tmp/3e2bp1225141051.ps tmp/3e2bp1225141051.png") > system("convert tmp/44wy01225141051.ps tmp/44wy01225141051.png") > system("convert tmp/5jiyp1225141051.ps tmp/5jiyp1225141051.png") convert: unable to open image `tmp/5jiyp1225141051.ps': No such file or directory. convert: missing an image filename `tmp/5jiyp1225141051.png'. > system("convert tmp/6qr0k1225141051.ps tmp/6qr0k1225141051.png") convert: unable to open image `tmp/6qr0k1225141051.ps': No such file or directory. convert: missing an image filename `tmp/6qr0k1225141051.png'. > > > proc.time() user system elapsed 1.303 0.666 1.664