Knowledge / Statistics / Multivariate analysis

Multivariate analysis

Statistics (B.Sc) · Applied statistics · free study notes for exams, placements and interviews

In short

Multivariate analysis studies several correlated response variables together instead of one at a time, using vectors, mean vectors and covariance matrices in place of scalars. Its core tools are the multivariate normal distribution, Hotelling's T², MANOVA, principal component analysis, factor analysis, discriminant analysis, canonical correlation and cluster analysis. It is a compulsory paper in B.Sc. Statistics under UGC CBCS and appears in GATE Statistics (ST), ISI/CMI, IIT JAM MS, UGC-NET Statistics and the ISS examination. In Indian industry it is the statistical backbone of credit scoring at banks and NBFCs, customer segmentation in telecom and FMCG, psychometric scale validation, NSO/NSSO survey analysis and analytics roles at Mu Sigma, ZS, Fractal, TCS and Deloitte.

Explained

Random vectors, mean vector and dispersion matrix

Multivariate normal distribution and sampling distributions

Tests on mean vectors and MANOVA

Principal component analysis and factor analysis

Classification, association and clustering

Practice, software and Indian context

Key points

Formulas and examples

Mean vector and dispersion: μ = E(X); Σ = E[(X − μ)(X − μ)′], σ_ij = Cov(X_i, X_j). Units: σ_ij in (unit of X_i)(unit of X_j).
Sample: x̄ = (1/n) Σ x_i; S = (1/(n−1)) Σ (x_i − x̄)(x_i − x̄)′; R = D−1/2 S D−1/2, D = diag(s_ii).
Mahalanobis distance: D² = (x − μ)′ Σ−1 (x − μ) — dimensionless.
Linear transform: Y = AX + b ⇒ E(Y) = Aμ + b, Cov(Y) = A Σ A′.
Conditional MVN: E(X₁|X₂) = μ₁ + Σ₁₂Σ₂₂−1(x₂ − μ₂); Cov = Σ₁₁ − Σ₁₂Σ₂₂−1Σ₂₁.
One-sample Hotelling: T² = n(x̄ − μ₀)′S−1(x̄ − μ₀); [(n − p)/((n − 1)p)] T² ~ F(p, n − p).
Two-sample: T² = [n₁n₂/(n₁+n₂)](x̄₁−x̄₂)′S_p−1(x̄₁−x̄₂); [(n₁+n₂−p−1)/((n₁+n₂−2)p)]T² ~ F(p, n₁+n₂−p−1).
MANOVA: T = B + W; Wilks' Λ = |W|/|W+B| = Π(1 + λ_i)−1; Bartlett χ² = −[n − 1 − (p+g)/2] ln Λ, df = p(g−1).
PCA: Σe_i = λ_i e_i, e_i′e_i = 1; Var(Y_i) = λ_i; proportion explained = λ_i / Σλ_j; loading = e_ik√λ_i/√σ_kk.
Factor analysis: Σ = LL′ + Ψ; communality h_i² = Σ_j l_ij²; ψ_i = σ_ii − h_i².
Fisher LDA: a = S_p−1(x̄₁ − x̄₂); cut-off a′x = ½ a′(x̄₁ + x̄₂) + ln(p₂c(1|2)/p₁c(2|1)).
Partial correlation: r_12.3 = (r_12 − r_13 r_23)/√[(1 − r_13²)(1 − r_23²)].
2 × 2 inverse (used constantly): for Σ = [[a, b],[b, d]], Σ−1 = (1/(ad − b²)) [[d, −b],[−b, a]].

Example 1 — Mahalanobis distance and marginal misjudgement. A bank records X₁ = monthly income (₹ '000) and X₂ = EMI outgo (₹ '000) with μ = (60, 20)′ and Σ = [[100, 40],[40, 25]]. Applicant x = (70, 30)′.

Example 2 — One-sample Hotelling's T². n = 20 trainees tested on p = 2 aptitude scores; x̄ = (52, 48)′, hypothesised μ₀ = (50, 50)′, S = [[16, 6],[6, 9]].

Example 3 — PCA on a correlation matrix. Three standardised test scores with R = [[1, 0.8, 0.8],[0.8, 1, 0.8],[0.8, 0.8, 1]] (equicorrelated, p = 3, ρ = 0.8).

Example 4 — Fisher's linear discriminant. Two credit classes, p = 2 (income ₹ '000, credit-utilisation %): x̄₁ = (60, 30)′ (good), x̄₂ = (45, 50)′ (default), pooled S_p = [[25, 0],[0, 100]].

Example 5 — Wilks' Λ in one-way MANOVA. g = 3 teaching methods, p = 2 outcome scores, n = 30 students in all. Eigenvalues of W−1B: λ₁ = 0.50, λ₂ = 0.20.

TechniqueInputPurposeKey statistic
Hotelling's T²One/two samples, p responsesTest mean vector(s)T² → F
MANOVAg groups, p responsesCompare several mean vectorsWilks' Λ, Pillai
PCAΣ or RDimension reduction, indicesEigenvalues λ_i
Factor analysisR, m factorsLatent structureLoadings, communality
Discriminant analysisLabelled groupsClassify new unitsFisher's a, D²
Canonical correlationTwo variable setsAssociation between setsCanonical correlations
Cluster analysisDistance matrixDiscover groupsDendrogram, within-SS
AspectPCAFactor analysis
ModelNone (descriptive rotation)Σ = LL′ + Ψ
Variance explainedTotal varianceCommon variance only
DirectionComponents are functions of variablesVariables are functions of factors
SolutionUnique (up to sign)Unique only up to rotation
Typical useReduction, multicollinearityPsychometrics, construct validity

Where it is used

Interview questions

Common mistakes

Related topics

Open in the Knowledge reader →Find jobs →