• Descriptive
    • Moments
    • Concentration
    • Central Tendency
    • Variability
    • Stem-and-Leaf Plot
    • Histogram & Frequency Table
    • Data Quality Forensics
    • Conditional EDA
    • Quantiles
    • Kernel Density Estimation
    • Normal QQ Plot
    • Bootstrap Plot

    • Multivariate Descriptive Statistics
  • Distributions
    • Binomial Probabilities
    • Geometric Probabilities
    • Negative Binomial Probabilities
    • Hypergeometric Probabilities
    • Multinomial Probabilities
    • Poisson Probabilities

    • Exponential
    • Gamma
    • Erlang
    • Weibull
    • Rayleigh
    • Lognormal
    • Pareto
    • Inverse Gamma

    • Beta
    • Power
    • Beta Prime (Inv. Beta)
    • Triangular

    • Normal (area)
    • Logistic
    • Laplace
    • Cauchy (standard)
    • Cauchy (location-scale)
    • Gumbel

    • Normal RNG
    • ML Fitting
    • Tukey Lambda PPCC
    • Box-Cox Normality Plot
    • Sample Correlation r

    • Empirical Tests
  • Hypotheses
    • Theoretical Aspects of Hypothesis Testing
    • Bayesian Inference
    • Minimum Sample Size

    • Empirical Tests
    • Multivariate (pair-wise) Testing
  • Models
    • Manual Model Building
  • Time Series
    • Time Series Plot
    • Decomposition
    • Exponential Smoothing

    • Blocked Bootstrap Plot
    • Mean Plot
    • (P)ACF
    • VRM
    • Standard Deviation-Mean Plot
    • Spectral Analysis
    • ARIMA

    • Cross Correlation Function
    • Granger Causality
  1. Descriptive Statistics & Exploratory Data Analysis
  2. 82  Standard Deviation-Mean Plot
  • Preface
  • Getting Started
    • 1  Introduction
    • 2  Why Do We Need Innovative Technology?
    • 3  Basic Definitions
    • 4  The Big Picture: Why We Analyze Data
  • Introduction to Probability
    • 5  Definitions of Probability
    • 6  Jeffreys’ axiom system
    • 7  Bayes’ Theorem
    • 8  Sensitivity and Specificity
    • 9  Naive Bayes Classifier
    • 10  Law of Large Numbers

    • 11  Problems
  • Probability Distributions
    • 12  Bernoulli Distribution
    • 13  Binomial Distribution
    • 14  Geometric Distribution
    • 15  Negative Binomial Distribution
    • 16  Hypergeometric Distribution
    • 17  Multinomial Distribution
    • 18  Poisson Distribution

    • 19  Uniform Distribution (Rectangular Distribution)
    • 20  Normal Distribution (Gaussian Distribution)
    • 21  Gaussian Naive Bayes Classifier
    • 22  Chi Distribution
    • 23  Chi-squared Distribution (1 parameter)
    • 24  Chi-squared Distribution (2 parameters)
    • 25  Student t-Distribution
    • 26  Fisher F-Distribution
    • 27  Exponential Distribution
    • 28  Lognormal Distribution
    • 29  Gamma Distribution
    • 30  Beta Distribution
    • 31  Weibull Distribution
    • 32  Pareto Distribution
    • 33  Inverse Gamma Distribution
    • 34  Rayleigh Distribution
    • 35  Erlang Distribution
    • 36  Logistic Distribution
    • 37  Laplace Distribution
    • 38  Gumbel Distribution
    • 39  Cauchy Distribution
    • 40  Triangular Distribution
    • 41  Power Distribution
    • 42  Beta Prime Distribution
    • 43  Sample Correlation Distribution

    • 44  Problems
  • Descriptive Statistics & Exploratory Data Analysis
    • 45  Types of Data
    • 46  Datasheets

    • 47  Frequency Plot (Bar Plot)
    • 48  Frequency Table
    • 49  Contingency Table
    • 50  Binomial Classification Metrics
    • 51  Confusion Matrix
    • 52  ROC Analysis

    • 53  Stem-and-Leaf Plot
    • 54  Histogram
    • 55  Data Quality Forensics
    • 56  Quantiles
    • 57  Central Tendency
    • 58  Variability
    • 59  Skewness & Kurtosis
    • 60  Concentration
    • 61  Notched Boxplot
    • 62  Scatterplot
    • 63  Pearson Correlation
    • 64  Rank Correlation
    • 65  Partial Pearson Correlation
    • 66  Simple Linear Regression
    • 67  Moments
    • 68  Quantile-Quantile Plot (QQ Plot)
    • 69  Normal Probability Plot
    • 70  Probability Plot Correlation Coefficient Plot (PPCC Plot)
    • 71  Box-Cox Normality Plot
    • 72  Kernel Density Estimation
    • 73  Bivariate Kernel Density Plot
    • 74  Conditional EDA: Panel Diagnostics
    • 75  Bootstrap Plot (Central Tendency)
    • 76  Survey Scores Rank Order Comparison
    • 77  Cronbach Alpha

    • 78  Equi-distant Time Series
    • 79  Time Series Plot (Run Sequence Plot)
    • 80  Mean Plot
    • 81  Blocked Bootstrap Plot (Central Tendency)
    • 82  Standard Deviation-Mean Plot
    • 83  Variance Reduction Matrix
    • 84  (Partial) Autocorrelation Function
    • 85  Periodogram & Cumulative Periodogram

    • 86  Problems
  • Hypothesis Testing
    • 87  Normal Distributions revisited
    • 88  The Population
    • 89  The Sample
    • 90  The One-Sided Hypothesis Test
    • 91  The Two-Sided Hypothesis Test
    • 92  When to use a one-sided or two-sided test?
    • 93  What if \(\sigma\) is unknown?
    • 94  The Central Limit Theorem (revisited)
    • 95  Statistical Test of the Population Mean with known Variance
    • 96  Statistical Test of the Population Mean with unknown Variance
    • 97  Statistical Test of the Variance
    • 98  Statistical Test of the Population Proportion
    • 99  Statistical Test of the Standard Deviation \(\sigma\)
    • 100  Statistical Test of the difference between Means -- Independent/Unpaired Samples
    • 101  Statistical Test of the difference between Means -- Dependent/Paired Samples
    • 102  Statistical Test of the difference between Variances -- Independent/Unpaired Samples

    • 103  Hypothesis Testing for Research Purposes
    • 104  Decision Thresholds, Alpha, and Confidence Levels
    • 105  Bayesian Inference for Decision-Making
    • 106  One Sample t-Test
    • 107  Skewness & Kurtosis Tests
    • 108  Paired Two Sample t-Test
    • 109  Wilcoxon Signed-Rank Test
    • 110  Unpaired Two Sample t-Test
    • 111  Unpaired Two Sample Welch Test
    • 112  Two One-Sided Tests (TOST) for Equivalence
    • 113  Mann-Whitney U test (Wilcoxon Rank-Sum Test)
    • 114  Bayesian Two Sample Test
    • 115  Median Test based on Notched Boxplots
    • 116  Chi-Squared Tests for Count Data
    • 117  Kolmogorov-Smirnov Test
    • 118  One Way Analysis of Variance (1-way ANOVA)
    • 119  Kruskal-Wallis Test
    • 120  Two Way Analysis of Variance (2-way ANOVA)
    • 121  Repeated Measures ANOVA
    • 122  Friedman Test
    • 123  Testing Correlations
    • 124  A Note on Causality

    • 125  Problems
  • Regression Models
    • 126  Simple Linear Regression Model (SLRM)
    • 127  Multiple Linear Regression Model (MLRM)
    • 128  Logistic Regression
    • 129  Generalized Linear Models
    • 130  Multinomial and Ordinal Logistic Regression
    • 131  Cox Proportional Hazards Regression
    • 132  Conditional Inference Trees
    • 133  Leaf Diagnostics for Conditional Inference Trees
    • 134  Hypothesis Testing with Linear Regression Models (from a Practical Point of View)

    • 135  Problems
  • Introduction to Time Series Analysis
    • 136  Case: the Market of Health and Personal Care Products
    • 137  Decomposition of Time Series
    • 138  Ad hoc Forecasting of Time Series
  • Box-Jenkins Analysis
    • 139  Introduction to Box-Jenkins Analysis
    • 140  Theoretical Concepts
    • 141  Stationarity
    • 142  Identifying ARMA parameters
    • 143  Estimating ARMA Parameters and Residual Diagnostics
    • 144  Forecasting with ARIMA models
    • 145  Intervention Analysis
    • 146  Cross-Correlation Function
    • 147  Transfer Function Noise Models
    • 148  General-to-Specific Modeling
  • References
  • Appendices
    • Appendices
    • A  Method Selection Guide
    • B  Presentations and Teaching Materials
    • C  R Language Concepts for Statistical Computing
    • D  Matrix Algebra
    • E  Standard Normal Table (Gaussian Table)
    • F  Critical values of Student’s \(t\) distribution with \(\nu\) degrees of freedom
    • G  Upper-tail critical values of the \(\chi^2\)-distribution with \(\nu\) degrees of freedom
    • H  Lower-tail critical values of the \(\chi^2\)-distribution with \(\nu\) degrees of freedom

