Send output to:
Browser Blue - Charts White
Browser Black/White
CSV
Data:
181896.00 181580.00 181234.00 180598.00 187123.00 186807.00 181896.00 178638.00 178954.00 178954.00 179269.00 179936.00 181580.00 179616.00 181580.00 179936.00 185158.00 187469.00 177656.00 175025.00 177305.00 176989.00 175025.00 175345.00 179269.00 178638.00 179269.00 179269.00 183545.00 184176.00 172398.00 172398.00 176989.00 174709.00 170785.00 172398.00 176327.00 174363.00 174047.00 169803.00 176007.00 177305.00 164545.00 164229.00 170785.00 167176.00 160967.00 163598.00 166509.00 167176.00 165212.00 161287.00 169456.00 169456.00 155078.00 154101.00 158025.00 150838.00 143616.00 145932.00 150838.00 146910.00 144283.00 138710.00 146247.00 146563.00 132190.00 131839.00 134470.00 126301.00 117465.00 121043.00 125950.00 120728.00 120412.00 115154.00 123670.00 125319.00 109266.00 105688.00 107968.00 99132.00 89981.00 92928.00 98470.00 91946.00 92928.00 89004.00 97172.00 98150.00 78524.00 77221.00 80799.00 71333.00 62817.00 65764.00 72950.00 64462.00 63799.00 57244.00 64462.00 66742.00 46448.00 46448.00 49391.00 41542.00 32706.00 37297.00 45466.00 36631.00 40244.00 35333.00 43186.00 45813.00 24853.00 23240.00 26502.00 18649.00 12444.00 15040.00
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