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 + ,71.8 + ,70.61 + ,72.8 + ,68.61 + ,73.8 + ,68.28 + ,74.8 + ,67.61 + ,75.8 + ,65.61 + ,76.8 + ,68.95 + ,77.8 + ,67.28 + ,78.8 + ,64.95 + ,79.8 + ,67.95 + ,80.8 + ,64.95 + ,81.8 + ,65.95 + ,82.8 + ,66.61 + ,83.8 + ,64.61 + ,84.8 + ,63.95 + ,85.8 + ,64.61 + ,86.8 + ,63.61 + ,87.8 + ,62.95 + ,88.8 + ,62.95 + ,89.8 + ,63.61 + ,90.8 + ,61.61 + ,91.8 + ,63.61 + ,92.8 + ,60.28 + ,93.8 + ,57.95 + ,94.8 + ,62.95 + ,95.8 + ,53.61 + ,96.8 + ,75.61 + ,97.8 + ,74.61 + ,98.8 + ,73.28 + ,99.8 + ,70.28 + ,100.8 + ,70.28 + ,101.8 + ,67.61 + ,102.8 + ,69.61 + ,103.8 + ,68.61 + ,104.8 + ,68.28 + ,105.8 + ,65.95 + ,106.8 + ,67.95 + ,107.8 + ,68.95 + ,108.8 + ,65.95 + ,109.8 + ,66.28 + ,110.8 + ,65.61 + ,111.8 + ,67.95 + ,112.8 + ,65.61 + ,113.8 + ,66.61 + ,114.8 + ,63.95 + ,115.8 + ,63.61 + ,116.8 + ,65.95 + ,117.8 + ,62.95 + ,118.8 + ,62.28 + ,119.8 + ,60.95 + ,120.8 + ,63.95 + ,121.8 + ,62.28 + ,122.8 + ,61.28 + ,123.8 + ,61.95 + ,124.8 + ,62.95 + ,125.8 + ,59.61 + ,126.8 + ,60.28 + ,127.8 + ,59.95 + ,128.8 + ,57.61 + ,129.8 + ,57.95 + ,130.8 + ,55.28 + ,131.8 + ,51.28 + ,132.8 + ,8.61 + ,133.8 + ,74.28 + ,134.8 + ,72.95 + ,135.8 + ,71.95 + ,136.8 + ,70.28 + ,137.8 + ,69.95 + ,138.8 + ,69.95 + ,139.8 + ,67.95 + ,140.8 + ,67.95 + ,141.8 + ,68.28 + ,142.8 + ,66.28 + ,143.8 + ,66.28 + ,144.8 + ,65.95 + ,145.8 + ,65.95 + ,146.8 + ,67.61 + ,147.8 + ,65.28 + ,148.8 + ,66.61 + ,149.8 + ,64.61 + ,150.8 + ,64.61 + ,151.8 + ,64.95 + ,152.8 + ,61.95 + ,153.8 + ,62.61 + ,154.8 + ,62.28 + ,155.8 + ,61.61 + ,156.8 + ,60.95 + ,157.8 + ,62.28 + ,158.8 + ,59.61 + ,159.8 + ,59.95 + ,160.8 + ,58.95 + ,161.8 + ,60.61 + ,162.8 + ,59.28 + ,163.8 + ,59.28 + ,164.8 + ,58.95 + ,165.8 + ,58.61 + ,166.8 + ,53.28 + ,167.8 + ,52.61 + ,168.8 + ,53.95 + ,169.8 + ,47.95 + ,170.8 + ,10.61 + ,171.8 + ,7.28 + ,172.8 + ,70.95 + ,173.8 + ,71.61 + ,174.8 + ,69.61 + ,175.8 + ,70.28 + ,176.8 + ,69.95 + ,177.8 + ,70.95 + ,178.8 + ,69.95 + ,179.8 + ,69.28 + ,180.8 + ,68.95 + ,181.8 + ,70.95 + ,182.8 + ,67.95 + ,183.8 + ,67.61 + ,184.8 + ,67.95 + ,185.8 + ,67.61 + ,186.8 + ,67.95 + ,187.8 + ,67.28 + ,188.8 + ,65.95 + ,189.8 + ,65.61 + ,190.8 + ,64.95 + ,191.8 + ,64.28 + ,192.8 + ,65.95 + ,193.8 + ,65.61 + ,194.8 + ,62.95 + ,195.8 + ,64.61 + ,196.8 + ,63.95 + ,197.8 + ,63.61 + ,198.8 + ,63.95 + ,199.8 + ,65.28 + ,200.8 + ,65.28 + ,201.8 + ,64.28 + ,202.8 + ,64.28 + ,203.8 + ,62.95 + ,204.8 + ,62.61 + ,205.8 + ,62.28 + ,206.8 + ,60.61 + ,207.8 + ,58.95 + ,208.8 + ,59.61 + ,209.8 + ,58.28 + ,210.8 + ,56.95 + ,211.8 + ,48.28 + ,212.8 + ,69.95 + ,213.8 + ,69.28 + ,214.8 + ,70.61 + ,215.8 + ,68.28 + ,216.8 + ,66.61 + ,217.8 + ,65.61 + ,218.8 + ,67.28 + ,219.8 + ,67.95 + ,220.8 + ,66.28 + ,221.8 + ,65.61 + ,222.8 + ,68.95 + ,223.8 + ,66.95 + ,224.8 + ,68.28 + ,225.8 + ,65.28 + ,226.8 + ,64.95 + ,227.8 + ,63.95 + ,228.8 + ,64.61 + ,229.8 + ,60.95 + ,230.8 + ,60.95 + ,231.8 + ,58.61 + ,232.8 + ,55.28 + ,233.8 + ,55.28 + ,234.8 + ,51.28 + ,235.8 + ,72.28 + ,236.8 + ,69.28 + ,237.8 + ,68.28 + ,238.8 + ,68.28 + ,239.8 + ,68.28 + ,240.8 + ,66.28 + ,241.8 + ,65.28 + ,242.8 + ,64.28 + ,243.8 + ,64.28 + ,244.8 + ,66.28 + ,245.8 + ,64.28 + ,246.8 + ,63.28 + ,247.8 + ,65.28 + ,248.8 + ,64.28 + ,249.8 + ,64.28 + ,250.8 + ,62.28 + ,251.8 + ,62.28 + ,252.8 + ,64.28 + ,253.8 + ,62.28 + ,254.8 + ,63.28 + ,255.8 + ,60.28 + ,256.8 + ,58.28 + ,257.8 + ,55.28 + ,258.8 + ,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/1pitf1320764884.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/23m3h1320764884.tab") > > > > proc.time() user system elapsed 0.336 0.052 0.374