Table of contents

  • 82.1 Definition
    • 82.1.1 Horizontal axis
    • 82.1.2 Vertical axis
  • 82.2 R Module
    • 82.2.1 Public website
    • 82.2.2 RFC
  • 82.3 Purpose
  • 82.4 Pros & Cons
    • 82.4.1 Pros
    • 82.4.2 Cons
  • 82.5 Example
  • 82.6 Task
DRAFT This draft is under development — DO NOT CITE OR SHARE.
  1. Descriptive Statistics & Exploratory Data Analysis
  2. 82  Standard Deviation-Mean Plot

82  Standard Deviation-Mean Plot

82.1 Definition

The Standard Deviation-Mean Plot (SMP) consists of a Scatter Plot between the Standard Deviation \(\sigma_i\) versus the Arithmetic Mean \(\mu_i\) for sequential subseries \(i = 1, 2, …, K\). Based on this Scatter Plot, a Simple Linear Regression Model is computed to identify whether or not the Variability (as measured by \(\sigma_i\)) can be explained by (or is associated with) the Central Tendency (as measured by \(\mu_i\)) for each subseries \(i\), i.e.

\[ \sigma_i = \alpha + \beta \mu_i + \epsilon_i \]

where \(K\) is the number of sequential subseries and where the width of each subseries is usually chosen such that each index \(i\) represents one year (assuming we are working with time series which have a seasonal sampling frequency, such as monthly or quarterly series).

