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 <- c(0.5857,0.5858,0.5717,0.5945,0.5961,0.5973,0.6036,0.6096,0.6315,0.6262,0.6121,0.6326,0.6214,0.6274,0.6175,0.6208,0.6225,0.5889,0.6020,0.5932,0.5841,0.6000,0.5947,0.5891,0.6051,0.5960,0.6012,0.5957,0.5959,0.6049,0.6064,0.6137,0.6311,0.6258,0.6010,0.6232,0.6384,0.6014,0.5980,0.5987,0.6237,0.5813,0.5991,0.6160,0.6096,0.6051,0.5857,0.5565,0.5223,0.5091,0.4919,0.4995,0.5069,0.5190,0.5460,0.5648,0.5751,0.5862,0.5877) > par1 = '12' > #'GNU S' R Code compiled by R2WASP v. 1.0.44 () > #Author: Prof. Dr. P. Wessa > #To cite this work: AUTHOR(S), (YEAR), 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: Office for Research, Development, and Education > #Technical description: Write here your technical program description (don't use hard returns!) > par1 <- as.numeric(par1) > (n <- length(x)) [1] 59 > (np <- floor(n / par1)) [1] 4 > arr <- array(NA,dim=c(par1,np+1)) > darr <- array(NA,dim=c(par1,np+1)) > ari <- array(0,dim=par1) > dx <- diff(x) > j <- 0 > for (i in 1:n) + { + j = j + 1 + ari[j] = ari[j] + 1 + arr[j,ari[j]] <- x[i] + darr[j,ari[j]] <- dx[i] + if (j == par1) j = 0 + } > ari [1] 5 5 5 5 5 5 5 5 5 5 5 4 > arr [,1] [,2] [,3] [,4] [,5] [1,] 0.5857 0.6214 0.6051 0.6384 0.5223 [2,] 0.5858 0.6274 0.5960 0.6014 0.5091 [3,] 0.5717 0.6175 0.6012 0.5980 0.4919 [4,] 0.5945 0.6208 0.5957 0.5987 0.4995 [5,] 0.5961 0.6225 0.5959 0.6237 0.5069 [6,] 0.5973 0.5889 0.6049 0.5813 0.5190 [7,] 0.6036 0.6020 0.6064 0.5991 0.5460 [8,] 0.6096 0.5932 0.6137 0.6160 0.5648 [9,] 0.6315 0.5841 0.6311 0.6096 0.5751 [10,] 0.6262 0.6000 0.6258 0.6051 0.5862 [11,] 0.6121 0.5947 0.6010 0.5857 0.5877 [12,] 0.6326 0.5891 0.6232 0.5565 NA > darr [,1] [,2] [,3] [,4] [,5] [1,] 0.0001 0.0060 -0.0091 -0.0370 -0.0132 [2,] -0.0141 -0.0099 0.0052 -0.0034 -0.0172 [3,] 0.0228 0.0033 -0.0055 0.0007 0.0076 [4,] 0.0016 0.0017 0.0002 0.0250 0.0074 [5,] 0.0012 -0.0336 0.0090 -0.0424 0.0121 [6,] 0.0063 0.0131 0.0015 0.0178 0.0270 [7,] 0.0060 -0.0088 0.0073 0.0169 0.0188 [8,] 0.0219 -0.0091 0.0174 -0.0064 0.0103 [9,] -0.0053 0.0159 -0.0053 -0.0045 0.0111 [10,] -0.0141 -0.0053 -0.0248 -0.0194 0.0015 [11,] 0.0205 -0.0056 0.0222 -0.0292 NA [12,] -0.0112 0.0160 0.0152 -0.0342 NA > arr.mean <- array(NA,dim=par1) > arr.median <- array(NA,dim=par1) > arr.midrange <- array(NA,dim=par1) > for (j in 1:par1) + { + arr.mean[j] <- mean(arr[j,],na.rm=TRUE) + arr.median[j] <- median(arr[j,],na.rm=TRUE) + arr.midrange[j] <- (quantile(arr[j,],0.75,na.rm=TRUE) + quantile(arr[j,],0.25,na.rm=TRUE)) / 2 + } > overall.mean <- mean(x) > overall.median <- median(x) > overall.midrange <- (quantile(x,0.75) + quantile(x,0.25)) / 2 > postscript(file="/var/www/html/rcomp/tmp/1gq661257452442.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > plot(arr.mean,type='b',ylab='mean',main='Mean Plot',xlab='Periodic Index') > mtext(paste('#blocks = ',np)) > abline(overall.mean,0) > dev.off() null device 1 > postscript(file="/var/www/html/rcomp/tmp/24yzd1257452442.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > plot(arr.median,type='b',ylab='median',main='Median Plot',xlab='Periodic Index') > mtext(paste('#blocks = ',np)) > abline(overall.median,0) > dev.off() null device 1 > postscript(file="/var/www/html/rcomp/tmp/3hadp1257452442.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > plot(arr.midrange,type='b',ylab='midrange',main='Midrange Plot',xlab='Periodic Index') > mtext(paste('#blocks = ',np)) > abline(overall.midrange,0) > dev.off() null device 1 > postscript(file="/var/www/html/rcomp/tmp/4rvsa1257452442.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > z <- data.frame(t(arr)) > names(z) <- c(1:par1) > (boxplot(z,notch=TRUE,col='grey',xlab='Periodic Index',ylab='Value',main='Notched Box Plots - Periodic Subseries')) $stats [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [1,] 0.5857 0.5858 0.5717 0.5945 0.5959 0.5813 0.5991 0.5648 0.5751 0.5862 [2,] 0.5857 0.5858 0.5717 0.5945 0.5959 0.5813 0.5991 0.5932 0.5841 0.6000 [3,] 0.6051 0.5960 0.5980 0.5957 0.5961 0.5889 0.6020 0.6096 0.6096 0.6051 [4,] 0.6214 0.6014 0.6012 0.5987 0.6225 0.5973 0.6036 0.6137 0.6311 0.6258 [5,] 0.6384 0.6014 0.6175 0.5987 0.6237 0.6049 0.6064 0.6160 0.6315 0.6262 [,11] [,12] [1,] 0.5857 0.55650 [2,] 0.5877 0.57280 [3,] 0.5947 0.60615 [4,] 0.6010 0.62790 [5,] 0.6121 0.63260 $n [1] 5 5 5 5 5 5 5 5 5 5 5 4 $conf [,1] [,2] [,3] [,4] [,5] [,6] [,7] [1,] 0.5798745 0.5849771 0.5771554 0.5927323 0.5773045 0.5775944 0.5988203 [2,] 0.6303255 0.6070229 0.6188446 0.5986677 0.6148955 0.6002056 0.6051797 [,8] [,9] [,10] [,11] [,12] [1,] 0.5951148 0.5763899 0.5868698 0.5853023 0.562621 [2,] 0.6240852 0.6428101 0.6233302 0.6040977 0.649679 $out [1] 0.5223 0.6274 0.5091 0.4919 0.6208 0.4995 0.5069 0.5190 0.5460 $group [1] 1 2 2 3 4 4 5 6 7 $names [1] "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" Warning message: In bxp(list(stats = c(0.5857, 0.5857, 0.6051, 0.6214, 0.6384, 0.5858, : some notches went outside hinges ('box'): maybe set notch=FALSE > dev.off() null device 1 > postscript(file="/var/www/html/rcomp/tmp/5kfi51257452442.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > z <- data.frame(t(darr)) > names(z) <- c(1:par1) > (boxplot(z,notch=TRUE,col='grey',xlab='Periodic Index',ylab='Value',main='Notched Box Plots - Differenced Periodic Subseries')) $stats [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [1,] -0.0132 -0.0172 -0.0055 0.0002 -0.0424 0.0015 -0.0088 -0.0091 -0.0053 [2,] -0.0132 -0.0141 0.0007 0.0016 -0.0336 0.0063 0.0060 -0.0064 -0.0053 [3,] -0.0091 -0.0099 0.0033 0.0017 0.0012 0.0131 0.0073 0.0103 -0.0045 [4,] 0.0001 -0.0034 0.0076 0.0074 0.0090 0.0178 0.0169 0.0174 0.0111 [5,] 0.0060 0.0052 0.0076 0.0074 0.0121 0.0270 0.0188 0.0219 0.0159 [,10] [,11] [,12] [1,] -0.0248 -0.02920 -0.0342 [2,] -0.0194 -0.01740 -0.0227 [3,] -0.0141 0.00745 0.0020 [4,] -0.0053 0.02135 0.0156 [5,] 0.0015 0.02220 0.0160 $n [1] 5 5 5 5 5 5 5 5 5 5 4 4 $conf [,1] [,2] [,3] [,4] [,5] [1,] -0.0184977465 -0.017460593 -0.001575523 -0.002398265 -0.02890105 [2,] 0.0002977465 -0.002339407 0.008175523 0.005798265 0.03130105 [,6] [,7] [,8] [,9] [,10] [,11] [1,] 0.004974129 -0.0004019125 -0.00651702 -0.016088199 -0.024063024 -0.0231625 [2,] 0.021225871 0.0150019125 0.02711702 0.007088199 -0.004136976 0.0380625 [,12] [1,] -0.028257 [2,] 0.032257 $out [1] -0.0370 0.0228 0.0250 $group [1] 1 3 4 $names [1] "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" Warning message: In bxp(list(stats = c(-0.0132, -0.0132, -0.0091, 9.9999999999989e-05, : some notches went outside hinges ('box'): maybe set notch=FALSE > dev.off() null device 1 > postscript(file="/var/www/html/rcomp/tmp/6xeg11257452442.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > z <- data.frame(arr) > names(z) <- c(1:np) > (boxplot(z,notch=TRUE,col='grey',xlab='Block Index',ylab='Value',main='Notched Box Plots - Sequential Blocks')) $stats [,1] [,2] [,3] [,4] [,5] [1,] 0.57170 0.58410 0.59570 0.58130 0.49190 [2,] 0.59015 0.59115 0.59850 0.59185 0.50800 [3,] 0.60045 0.60100 0.60500 0.60025 0.52230 [4,] 0.61915 0.62110 0.61845 0.61280 0.56995 [5,] 0.63260 0.62740 0.63110 0.63840 0.58770 $n [1] 12 12 12 12 11 $conf [,1] [,2] [,3] [,4] [,5] [1,] 0.5872229 0.5873396 0.5959007 0.5906946 0.4927878 [2,] 0.6136771 0.6146604 0.6140993 0.6098054 0.5518122 $out [1] 0.5565 $group [1] 4 $names [1] "1" "2" "3" "4" NA Warning message: In bxp(list(stats = c(0.5717, 0.59015, 0.60045, 0.61915, 0.6326, : some notches went outside hinges ('box'): maybe set notch=FALSE > dev.off() null device 1 > postscript(file="/var/www/html/rcomp/tmp/7klj61257452442.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > z <- data.frame(cbind(arr.mean,arr.median,arr.midrange)) > names(z) <- list('mean','median','midrange') > (boxplot(z,notch=TRUE,col='grey',ylab='Overall Central Tendency',main='Notched Box Plots')) $stats [,1] [,2] [,3] [1,] 0.576060 0.588900 0.586450 [2,] 0.582890 0.595850 0.593975 [3,] 0.593000 0.600000 0.602300 [4,] 0.599905 0.605625 0.605575 [5,] 0.608660 0.609600 0.612900 $n [1] 12 12 12 $conf [,1] [,2] [,3] [1,] 0.5852393 0.5955416 0.5970092 [2,] 0.6007607 0.6044584 0.6075908 $out numeric(0) $group numeric(0) $names [1] "mean" "median" "midrange" Warning message: In bxp(list(stats = c(0.57606, 0.58289, 0.593, 0.599905, 0.60866, : some notches went outside hinges ('box'): maybe set notch=FALSE > dev.off() null device 1 > > system("convert tmp/1gq661257452442.ps tmp/1gq661257452442.png") > system("convert tmp/24yzd1257452442.ps tmp/24yzd1257452442.png") > system("convert tmp/3hadp1257452442.ps tmp/3hadp1257452442.png") > system("convert tmp/4rvsa1257452442.ps tmp/4rvsa1257452442.png") > system("convert tmp/5kfi51257452442.ps tmp/5kfi51257452442.png") > system("convert tmp/6xeg11257452442.ps tmp/6xeg11257452442.png") > system("convert tmp/7klj61257452442.ps tmp/7klj61257452442.png") > > > proc.time() user system elapsed 1.214 0.936 3.334