R version 2.7.0 (2008-04-22) 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.117354396717212 + ,0.118845681032272 + ,0.112391885267935 + ,0.111306414892192 + ,0.111557866161293 + ,0.115874513020299 + ,0.120518600028397 + ,0.127937652516104 + ,0.11613316666403 + ,0.109945475878252 + ,0.116553866162416 + ,0.116068157652546 + ,0.113370026071156 + ,0.123182199760877 + ,0.111632647202366 + ,0.109758101752217 + ,0.105238647621144 + ,0.110567657536647 + ,0.109445829081846 + ,0.115565377944385 + ,0.109040168162481 + ,0.118699838338174 + ,0.115706070657763 + ,0.103330532839008 + ,0.114086556139986 + ,0.111186708004422 + ,0.108409409523554 + ,0.101131998751098 + ,0.101340239460215 + ,0.101132392401369 + ,0.103330089281936 + ,0.112997274264224 + ,0.101388063209412 + ,0.0954252014189293 + ,0.111307936120104 + ,0.108517581966327 + ,0.113117723156533 + ,0.12234246171967 + ,0.116281802327739 + ,0.092816312987346 + ,0.0954083259281368 + ,0.0983760049075001 + ,0.100589152001216 + ,0.104522549361392 + ,0.0998363447670241 + ,0.0959721467215449 + ,0.097031371532279 + ,0.093072585629373 + ,0.100082898456186 + ,0.100416078984485 + ,0.10057893372505 + ,0.0940357410855729 + ,0.0902738332694873 + ,0.0956823578799632 + ,0.103656114777059 + ,0.111759459418603 + ,0.10108471855862 + ,0.0980399013830847 + ,0.0975611265478894 + ,0.0955190702462385) > par2 = '36' > 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/1s7g81225746890.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/2h8q81225746890.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/3558d1225746890.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/4pp991225746890.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/5882o1225746890.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/6k1x21225746890.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) + acf(x,lag.max=par2,main='Autocorrelation Function') + grid() + dev.off() + } null device 1 > summary(x) Min. 1st Qu. Median Mean 3rd Qu. Max. 0.09027 0.10030 0.10880 0.10710 0.11350 0.12790 > > #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/741t11225746890.tab") > > system("convert tmp/1s7g81225746890.ps tmp/1s7g81225746890.png") > system("convert tmp/2h8q81225746890.ps tmp/2h8q81225746890.png") > system("convert tmp/3558d1225746890.ps tmp/3558d1225746890.png") > system("convert tmp/4pp991225746890.ps tmp/4pp991225746890.png") > system("convert tmp/5882o1225746890.ps tmp/5882o1225746890.png") > system("convert tmp/6k1x21225746890.ps tmp/6k1x21225746890.png") > > > proc.time() user system elapsed 2.821 1.489 3.063