::Free Statistics and Forecasting Software::

v1.1.20
 
 

:: Standard Deviation Plot - Free Statistics Software (Calculator) ::

The non-commercial (academic) use of this software is free of charge. The only thing that is asked in return is to cite this software when results are used in publications.

This free online software (calculator) computes the Standard Deviation Plot for the (time) series. First the series is segmented into a number of blocks (preferably years). Then the standard deviation, range, and interquartile range is computed for the set of all i-th observations of each block (eg, all values of the same month). The resulting variability statistics for each periodic subseries are plotted. In addition the following notched box plots are generated: the periodic subseries, the sequential blocks, and the overall statistics.

Enter (or paste) your data delimited by hard returns.

Send output to:
Data:
 
# periods 
Chart options
Width:
Height:


Cite this software as:
Wessa P., (2006), Standard Deviation Plot (v1.0.0) in Free Statistics Software (v1.1.20), Office for Research Development and Education, URL http://www.wessa.net/rwasp_sdplot.wasp/
The R code is based on :
NIST/SEMATECH e-Handbook of Statistical Methods, http://www.itl.nist.gov/div898/handbook/, 2006-10-03.
Source code of R module
1par1 <- as.numeric(par1)
2(n <- length(x))
3(np <- floor(n / par1))
4arr <- array(NA,dim=c(par1,np+1))
5ari <- array(0,dim=par1)
6j <- 0
7for (i in 1:n)
8{
9j = j + 1
10ari[j] = ari[j] + 1
11arr[j,ari[j]] <- x[i]
12if (j == par1) j = 0
13}
14ari
15arr
16arr.sd <- array(NA,dim=par1)
17arr.range <- array(NA,dim=par1)
18arr.iqr <- array(NA,dim=par1)
19for (j in 1:par1)
20{
21arr.sd[j] <- sqrt(var(arr[j,],na.rm=TRUE))
22arr.range[j] <- max(arr[j,],na.rm=TRUE) - min(arr[j,],na.rm=TRUE)
23arr.iqr[j] <- quantile(arr[j,],0.75,na.rm=TRUE) - quantile(arr[j,],0.25,na.rm=TRUE)
24}
25overall.sd <- sqrt(var(x))
26overall.range <- max(x) - min(x)
27overall.iqr <- quantile(x,0.75) - quantile(x,0.25)
28bitmap(file="plot1.png")
29plot(arr.sd,type="b",ylab="S.D.",main="Standard Deviation Plot",xlab="Periodic Index")
30mtext(paste("# blocks = ",np))
31abline(overall.sd,0)
32dev.off()
33bitmap(file="plot2.png")
34plot(arr.range,type="b",ylab="range",main="Range Plot",xlab="Periodic Index")
35mtext(paste("# blocks = ",np))
36abline(overall.range,0)
37dev.off()
38bitmap(file="plot3.png")
39plot(arr.iqr,type="b",ylab="IQR",main="Interquartile Range Plot",xlab="Periodic Index")
40mtext(paste("# blocks = ",np))
41abline(overall.iqr,0)
42dev.off()
43bitmap(file="plot4.png")
44z <- data.frame(t(arr))
45names(z) <- c(1:par1)
46(boxplot(z,notch=TRUE,col="grey",xlab="Periodic Index",ylab="Value",main="Notched Box Plots - Periodic Subseries"))
47dev.off()
48bitmap(file="plot5.png")
49z <- data.frame(arr)
50names(z) <- c(1:np)
51(boxplot(z,notch=TRUE,col="grey",xlab="Block Index",ylab="Value",main="Notched Box Plots - Sequential Blocks"))
52dev.off()
53bitmap(file="plot6.png")
54z <- data.frame(cbind(arr.sd,arr.range,arr.iqr))
55names(z) <- list("S.D.","Range","IQR")
56(boxplot(z,notch=TRUE,col="grey",ylab="Overall Variability",main="Notched Box Plots"))
57dev.off()

To cite Wessa.net in publications use:
Wessa, P. (2008), Free Statistics Software, Office for Research Development and Education,
version 1.1.20, URL http://www.wessa.net/

© Resa R&D, and the 'Office for Research, Development, and Education' - All rights reserved. This website is an intellectual and physical property of Resa R&D. This includes: html content, graphical illustrations (gif files), computer software, online or electronic documentation, associated media, and printed materials. The free use of the scientific content, services, and applications in this website is granted for non commercial use only. In any case, the source (url) should always be clearly displayed. Under no circumstances are you allowed to reproduce, copy or redistribute the design, layout, or any content of this website (for commercial use) including any materials contained herein without the express written permission of Resa R&D or the Office for Research, Development, and Education.

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. However, Resa R&D makes no warranties or representations as to the accuracy or completeness of such information (or software), and it assumes no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall Resa R&D be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.

Software Version : 1.1.20
Algorithms & Software : Prof. dr. P. Wessa
Facilities : Resa R&D - Office for Research, Development, and Education
Server : www.wessa.net

Comments, Feedback & Errors | Privacy Policy | Statistics Resources | Wessa.net Home

 © Wessa.Net 2002-2008  
 
 

Home Page
Equation Plotter
Time Series Analysis
Financial Databases
Multiple Regression
Descriptive Statistics
Statistical Distributions
Hypothesis Testing

Academic citations
Latest News
Archive (old versions)
FAQ
About Wessa.net

Black&White
Blue Theme

Google
Web wessa.net

All rights reserved. Academic license for non-commercial use only.

 
This website is kindly sponsored by:
Bandwidth Monitoring | Get a business or technology degree near you