📈 Descriptive Statistics & Sampling
Why it matters: Short items: median of a sample, effect of shifting or scaling a list, and the idea behind the central limit theorem.
Subtopics
Each subtopic has its own page: idea, why, how, example, play, check. Mark each one understood when it clicks. 0 of 3 done.
1Mean, median and mode
2Variance and standard deviation of data
3Sampling distribution and the central limit theorem
Formulas
Mean
x̄ = (Σ xᵢ)/n
Median
middle of the sorted list; average of the two middle values if n is even
Variance
σ² = Σ(xᵢ − x̄)²/n (population); s² = Σ(xᵢ − x̄)²/(n − 1) (sample)
Shift and scale
mean(aX + b) = a·mean + b; SD(aX + b) = |a|·SD
Sample mean
E[X̄] = μ; SD(X̄) = σ/√n
Central limit theorem
X̄ ≈ N(μ, σ²/n) for large n
What GATE asks from this
Question types seen repeatedly in past papers. More stars means more frequent.
★★★
Median or mean of a sample
Sort, then take the middle or the average of the middle two. Check for an outlier that makes the mean misleading.
★★★
Effect of adding to or doubling every entry
Mean follows the transformation; SD ignores the shift and scales by |a|.
Ratings are approximate, based on recurring patterns in past GATE CSE papers.
Previous year questions
2 real questions from the official GATE CSE papers (2012 to 2024), newest first, each with the official answer key and a worked solution. Questions are the property of the GATE organising institutes; this copy is for your personal study.
2 questions · 0 correct of 0 attempted · marks 0 / 3
Year:
GATE 2024 CS1 GA · Q3MCQ1 mark
Consider the following sample of numbers: 9, 18, 11, 14, 15, 17, 10, 69, 11, 13. The median of the sample is
GATE 2012 Code A · Q64MCQ2 marks
Which of the following assertions are CORRECT? P: Adding 7 to each entry in a list adds 7 to the mean of the list. Q: Adding 7 to each entry in a list adds 7 to the standard deviation of the list. R: Doubling each entry in a list doubles the mean of the list. S: Doubling each entry in a list leaves the standard deviation of the list unchanged.
Common traps
With an even count the median is the average of the two middle values, not either of them.
SD is not changed by adding a constant, but it is doubled when you double the data.
Variance scales by a², SD by |a|: do not mix them up.
Sample variance divides by n − 1, population variance by n: read which one the question asks for.