Skip to main content

Engineering Mathematics

Statistics

Tighten descriptive statistics, n vs n−1 variance, and correlation vs causation so short numericals and MCQ traps do not surprise you — then lock marks with GATE-style samples and flashcards.

~6 hrs Pairs with Probability 10 samples · 10 practice · 10 cards

GATE CSE statistics — mean, median, mode, variance, quartiles, covariance/correlation, probability bridge, sample GATE questions, flashcards, and practice drills.

Learning outcomes

  • Compute mean, median, mode, and quartiles from small datasets
  • Calculate population and sample variance / SD and CV correctly
  • Relate population vs sample notation and the probability bridge (E, Var)
  • Interpret covariance, Pearson correlation, and causation traps
  • Solve GATE-style statistics MCQ/NAT items with a clear explanation trail

Data, population & sample

  • A population is the full set of interest; a sample is a subset used to estimate population quantities.
  • Parameter (population): μ, σ². Statistic (sample): x̄, s² — random before the sample is fixed.
  • GATE numericals are usually tiny datasets — compute exactly; do not round mid-way.
  • Raw data vs frequency table: mean = (Σ f_i x_i)/(Σ f_i); same idea for grouped data with class midpoints (light touch).
SymbolMeaningTypical formula
μPopulation meanΣ x_i / N
x̄Sample meanΣ x_i / n
σ²Population varianceΣ (x_i−μ)² / N
s²Sample varianceΣ (x_i−x̄)² / (n−1)

Measures of central tendency

  • Arithmetic mean x̄ = Σ x_i / n. Sensitive to outliers; uses every value.
  • Median: sort first. Odd n → middle value; even n → average of two middle values.
  • Mode: most frequent value. Bimodal / multimodal datasets appear in definition MCQs.
  • For a symmetric unimodal distribution, mean ≈ median ≈ mode. Right skew: mean > median > mode (typical cartoon).
  • Weighted mean: Σ w_i x_i / Σ w_i when weights are given.

Formulas to remember

  • x̄ = (Σ x_i) / n
  • Median (sorted, n odd): x_{((n+1)/2)}
  • Median (n even): (x_{(n/2)} + x_{(n/2+1)}) / 2

Worked example

Problem. Data: 2, 3, 3, 5, 100. Compare mean and median.

Solution. Mean = 113/5 = 22.6; median = 3. The outlier pulls the mean up; median is robust.

Dispersion — range, variance, SD, CV

  • Range = max − min (crude; uses only two points).
  • Population variance σ² = Σ (x_i − μ)² / N = (Σ x_i²)/N − μ².
  • Sample variance s² = Σ (x_i − x̄)² / (n−1) (Bessel’s correction) — read which divisor the stem wants.
  • Standard deviation = √variance; same units as the data.
  • Mean absolute deviation and interquartile range (IQR = Q3−Q1) appear as “robust spread” ideas.
  • Coefficient of variation CV = σ/μ (or s/x̄) compares relative spread across different scales.

Formulas to remember

  • σ² = (Σ x_i²)/N − μ²
  • s² = Σ (x_i − x̄)² / (n−1)
  • CV = σ / μ
  • IQR = Q3 − Q1

Worked example

Problem. For 4, 8, 8, 10, 12 find sample variance s² (divide by n−1).

Solution. x̄=42/5=8.4. Deviations²: 19.36+0.16+0.16+2.56+12.96=35.2. s²=35.2/4=8.8.

Quartiles, percentiles & five-number summary

  • Quartiles split ordered data into four roughly equal parts: Q1 (25%), Q2=median (50%), Q3 (75%).
  • Five-number summary: min, Q1, median, Q3, max — basis of a box plot.
  • Outlier rules of thumb (1.5×IQR fences) are light GATE/aptitude crossover; know the idea.
  • Percentile p: value below which roughly p% of the data lie — definitions vary slightly; follow the stem.

Worked example

Problem. Sorted data 1,2,3,4,5,6,7. Approximate Q1, Q2, Q3?

Solution. Q2=4. Lower half 1,2,3 → Q1=2; upper half 5,6,7 → Q3=6 (simple textbook split).

Bridge to probability (E and Var)

  • For a discrete RV, population mean μ = E[X] and σ² = Var(X) — same formulas, probabilistic language.
  • Linear transform: E[aX+b]=aE[X]+b; Var(aX+b)=a²Var(X).
  • If a stem gives mean and variance of X, you can answer E[2X+3] and Var(2X+3) without raw data.
  • Sample mean x̄ estimates μ; for iid finite-variance samples, E[x̄]=μ and Var(x̄)=σ²/n (idea level).

Formulas to remember

  • E[aX+b] = a E[X] + b
  • Var(aX+b) = a² Var(X)
  • Var(x̄) = σ² / n (iid sample mean)

