Send output to:
Browser Blue - Charts White
Browser Black/White
CSV
Data:
2009.08.0.20 2009.16.0.13 2009.25.0.09 2009.33.0.08 2009.42.0.00 2009.50.0.37 2009.58.0.19 2009.67.0.41 2009.75.0.27 2009.83.0.39 2009.92.0.24 2010.00.0.56 2010.08.0.54 2010.16.0.57 2010.25.0.40 2010.33.0.46 2010.42.0.38 2010.50.0.36 2010.58.0.38 2010.67.0.45 2010.75.0.3 2010.83.0.24 2010.92.0.16 2011.00.0.02 2011.08.0.00 2011.16.-0.09 2011.25.0.08 2011.33.0.10 2011.42.0.26 2011.50.0.37 2011.58.0.31 2011.67.0.30 2011.75.0.09 2011.83.0.09 2011.92.0.07 2012.00.-0.14 2012.08.-0.13 2012.16.0.03 2012.25.0.23 2012.33.0.18 2012.42.0.25 2012.5.0.15 2012.58.0.21 2012.67.0.37 2012.75.0.37 2012.83.0.31 2012.92.0.24 2013.00.0.51 2013.08.0.20 2013.16.0.20 2013.25.0.11 2013.33.0.08 2013.42.0.29 2013.50.0.17 2013.58.0.15 2013.67.0.37 2013.75.0.29 2013.83.0.19 2013.92.0.27 2014.00.0.30 2014.08.0.18 2014.16.0.17 2014.25.0.19 2014.33.0.33 2014.42.0.31 2014.50.0.30 2014.58.0.20 2014.67.0.30 2014.57.0.37 2014.83.0.33 2014.92.0.32 2015.00.0.36
Sample Range:
(leave blank to include all observations)
From:
To:
# periods
Chart options
R Code
par1 <- as.numeric(par1) (n <- length(x)) (np <- floor(n / par1)) 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 arr 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) bitmap(file='plot1.png') 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() bitmap(file='plot2.png') plot(arr.range,type='b',ylab='range',main='Range Plot',xlab='Periodic Index') mtext(paste('# blocks = ',np)) abline(overall.range,0) dev.off() bitmap(file='plot3.png') plot(arr.iqr,type='b',ylab='IQR',main='Interquartile Range Plot',xlab='Periodic Index') mtext(paste('# blocks = ',np)) abline(overall.iqr,0) dev.off() bitmap(file='plot4.png') 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')) dev.off() bitmap(file='plot5.png') 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')) dev.off() bitmap(file='plot6.png') 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')) dev.off()
Compute
Summary of computational transaction
Raw Input
view raw input (R code)
Raw Output
view raw output of R engine
Computing time
0 seconds
R Server
Big Analytics Cloud Computing Center
Click here to blog (archive) this computation