If the estimated \(\beta\) coefficient, i.e. \(\hat{\beta}\), is either positive or negative, it can be concluded that the Variability of year \(i\) is associated with the level of that same year -- this is an indication that the Variability can be made more stable by transforming the time series through the Box-Cox transformation (Chapter 71).

82.1.1 Horizontal axis

The Horizontal axis of the SMP displays the Arithmetic Mean of subseries \(i\).

82.1.2 Vertical axis

The vertical axis of the SMP displays the Standard Deviation of subseries \(i\).

82.2 R Module

82.2.1 Public website

The SMP is available on the public website:

  • https://compute.wessa.net/rwasp_smp.wasp

82.2.2 RFC

The SMP is also available (when using the default profile) in RFC under the “Time Series / Standard Deviation-Mean Plot” menu item.

To compute the Standard Deviation-Mean Plot on your local machine, the following script can be used in the R console:

x <- 100 + cumsum(rnorm(150))
summary(x)
par1 <- 12
n <- length(x)
np <- floor(n / par1)
arr <- array(NA,dim=c(par1,np))
j <- 0
k <- 1
for (i in 1:(np*par1)) {
  j = j + 1
  arr[j,k] <- x[i]
  if (j == par1) {
    j = 0
    k=k+1
  }
}
arr.mean <- array(NA,dim=np)
arr.sd <- array(NA,dim=np)
arr.range <- array(NA,dim=np)
for (j in 1:np) {
  arr.mean[j] <- mean(arr[,j],na.rm=TRUE)
  arr.sd[j] <- sd(arr[,j],na.rm=TRUE)
  arr.range[j] <- max(arr[,j],na.rm=TRUE) - min(arr[,j],na.rm=TRUE)
}
lm1 <- lm(arr.sd~arr.mean)
summary(lm1)
lnlm1 <- lm(log(arr.sd)~log(arr.mean))
summary(lnlm1)
plot(arr.mean,arr.sd,main='Standard Deviation-Mean Plot',xlab='mean',ylab='standard deviation')