Worked example

Problem. Mean 10, variance 4 for X. Find E[2X+3] and Var(2X+3).

Solution. E=2·10+3=23; Var=4·4=16.

Covariance & correlation

  • Sample covariance measures how X and Y move together; sign shows direction of linear association.
  • Pearson r = Cov(X,Y)/(s_X s_Y) ∈ [−1,1]. |r|=1 suggests perfect linear relation in the sample.
  • r is invariant to positive scaling of both variables (standardized); units cancel.
  • Correlation ≠ causation — confounding is the classic verbal trap.
  • Cov=0 does not imply independence (nonlinear dependence possible) — same warning as in Probability.

Formulas to remember

  • Cov(X,Y) = E[XY] − E[X]E[Y]
  • r = Cov(X,Y) / (σ_X σ_Y)
  • Var(X+Y) = Var(X)+Var(Y)+2Cov(X,Y)
|r| rangeRough reading
0No linear association
Near 0.3Weak linear
Near 0.7Stronger linear
1Perfect linear

Frequency tables & quick computations

  • With frequencies f_i at values x_i: n=Σ f_i, mean = Σ f_i x_i / n.
  • Variance shortcut still works with weighted sums: keep Σ f_i x_i and Σ f_i x_i² organized.
  • Mode = value with largest frequency. Median: locate the n/2-th observation in the cumulative frequency column.
  • Bar charts / histograms: know categorical vs continuous display — rarely computational.

Worked example

Problem. Values 1,2,3 with frequencies 2,3,5. Find the mean.

Solution. n=10; mean=(2·1+3·2+5·3)/10=(2+6+15)/10=2.3.

What GATE usually skips

  • Heavy hypothesis testing (t-tests, p-values beyond a name-drop) is uncommon in CSE Engineering Maths.
  • Full regression line fitting is rare; interpret slope/correlation conceptually if asked.
  • Prioritise descriptive stats + the probability link — that combination scores.

Exam tips

  • Sort before finding median; never average unsorted “middle” positions.
  • Check n vs n−1 in variance when the option set looks “almost right”.
  • Outliers: mean and range suffer; median and IQR are more robust.
  • CV needs nonzero mean and is dimensionless — use it to compare relative spread.
  • Correlation does not imply causation — eliminate causal-language options unless the stem supports them.
  • Keep a card: mean, variance shortcut, s² with n−1, CV, r = Cov/(σx σy).
Exam pattern · 10 questions

GATE sample questions & answers

10 GATE-style MCQs for Statistics with full explanations. Attempt each question before revealing the answer.

Q1 Mode definition

For the data 2, 4, 4, 4, 5, 5, 7, 9 the mode is:

  • A) 4
  • B) 5
  • C) 4 and 5
  • D) 7
Show answer & explanation

Answer: A

4 appears three times; 5 appears twice ⇒ unique mode 4.

Q2 Median odd n

Median of 3, 1, 7, 5, 9 after sorting is:

  • A) 3
  • B) 5
  • C) 7
  • D) 1
Show answer & explanation

Answer: B

Sorted 1,3,5,7,9 → middle value 5.

Q3 Population variance

Mean of 5, 10, 15 is 10. If population variance uses divisor N=3, σ² equals:

  • A) 50/3
  • B) 25
  • C) 100/3
  • D) 0
Show answer & explanation

Answer: A

Deviations −5,0,5; squares 25+0+25=50; σ²=50/3.

Q4 Standard deviation

If Var(X)=9, then SD(X) equals:

  • A) 3
  • B) 9
  • C) 81
  • D) 1/3
Show answer & explanation

Answer: A

SD = √Var = 3.

Q5 Coefficient of variation

Mean μ=20, SD σ=4. Coefficient of variation is:

  • A) 5
  • B) 0.2
  • C) 80
  • D) 4
Show answer & explanation

Answer: B

CV=σ/μ=4/20=0.2 (or 20%).

Q6 Linear transform of mean/var

E[X]=5, Var(X)=4. Then E[3X−2] and Var(3X−2) are:

  • A) 13 and 12
  • B) 13 and 36
  • C) 15 and 36
  • D) 13 and 4
Show answer & explanation

Answer: B

E=3·5−2=13; Var=9·4=36.

Q7 Robustness

Which measure is least affected by a single extreme outlier?

  • A) Mean
  • B) Range
  • C) Median
  • D) Variance
Show answer & explanation

Answer: C

Median depends on order position; mean, range, and variance react strongly to extremes.

Q8 Correlation bounds

Pearson correlation r always lies in:

  • A) [0,1]
  • B) [−1,1]
  • C) (−∞,∞)
  • D) [0,∞)
Show answer & explanation

Answer: B

By Cauchy–Schwarz / definition, r ∈ [−1,1].

