{
  "name": "Covariance Matrix vs Correlation Matrix: Mathematical and Structural Properties",
  "description": "Comparative dataset compiling mathematical definitions, algebraic boundaries, matrix transformation formulas, and analytical selection criteria for sample covariance matrices (S) and correlation matrices (R) across multivariate statistics. Synthesized from NIST/SEMATECH e-Handbook Section 6.5.4.1, Gaston Sanchez Chapter 9, and UC Berkeley Data 140 Section 13.",
  "page": "https://casrai.org/compare/covariance-vs-correlation-matrix",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-11-23T18:37:09Z",
  "temporalCoverage": "2026",
  "spatialCoverage": "Global / Quantitative Research",
  "columns": [
    {
      "name": "Analytical Dimension",
      "unit": "",
      "description": "Mathematical or statistical property evaluated"
    },
    {
      "name": "Covariance Matrix (S)",
      "unit": "",
      "description": "Property definition and behavior for covariance matrix"
    },
    {
      "name": "Correlation Matrix (R)",
      "unit": "",
      "description": "Property definition and behavior for correlation matrix"
    },
    {
      "name": "Matrix Algebra Formulation",
      "unit": "",
      "description": "Symbolic mathematical formula connecting the metrics"
    },
    {
      "name": "Scale Invariance Status",
      "unit": "",
      "description": "Whether the metric is invariant to changes in measurement scale"
    }
  ],
  "rows": [
    {
      "Analytical Dimension": "Diagonal Elements",
      "Covariance Matrix (S)": "Individual sample variances s_i² = Var(X_i); strictly non-negative real values",
      "Correlation Matrix (R)": "Standardized self-correlations r_ii = 1.0; identically equal to 1 across all dimensions",
      "Matrix Algebra Formulation": "diag(S) = [s₁², s₂², ..., s_p²] vs diag(R) = [1, 1, ..., 1]",
      "Scale Invariance Status": "Scale-dependent (S) vs Scale-invariant (R)"
    },
    {
      "Analytical Dimension": "Off-Diagonal Elements",
      "Covariance Matrix (S)": "Pairwise sample covariances s_ij; unbounded in (-∞, +∞), bounded by Cauchy-Schwarz",
      "Correlation Matrix (R)": "Pearson correlation coefficients r_ij; strictly bounded in closed interval [-1.0, +1.0]",
      "Matrix Algebra Formulation": "|s_ij| ≤ √(s_ii · s_jj) vs -1.0 ≤ r_ij ≤ +1.0",
      "Scale Invariance Status": "Scale-dependent (S) vs Scale-invariant (R)"
    },
    {
      "Analytical Dimension": "Matrix Trace Property",
      "Covariance Matrix (S)": "Tr(S) = sum of all variable variances; represents total sample variance of multivariate system",
      "Correlation Matrix (R)": "Tr(R) = sum of diagonal ones; identically equal to number of variables p",
      "Matrix Algebra Formulation": "Tr(S) = Σ s_i² vs Tr(R) = p",
      "Scale Invariance Status": "Scale-dependent (S) vs Fixed at dimension p (R)"
    },
    {
      "Analytical Dimension": "Matrix Interconversion",
      "Covariance Matrix (S)": "Recoverable from R only with known standard deviation vector D: S = D R D",
      "Correlation Matrix (R)": "Derived directly from S via reciprocal standard deviation matrix: R = D⁻¹ S D⁻¹",
      "Matrix Algebra Formulation": "R = D⁻¹ S D⁻¹ and S = D R D where D = diag(s₁, ..., s_p)",
      "Scale Invariance Status": "Bidirectional transformation requiring diagonal scale vector"
    },
    {
      "Analytical Dimension": "Scalar Multiplication Effect",
      "Covariance Matrix (S)": "Multiplying variable X_i by constant c scales variance by c² and covariances by c",
      "Correlation Matrix (R)": "Multiplying variable X_i by constant c leaves all correlation entries r_ij unchanged",
      "Matrix Algebra Formulation": "Var(cX) = c²Var(X) vs Corr(cX, Y) = Corr(X, Y) for c > 0",
      "Scale Invariance Status": "Scale-variant (S) vs Completely scale-invariant (R)"
    },
    {
      "Analytical Dimension": "Determinant Interpretation",
      "Covariance Matrix (S)": "Generalized sample variance |S| = det(S); squared volume of data hyperellipsoid",
      "Correlation Matrix (R)": "Generalized sample correlation |R| = det(R); bounded in [0, 1], tests sphericity",
      "Matrix Algebra Formulation": "0 ≤ det(S) < ∞ vs 0 ≤ det(R) ≤ 1.0",
      "Scale Invariance Status": "Scales by c^(2p) (S) vs Scale-invariant (R)"
    },
    {
      "Analytical Dimension": "Principal Component Analysis",
      "Covariance Matrix (S)": "Maximizes raw unstandardized variance; leading PCs dominated by large-scale features",
      "Correlation Matrix (R)": "Standardizes variables to unit variance; leading PCs reflect true correlation patterns",
      "Matrix Algebra Formulation": "S v = λ v vs R v = λ v where Σ λ_i(R) = p",
      "Scale Invariance Status": "Scale-dependent components (S) vs Invariant to units (R)"
    },
    {
      "Analytical Dimension": "APA 7th Edition Reporting",
      "Covariance Matrix (S)": "Italicized Roman s_ij or cov; requires leading zero before decimal (e.g., cov = 0.42)",
      "Correlation Matrix (R)": "Italicized Roman r_ij; omits leading zero because bounded by 1.0 (e.g., r = .57)",
      "Matrix Algebra Formulation": "cov(X, Y) = 0.42 vs r(48) = .57, p < .001",
      "Scale Invariance Status": "Leading zero required (S) vs Leading zero omitted (R)"
    }
  ],
  "sources": [
    {
      "title": "NIST/SEMATECH e-Handbook of Statistical Methods Section 6.5.4.1",
      "url": "https://www.itl.nist.gov/div898/handbook/pmc/section5/pmc541.htm",
      "accessed": "2026-11-23"
    },
    {
      "title": "Gaston Sanchez: Chapter 9 Covariance and Correlation",
      "url": "https://www.gastonsanchez.com/matrix4sl/covariance.html",
      "accessed": "2026-11-23"
    },
    {
      "title": "UC Berkeley Data 140 Section 13: Covariance",
      "url": "https://data140.org/textbook/content/chapter-13/covariance/",
      "accessed": "2026-11-23"
    },
    {
      "title": "Rice University OpenStax Introductory Statistics 2e",
      "url": "https://openstax.org/details/books/introductory-statistics-2e",
      "accessed": "2026-11-23"
    }
  ]
}