R version 2.13.0 (2011-04-13) Copyright (C) 2011 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 <- c(1.90191544102663 + ,2.66538889221621 + ,1.34895094508902 + ,-0.189634420531493 + ,0.363275159750658 + ,-1.09557557624667 + ,-1.11155725965572 + ,6.61771406143024 + ,-2.33579814388996 + ,2.34679758810994 + ,4.58060294149841 + ,-1.38947521327073 + ,-2.29263588273236 + ,-7.18746664476603 + ,-5.12310233669369 + ,0.526777297550778 + ,1.63298277703789 + ,0.150017620675773 + ,-1.21821099669079 + ,-0.21720570962175 + ,-0.546813673437087 + ,0.742051769763175 + ,0.0114862566664853 + ,0.420381431338652 + ,0.0904651447829504 + ,-0.0679306250818922 + ,0.335480050436709 + ,-1.23036350289317 + ,1.0396240855975 + ,-0.0388560518920171 + ,1.07793074026925 + ,-2.75399997265848 + ,0.30318939262623 + ,-0.0749796177071758 + ,-2.31057264769841 + ,0.786409182641093 + ,0.989695328351576 + ,2.1677215866805 + ,0.782144170415825 + ,2.98462516018556 + ,-0.916769254837924 + ,-1.31071225916263 + ,-0.594312546524372 + ,0.720410789237553 + ,4.04162559535045 + ,0.563999246852537 + ,-0.626610330561149 + ,0.846252429528168 + ,1.66480443709368 + ,-1.23728116273909 + ,1.31529790660325 + ,3.33397528535547 + ,-0.325840589962623 + ,-2.70298886710691 + ,-1.92501331838815 + ,0.390176663083983 + ,-3.45134222925503 + ,-1.04261103534925 + ,-0.693105741430971 + ,-0.0453879940389715 + ,0.0893629427720446 + ,-1.00837133972183 + ,0.0230778646865252 + ,0.501274475109798 + ,-4.63086471765147 + ,2.00061425231988 + ,0.509944259069826 + ,-1.29824093951819 + ,0.712971508076961 + ,-1.4142657678109 + ,0.0884695869632992 + ,0.201453994226599 + ,-0.28071103976212 + ,1.51554332136573 + ,0.707229439352217 + ,0.353437601307165 + ,-1.95277978323991 + ,-0.40435547732932 + ,-2.45757353417261 + ,1.35462508228861 + ,0.365714765697492 + ,-0.244315476036222 + ,-0.658112674154231 + ,-2.81609623107383 + ,-1.70241357225673 + ,-1.62127939890874 + ,2.75708544649748 + ,2.21733990023233 + ,0.474619647009403 + ,-1.56992617014973 + ,1.76540057600822 + ,1.29063662578494 + ,0.554532739139586 + ,-1.29247098996122 + ,1.96425591775626 + ,3.27702207787294 + ,0.557847617973135 + ,-1.30745553782888 + ,2.55271266918589 + ,0.685545044640456 + ,-2.56927796108232 + ,-0.373175300764953 + ,-0.42706509915059 + ,1.21168719388628 + ,2.79452354273925 + ,-2.0343820261573 + ,-1.70789362981318 + ,-3.33024514318939 + ,-1.34815884290607 + ,0.69195824790584 + ,-0.430088274745342 + ,-2.92422944710671 + ,2.23600454802897 + ,1.13521147240442 + ,0.599559528567213 + ,0.549249005428758 + ,0.269306435055162 + ,-0.416534286082865 + ,-1.70919630376992 + ,1.33533628390266 + ,-2.22150795113951 + ,-1.92281743828336 + ,1.34426094362011 + ,-1.76472456379761 + ,-1.71615589177001 + ,3.2090706052227 + ,1.32149216505492 + ,-0.879228921527817 + ,-2.48388602635172 + ,1.19797946252395 + ,0.133111285220822 + ,1.84727688969044 + ,-4.8708137524157 + ,4.64275120764247 + ,-0.818130329820121 + ,-0.780683232928479 + ,0.132609940074876 + ,2.05304484052966 + ,-0.60739523239862 + ,0.701544904444912 + ,3.47796939269852 + ,0.22996889952846 + ,-1.56425405170999 + ,-4.93950728598721 + ,0.0712252245243581 + ,0.71611990903015 + ,-2.30757290588238 + ,2.01256975666079 + ,0.477600031433273 + ,0.444269103467224 + ,0.0331886424950528 + ,0.921302179096672 + ,0.743676757053049 + ,-0.155043216658764 + ,2.7962106607456 + ,0.424387578580833) > 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] 156 > (np <- floor(n / par1)) [1] 13 > 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] 13 13 13 13 13 13 13 13 13 13 13 13 > arr [,1] [,2] [,3] [,4] [,5] [,6] [1,] 1.9019154 -2.29263588 0.09046514 0.9896953 1.66480444 0.08936294 [2,] 2.6653889 -7.18746664 -0.06793063 2.1677216 -1.23728116 -1.00837134 [3,] 1.3489509 -5.12310234 0.33548005 0.7821442 1.31529791 0.02307786 [4,] -0.1896344 0.52677730 -1.23036350 2.9846252 3.33397529 0.50127448 [5,] 0.3632752 1.63298278 1.03962409 -0.9167693 -0.32584059 -4.63086472 [6,] -1.0955756 0.15001762 -0.03885605 -1.3107123 -2.70298887 2.00061425 [7,] -1.1115573 -1.21821100 1.07793074 -0.5943125 -1.92501332 0.50994426 [8,] 6.6177141 -0.21720571 -2.75399997 0.7204108 0.39017666 -1.29824094 [9,] -2.3357981 -0.54681367 0.30318939 4.0416256 -3.45134223 0.71297151 [10,] 2.3467976 0.74205177 -0.07497962 0.5639992 -1.04261104 -1.41426577 [11,] 4.5806029 0.01148626 -2.31057265 -0.6266103 -0.69310574 0.08846959 [12,] -1.3894752 0.42038143 0.78640918 0.8462524 -0.04538799 0.20145399 [,7] [,8] [,9] [,10] [,11] [,12] [1,] -0.2807110 -1.7024136 0.5578476 -1.3481588 -2.2215080 -4.8708138 [2,] 1.5155433 -1.6212794 -1.3074555 0.6919582 -1.9228174 4.6427512 [3,] 0.7072294 2.7570854 2.5527127 -0.4300883 1.3442609 -0.8181303 [4,] 0.3534376 2.2173399 0.6855450 -2.9242294 -1.7647246 -0.7806832 [5,] -1.9527798 0.4746196 -2.5692780 2.2360045 -1.7161559 0.1326099 [6,] -0.4043555 -1.5699262 -0.3731753 1.1352115 3.2090706 2.0530448 [7,] -2.4575735 1.7654006 -0.4270651 0.5995595 1.3214922 -0.6073952 [8,] 1.3546251 1.2906366 1.2116872 0.5492490 -0.8792289 0.7015449 [9,] 0.3657148 0.5545327 2.7945235 0.2693064 -2.4838860 3.4779694 [10,] -0.2443155 -1.2924710 -2.0343820 -0.4165343 1.1979795 0.2299689 [11,] -0.6581127 1.9642559 -1.7078936 -1.7091963 0.1331113 -1.5642541 [12,] -2.8160962 3.2770221 -3.3302451 1.3353363 1.8472769 -4.9395073 [,13] [,14] [1,] 0.07122522 NA [2,] 0.71611991 NA [3,] -2.30757291 NA [4,] 2.01256976 NA [5,] 0.47760003 NA [6,] 0.44426910 NA [7,] 0.03318864 NA [8,] 0.92130218 NA [9,] 0.74367676 NA [10,] -0.15504322 NA [11,] 2.79621066 NA [12,] 0.42438758 NA > darr [,1] [,2] [,3] [,4] [,5] [,6] [1,] 0.76347345 -4.8948308 -0.1583958 1.1780263 -2.9020856 -1.0977343 [2,] -1.31643795 2.0643643 0.4034107 -1.3855774 2.5525791 1.0314492 [3,] -1.53858537 5.6498796 -1.5658436 2.2024810 2.0186774 0.4781966 [4,] 0.55290958 1.1062055 2.2699876 -3.9013944 -3.6598159 -5.1321392 [5,] -1.45885074 -1.4829652 -1.0784801 -0.3939430 -2.3771483 6.6314790 [6,] -0.01598168 -1.3682286 1.1167868 0.7163997 0.7779755 -1.4906700 [7,] 7.72927132 1.0010053 -3.8319307 1.3147233 2.3151900 -1.8081852 [8,] -8.95351221 -0.3296080 3.0571894 3.3212148 -3.8415189 2.0112124 [9,] 4.68259573 1.2888654 -0.3781690 -3.4776263 2.4087312 -2.1272373 [10,] 2.23380535 -0.7305655 -2.2355930 -1.1906096 0.3495053 1.5027354 [11,] -5.97007815 0.4088952 3.0969818 1.4728628 0.6477177 0.1129844 [12,] -0.90316067 -0.3299163 0.2032861 0.8185520 0.1347509 -0.4821650 [,7] [,8] [,9] [,10] [,11] [,12] [1,] 1.7962544 0.08113417 -1.8653032 2.04011709 0.29869051 9.5135650 [2,] -0.8083139 4.37836485 3.8601682 -1.12204652 3.26707838 -5.4608815 [3,] -0.3537918 -0.53974555 -1.8671676 -2.49414117 -3.10898551 0.0374471 [4,] -2.3062174 -1.74272025 -3.2548230 5.16023400 0.04856867 0.9132932 [5,] 1.5484243 -2.04454582 2.1961027 -1.10079308 4.92522650 1.9204349 [6,] -2.0532181 3.33532675 -0.0538898 -0.53565194 -1.88757844 -2.6604401 [7,] 3.8121986 -0.47476395 1.6387523 -0.05031052 -2.20072109 1.3089401 [8,] -0.9889103 -0.73610389 1.5828363 -0.27994257 -1.60465710 2.7764245 [9,] -0.6100302 -1.84700373 -4.8289056 -0.68584072 3.68186549 -3.2480005 [10,] -0.4137972 3.25672691 0.3264884 -1.29266202 -1.06486818 -1.7942230 [11,] -2.1579836 1.31276616 -1.6223515 3.04453259 1.71416560 -3.3752532 [12,] 1.1136827 -2.71917446 1.9820863 -3.55684424 -6.71809064 5.0107325 [,13] [,14] [1,] 0.64489468 NA [2,] -3.02369281 NA [3,] 4.32014266 NA [4,] -1.53496973 NA [5,] -0.03333093 NA [6,] -0.41108046 NA [7,] 0.88811354 NA [8,] -0.17762542 NA [9,] -0.89871997 NA [10,] 2.95125388 NA [11,] -2.37182308 NA [12,] NA 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/wessaorg/rcomp/tmp/1bkj41321957793.ps",horizontal=F,onefile=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/wessaorg/rcomp/tmp/2tf6y1321957793.ps",horizontal=F,onefile=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/wessaorg/rcomp/tmp/3hzge1321957793.ps",horizontal=F,onefile=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/wessaorg/rcomp/tmp/415yo1321957793.ps",horizontal=F,onefile=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] [1,] -4.87081375 -1.92281744 -2.3075729 -2.9242294 -4.6308647 -2.70298887 [2,] -1.70241357 -1.30745554 -0.4300883 -0.7806832 -1.7161559 -1.09557558 [3,] 0.07122522 -0.06793063 0.7072294 0.5012745 0.1326099 -0.03885605 [4,] 0.55784762 1.51554332 1.3442609 2.0125698 0.4776000 1.13521147 [5,] 1.90191544 4.64275121 2.7570854 3.3339753 2.2360045 3.20907061 [,7] [,8] [,9] [,10] [,11] [,12] [1,] -2.4575735 -1.2982409 -2.3357981 -2.0343820 -2.3105726 -3.3302451 [2,] -1.1115573 -0.2172057 -0.5468137 -1.0426110 -1.5642541 -1.3894752 [3,] -0.4270651 0.7015449 0.3657148 -0.1550432 -0.6266103 0.4203814 [4,] 0.5995595 1.2116872 0.7436768 0.5639992 0.1331113 0.8462524 [5,] 1.7654006 1.3546251 0.7436768 2.3467976 1.9642559 3.2770221 $n [1] 13 13 13 13 13 13 13 13 13 13 13 13 $conf [,1] [,2] [,3] [,4] [,5] [,6] [1,] -0.919251 -1.305006 -0.07031373 -0.7227657 -0.8287228 -1.0164163 [2,] 1.061701 1.169145 1.48477261 1.7253147 1.0939426 0.9387042 [,7] [,8] [,9] [,10] [,11] [,12] [1,] -1.1768990 0.07538524 -0.1997951 -0.8590810 -1.3704182 -0.5593438 [2,] 0.3227688 1.32770457 0.9312246 0.5489945 0.1171975 1.4001067 $out [1] -7.187467 -5.123102 6.617714 -2.754000 4.041626 -3.451342 2.794524 [8] -2.483886 3.477969 4.580603 2.796211 -4.939507 $group [1] 2 3 8 8 9 9 9 9 9 11 11 12 $names [1] "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" Warning message: In bxp(list(stats = c(-4.8708137524157, -1.70241357225673, 0.0712252245243581, : some notches went outside hinges ('box'): maybe set notch=FALSE > dev.off() null device 1 > postscript(file="/var/wessaorg/rcomp/tmp/5sghz1321957793.ps",horizontal=F,onefile=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] [1,] -2.9020856 -5.4608815 -3.1089855 -5.1321392 -2.377148 -2.6604401 -2.200721 [2,] -1.0977343 -1.3164379 -1.5658436 -3.2548230 -1.458851 -1.4906700 -0.474764 [3,] 0.2986905 0.4034107 -0.3537918 -1.5349697 -0.393943 -0.4110805 1.001005 [4,] 1.1780263 2.5525791 2.0186774 0.9132932 1.920435 0.7163997 1.638752 [5,] 2.0401171 4.3783648 5.6498796 5.1602340 6.631479 3.3353267 3.812199 [,8] [,9] [,10] [,11] [,12] [1,] -3.8415189 -4.8289056 -2.2355930 -5.9700782 -3.55684424 [2,] -0.9889103 -2.1272373 -1.1906096 -2.1579836 -1.81116756 [3,] -0.2799426 -0.6858407 -0.4137972 0.4088952 -0.09758267 [4,] 2.0112124 1.2888654 1.5027354 1.4728628 0.96611733 [5,] 3.3212148 4.6825957 3.2567269 3.0969818 5.01073251 $n [1] 13 13 13 13 13 13 13 13 13 13 13 12 $conf [,1] [,2] [,3] [,4] [,5] [,6] [,7] [1,] -0.6985777 -1.292043 -1.924576 -3.3614931 -1.874790 -1.3782474 0.07483467 [2,] 1.2959587 2.098865 1.216992 0.2915536 1.086904 0.5560865 1.92717591 [,8] [,9] [,10] [,11] [,12] [1,] -1.594636 -2.1828219 -1.594056 -1.182189 -1.364321 [2,] 1.034751 0.8111404 0.766462 1.999980 1.169156 $out [1] -4.894831 9.513565 7.729271 -3.831931 -8.953512 -6.718091 $group [1] 1 1 7 7 8 12 $names [1] "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" Warning message: In bxp(list(stats = c(-2.90208559983277, -1.09773428249387, 0.29869051285615, : some notches went outside hinges ('box'): maybe set notch=FALSE > dev.off() null device 1 > postscript(file="/var/wessaorg/rcomp/tmp/6k0ui1321957793.ps",horizontal=F,onefile=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] [1,] -2.3357981 -2.2926359 -2.31057265 -1.3107123 -3.4513422 -1.41426577 [2,] -1.1035664 -1.7554234 -0.65267156 -0.6104614 -1.5811472 -1.15330614 [3,] 0.8561131 -0.1028597 0.02580455 0.7512775 -0.5094732 0.08891626 [4,] 2.5060932 0.4735794 0.56094462 1.5787085 0.8527373 0.50560937 [5,] 6.6177141 1.6329828 1.07793074 4.0416256 3.3339753 2.00061425 [,7] [,8] [,9] [,10] [,11] [,12] [1,] -2.8160962 -1.7024136 -3.3302451 -2.9242294 -2.4838860 -4.9395073 [2,] -1.3054462 -1.4311986 -1.8711378 -0.8891236 -1.8437710 -1.1911922 [3,] -0.2625133 0.9225847 -0.4001202 0.4092777 -0.3730588 -0.2373926 [4,] 0.5364721 2.0907979 0.9486161 0.9135849 1.3328766 1.3772949 [5,] 1.5155433 3.2770221 2.7945235 2.2360045 3.2090706 4.6427512 [,13] [,14] [1,] -0.15504322 NA [2,] 0.05220693 NA [3,] 0.46093457 NA [4,] 0.83248947 NA [5,] 0.92130218 NA $n [1] 12 12 12 12 12 12 12 12 12 12 12 12 12 0 $conf [,1] [,2] [,3] [,4] [,5] [,6] [1,] -0.7902769 -1.1195229 -0.5277339 -0.2472176 -1.6195842 -0.6677262 [2,] 2.5025031 0.9138034 0.5793430 1.7497726 0.6006379 0.8455588 [,7] [,8] [,9] [,10] [,11] [,12] [,13] [1,] -1.1026246 -0.6838216 -1.6862289 -0.4129497 -1.821949 -1.4088968 0.1050425 [2,] 0.5775981 2.5289909 0.8859885 1.2315051 1.075831 0.9341115 0.8168267 [,14] [1,] NA [2,] NA $out [1] -7.187467 -5.123102 -2.754000 -4.630865 -2.307573 2.012570 2.796211 $group [1] 2 2 3 6 13 13 13 $names [1] "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" "13" NA Warning message: In bxp(list(stats = c(-2.33579814388996, -1.10356641795119, 0.856113052419839, : some notches went outside hinges ('box'): maybe set notch=FALSE > dev.off() null device 1 > postscript(file="/var/wessaorg/rcomp/tmp/7ubnb1321957793.ps",horizontal=F,onefile=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.56545576 -0.6266103 -0.7155714 [2,] -0.24676170 -0.1114869 -0.4219472 [3,] -0.04959285 0.1019176 -0.1097440 [4,] 0.26665445 0.4608280 0.2805651 [5,] 0.66220546 0.7072294 0.6159433 $n [1] 12 12 12 $conf [,1] [,2] [,3] [1,] -0.2837654 -0.1591191 -0.4301645 [2,] 0.1845797 0.3629542 0.2106766 $out numeric(0) $group numeric(0) $names [1] "mean" "median" "midrange" Warning message: In bxp(list(stats = c(-0.565455761899086, -0.246761695203658, -0.0495928530489465, : some notches went outside hinges ('box'): maybe set notch=FALSE > dev.off() null device 1 > > try(system("convert tmp/1bkj41321957793.ps tmp/1bkj41321957793.png",intern=TRUE)) character(0) > try(system("convert tmp/2tf6y1321957793.ps tmp/2tf6y1321957793.png",intern=TRUE)) character(0) > try(system("convert tmp/3hzge1321957793.ps tmp/3hzge1321957793.png",intern=TRUE)) character(0) > try(system("convert tmp/415yo1321957793.ps tmp/415yo1321957793.png",intern=TRUE)) character(0) > try(system("convert tmp/5sghz1321957793.ps tmp/5sghz1321957793.png",intern=TRUE)) character(0) > try(system("convert tmp/6k0ui1321957793.ps tmp/6k0ui1321957793.png",intern=TRUE)) character(0) > try(system("convert tmp/7ubnb1321957793.ps tmp/7ubnb1321957793.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 1.627 0.346 1.992