R version 2.12.1 (2010-12-16) Copyright (C) 2010 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. > x <- array(list(70.8 + ,70.95 + ,69.6 + ,70.61 + ,69.87 + ,68.61 + ,67.47 + ,68.28 + ,67.6 + ,67.61 + ,67.13 + ,65.61 + ,66.27 + ,68.95 + ,66.73 + ,67.28 + ,68.07 + ,64.95 + ,67.8 + ,67.95 + ,64.8 + ,64.95 + ,64.6 + ,65.95 + ,64.2 + ,66.61 + ,64.2 + ,64.61 + ,63.67 + ,63.95 + ,61 + ,64.61 + ,59.67 + ,63.61 + ,59.67 + ,62.95 + ,59.8 + ,62.95 + ,60.73 + ,63.61 + ,59.4 + ,61.61 + ,58.07 + ,63.61 + ,57.47 + ,60.28 + ,70.73 + ,57.95 + ,72.87 + ,62.95 + ,66 + ,53.61 + ,66.07 + ,75.61 + ,66 + ,74.61 + ,66.27 + ,73.28 + ,64 + ,70.28 + ,63.67 + ,70.28 + ,63.73 + ,67.61 + ,63.33 + ,69.61 + ,63.53 + ,68.61 + ,63.53 + ,68.28 + ,62.87 + ,65.95 + ,59.53 + ,67.95 + ,62.8 + ,68.95 + ,60.8 + ,65.95 + ,59.8 + ,66.28 + ,56.67 + ,65.61 + ,57.67 + ,67.95 + ,58.4 + ,65.61 + ,55.47 + ,66.61 + ,56.2 + ,63.95 + ,71.53 + ,63.61 + ,68.67 + ,65.95 + ,65.67 + ,62.95 + ,66.73 + ,62.28 + ,67.33 + ,60.95 + ,66.73 + ,63.95 + ,66.87 + ,62.28 + ,65.8 + ,61.28 + ,64.73 + ,61.95 + ,65.47 + ,62.95 + ,63.6 + ,59.61 + ,64.07 + ,60.28 + ,64.67 + ,59.95 + ,63.73 + ,57.61 + ,62.53 + ,57.95 + ,61.93 + ,55.28 + ,62.67 + ,51.28 + ,62.8 + ,8.61 + ,61.33 + ,74.28 + ,62.6 + ,72.95 + ,59.13 + ,71.95 + ,61.27 + ,70.28 + ,59.47 + ,69.95 + ,57.87 + ,69.95 + ,59.73 + ,67.95 + ,61.4 + ,67.95 + ,58.8 + ,68.28 + ,58.33 + ,66.28 + ,57.47 + ,66.28 + ,57.13 + ,65.95 + ,55 + ,65.95 + ,51.53 + ,67.61 + ,72.73 + ,65.28 + ,73 + ,66.61 + ,70.8 + ,64.61 + ,70.07 + ,64.61 + ,71.67 + ,64.95 + ,71.07 + ,61.95 + ,70.67 + ,62.61 + ,70.73 + ,62.28 + ,70.73 + ,61.61 + ,68.6 + ,60.95 + ,69.6 + ,62.28 + ,66.47 + ,59.61 + ,67.07 + ,59.95 + ,68.67 + ,58.95 + ,66.93 + ,60.61 + ,65.93 + ,59.28 + ,68.87 + ,59.28 + ,66.53 + ,58.95 + ,65.8 + ,58.61 + ,66.6 + ,53.28 + ,66 + ,52.61 + ,65 + ,53.95 + ,66.8 + ,47.95 + ,65.6 + ,10.61 + ,66 + ,7.28 + ,65.67 + ,70.95 + ,64.67 + ,71.61 + ,65.07 + ,69.61 + ,64.67 + ,70.28 + ,65.07 + ,69.95 + ,65.2 + ,70.95 + ,64.87 + ,69.95 + ,63.47 + ,69.28 + ,62.6 + ,68.95 + ,64.07 + ,70.95 + ,63.73 + ,67.95 + ,64.67 + ,67.61 + ,61.6 + ,67.95 + ,61.6 + ,67.61 + ,60.47 + ,67.95 + ,61.27 + ,67.28 + ,63 + ,65.95 + ,61.47 + ,65.61 + ,60.87 + ,64.95 + ,61.67 + ,64.28 + ,62.87 + ,65.95 + ,62.4 + ,65.61 + ,59.73 + ,62.95 + ,60.13 + ,64.61 + ,58.8 + ,63.95 + ,59.6 + ,63.61 + ,58.93 + ,63.95 + ,60.13 + ,65.28 + ,58.2 + ,65.28 + ,58.27 + ,64.28 + ,58.27 + ,64.28 + ,55.07 + ,62.95 + ,53.87 + ,62.61 + ,52.33 + ,62.28 + ,47.2 + ,60.61 + ,37.93 + ,58.95 + ,72.73 + ,59.61 + ,70.07 + ,58.28 + ,70.67 + ,56.95 + ,72.07 + ,48.28 + ,68.8 + ,69.95 + ,68.8 + ,69.28 + ,67.47 + ,70.61 + ,66.73 + ,68.28 + ,66.53 + ,66.61 + ,66 + ,65.61 + ,67.6 + ,67.28 + ,66 + ,67.95 + ,66 + ,66.28 + ,66.53 + ,65.61 + ,65.8 + ,68.95 + ,64.27 + ,66.95 + ,64.67 + ,68.28 + ,64.6 + ,65.28 + ,64.13 + ,64.95 + ,65.47 + ,63.95 + ,62.93 + ,64.61 + ,63.53 + ,60.95 + ,62.13 + ,60.95 + ,63.87 + ,58.61 + ,64.67 + ,55.28 + ,63.33 + ,55.28 + ,63.13 + ,51.28 + ,62.8 + ,72.28 + ,62.4 + ,69.28 + ,62.4 + ,68.28 + ,62.6 + ,68.28 + ,61.47 + ,68.28 + ,62.2 + ,66.28 + ,63 + ,65.28 + ,61.8 + ,64.28 + ,59.73 + ,64.28 + ,60.33 + ,66.28 + ,60.13 + ,64.28 + ,59.53 + ,63.28 + ,59 + ,65.28 + ,55.93 + ,64.28 + ,41.87 + ,64.28 + ,36.33 + ,62.28 + ,71.67 + ,62.28 + ,71.47 + ,64.28 + ,70.47 + ,62.28 + ,69.53 + ,63.28 + ,70.73 + ,60.28 + ,69.93 + ,58.28 + ,68.73 + ,55.28 + ,67.53 + ,51.28) + ,dim=c(2 + ,189) + ,dimnames=list(c('pment' + ,'nopment') + ,1:189)) > y <- array(NA,dim=c(2,189),dimnames=list(c('pment','nopment'),1:189)) > for (i in 1:dim(x)[1]) + { + for (j in 1:dim(x)[2]) + { + y[i,j] <- as.numeric(x[i,j]) + } + } > par3 = '2' > par2 = '1' > par1 = 'two.sided' > #'GNU S' R Code compiled by R2WASP v. 1.0.44 () > #Author: Dr. Ian E. Holliday > #To cite this work: Ian E. Holliday, 2011, 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: > #Technical description: > par2 <- as.numeric(par2) > par3 <- as.numeric(par3) > x <- t(y) > > #Note: the /var/www/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/www/rcomp/createtable") > > a<-table.start() > a <- table.row.start(a) > a <- table.element(a,'Kolmogorov_Smirnov Test',3,TRUE) > a <- table.row.end(a) > a <- table.row.start(a) > a <- table.element(a,'',1,TRUE) > a <- table.element(a,'Statistic',1,TRUE) > a <- table.element(a,'P-value',1,TRUE) > a <- table.row.end(a) > D <- ks.test(x[,par2],x[,par3],alternative=par1) Warning message: In ks.test(x[, par2], x[, par3], alternative = par1) : cannot compute correct p-values with ties > a<-table.row.start(a) > a<-table.element(a,'K-S Test',1,TRUE) > a<-table.element(a,signif(D$statistic[[1]], digits=5) ) > a<-table.element(a,signif(D$p.value, digits =5) ) > a<-table.row.end(a) > a<-table.end(a) > table.save(a,file="/var/www/rcomp/tmp/1mu7f1320580654.tab") > a<-table.start() > a <- table.row.start(a) > a <- table.element(a,'Means of Data Distributions ',3,TRUE) > a <- table.row.end(a) > a <- table.row.start(a) > a <- table.element(a,'Mean 1',1,TRUE) > a <- table.element(a,'Mean 2',1,TRUE) > a <- table.element(a,'Difference',1,TRUE) > a <- table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,signif(mean(x[,par2]), digits=5),1) > a<-table.element(a,signif(mean(x[,par3]), digits=5),1) > a<-table.element(a,signif( (mean(x[,par2])- mean(x[,par3])), digits=5),1) > a<-table.row.end(a) > a<-table.end(a) > table.save(a,file="/var/www/rcomp/tmp/2o84u1320580654.tab") > > > > proc.time() user system elapsed 0.436 0.036 0.458