plot(arr.mean,arr.range,main='Range-Mean Plot',xlab='mean',ylab='range')

   Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
  98.88  106.20  108.66  107.87  110.02  115.82 

Call:
lm(formula = arr.sd ~ arr.mean)

Residuals:
    Min      1Q  Median      3Q     Max 
-0.6272 -0.4521 -0.3254  0.1649  1.6413 

Coefficients:
            Estimate Std. Error t value Pr(>|t|)
(Intercept) 11.34866    6.77829   1.674    0.125
arr.mean    -0.09282    0.06266  -1.481    0.169

Residual standard error: 0.7472 on 10 degrees of freedom
Multiple R-squared:   0.18, Adjusted R-squared:  0.09795 
F-statistic: 2.194 on 1 and 10 DF,  p-value: 0.1693


Call:
lm(formula = log(arr.sd) ~ log(arr.mean))

Residuals:
    Min      1Q  Median      3Q     Max 
-0.5829 -0.2888 -0.1663  0.2241  0.8602 

Coefficients:
              Estimate Std. Error t value Pr(>|t|)
(Intercept)     33.878     20.536   1.650    0.130
log(arr.mean)   -7.206      4.385  -1.643    0.131

Residual standard error: 0.4882 on 10 degrees of freedom
Multiple R-squared:  0.2126,    Adjusted R-squared:  0.1339 
F-statistic:   2.7 on 1 and 10 DF,  p-value: 0.1314

To compute the Standard Deviation-Mean Plot, the R code uses the standard lm function to compute the linear regression models that are needed for the SMP analysis.

82.3 Purpose

The SMP is used to identify whether or not the Variability of a time series can be explained by its local level (as measured by the Arithmetic Mean). If the linear relationship \(\sigma_i = \alpha + \beta \mu_i + \epsilon_i\) is confirmed then it may be necessary to transform the time series.

82.4 Pros & Cons

82.4.1 Pros

The SMP has the following advantages:

  • It is easy to compute and provides useful information about the time series.
  • It allows the user to derive the parameter of the Box-Cox transformation (this will be explained later).

82.4.2 Cons

The SMP has the following disadvantages:

  • The SMP cannot be computed with many software packages.
  • Most readers are not familiar with the SMP.
  • The SMP is sensitive to outliers (just like the Simple Linear Regression Model).

82.5 Example

Let us consider the Airline Data and apply the SMP analysis. The following analysis shows for each section (i.e. year) the Arithmetic Mean (column 2), Standard Deviation (column 3), and Range (column 4).

Interactive Shiny app (click to load).
Open in new tab

The corresponding Scatter Plot is also shown. Observe how the dots describe an almost perfect linear relationship between the Standard Deviation \(\sigma_i\) and the Arithmetic Mean \(\mu_i\) of each section \(i\).

The Standard Deviations and Arithmetic Means are used in a Simple Linear Regression Model which allows to estimate the parameters of the regression line that describes the Scatter Plot. The output shows the parameters of the constant term and the slope of the regression line (= 0.1886). This implies that the Standard Deviation (of subsequent years) increases as the Arithmetic Mean increases. Later it will be explained how we can test whether this regression parameter is statistically significant. For now, it is sufficient to know we can (at least) describe the linear relationship between \(\sigma_i\) and \(\mu_i\) based on the SMP.

82.6 Task

Compute the SMP for the monthly Marriages time series and describe your conclusions.

81  Blocked Bootstrap Plot (Central Tendency)
83  Variance Reduction Matrix

© 2026 Patrick Wessa. Provided as-is, without warranty.

Feedback: e-mail | Anonymous contributions: click to copy (Sats) | click to copy (XMR)

Cookie Preferences