Mean, median, mode and standard deviation; correlation and covariance
Measures of centre (mean, median, mode) and spread (variance, standard deviation) for data and for random variables, plus covariance and the correlation coefficient and their properties under shifts and scaling.
Median: the middle value after sorting. For even , the average of the two middle values. Robust to outliers.
Mode: the most frequent value. There may be several (multimodal) or none useful.
For a random variable, the mean is , a median is any with and (for a continuous , ), and the mode is where the PMF or PDF is largest.
Skewness and order: for a right (positively) skewed distribution with one peak, typically ; for left skew the order reverses; for a symmetric one-peaked distribution all three coincide.
Example: has mean , median and mode .
The mean minimises and the median minimises over .
2. Variance and standard deviation
Variance measures the spread about the mean; the standard deviation (SD) is its square root, in the original units.
Formula
Population (or random variable)
,
Sample (unbiased estimate)
The (Bessel's correction) appears because deviations are measured from , not the true mean; read the question to see which is asked.
Linear transformation :
Adding a constant shifts the centre but not the spread. Scaling multiplies the SD by .
Example: has squared deviations adding to 32, so population variance (SD 2) and sample variance .
3. Covariance
Covariance measures how two variables move together:
For data, (or divide by for the sample version).
Positive covariance: above-average tends to go with above-average . Negative: the opposite.
Properties:
; .
: shifts do not matter, scales multiply.
Bilinear: .
.
Independent , so . Note the plus sign for too.
For a random vector, the covariance matrix has on the diagonal and off it; it is symmetric and positive semidefinite (this is the matrix PCA works with).
4. Correlation coefficient
Covariance depends on units. The Pearson correlation coefficient removes them:
Properties:
(Cauchy–Schwarz).
exactly when for some (with probability 1); the sign of is the sign of .
if , and if .
measures linear association only.
Zero correlation does not imply independence. If is uniform on and , then , so , yet is a function of . (For jointly normal variables, zero correlation does imply independence.)
In simple linear regression, the slope is and is the fraction of variance explained.
Scatter plots with strong positive, near-zero and strong negative correlation
Formulas to remember
Mean
Population variance
Sample variance
Variance shortcut
Linear transform
Covariance
Variance of a combination
Correlation coefficient
Common mistakes
Mixing up the population divisor and the sample divisor ; read which one the question wants.
Writing ; for independent variables it is the sum.
Concluding independence from zero correlation; correlation only detects linear association.
Forgetting to sort before taking the median, or not averaging the two middle values when is even.
Applying a shift to the SD; only the scale factor changes it.
Worked examples
Try each step yourself, then reveal the working.
Example 1: All the summaries of one data set
numerical
For the data find the mean, median, mode, population variance and sample variance.
Step 1: Find the centre measures.
Try it on paper first.
Example 2: Rescaling marks
numerical
Marks in a test have mean 60 and SD 8. Every mark is converted by . Find the new mean, SD and variance.
Step 1: Transform the mean.
Try it on paper first.
Example 3: Covariance and correlation from data
numerical
Find the (population) covariance and the correlation coefficient of and .
Step 1: Find the means and deviations.
Try it on paper first.
Example 4: Uncorrelated but dependent
conceptual
is uniform on and . Find . Are and independent?
Step 1: Compute the moments.
Try it on paper first.
Previous year questions
7 official GATE DA questions on this topic, newest first.
10 questions: up to 4 official PYQs and original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.
Mark as mastered
Loading your progress…
My revision notes
Notes written by the GATEiit team against the official GATE DA syllabus; being checked by a reviewer. Updated 2026-11-21. Spotted a mistake? Use Report an issue on any question, or contact us.