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. > x <- array(list(70.8 + ,67.01 + ,69.6 + ,66.67 + ,69.87 + ,64.67 + ,67.47 + ,64.34 + ,67.6 + ,63.67 + ,67.13 + ,61.67 + ,66.27 + ,65.01 + ,66.73 + ,63.34 + ,68.07 + ,61.01 + ,67.8 + ,64.01 + ,64.8 + ,61.01 + ,64.6 + ,62.01 + ,64.2 + ,62.67 + ,64.2 + ,60.67 + ,63.67 + ,60.01 + ,61.00 + ,60.67 + ,59.67 + ,59.67 + ,59.67 + ,59.01 + ,59.8 + ,59.01 + ,60.73 + ,59.67 + ,59.4 + ,57.67 + ,58.07 + ,59.67 + ,57.47 + ,56.34 + ,70.73 + ,54.01 + ,72.87 + ,59.01 + ,66 + ,49.67 + ,66.07 + ,71.67 + ,66 + ,70.67 + ,66.27 + ,69.34 + ,64 + ,66.34 + ,63.67 + ,66.34 + ,63.73 + ,63.67 + ,63.33 + ,65.67 + ,63.53 + ,64.67 + ,63.53 + ,64.34 + ,62.87 + ,62.01 + ,59.53 + ,64.01 + ,62.8 + ,65.01 + ,60.8 + ,62.01 + ,59.8 + ,62.34 + ,56.67 + ,61.67 + ,57.67 + ,64.01 + ,58.4 + ,61.67 + ,55.47 + ,62.67 + ,56.2 + ,60.01 + ,71.53 + ,59.67 + ,68.67 + ,62.01 + ,65.67 + ,59.01 + ,66.73 + ,58.34 + ,67.33 + ,57.01 + ,66.73 + ,60.01 + ,66.87 + ,58.34 + ,65.8 + ,57.34 + ,64.73 + ,58.01 + ,65.47 + ,59.01 + ,63.6 + ,55.67 + ,64.07 + ,56.34 + ,64.67 + ,56.01 + ,63.73 + ,53.67 + ,62.53 + ,54.01 + ,61.93 + ,51.34 + ,62.67 + ,47.34 + ,62.8 + ,4.67 + ,61.33 + ,70.34 + ,62.6 + ,69.01 + ,59.13 + ,68.01 + ,61.27 + ,66.34 + ,59.47 + ,66.01 + ,57.87 + ,66.01 + ,59.73 + ,64.01 + ,61.4 + ,64.01 + ,58.8 + ,64.34 + ,58.33 + ,62.34 + ,57.47 + ,62.34 + ,57.13 + ,62.01 + ,55 + ,62.01 + ,51.53 + ,63.67 + ,72.73 + ,61.34 + ,73 + ,62.67 + ,70.8 + ,60.67 + ,70.07 + ,60.67 + ,71.67 + ,61.01 + ,71.07 + ,58.01 + ,70.67 + ,58.67 + ,70.73 + ,58.34 + ,70.73 + ,57.67 + ,68.6 + ,57.01 + ,69.6 + ,58.34 + ,66.47 + ,55.67 + ,67.07 + ,56.01 + ,68.67 + ,55.01 + ,66.93 + ,56.67 + ,65.93 + ,55.34 + ,68.87 + ,55.34 + ,66.53 + ,55.01 + ,65.80 + ,54.67 + ,66.60 + ,49.34 + ,66.00 + ,48.67 + ,65.00 + ,50.01 + ,66.80 + ,44.01 + ,65.60 + ,6.67 + ,66.00 + ,3.34 + ,65.67 + ,67.01 + ,64.67 + ,67.67 + ,65.07 + ,65.67 + ,64.67 + ,66.34 + ,65.07 + ,66.01 + ,65.20 + ,67.01 + ,64.87 + ,66.01 + ,63.47 + ,65.34 + ,62.60 + ,65.01 + ,64.07 + ,67.01 + ,63.73 + ,64.01 + ,64.67 + ,63.67 + ,61.60 + ,64.01 + ,61.60 + ,63.67 + ,60.47 + ,64.01 + ,61.27 + ,63.34 + ,63.00 + ,62.01 + ,61.47 + ,61.67 + ,60.87 + ,61.01 + ,61.67 + ,60.34 + ,62.87 + ,62.01 + ,62.40 + ,61.67 + ,59.73 + ,59.01 + ,60.13 + ,60.67 + ,58.80 + ,60.01 + ,59.60 + ,59.67 + ,58.93 + ,60.01 + ,60.13 + ,61.34 + ,58.20 + ,61.34 + ,58.27 + ,60.34 + ,58.27 + ,60.34 + ,55.07 + ,59.01 + ,53.87 + ,58.67 + ,52.33 + ,58.34 + ,47.20 + ,56.67 + ,37.93 + ,55.01 + ,72.73 + ,55.67 + ,70.07 + ,54.34 + ,70.67 + ,53.01 + ,72.07 + ,44.34 + ,68.80 + ,66.01 + ,68.80 + ,65.34 + ,67.47 + ,66.67 + ,66.73 + ,64.34 + ,66.53 + ,62.67 + ,66.00 + ,61.67 + ,67.60 + ,63.34 + ,66.00 + ,64.01 + ,66.00 + ,62.34 + ,66.53 + ,61.67 + ,65.80 + ,65.01 + ,64.27 + ,63.01 + ,64.67 + ,64.34 + ,64.60 + ,61.34 + ,64.13 + ,61.01 + ,65.47 + ,60.01 + ,62.93 + ,60.67 + ,63.53 + ,57.01 + ,62.13 + ,57.01 + ,63.87 + ,54.67 + ,64.67 + ,51.34 + ,63.33 + ,51.34 + ,63.13 + ,47.34 + ,62.80 + ,68.34 + ,62.40 + ,65.34 + ,62.40 + ,64.34 + ,62.60 + ,64.34 + ,61.47 + ,64.34 + ,62.20 + ,62.34 + ,63.00 + ,61.34 + ,61.80 + ,60.34 + ,59.73 + ,60.34 + ,60.33 + ,62.34 + ,60.13 + ,60.34 + ,59.53 + ,59.34 + ,59.00 + ,61.34 + ,55.93 + ,60.34 + ,41.87 + ,60.34 + ,36.33 + ,58.34 + ,71.67 + ,58.34 + ,71.47 + ,60.34 + ,70.47 + ,58.34 + ,69.53 + ,59.34 + ,70.73 + ,56.34 + ,69.93 + ,54.34 + ,68.73 + ,51.34 + ,67.53 + ,47.34) + ,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' > 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, 2009, 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/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,'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/html/rcomp/tmp/1042n1289170323.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/html/rcomp/tmp/2tv181289170323.tab") > > > > proc.time() user system elapsed 0.232 0.039 0.455