Q9 Cov vs independence

If Cov(X,Y)=0, which must be TRUE?

  • A) X and Y are independent
  • B) Corr(X,Y)=0
  • C) Var(X+Y)=0
  • D) E[X]=E[Y]=0
Show answer & explanation

Answer: B

Corr=Cov/(σx σy)=0 when Cov=0 (and finite nonzero SDs). Independence is stronger; converse of “indep ⇒ Cov=0” is false.

Q10 Median even n

For sorted data with n=8, the median is:

  • A) The 4th value only
  • B) The average of the 4th and 5th values
  • C) The 5th value only
  • D) Always the mean
Show answer & explanation

Answer: B

Even n: average the two central order statistics (4th and 5th).

Topic drill · 10 questions

10 practice questions — Statistics

Extra page-specific practice beyond the GATE samples. Attempt all 10, then reveal answers to check your reasoning.

P1

Mean of 4, 8, 8, 10, 12 is:

  • A) 8
  • B) 8.4
  • C) 9
  • D) 10
Show answer & explanation

Answer: B) 8.4

Sum=42; 42/5=8.4.

P2

Median of 4, 8, 8, 10, 12 is:

  • A) 8
  • B) 8.4
  • C) 9
  • D) 10
Show answer & explanation

Answer: A) 8

Already sorted; middle value is 8.

P3

Mode of 4, 8, 8, 10, 12 is:

  • A) 4
  • B) 8
  • C) 10
  • D) No mode
Show answer & explanation

Answer: B) 8

8 appears twice; others once.

P4

Sample variance s² of 4, 8, 8, 10, 12 (divisor n−1) equals:

  • A) 8.8
  • B) 7.04
  • C) 35.2
  • D) 4
Show answer & explanation

Answer: A) 8.8

x̄=8.4; Σ(x−x̄)²=35.2; s²=35.2/4=8.8.

P5

If μ=50 and σ=5, CV equals:

  • A) 10
  • B) 0.1
  • C) 5
  • D) 45
Show answer & explanation

Answer: B) 0.1

5/50=0.1.

P6

Data 1,2,3,4. Population variance (÷4) equals:

  • A) 1.25
  • B) 5/3
  • C) 2
  • D) 1
Show answer & explanation

Answer: A) 1.25

μ=2.5. Squared deviations: 2.25+0.25+0.25+2.25=5. σ²=5/4=1.25.

P7

IQR for sorted 2,4,6,8,10,12 with Q1=4, Q3=10 equals:

  • A) 6
  • B) 8
  • C) 10
  • D) 2
Show answer & explanation

Answer: A) 6

IQR=Q3−Q1=10−4=6.

P8

If Corr(X,Y)=1, the scatter of (X,Y) is:

  • A) A perfect decreasing line
  • B) A perfect increasing line
  • C) A circle
  • D) Uncorrelated cloud
Show answer & explanation

Answer: B) A perfect increasing line

r=+1 means perfect positive linear relationship.

P9

Frequencies: value 0 (f=2), 1 (f=3), 2 (f=5). Mean equals:

  • A) 1
  • B) 1.3
  • C) 1.5
  • D) 2
Show answer & explanation

Answer: B) 1.3

(0·2+1·3+2·5)/10=13/10=1.3.

P10

Which statement is FALSE?

  • A) Variance is never negative
  • B) SD has the same units as the data
  • C) Mean always equals median
  • D) CV is σ/μ when μ≠0
Show answer & explanation

Answer: C) Mean always equals median

Mean equals median for symmetric cases, not always (skew/outliers break equality).

Topic FAQs

How much statistics is enough for GATE CSE?

Descriptive stats plus the probability bridge (expectation/variance/distributions). Heavy hypothesis testing is uncommon.

When do I divide by n−1 instead of n?

Sample variance s² typically uses n−1 (unbiased for σ² under iid normal sampling). Population variance uses N. Follow the stem’s wording.

Is median always better than mean?

Not always. Median is more robust to outliers; mean uses all data and matches E[X] in probability models. Choose based on the question’s goal.

What does a negative correlation mean?

Larger values of X tend to pair with smaller values of Y (linearly). It does not by itself prove a causal mechanism.

Quick revision · 10 cards

10 flashcards — Statistics

Hover a card to reveal the answer with a 3D flip. On touch devices, tap the card or use Show answer.

Q1 How do you find the median of a dataset?
Q2 What is the difference between σ² and s²?
Q3 State the variance computational shortcut for a population.
Q4 Define coefficient of variation.
Q5 How do E and Var transform under aX+b?
Q6 What values can Pearson’s r take?
Q7 Does correlation imply causation?
Q8 Does Cov(X,Y)=0 imply independence?
Q9 What is IQR?
Q10 Mean vs median with a right-skewed outlier — which is larger typically?