R version 2.8.0 (2008-10-20) Copyright (C) 2008 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(205597 + ,205471 + ,211064 + ,212856 + ,217036 + ,219302 + ,219759 + ,221388 + ,220834 + ,221788 + ,222358 + ,222972 + ,224164 + ,224915 + ,226294 + ,224690 + ,227021 + ,229284 + ,229189 + ,230032 + ,229389 + ,231053 + ,232560 + ,232681 + ,231555 + ,231428 + ,232141 + ,234939 + ,235424 + ,235471 + ,236355 + ,238693 + ,236958 + ,237060 + ,239282 + ,238252 + ,241552 + ,236230 + ,238909 + ,240723 + ,242120 + ,242100 + ,243276 + ,244677 + ,243494 + ,244902 + ,245247 + ,245578 + ,243052 + ,238121 + ,241863 + ,241203 + ,243634 + ,242351 + ,245180 + ,246126 + ,244424 + ,245166 + ,247258 + ,245094 + ,246020 + ,243082 + ,245555 + ,243685 + ,247277 + ,245029 + ,246169 + ,246778 + ,244577 + ,246048 + ,245775 + ,245328 + ,245477 + ,241903 + ,243219 + ,248088 + ,248521 + ,247389 + ,249057 + ,248916 + ,249193 + ,250768 + ,253106 + ,249829 + ,249447 + ,246755 + ,250785 + ,250140 + ,255755 + ,254671 + ,253919 + ,253741 + ,252729 + ,253810 + ,256653 + ,255231 + ,258405 + ,251061 + ,254811 + ,254895 + ,258325 + ,257608 + ,258759 + ,258621 + ,257852 + ,260560 + ,262358 + ,260812 + ,261165 + ,257164 + ,260720 + ,259581 + ,264743 + ,261845 + ,262262 + ,261631 + ,258953 + ,259966 + ,262850 + ,262204 + ,263418 + ,262752 + ,266433 + ,267722 + ,266003 + ,262971 + ,265521 + ,264676 + ,270223 + ,269508 + ,268457 + ,265814 + ,266680 + ,263018 + ,269285 + ,269829 + ,270911 + ,266844 + ,271244 + ,269907 + ,271296 + ,270157 + ,271322 + ,267179 + ,264101 + ,265518 + ,269419 + ,268714 + ,272482 + ,268351 + ,268175 + ,270674 + ,272764 + ,272599 + ,270333 + ,270846 + ,270491 + ,269160 + ,274027 + ,273784 + ,276663 + ,274525 + ,271344 + ,271115 + ,270798 + ,273911 + ,273985 + ,271917 + ,273338 + ,270601 + ,273547 + ,275363 + ,281229 + ,277793 + ,279913 + ,282500 + ,280041 + ,282166 + ,290304 + ,283519 + ,287816 + ,285226 + ,287595 + ,289741 + ,289148 + ,288301 + ,290155 + ,289648 + ,288225 + ,289351 + ,294735 + ,305333) > 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] 192 > (np <- floor(n / par1)) [1] 16 > arr <- array(NA,dim=c(par1,np+1)) > ari <- array(0,dim=par1) > j <- 0 > for (i in 1:n) + { + j = j + 1 + ari[j] = ari[j] + 1 + arr[j,ari[j]] <- x[i] + if (j == par1) j = 0 + } > ari [1] 16 16 16 16 16 16 16 16 16 16 16 16 > arr [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [1,] 205597 224164 231555 241552 243052 246020 245477 249447 258405 261165 [2,] 205471 224915 231428 236230 238121 243082 241903 246755 251061 257164 [3,] 211064 226294 232141 238909 241863 245555 243219 250785 254811 260720 [4,] 212856 224690 234939 240723 241203 243685 248088 250140 254895 259581 [5,] 217036 227021 235424 242120 243634 247277 248521 255755 258325 264743 [6,] 219302 229284 235471 242100 242351 245029 247389 254671 257608 261845 [7,] 219759 229189 236355 243276 245180 246169 249057 253919 258759 262262 [8,] 221388 230032 238693 244677 246126 246778 248916 253741 258621 261631 [9,] 220834 229389 236958 243494 244424 244577 249193 252729 257852 258953 [10,] 221788 231053 237060 244902 245166 246048 250768 253810 260560 259966 [11,] 222358 232560 239282 245247 247258 245775 253106 256653 262358 262850 [12,] 222972 232681 238252 245578 245094 245328 249829 255231 260812 262204 [,11] [,12] [,13] [,14] [,15] [,16] [,17] [1,] 263418 266680 264101 270491 273338 287816 NA [2,] 262752 263018 265518 269160 270601 285226 NA [3,] 266433 269285 269419 274027 273547 287595 NA [4,] 267722 269829 268714 273784 275363 289741 NA [5,] 266003 270911 272482 276663 281229 289148 NA [6,] 262971 266844 268351 274525 277793 288301 NA [7,] 265521 271244 268175 271344 279913 290155 NA [8,] 264676 269907 270674 271115 282500 289648 NA [9,] 270223 271296 272764 270798 280041 288225 NA [10,] 269508 270157 272599 273911 282166 289351 NA [11,] 268457 271322 270333 273985 290304 294735 NA [12,] 265814 267179 270846 271917 283519 305333 NA > arr.sd <- array(NA,dim=par1) > arr.range <- array(NA,dim=par1) > arr.iqr <- array(NA,dim=par1) > for (j in 1:par1) + { + arr.sd[j] <- sqrt(var(arr[j,],na.rm=TRUE)) + arr.range[j] <- max(arr[j,],na.rm=TRUE) - min(arr[j,],na.rm=TRUE) + arr.iqr[j] <- quantile(arr[j,],0.75,na.rm=TRUE) - quantile(arr[j,],0.25,na.rm=TRUE) + } > overall.sd <- sqrt(var(x)) > overall.range <- max(x) - min(x) > overall.iqr <- quantile(x,0.75) - quantile(x,0.25) > postscript(file="/var/www/html/rcomp/tmp/1e4d31229283796.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > plot(arr.sd,type='b',ylab='S.D.',main='Standard Deviation Plot',xlab='Periodic Index') > mtext(paste('# blocks = ',np)) > abline(overall.sd,0) > dev.off() null device 1 > postscript(file="/var/www/html/rcomp/tmp/226gr1229283796.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > plot(arr.range,type='b',ylab='range',main='Range Plot',xlab='Periodic Index') > mtext(paste('# blocks = ',np)) > abline(overall.range,0) > dev.off() null device 1 > postscript(file="/var/www/html/rcomp/tmp/3oru41229283796.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > plot(arr.iqr,type='b',ylab='IQR',main='Interquartile Range Plot',xlab='Periodic Index') > mtext(paste('# blocks = ',np)) > abline(overall.iqr,0) > dev.off() null device 1 > postscript(file="/var/www/html/rcomp/tmp/4mxyh1229283796.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] [1,] 224164.0 205471.0 211064 212856.0 217036.0 219302.0 219759.0 221388.0 [2,] 242302.0 237175.5 240386 240963.0 242877.0 242225.5 244228.0 245401.5 [3,] 253926.0 248908.0 252798 252517.5 257040.0 256139.5 256339.0 256181.0 [4,] 265390.5 264268.0 269352 269271.5 271696.5 267597.5 269709.5 270290.5 [5,] 287816.0 285226.0 287595 289741.0 289148.0 288301.0 290155.0 289648.0 [,9] [,10] [,11] [,12] [1,] 220834.0 221788 222358.0 222972.0 [2,] 243959.0 245034 245511.0 245211.0 [3,] 255290.5 256888 259505.5 258021.5 [4,] 271047.0 271378 270827.5 269012.5 [5,] 288225.0 289351 294735.0 283519.0 $n [1] 16 16 16 16 16 16 16 16 16 16 16 16 $conf [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [1,] 244806.0 238206.5 241356.4 241335.6 245656.3 246117.6 246273.8 246349.8 [2,] 263046.0 259609.5 264239.6 263699.4 268423.7 266161.4 266404.2 266012.2 [,9] [,10] [,11] [,12] [1,] 244590.7 246482.1 249505.5 248619.9 [2,] 265990.3 267293.9 269505.5 267423.1 $out [1] 205597 305333 $group [1] 1 12 $names [1] "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" > dev.off() null device 1 > postscript(file="/var/www/html/rcomp/tmp/5f4191229283796.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] [,6] [,7] [,8] [1,] 205471.0 224164.0 231428 236230.0 238121 243082.0 241903.0 246755.0 [2,] 211960.0 225604.5 233540 241137.5 242107 244803.0 246433.0 250462.5 [3,] 219530.5 229236.5 235913 242698.0 244029 245665.0 248718.5 253775.5 [4,] 221588.0 230542.5 237656 244789.5 245173 246108.5 249511.0 254951.0 [5,] 222972.0 232681.0 239282 245578.0 247258 247277.0 253106.0 256653.0 [,9] [,10] [,11] [,12] [,13] [,14] [,15] [,16] [,17] [1,] 254811.0 257164.0 262752.0 263018.0 264101 269160.0 270601 285226.0 NA [2,] 256251.5 259773.5 264047.0 267011.5 268263 270956.5 274455 288020.5 NA [3,] 258365.0 261398.0 265908.5 269868.0 269876 272850.5 279977 289249.5 NA [4,] 259659.5 262233.0 268089.5 271077.5 271664 274006.0 282333 289948.0 NA [5,] 262358.0 264743.0 270223.0 271322.0 272764 276663.0 290304 290155.0 NA $n [1] 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 0 $conf [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [1,] 215139.1 226984.2 234035.7 241032.3 242630.6 245069.6 247314.6 251728.3 [2,] 223921.9 231488.8 237790.3 244363.7 245427.4 246260.4 250122.4 255822.7 [,9] [,10] [,11] [,12] [,13] [,14] [,15] [,16] [1,] 256810.6 260276.2 264064.7 268013.5 268324.8 271459.6 276383.8 288370.4 [2,] 259919.4 262519.8 267752.3 271722.5 271427.2 274241.4 283570.2 290128.6 [,17] [1,] NA [2,] NA $out [1] 251061 294735 305333 $group [1] 9 16 16 $names [1] "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" "13" "14" "15" [16] "16" NA Warning message: In bxp(list(stats = c(205471, 211960, 219530.5, 221588, 222972, : some notches went outside hinges ('box'): maybe set notch=FALSE > dev.off() null device 1 > postscript(file="/var/www/html/rcomp/tmp/6qiaj1229283796.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > z <- data.frame(cbind(arr.sd,arr.range,arr.iqr)) > names(z) <- list('S.D.','Range','IQR') > (boxplot(z,notch=TRUE,col='grey',ylab='Overall Variability',main='Notched Box Plots')) $stats [,1] [,2] [,3] [1,] 18480.21 67391.0 22068.75 [2,] 18851.98 68629.5 24286.62 [3,] 19925.95 72244.5 25302.38 [4,] 20366.97 78320.0 27320.38 [5,] 20522.30 82361.0 28194.00 $n [1] 12 12 12 $conf [,1] [,2] [,3] [1,] 19234.95 67824.6 23918.66 [2,] 20616.95 76664.4 26686.09 $out numeric(0) $group numeric(0) $names [1] "S.D." "Range" "IQR" Warning message: In bxp(list(stats = c(18480.2068971779, 18851.9762809993, 19925.9513016425, : some notches went outside hinges ('box'): maybe set notch=FALSE > dev.off() null device 1 > > system("convert tmp/1e4d31229283796.ps tmp/1e4d31229283796.png") > system("convert tmp/226gr1229283796.ps tmp/226gr1229283796.png") > system("convert tmp/3oru41229283796.ps tmp/3oru41229283796.png") > system("convert tmp/4mxyh1229283796.ps tmp/4mxyh1229283796.png") > system("convert tmp/5f4191229283796.ps tmp/5f4191229283796.png") > system("convert tmp/6qiaj1229283796.ps tmp/6qiaj1229283796.png") > > > proc.time() user system elapsed 1.078 0.807 1.310