{
  "id": "sphericity",
  "title": "Sphericity",
  "lang": "en",
  "source_lang": "en",
  "summary": "Sphericity describes either how closely a shape resembles a sphere or a covariance condition underlying certain statistical tests, especially repeated-measures analysis of variance.",
  "category": "mathematics",
  "subcategory": "geometry",
  "type": "concept",
  "aliases": [],
  "generated_at": "2026-11-05",
  "model": "pro/gpt-6.1-sol",
  "url": "https://aiwiki.page/en/sphericity/",
  "translations": {
    "zh-Hans": {
      "url": "https://aiwiki.page/zh/sphericity/",
      "json": "https://aiwiki.page/zh/sphericity.json"
    }
  },
  "sections": [
    {
      "heading": "",
      "text": "Sphericity has distinct meanings in geometry and statistics. Geometrically, it measures how closely an object's shape resembles a sphere, commonly by comparing its surface area with that of a sphere of equal volume. In statistics, it describes equality of variability across directions in a relevant space. In repeated-measures analysis of variance, this means that the differences between every pair of measurements have equal variance. These meanings share the idea of having no preferred direction, but they are not the same mathematical property."
    },
    {
      "heading": "Geometric sphericity",
      "text": "Surface-area definition\n\nA widely used measure of geometric sphericity, associated with Hakon Wadell's work on particle shape in the 1930s, is\n\n\\[\\Psi=\\frac{\\pi^{1/3}(6V)^{2/3}}{A},\\]\n\nwhere \\(V\\) is the object's volume and \\(A\\) is its surface area. The numerator is the surface area of a sphere with volume \\(V\\), so equivalently,\n\n\\[\\Psi= \\frac{\\text{surface area of an equal-volume sphere}} {\\text{surface area of the object}}.\\]\n\nFor a three-dimensional solid of positive volume with an appropriately defined finite surface area,\n\n\\[0<\\Psi\\leq 1.\\]\n\nThe upper bound follows from the isoperimetric inequality: a sphere encloses a given volume with the least possible surface area. For ordinary solids, equality holds for a sphere.\n\nSphericity is dimensionless and invariant under uniform scaling. Multiplying all lengths by \\(c>0\\) multiplies volume by \\(c^3\\) and surface area by \\(c^2\\), leaving \\(\\Psi\\) unchanged. Translation and rotation also leave it unchanged.\n\nFor a cube of side length \\(a\\),\n\n\\[V=a^3,\\qquad A=6a^2,\\]\n\nand therefore\n\n\\[\\Psi_{\\mathrm{cube}} =\\left(\\frac{\\pi}{6}\\right)^{1/3} \\approx 0.806.\\]\n\nRelated shape measures\n\nSeveral quantities describe aspects of departure from a spherical shape, but they are not interchangeable:\n\n- Aspect ratio compares characteristic dimensions, such as the longest and shortest axes.\n- Roundness usually describes the sharpness or curvature of corners and edges.\n- Circularity describes a two-dimensional outline, often using \\(4\\pi A/P^2\\), where \\(A\\) is enclosed area and \\(P\\) is perimeter.\n- Sphericity in the surface-area sense compares a three-dimensional object's volume and surface area.\n\nA smooth, elongated particle can have rounded edges but low sphericity. Conversely, a roughly equidimensional particle can have a rough surface that substantially lowers its surface-area-based sphericity.\n\nAnother common three-dimensional compactness measure is\n\n\\[Q=\\frac{36\\pi V^2}{A^3}=\\Psi^3.\\]\n\nBecause terminology varies between disciplines and software packages, a reported value of “sphericity” should be accompanied by its defining formula.\n\nApplications and measurement limitations\n\nGeometric sphericity is used in sedimentology, powder technology, particle characterization, and materials science. Particle shape affects packing, flow, drag, settling, and available surface area. Sphericity summarizes one aspect of shape, but it does not uniquely determine these behaviors: objects with the same sphericity can have different elongation, concavity, orientation, or surface texture.\n\nMeasurements depend on how an object's boundary is represented. In three-dimensional imaging, estimated surface area can change with resolution, segmentation, smoothing, and the treatment of pores. Fine roughness often increases measured surface area much more than volume, thereby lowering estimated sphericity. A value obtained from a two-dimensional projection is generally not equivalent to the three-dimensional surface-area measure."
    },
    {
      "heading": "Statistical sphericity",
      "text": "Spherical covariance\n\nFor a random vector \\(X\\), a spherical covariance matrix has the form\n\n\\[\\operatorname{Cov}(X)=\\sigma^2 I,\\]\n\nwhere \\(I\\) is the identity matrix and \\(\\sigma^2>0\\). All components then have equal variance, and distinct components have zero covariance. Every unit-length direction has the same variance.\n\nA spherical covariance matrix alone does not imply statistical independence or a rotationally invariant probability distribution. For a multivariate normal distribution, however, covariance \\(\\sigma^2 I\\) implies independent components and rotational symmetry about the mean.\n\nIn repeated-measures analysis, the requirement is weaker: covariance must be spherical only in the space of contrasts between measurement conditions.\n\nSphericity in repeated-measures analysis\n\nSuppose each subject is measured under \\(k\\) conditions, giving the random vector\n\n\\[Y=(Y_1,\\ldots,Y_k)^\\mathsf{T}.\\]\n\nThe sphericity condition used in univariate repeated-measures analysis of variance is\n\n\\[\\operatorname{Var}(Y_i-Y_j)=d \\qquad\\text{for all }i\\ne j,\\]\n\nfor some common value \\(d\\). Since\n\n\\[\\operatorname{Var}(Y_i-Y_j) = \\operatorname{Var}(Y_i)+\\operatorname{Var}(Y_j) -2\\operatorname{Cov}(Y_i,Y_j),\\]\n\nsphericity constrains both variances and covariances. It does not simply require equal variances of the original measurements.\n\nWith two conditions, there is only one pairwise difference, so sphericity is automatic. It becomes a substantive restriction with three or more conditions.\n\nContrast-space formulation\n\nLet \\(\\Sigma=\\operatorname{Cov}(Y)\\), and let \\(C\\) be a \\((k-1)\\times k\\) matrix whose rows form an orthonormal basis for the space of contrasts:\n\n\\[C\\mathbf{1}=0, \\qquad CC^\\mathsf{T}=I_{k-1}.\\]\n\nHere \\(\\mathbf{1}\\) is the vector of ones, and a contrast is a linear combination of condition measurements whose coefficients sum to zero. Sphericity is equivalent to\n\n\\[C\\Sigma C^\\mathsf{T}=\\lambda I_{k-1}\\]\n\nfor some common contrast variance \\(\\lambda>0\\).\n\nThus, all orthonormal contrast directions have equal variance and zero covariance with one another. The pairwise difference variance is then \\(d=2\\lambda\\).\n\nFor normally distributed measurements, constant-density contours in contrast space are spheres rather than elongated ellipsoids. Without normality, the covariance condition still holds, but it need not describe the full shape of the distribution.\n\nRelationship to compound symmetry\n\nA stronger condition, compound symmetry, requires all original measurements to have the same variance and every distinct pair to have the same covariance:\n\n\\[\\Sigma=aI_k+b\\mathbf{1}\\mathbf{1}^\\mathsf{T},\\]\n\nwith parameters chosen so that \\(\\Sigma\\) is a valid covariance matrix. Compound symmetry implies sphericity because the shared term cancels in differences.\n\nThe converse is false. For example,\n\n\\[\\Sigma= \\begin{pmatrix} 2&1/2&1\\\\ 1/2&3&3/2\\\\ 1&3/2&4 \\end{pmatrix}\\]\n\nis positive definite, and\n\n\\[\\operatorname{Var}(Y_1-Y_2) = \\operatorname{Var}(Y_1-Y_3) = \\operatorname{Var}(Y_2-Y_3) =4.\\]\n\nIt satisfies sphericity despite having unequal marginal variances and unequal off-diagonal covariances."
    },
    {
      "heading": "Testing sphericity",
      "text": "Mauchly's test\n\nMauchly's test assesses the null hypothesis of sphericity. If \\(S_c\\) is the sample covariance matrix in an orthonormal contrast basis and \\(p=k-1\\), its central statistic is\n\n\\[W= \\frac{\\det(S_c)} {\\left[\\operatorname{tr}(S_c)/p\\right]^p}.\\]\n\nHere \\(\\det\\) denotes the determinant and \\(\\operatorname{tr}\\) the trace. When \\(S_c\\) is positive definite, \\(0<W\\leq 1\\), with equality at one when its eigenvalues are all equal. Smaller values indicate greater departure from spherical sample covariance.\n\nThe usual significance calculation uses a corrected transformation of \\(\\log W\\), approximately compared with a chi-squared distribution under normal-theory assumptions.\n\nFailure to reject does not establish sphericity. The test can have limited power in small samples, whereas large samples can detect small departures. Its interpretation also depends on distributional assumptions.\n\nBartlett's test of sphericity\n\nThe term also appears in Bartlett's test of sphericity, commonly used before factor analysis or principal component analysis. That test asks whether a population correlation matrix is the identity matrix—that is, whether all population pairwise correlations are zero.\n\nThis is different from repeated-measures sphericity, which concerns covariance in contrast space. The tests are not interchangeable."
    },
    {
      "heading": "Violations and degrees-of-freedom corrections",
      "text": "The conventional univariate repeated-measures \\(F\\)-test relies on sphericity, alongside assumptions such as independence between subjects and appropriate normality conditions. Violations can make the nominal test too liberal, increasing the probability of a false rejection.\n\nThe extent of departure can be summarized by a population quantity\n\n\\[\\epsilon= \\frac{\\left(\\sum_{i=1}^{p}\\lambda_i\\right)^2} {p\\sum_{i=1}^{p}\\lambda_i^2},\\]\n\nwhere \\(\\lambda_1,\\ldots,\\lambda_p\\) are the eigenvalues of the contrast covariance matrix. It satisfies\n\n\\[\\frac{1}{p}\\leq\\epsilon\\leq1.\\]\n\nSphericity corresponds to \\(\\epsilon=1\\); greater inequality among contrast variances lowers \\(\\epsilon\\).\n\nThe Greenhouse–Geisser and Huynh–Feldt procedures estimate epsilon and adjust the reference degrees of freedom. For a simple one-factor repeated-measures design with \\(n\\) complete subjects and \\(k\\) conditions, the uncorrected degrees of freedom are\n\n\\[df_1=k-1,\\qquad df_2=(n-1)(k-1).\\]\n\nAn epsilon correction replaces them with\n\n\\[df_1^*=\\widehat{\\epsilon}(k-1), \\qquad df_2^*=\\widehat{\\epsilon}(n-1)(k-1).\\]\n\nThe observed \\(F\\)-statistic is unchanged; the reference distribution and resulting significance calculation change. Greenhouse–Geisser estimates tend to be more conservative, while Huynh–Feldt estimates aim to reduce that conservatism.\n\nMultivariate repeated-measures methods and mixed-effects models with suitable covariance structures provide alternatives that do not impose the same sphericity restriction. They introduce their own distributional, sample-size, or covariance-model requirements; removing sphericity does not remove the need for model assumptions."
    }
  ],
  "links": [
    "geometry",
    "statistics",
    "covariance-matrix",
    "identity-matrix",
    "variance",
    "covariance",
    "statistical-independence",
    "multivariate-normal-distribution",
    "analysis-of-variance",
    "orthonormal-basis",
    "linear-combination",
    "positive-definite-matrix",
    "null-hypothesis",
    "determinant",
    "matrix-trace",
    "eigenvalues-and-eigenvectors",
    "chi-squared-distribution",
    "statistical-power",
    "principal-component-analysis",
    "degrees-of-freedom"
  ],
  "sources": [],
  "license": "https://creativecommons.org/licenses/by/4.0/"
}