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.0180678527088341 + ,0.0562901166564763 + ,-0.0383920228971653 + ,0.0197362615228291 + ,-0.0349783616211472 + ,0.0068518670200992 + ,0.0280842746777466 + ,0.0446752709325745 + ,0.0346027844881839 + ,-0.04235896700803 + ,-0.0704530877146328 + ,-0.141169759207391 + ,0.190464885503065 + ,0.0160178050891860 + ,0.136736106377406 + ,0.00968031609540383 + ,-0.0209143775407505 + ,-0.0925769658093795 + ,0.0384619588840446 + ,0.0682195700863305 + ,-0.134498105554547 + ,0.0218255727200960 + ,0.0776457687368569 + ,0.0689225629397706 + ,0.0740965027033676 + ,-0.103338356927779 + ,-0.0429672132927176 + ,0.0365409556880891 + ,-0.0414354395090189 + ,-0.012330339132303 + ,0.0286531468201482 + ,-0.0263319233764757 + ,0.0785732307259898 + ,0.0237994722126526 + ,0.0377483003142014 + ,0.0507363385159117 + ,-0.0223289969571086 + ,-0.0483741687167987 + ,-0.138702439764697 + ,0.0658943416950095 + ,-0.015257998756574 + ,-0.0966648642708767 + ,-0.021423000325382 + ,-0.00651105347738536 + ,0.00512035105957504 + ,0.073029300952841 + ,0.0573348071614868 + ,0.172161649472528 + ,-0.0969619108653857 + ,-0.0984926589389618 + ,0.0508824323815179 + ,-0.0623193761665625 + ,-0.137439210181595 + ,0.13754570197851 + ,-0.0237979817564337 + ,0.00561691044717635 + ,0.0328043530195327 + ,0.00654130655901269 + ,0.0601321062076455 + ,-0.0639295914075303 + ,0.0224173380303157 + ,0.317941659607052 + ,0.0225647602888595 + ,-0.0206822092677761 + ,0.00654057567239308 + ,-0.0190310812241401 + ,0.0506293024636681 + ,0.0309034012148992 + ,0.161159786003573 + ,-0.0350860450190002 + ,0.0766629141540984 + ,0.104018416656661 + ,-0.0253219589883051 + ,0.0607550354735824 + ,-0.115326979930159 + ,0.0242361757084084 + ,-0.0348254913157667) > 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] 77 > (np <- floor(n / par1)) [1] 6 > 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] 7 7 7 7 7 6 6 6 6 6 6 6 > arr [,1] [,2] [,3] [,4] [,5] [1,] 0.018067853 0.190464886 0.07409650 -0.022328997 -0.096961911 [2,] 0.056290117 0.016017805 -0.10333836 -0.048374169 -0.098492659 [3,] -0.038392023 0.136736106 -0.04296721 -0.138702440 0.050882432 [4,] 0.019736262 0.009680316 0.03654096 0.065894342 -0.062319376 [5,] -0.034978362 -0.020914378 -0.04143544 -0.015257999 -0.137439210 [6,] 0.006851867 -0.092576966 -0.01233034 -0.096664864 0.137545702 [7,] 0.028084275 0.038461959 0.02865315 -0.021423000 -0.023797982 [8,] 0.044675271 0.068219570 -0.02633192 -0.006511053 0.005616910 [9,] 0.034602784 -0.134498106 0.07857323 0.005120351 0.032804353 [10,] -0.042358967 0.021825573 0.02379947 0.073029301 0.006541307 [11,] -0.070453088 0.077645769 0.03774830 0.057334807 0.060132106 [12,] -0.141169759 0.068922563 0.05073634 0.172161649 -0.063929591 [,6] [,7] [1,] 0.022417338 -0.02532196 [2,] 0.317941660 0.06075504 [3,] 0.022564760 -0.11532698 [4,] -0.020682209 0.02423618 [5,] 0.006540576 -0.03482549 [6,] -0.019031081 NA [7,] 0.050629302 NA [8,] 0.030903401 NA [9,] 0.161159786 NA [10,] -0.035086045 NA [11,] 0.076662914 NA [12,] 0.104018417 NA > darr [,1] [,2] [,3] [,4] [,5] [,6] [1,] 0.03822226 -0.174447080 -0.17743486 -0.02604517 -0.001530748 0.29552432 [2,] -0.09468214 0.120718301 0.06037114 -0.09032827 0.149375091 -0.29537690 [3,] 0.05812828 -0.127055790 0.07950817 0.20459678 -0.113201809 -0.04324697 [4,] -0.05471462 -0.030594694 -0.07797640 -0.08115234 -0.075119834 0.02722278 [5,] 0.04183023 -0.071662588 0.02910510 -0.08140687 0.274984912 -0.02557166 [6,] 0.02123241 0.131038925 0.04098349 0.07524186 -0.161343684 0.06966038 [7,] 0.01659100 0.029757611 -0.05498507 0.01491195 0.029414892 -0.01972590 [8,] -0.01007249 -0.202717676 0.10490515 0.01163140 0.027187443 0.13025638 [9,] -0.07696175 0.156323678 -0.05477376 0.06790895 -0.026263046 -0.19624583 [10,] -0.02809412 0.055820196 0.01394883 -0.01569449 0.053590800 0.11174896 [11,] -0.07071667 -0.008723206 0.01298804 0.11482684 -0.124061698 0.02735550 [12,] 0.33163464 0.005173940 -0.07306534 -0.26912356 0.086346929 -0.12934038 [,7] [1,] 0.08607699 [2,] -0.17608202 [3,] 0.13956316 [4,] -0.05906167 [5,] NA [6,] NA [7,] NA [8,] NA [9,] NA [10,] NA [11,] NA [12,] 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/1jaty1259934659.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/2gp031259934659.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/3lmuq1259934659.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/4tgzx1259934659.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] [1,] -0.09696191 -0.10333836 -0.13870244 -0.020682209 -0.041435440 -0.096664864 [2,] -0.02382548 -0.07343341 -0.07914710 -0.005500947 -0.038206901 -0.092576966 [3,] 0.01806785 0.01601781 -0.03839202 0.019736262 -0.034825491 -0.015680710 [4,] 0.04825692 0.05852258 0.03672360 0.030388566 -0.018086188 0.006851867 [5,] 0.07409650 0.06075504 0.13673611 0.065894342 0.006540576 0.137545702 [,7] [,8] [,9] [,10] [,11] [,12] [1,] -0.02379798 -0.026331923 0.005120351 -0.04235897 0.03774830 -0.14116976 [2,] -0.02142300 -0.006511053 0.005120351 -0.03508605 0.03774830 -0.06392959 [3,] 0.02836871 0.018260156 0.033703569 0.01418344 0.05873346 0.05982945 [4,] 0.03846196 0.044675271 0.078573231 0.02379947 0.07666291 0.10401842 [5,] 0.05062930 0.068219570 0.161159786 0.07302930 0.07764577 0.17216165 $n [1] 7 7 7 7 7 6 6 6 6 6 6 6 $conf [,1] [,2] [,3] [,4] [,5] [,6] [1,] -0.02497859 -0.06278418 -0.10758813 -0.001696376 -0.04684126 -0.07981552 [2,] 0.06111430 0.09481979 0.03080409 0.041168899 -0.02280973 0.04845410 [,7] [,8] [,9] [,10] [,11] [,12] [1,] -0.01025902 -0.01475668 -0.01367591 -0.02379962 0.03363227 -0.04850244 [2,] 0.06699644 0.05127699 0.08108305 0.05216650 0.08383464 0.16816134 $out [1] 0.19046489 0.31794166 -0.06231938 -0.13743921 -0.13449811 -0.07045309 $group [1] 1 2 4 5 9 11 $names [1] "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" Warning message: In bxp(list(stats = c(-0.0969619108653857, -0.0238254779727069, : some notches went outside hinges ('box'): maybe set notch=FALSE > dev.off() null device 1 > postscript(file="/var/www/html/rcomp/tmp/5kiqw1259934659.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] [1,] -0.177434860 -0.29537690 -0.12705579 -0.08115234 -0.081406866 0.02123241 [2,] -0.100246126 -0.13538208 -0.07822439 -0.07654811 -0.071662588 0.02123241 [3,] -0.001530748 -0.09032827 0.05812828 -0.05906167 0.001766722 0.05532193 [4,] 0.062149629 0.09054472 0.10953566 -0.04265466 0.041830229 0.07524186 [5,] 0.295524322 0.14937509 0.20459678 -0.03059469 0.041830229 0.13103892 [,7] [,8] [,9] [,10] [,11] [,12] [1,] -0.05498507 -0.01007249 -0.19624583 -0.02809412 -0.124061698 -0.26912356 [2,] -0.01972590 -0.01007249 -0.07696175 -0.01569449 -0.070716671 -0.12934038 [3,] 0.01575147 0.01940942 -0.04051840 0.03376981 0.002132416 -0.03394570 [4,] 0.02941489 0.10490515 0.06790895 0.05582020 0.027355503 0.08634693 [5,] 0.02975761 0.13025638 0.15632368 0.11174896 0.114826842 0.33163464 $n [1] 7 7 7 7 6 6 6 6 6 6 6 6 $conf [,1] [,2] [,3] [,4] [,5] [,6] [1,] -0.09851087 -0.22524811 -0.05399899 -0.07930229 -0.07143981 0.02048409 [2,] 0.09544938 0.04459157 0.17025556 -0.03882104 0.07497325 0.09015978 [,7] [,8] [,9] [,10] [,11] [,12] [1,] -0.01594593 -0.05475487 -0.13396468 -0.01235947 -0.06112730 -0.1730710 [2,] 0.04744887 0.09357372 0.05292788 0.07989910 0.06539214 0.1051796 $out [1] 0.02722278 0.27498491 -0.16134368 -0.20271768 $group [1] 4 5 6 8 $names [1] "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" Warning message: In bxp(list(stats = c(-0.177434859631147, -0.100246126086785, -0.00153074807357609, : some notches went outside hinges ('box'): maybe set notch=FALSE > dev.off() null device 1 > postscript(file="/var/www/html/rcomp/tmp/6r5bg1259934659.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] [1,] -0.14116976 -0.092576966 -0.10333836 -0.13870244 -0.137439210 -0.035086045 [2,] -0.04037549 -0.005617031 -0.03388368 -0.03535158 -0.080445751 -0.006245253 [3,] 0.01245986 0.030143766 0.02622631 -0.01088453 -0.009090536 0.026734081 [4,] 0.03134353 0.073284166 0.04424232 0.06161457 0.041843393 0.090340665 [5,] 0.05629012 0.190464886 0.07857323 0.17216165 0.137545702 0.161159786 [,7] [1,] -0.11532698 [2,] -0.03482549 [3,] -0.02532196 [4,] 0.02423618 [5,] 0.06075504 $n [1] 12 12 12 12 12 12 5 $conf [,1] [,2] [,3] [,4] [,5] [,6] [1,] -0.02025167 -0.00584360 -0.009407484 -0.05511144 -0.06486744 -0.01731940 [2,] 0.04517139 0.06613113 0.061860103 0.03334239 0.04668636 0.07078757 [,7] [1,] -0.06705478 [2,] 0.01641087 $out [1] -0.1344981 0.3179417 $group [1] 2 6 $names [1] "1" "2" "3" "4" "5" "6" NA Warning message: In bxp(list(stats = c(-0.141169759207391, -0.0403754949525977, 0.0124598598644667, : some notches went outside hinges ('box'): maybe set notch=FALSE > dev.off() null device 1 > postscript(file="/var/www/html/rcomp/tmp/71ig11259934659.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.039758615 -0.0383920229 -0.03606709 [2,] -0.002371253 -0.0007486353 -0.01433358 [3,] 0.018098323 0.0181640043 0.01232977 [4,] 0.029156350 0.0310361398 0.02443365 [5,] 0.039845135 0.0598294507 0.05758757 $n [1] 12 12 12 $conf [,1] [,2] [,3] [1,] 0.003718372 0.003666755 -0.005352229 [2,] 0.032478275 0.032661254 0.030011760 $out numeric(0) $group numeric(0) $names [1] "mean" "median" "midrange" Warning message: In bxp(list(stats = c(-0.0397586147503513, -0.0023712534183765, : some notches went outside hinges ('box'): maybe set notch=FALSE > dev.off() null device 1 > > system("convert tmp/1jaty1259934659.ps tmp/1jaty1259934659.png") > system("convert tmp/2gp031259934659.ps tmp/2gp031259934659.png") > system("convert tmp/3lmuq1259934659.ps tmp/3lmuq1259934659.png") > system("convert tmp/4tgzx1259934659.ps tmp/4tgzx1259934659.png") > system("convert tmp/5kiqw1259934659.ps tmp/5kiqw1259934659.png") > system("convert tmp/6r5bg1259934659.ps tmp/6r5bg1259934659.png") > system("convert tmp/71ig11259934659.ps tmp/71ig11259934659.png") > > > proc.time() user system elapsed 1.229 0.969 3.089