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.62,0.62,0.62,0.63,0.62,0.63,0.63,0.62,0.63,0.63,0.63,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.63,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.65,0.65,0.65,0.65,0.65,0.65,0.66,0.66,0.66,0.66,0.68,0.69,0.7,0.7,0.7,0.7,0.7,0.7,0.7,0.7,0.7,0.71,0.7,0.71,0.7,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.7,0.7,0.7,0.7,0.7,0.7,0.7,0.7,0.7,0.71,0.71,0.7,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.7,0.7,0.68,0.68,0.69,0.69,0.7,0.7,0.7,0.7,0.7,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.76,0.77,0.78,0.85,0.89,0.9,0.91,0.91,0.91,0.9,0.89,0.88,0.87,0.86,0.87,0.87,0.87,0.85) > 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] 132 > (np <- floor(n / par1)) [1] 11 > 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] 11 11 11 11 11 11 11 11 11 11 11 11 > arr [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12] [1,] 0.62 0.64 0.64 0.65 0.70 0.71 0.70 0.71 0.68 0.71 0.91 NA [2,] 0.62 0.64 0.64 0.65 0.70 0.71 0.70 0.71 0.68 0.71 0.91 NA [3,] 0.62 0.64 0.64 0.66 0.70 0.71 0.70 0.71 0.69 0.71 0.91 NA [4,] 0.63 0.64 0.64 0.66 0.70 0.71 0.70 0.71 0.69 0.71 0.90 NA [5,] 0.62 0.64 0.64 0.66 0.70 0.71 0.70 0.71 0.70 0.71 0.89 NA [6,] 0.63 0.64 0.64 0.66 0.71 0.71 0.70 0.71 0.70 0.71 0.88 NA [7,] 0.63 0.64 0.64 0.68 0.70 0.71 0.70 0.71 0.70 0.76 0.87 NA [8,] 0.62 0.63 0.64 0.69 0.71 0.71 0.71 0.71 0.70 0.77 0.86 NA [9,] 0.63 0.64 0.65 0.70 0.70 0.71 0.71 0.71 0.70 0.78 0.87 NA [10,] 0.63 0.64 0.65 0.70 0.71 0.71 0.70 0.71 0.71 0.85 0.87 NA [11,] 0.63 0.64 0.65 0.70 0.71 0.70 0.71 0.70 0.71 0.89 0.87 NA [12,] 0.64 0.64 0.65 0.70 0.71 0.70 0.71 0.70 0.71 0.90 0.85 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/16sge1261576897.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/20n001261576897.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/3hmj01261576897.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/4xnuy1261576897.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] [,11] [,12] [1,] 0.620 0.620 0.62 0.63 0.62 0.63 0.63 0.620 0.630 0.630 0.630 0.640 [2,] 0.645 0.645 0.65 0.65 0.65 0.65 0.66 0.665 0.675 0.675 0.675 0.675 [3,] 0.700 0.700 0.70 0.70 0.70 0.70 0.70 0.710 0.700 0.710 0.700 0.700 [4,] 0.710 0.710 0.71 0.71 0.71 0.71 0.71 0.710 0.710 0.710 0.710 0.710 [5,] 0.710 0.710 0.71 0.71 0.71 0.71 0.76 0.770 0.710 0.710 0.710 0.710 $n [1] 11 11 11 11 11 11 11 11 11 11 11 11 $conf [,1] [,2] [,3] [,4] [,5] [,6] [,7] [1,] 0.6690348 0.6690348 0.6714167 0.6714167 0.6714167 0.6714167 0.6761806 [2,] 0.7309652 0.7309652 0.7285833 0.7285833 0.7285833 0.7285833 0.7238194 [,8] [,9] [,10] [,11] [,12] [1,] 0.6885625 0.6833264 0.6933264 0.6833264 0.6833264 [2,] 0.7314375 0.7166736 0.7266736 0.7166736 0.7166736 $out [1] 0.91 0.91 0.91 0.90 0.89 0.88 0.87 0.86 0.78 0.87 0.85 0.87 0.89 0.87 0.90 [16] 0.85 $group [1] 1 2 3 4 5 6 7 8 9 9 10 10 11 11 12 12 $names [1] "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" Warning message: In bxp(list(stats = c(0.62, 0.645, 0.7, 0.71, 0.71, 0.62, 0.645, : some notches went outside hinges ('box'): maybe set notch=FALSE > dev.off() null device 1 > postscript(file="/var/www/html/rcomp/tmp/5fr5n1261576897.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] [,9] [,10] [,11] [,12] [1,] 0.62 0.64 0.64 0.65 0.70 0.71 0.70 0.71 0.680 0.710 0.850 NA [2,] 0.62 0.64 0.64 0.66 0.70 0.71 0.70 0.71 0.690 0.710 0.870 NA [3,] 0.63 0.64 0.64 0.67 0.70 0.71 0.70 0.71 0.700 0.735 0.875 NA [4,] 0.63 0.64 0.65 0.70 0.71 0.71 0.71 0.71 0.705 0.815 0.905 NA [5,] 0.64 0.64 0.65 0.70 0.71 0.71 0.71 0.71 0.710 0.900 0.910 NA $n [1] 12 12 12 12 12 12 12 12 12 12 12 0 $conf [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [1,] 0.6254389 0.64 0.6354389 0.6517557 0.695439 0.71 0.695439 0.71 0.6931584 [2,] 0.6345611 0.64 0.6445611 0.6882443 0.704561 0.71 0.704561 0.71 0.7068416 [,10] [,11] [,12] [1,] 0.6871088 0.8590363 NA [2,] 0.7828912 0.8909637 NA $out [1] 0.63 0.70 0.70 0.70 0.70 $group [1] 2 6 6 8 8 $names [1] "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" NA Warning message: In bxp(list(stats = c(0.62, 0.62, 0.63, 0.63, 0.64, 0.64, 0.64, : some notches went outside hinges ('box'): maybe set notch=FALSE > dev.off() null device 1 > postscript(file="/var/www/html/rcomp/tmp/6g4tc1261576897.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,] 0.06712268 0.24 0.035 [2,] 0.06788965 0.24 0.035 [3,] 0.07540321 0.26 0.055 [4,] 0.07798601 0.28 0.060 [5,] 0.08502406 0.29 0.065 $n [1] 12 12 12 $conf [,1] [,2] [,3] [1,] 0.07079819 0.2417557 0.04359733 [2,] 0.08000823 0.2782443 0.06640267 $out numeric(0) $group numeric(0) $names [1] "S.D." "Range" "IQR" Warning message: In bxp(list(stats = c(0.06712268279393, 0.0678896466513628, 0.0754032070277592, : some notches went outside hinges ('box'): maybe set notch=FALSE > dev.off() null device 1 > > try(system("convert tmp/16sge1261576897.ps tmp/16sge1261576897.png",intern=TRUE)) character(0) > try(system("convert tmp/20n001261576897.ps tmp/20n001261576897.png",intern=TRUE)) character(0) > try(system("convert tmp/3hmj01261576897.ps tmp/3hmj01261576897.png",intern=TRUE)) character(0) > try(system("convert tmp/4xnuy1261576897.ps tmp/4xnuy1261576897.png",intern=TRUE)) character(0) > try(system("convert tmp/5fr5n1261576897.ps tmp/5fr5n1261576897.png",intern=TRUE)) character(0) > try(system("convert tmp/6g4tc1261576897.ps tmp/6g4tc1261576897.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 1.079 0.823 1.766