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 + ,70.94825 + ,69.6 + ,70.60825 + ,69.87 + ,68.60825 + ,67.47 + ,68.27825 + ,67.6 + ,67.60825 + ,67.13 + ,65.60825 + ,66.27 + ,68.94825 + ,66.73 + ,67.27825 + ,68.07 + ,64.94825 + ,67.8 + ,67.94825 + ,64.8 + ,64.94825 + ,64.6 + ,65.94825 + ,64.2 + ,66.60825 + ,64.2 + ,64.60825 + ,63.67 + ,63.94825 + ,61 + ,64.60825 + ,59.67 + ,63.60825 + ,59.67 + ,62.94825 + ,59.8 + ,62.94825 + ,60.73 + ,63.60825 + ,59.4 + ,61.60825 + ,58.07 + ,63.60825 + ,57.47 + ,60.27825 + ,70.73 + ,57.94825 + ,72.87 + ,62.94825 + ,66 + ,53.60825 + ,66.07 + ,75.60825 + ,66 + ,74.60825 + ,66.27 + ,73.27825 + ,64 + ,70.27825 + ,63.67 + ,70.27825 + ,63.73 + ,67.60825 + ,63.33 + ,69.60825 + ,63.53 + ,68.60825 + ,63.53 + ,68.27825 + ,62.87 + ,65.94825 + ,59.53 + ,67.94825 + ,62.8 + ,68.94825 + ,60.8 + ,65.94825 + ,59.8 + ,66.27825 + ,56.67 + ,65.60825 + ,57.67 + ,67.94825 + ,58.4 + ,65.60825 + ,55.47 + ,66.60825 + ,56.2 + ,63.94825 + ,71.53 + ,63.60825 + ,68.67 + ,65.94825 + ,65.67 + ,62.94825 + ,66.73 + ,62.27825 + ,67.33 + ,60.94825 + ,66.73 + ,63.94825 + ,66.87 + ,62.27825 + ,65.8 + ,61.27825 + ,64.73 + ,61.94825 + ,65.47 + ,62.94825 + ,63.6 + ,59.60825 + ,64.07 + ,60.27825 + ,64.67 + ,59.94825 + ,63.73 + ,57.60825 + ,62.53 + ,57.94825 + ,61.93 + ,55.27825 + ,62.67 + ,51.27825 + ,62.8 + ,8.60825 + ,61.33 + ,74.27825 + ,62.6 + ,72.94825 + ,59.13 + ,71.94825 + ,61.27 + ,70.27825 + ,59.47 + ,69.94825 + ,57.87 + ,69.94825 + ,59.73 + ,67.94825 + ,61.4 + ,67.94825 + ,58.8 + ,68.27825 + ,58.33 + ,66.27825 + ,57.47 + ,66.27825 + ,57.13 + ,65.94825 + ,55 + ,65.94825 + ,51.53 + ,67.60825 + ,72.73 + ,65.27825 + ,73 + ,66.60825 + ,70.8 + ,64.60825 + ,70.07 + ,64.60825 + ,71.67 + ,64.94825 + ,71.07 + ,61.94825 + ,70.67 + ,62.60825 + ,70.73 + ,62.27825 + ,70.73 + ,61.60825 + ,68.6 + ,60.94825 + ,69.6 + ,62.27825 + ,66.47 + ,59.60825 + ,67.07 + ,59.94825 + ,68.67 + ,58.94825 + ,66.93 + ,60.60825 + ,65.93 + ,59.27825 + ,68.87 + ,59.27825 + ,66.53 + ,58.94825 + ,65.8 + ,58.60825 + ,66.6 + ,53.27825 + ,66 + ,52.60825 + ,65 + ,53.94825 + ,66.8 + ,47.94825 + ,65.6 + ,10.60825 + ,66 + ,7.27825 + ,65.67 + ,70.94825 + ,64.67 + ,71.60825 + ,65.07 + ,69.60825 + ,64.67 + ,70.27825 + ,65.07 + ,69.94825 + ,65.2 + ,70.94825 + ,64.87 + ,69.94825 + ,63.47 + ,69.27825 + ,62.6 + ,68.94825 + ,64.07 + ,70.94825 + ,63.73 + ,67.94825 + ,64.67 + ,67.60825 + ,61.6 + ,67.94825 + ,61.6 + ,67.60825 + ,60.47 + ,67.94825 + ,61.27 + ,67.27825 + ,63 + ,65.94825 + ,61.47 + ,65.60825 + ,60.87 + ,64.94825 + ,61.67 + ,64.27825 + ,62.87 + ,65.94825 + ,62.4 + ,65.60825 + ,59.73 + ,62.94825 + ,60.13 + ,64.60825 + ,58.8 + ,63.94825 + ,59.6 + ,63.60825 + ,58.93 + ,63.94825 + ,60.13 + ,65.27825 + ,58.2 + ,65.27825 + ,58.27 + ,64.27825 + ,58.27 + ,64.27825 + ,55.07 + ,62.94825 + ,53.87 + ,62.60825 + ,52.33 + ,62.27825 + ,47.2 + ,60.60825 + ,37.93 + ,58.94825 + ,72.73 + ,59.60825 + ,70.07 + ,58.27825 + ,70.67 + ,56.94825 + ,72.07 + ,48.27825 + ,68.8 + ,69.94825 + ,68.8 + ,69.27825 + ,67.47 + ,70.60825 + ,66.73 + ,68.27825 + ,66.53 + ,66.60825 + ,66 + ,65.60825 + ,67.6 + ,67.27825 + ,66 + ,67.94825 + ,66 + ,66.27825 + ,66.53 + ,65.60825 + ,65.8 + ,68.94825 + ,64.27 + ,66.94825 + ,64.67 + ,68.27825 + ,64.6 + ,65.27825 + ,64.13 + ,64.94825 + ,65.47 + ,63.94825 + ,62.93 + ,64.60825 + ,63.53 + ,60.94825 + ,62.13 + ,60.94825 + ,63.87 + ,58.60825 + ,64.67 + ,55.27825 + ,63.33 + ,55.27825 + ,63.13 + ,51.27825 + ,62.8 + ,72.27825 + ,62.4 + ,69.27825 + ,62.4 + ,68.27825 + ,62.6 + ,68.27825 + ,61.47 + ,68.27825 + ,62.2 + ,66.27825 + ,63 + ,65.27825 + ,61.8 + ,64.27825 + ,59.73 + ,64.27825 + ,60.33 + ,66.27825 + ,60.13 + ,64.27825 + ,59.53 + ,63.27825 + ,59 + ,65.27825 + ,55.93 + ,64.27825 + ,41.87 + ,64.27825 + ,36.33 + ,62.27825 + ,71.67 + ,62.27825 + ,71.47 + ,64.27825 + ,70.47 + ,62.27825 + ,69.53 + ,63.27825 + ,70.73 + ,60.27825 + ,69.93 + ,58.27825 + ,68.73 + ,55.27825 + ,67.53 + ,51.27825) + ,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, 2009, Aston University Statistical Software (vNUMBER) in Free Statistics Software (v$_version), Office for Research Development and Education, URL http://www.wessa.net/rwasp_AUSS.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,round(D$statistic[[1]], digits=5) ) > a<-table.element(a,round(D$p.value, digits =5) ) > a<-table.row.end(a) > a<-table.end(a) > table.save(a,file="/var/www/html/rcomp/tmp/1do461257798426.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,round(mean(x[,par2]), digits=5),1,TRUE) > a<-table.element(a,round(mean(x[,par3]), digits=5),1,TRUE) > a<-table.element(a,round( (mean(x[,par2])- mean(x[,par3])), digits=5),1,TRUE) > a<-table.row.end(a) > a<-table.end(a) > table.save(a,file="/var/www/html/rcomp/tmp/20lik1257798426.tab") > > > > proc.time() user system elapsed 0.231 0.047 0.290