Related Experiment Video
Updated: Sep 13, 2025

Identification of Disease-related Spatial Covariance Patterns using Neuroimaging Data
Published on: June 26, 2013
How to Get MAD: Generating Uniformly Sampled Correlation Matrices with a Fixed Mean Absolute Discrepancy
1Department of Psychology, University of Minnesota, Minneapolis, MN, USA.
Abstract:
This article describes a simple and fast algorithm for generating uniformly sampled correlation matrices (R) with a fixed mean absolute discrepancy (MAD) relative to a target (population) The algorithm can be profitably used in many settings including model robustness studies and stress testing of investment portfolios, or in dynamic model-fit analyses to generate R matrices with a known degree of model-approximation error (as operationalized by the MAD). Using results from higher-dimensional geometry, I show that matrices with a fixed MAD lie in the intersection of two sets that represent: (a) an elliptope and (b) the surface of a cross-polytope. When n = 3, these sets can be visualized as an elliptical tetrahedron and the surface of an octahedron. An online supplement includes code for implementing the algorithm and for reproducing all of the results in the article.
Related Concept Videos
Mean Absolute Deviation
Let us consider a dataset containing the number of unsold cupcakes in five shops: 10, 15, 8, 7, and 10. Initially, calculate the sample mean. Then calculate the deviation, or the difference, between each data value and the mean. Next, the absolute values of these deviations are added and divided by the sample size to...
Estimating Population Mean with Known Standard Deviation
The confidence interval estimate will have the form as follows:
(point estimate - error bound, point estimate +...
Estimating Population Mean with Unknown Standard Deviation
William S. Gosset (1876–1937) of the...
Empirical Method to Interpret Standard Deviation
This rule is used widely in statistics to calculate the proportion of data values...
Coefficient of Correlation
If you suspect a linear relationship between x and y, then r can measure how strong the linear relationship is.
What the VALUE of r tells us:
The value of r is always between –1 and +1: –1 ≤ r ≤ 1.
The size of the correlation r indicates the...
Sampling Distribution

