GATE Data Science & AIGATE DA
Module 3 · Statistics

Statistics: from a pile of numbers to a confident conclusion

Probability tells you what data a known process will produce. Statistics runs the other way: you see the data and work out what process made it, and how sure you can be. This module covers describing data, estimators, the Central Limit Theorem, confidence intervals and hypothesis tests. All of it is in the GATE DA syllabus, and all of it is used in machine learning.

You need: the probability module, especially expectation and variance (Part 3) and the normal distribution (Part 4). Each chapter starts with a small concrete case (a few scores, a coin, a die) before the formulas, and words with a dotted underline can be tapped for a plain definition.

The route

    Before any modelling, you summarise: where is the data centred, how spread out is it, and how do two variables move together? This part covers mean, median, mode, variance, standard deviation, z-scores and normalisation, then covariance and Pearson’s correlation computed from data. GATE asks these directly, in the General Aptitude section and in the DA section, and normalisation also appears in the databases syllabus.

    You need: sums (Refreshers 2.1) and expectation and variance (Probability 3.2). Quick check: what is the mean of 2, 4 and 9? (It’s 5.) If $\sum$ notation or “mean” feels shaky, Refreshers 2.1 takes 40 minutes.

    Centre, spread and z-scores

    The mean, median and mode describe where data is centred; the variance and standard deviation describe how spread out it is; a z-score says how unusual one value is, in units of standard deviation.

    Every statistics and ML method starts with these summaries, and GATE asks them as quick numerical questions: an average from a bar chart, an updated mean, a z-score.

    It’s like summarising a batter’s season for a commentator: “averages 38, usually scores between 20 and 55, and that 140 was a freak innings.” Centre, spread, and how unusual one value is.

    Where it shows up in GATE DA

    Quick numerical questions in both the aptitude and the subject sections.

    2025 GA Q10 · average from a bar chart2024 Q27 · z-score normalisation2024 Q34 · updating a mean2026 Q62 · variance from pairwise differences
    Heat: every year, 1–3 marks

    Why summarise? A DPL season produces thousands of numbers: every score, every over, every attendance figure. Nobody can take in a list of thousands. Statistics starts by squeezing a list into a few honest numbers: one for where the values sit (the centre) and one for how much they vary (the spread). Later parts go further, using a small sample to say something about a much bigger population.

    The Bengaluru Backprops’ opener scored 12, 45, 7, 45 and 30 in five innings.

    • Mean $\bar x = \frac1n\sum x_i = \frac{139}{5} = 27.8$: the balance point.
    • Median: sort (7, 12, 30, 45, 45) and take the middle value, 30. With an even count, average the two middle values.
    • Mode: the most frequent value, 45.

    The median ignores how extreme the extremes are; the mean doesn’t. Replace the 45 with a 145 and the mean jumps to 47.8 while the median stays at 30. So the median is robust to outliers. When data has a long tail to the right (a few huge scores), the mean is pulled above the median: right skew.

    Measuring spread, step by step. Take the scores 2, 4, 6, with mean 4. How far is each from the mean? The deviations are $-2, 0, 2$. Their plain average is always 0 (the pluses and minuses cancel), so we square them first: $4, 0, 4$. The average squared deviation is the variance, and its square root, the standard deviation, brings us back to the original units. Dividing the total 8 by $n = 3$ gives $\tfrac83 \approx 2.67$; dividing by $n - 1 = 2$ gives 4. Which to use is explained in the box.

    The population variance of values $x_1, \ldots, x_n$ is $\frac1n\sum (x_i - \bar x)^2$. The sample variance, used when the data is a sample from a bigger population, divides by $n - 1$ instead: $$s^2 = \frac{1}{n-1}\sum_{i=1}^n (x_i - \bar x)^2.$$ The standard deviation is the square root. (Part 2 explains why $n - 1$.) Other spread measures: the range (max − min) and the interquartile range (the spread of the middle 50%).

    If every value is transformed as $y = ax + b$, then $\bar y = a\bar x + b$ and $\mathrm{SD}(y) = |a|\,\mathrm{SD}(x)$ (variance multiplied by $a^2$). Converting runs to “runs above 20” shifts the mean but leaves the spread alone; doubling every score doubles both.

    The z-score of a value is $z = \dfrac{x - \bar x}{s}$: how many standard deviations it is from the mean. After converting every value, the data has mean 0 and SD 1 (“standardisation”, or z-score normalisation).

    Min–max normalisation rescales to $[0, 1]$: $x' = \dfrac{x - \min}{\max - \min}$. Both appear in the databases syllabus under “data transformation”, and both matter in ML, where features on wildly different scales confuse distance-based methods like k-NN and k-means.

    Try it

    Each dot is one innings. Drag dots left and right, or add an outlier. Watch the mean (triangle) chase the outlier while the median (diamond) barely moves. The band shows mean ± one standard deviation. The readout shows both the n and the n − 1 versions of the variance.

    GATE DA 2025 · GA Q10 · MCQ · 2 marks

    The number of patients per shift ($X$) consulting Dr. Gita in her past 100 shifts is shown in the figure. If the amount she earns is ₹1000($X$ − 0.2), what is the average amount (in ₹) she has earned per shift in the past 100 shifts?

    The figure is a bar chart: 20 shifts with 5 patients, 40 shifts with 6, 30 shifts with 7, and 10 shifts with 8.

    1. 6,100
    2. 6,300
    3. 6,000
    4. 6,500
    1. Mean number of patients: $\bar X = \dfrac{5\cdot20 + 6\cdot40 + 7\cdot30 + 8\cdot10}{100} = \dfrac{100 + 240 + 210 + 80}{100} = 6.3$.

      A frequency-weighted mean: each value times how often it occurs, divided by the total count.

    2. Earnings are a linear transformation of $X$: $1000(X - 0.2)$. So the mean earning is $1000(\bar X - 0.2)$.

      The mean of $aX + b$ is $a\bar X + b$. There’s no need to compute the earning for each shift.

    3. $1000(6.3 - 0.2) = 6100$. Answer (A).

      (B) forgets the $-0.2$. Official key: (A).

    Warm-up. Find the mean and the median of 3, 8, 1, 6, 7.

    Mean: add and divide by 5. Median: sort first, then take the middle value.

    Mean $= 25/5 = 5$. Sorted: 1, 3, 6, 7, 8, so the median is 6.

    Warm-up. Find the sample variance $s^2$ of 2, 4, 6.

    Deviations from the mean 4, squared and added, then divided by $n - 1$.

    $(4 + 0 + 4)/(3 - 1) = 4$, so $s = 2$.

    Find the mean, median and mode of the innings 12, 45, 7, 45, 30. (Try it before checking the text above.)

    Sort the values for the median; the mode is the most frequent value.

    Mean $139/5 = 27.8$. Sorted: 7, 12, 30, 45, 45, so the median is 30. Mode 45.

    Find the population standard deviation (divide by $n$) of 2, 4, 4, 4, 5, 5, 7, 9.

    The mean is 5. Square the deviations, average them, take the root.

    Deviations: −3, −1, −1, −1, 0, 0, 2, 4. Squares sum to $9 + 1 + 1 + 1 + 0 + 0 + 4 + 16 = 32$. Variance $32/8 = 4$, SD $= 2$.

    Data has mean 10 and SD 2. Each value is transformed by $y = 3x - 5$. Find the new mean and SD.

    Mean becomes $a\bar x + b$; SD becomes $|a|\cdot$SD.

    Mean $3\cdot10 - 5 = 25$. SD $3\cdot2 = 6$ (the $-5$ shifts but doesn’t spread).

    Using the numbers from GATE 2024 Q27 (min ₹46,000, max ₹1,70,000), what is the min–max normalised value of ₹1,06,000? (That question asked for the z-score; this asks for the other normalisation.)

    $(x - \min)/(\max - \min)$.

    $(106000 - 46000)/(170000 - 46000) = 60000/124000 \approx 0.484$. The z-score (using the mean ₹96,000 and SD ₹21,000) was 0.476: similar here, but the two normalisations are different in general.

    A scorer summarises the Nagpur Neural Nets’ 20 innings as mean 30 runs and population variance 25 (dividing by $n$). Later she finds that one innings entered as 45 was really 25. Find the corrected mean and the corrected population variance.

    Rebuild the two totals the summary hides, the sum $\sum x_i$ and the sum of squares $\sum x_i^2$, correct the one entry in each, then recompute. Moving one value changes the variance too.

    Sum: $\sum x_i = 20\times30 = 600$. Corrected: $600 - 45 + 25 = 580$, so the corrected mean is $580/20 = 29$.

    Sum of squares: the population variance is $\frac1n\sum x_i^2 - \bar x^2$, so $\sum x_i^2 = 20\,(25 + 30^2) = 18500$. Corrected: $18500 - 45^2 + 25^2 = 18500 - 2025 + 625 = 17100$.

    Corrected variance: $17100/20 - 29^2 = 855 - 841 = 14$.

    The variance drops sharply because the wrong entry, 45, sat three standard deviations above the mean. Final: mean 29, variance 14.

    The Bengaluru Backprops score 10, 14, 18, 22 and 26 in five matches. Use the population SD (divide by $n$) for every z-score. Which statements are true? (Select all that apply.)

    1. After min–max normalisation to $[0, 1]$, the population SD of the normalised scores is $\frac{1}{2\sqrt2} \approx 0.354$.
    2. The z-score of 26 is $\sqrt2 \approx 1.414$, and it is the same after min–max normalisation.
    3. If every score is transformed by $y = 30 - 2x$, the value that came from 26 has z-score $+\sqrt2$.
    4. The sample variance (dividing by $n - 1$) of the original scores is 32.

    Min–max normalisation is the linear map $x' = (x - \min)/(\max - \min)$. What does a linear map do to the SD, and what happens to a z-score when the slope is positive, or negative?

    Mean $\bar x = 18$; deviations $-8, -4, 0, 4, 8$; sum of squares 160. Population variance $160/5 = 32$, SD $\sqrt{32} = 4\sqrt2 \approx 5.657$.

    (A) True. Here $x' = (x - 10)/16$, so the SD is divided by 16: $4\sqrt2/16 = \frac{\sqrt2}{4} = \frac{1}{2\sqrt2} \approx 0.354$.

    (B) True. $z = 8/(4\sqrt2) = \sqrt2$. A linear map with positive slope scales the deviation and the SD by the same factor, so every z-score is unchanged.

    (C) False. With slope −2 the deviation becomes $-2\times8 = -16$ while the SD becomes $2\times4\sqrt2$, so $z = -\sqrt2$: a negative slope flips the sign.

    (D) False. The sample variance is $160/4 = 40$; 32 is the population variance.

    Answer: (A) and (B).

    The Kalinga Kernels played 10 home matches with mean 50 and population variance 16, and 15 away matches with mean 40 and population variance 36. Find the population variance of all 25 scores, and the z-score of a score of 62 within the combined set, using the combined population SD (two decimals).

    The combined mean is a weighted mean. For the variance, averaging 16 and 36 is not enough: either rebuild each group’s sum of squares, or add the spread within the groups to the spread between the two group means.

    Combined mean: $(10\times50 + 15\times40)/25 = 1100/25 = 44$.

    Sums of squares, from $\sum x_i^2 = n(\text{variance} + \text{mean}^2)$: home $10\,(16 + 2500) = 25160$, away $15\,(36 + 1600) = 24540$, total 49700.

    Combined variance: $49700/25 - 44^2 = 1988 - 1936 = 52$.

    Check by splitting the spread: within groups $(10\times16 + 15\times36)/25 = 28$; between groups $\big(10\,(50 - 44)^2 + 15\,(40 - 44)^2\big)/25 = (360 + 240)/25 = 24$; total $28 + 24 = 52$. The weighted average of the variances alone (28) misses the gap between the home and away means.

    z-score: $(62 - 44)/\sqrt{52} = 18/7.211 \approx 2.50$. Final: variance 52, z ≈ 2.50.

    • Use frequencies as weights when data comes as a table or bar chart.
    • Report the median for skewed data with outliers.
    • Use the linear-transformation rules instead of transforming every value.
    • Forgetting to sort before taking the median.
    • Adding the shift $b$ to the standard deviation.
    • Mixing up z-score and min–max normalisation, or using min and max in a z-score.
    1. The mean is the balance point and is pulled by outliers; the median is robust; the mode is the most frequent value.
    2. Variance averages squared deviations (÷n for a population, ÷(n−1) for a sample); for y = ax + b, the mean becomes a·x̄ + b and the SD becomes |a|·SD.
    3. z = (x − x̄)/s measures unusualness in SD units; min–max scaling maps the data onto [0, 1].

    Incomes in a town have a few billionaires. Which is the better summary of a typical income?

    The mean
    A few billionaires drag the mean far above what most people earn.
    The median
    It’s the middle income, unaffected by how extreme the top is.
    The range
    That’s a measure of spread, and it’s dominated by the extremes.

    Every score in a dataset is increased by 10. The standard deviation

    increases by 10
    A shift moves every value equally; the gaps between them don’t change.
    stays the same
    Spread is about distances between values, and a shift preserves them.
    increases by 100
    That’s not how variance or SD respond to a shift.

    A value has z-score −2. It is

    2 units below the mean
    2 standard deviations below, not 2 units.
    2 standard deviations below the mean
    $z = (x - \bar x)/s = -2$.
    impossible, as z-scores are positive
    Values below the mean have negative z-scores.

    Covariance and correlation from data

    Pearson’s correlation coefficient $r$ measures how close a scatter of points is to a straight line, from −1 (perfect downhill line) through 0 (no linear trend) to +1 (perfect uphill line).

    Correlation and covariance are in the syllabus by name, the sample paper asked for $r$ from a table, and regression, PCA and feature selection all build on them.

    It’s like noticing that teams who hit more sixes tend to score more runs. Correlation puts a number on “tend to”, without claiming one causes the other.

    Where it shows up in GATE DA

    Computing r from data, and conceptual questions about covariance and correlation.

    Sample Q20 · Pearson’s r from a table2026 Q63 · correlation 0 despite dependence2024 Q65 · covariance of two events2026 Q62 · variance identity
    Heat: most years, 1–2 marks

    Why a single number for “moving together”? Do players who face more balls hit more sixes? Plot each player as a point (balls faced across, sixes up): a scatter plot. If the points drift uphill, the two go together. Correlation turns that impression into one number, so different pairs of variables can be compared.

    A three-point example. Take $x = (1, 2, 3)$ and $y = (1, 3, 2)$. Both means are 2, so the deviations are $dx = (-1, 0, 1)$ and $dy = (-1, 1, 0)$. Multiply in pairs and add: $(-1)(-1) + 0 \cdot 1 + 1 \cdot 0 = 1$. Divide by $\sqrt{\sum dx^2 \cdot \sum dy^2} = \sqrt{2 \cdot 2} = 2$: $r = 0.5$, a moderate uphill trend. The formula in the box is exactly these steps.

    For pairs $(x_i, y_i)$ with means $\bar x, \bar y$: $$s_{xy} = \frac{1}{n-1}\sum (x_i - \bar x)(y_i - \bar y),\qquad r = \frac{\sum (x_i - \bar x)(y_i - \bar y)}{\sqrt{\sum (x_i - \bar x)^2\,\sum (y_i - \bar y)^2}}.$$ Each product $(x_i - \bar x)(y_i - \bar y)$ is positive when the point is on the same side of both means (both above or both below), and negative otherwise. The $(n-1)$s cancel in $r$.

    • $-1 \le r \le 1$, and $r = \pm1$ exactly when the points lie on a straight line.
    • $r$ has no units: changing units (cm to inches) or shifting values doesn’t change it. Multiplying one variable by a negative number flips its sign.
    • $r$ only measures linear association: points on a parabola can have $r \approx 0$ (2026 Q63).
    • One outlier can change $r$ dramatically.
    • Correlation is not causation: ice-cream sales and drownings are correlated because both rise in summer.
    Try it

    Drag the points. The readout shows $r$, and the line is the least-squares line (which the ML module derives). Make a perfect line ($r = \pm1$), a cloud ($r \approx 0$), and a U-shape ($r \approx 0$ despite an obvious pattern). Then drag one point far away and watch a single outlier swing $r$.

    GATE DA 2024 sample paper · Q20 · MCQ · 1 mark

    What is the Pearson’s correlation coefficient between x and y for the data in the table below? (rounded off to the first decimal place)

    xy
    −66.4
    24.7
    0.28
    72
    −43.4
    1. −0.5
    2. 0.5
    3. 0.3
    4. −0.3
    1. Means: $\bar x = (-6 + 2 + 0.2 + 7 - 4)/5 = -0.16$ and $\bar y = (6.4 + 4.7 + 8 + 2 + 3.4)/5 = 4.9$.

      Always start from the means.

    2. Deviations $x - \bar x$: −5.84, 2.16, 0.36, 7.16, −3.84. Deviations $y - \bar y$: 1.5, −0.2, 3.1, −2.9, −1.5.

      A table with columns for $dx$, $dy$, $dx\cdot dy$, $dx^2$, $dy^2$ keeps this tidy.

    3. $\sum dx\,dy = -8.76 - 0.432 + 1.116 - 20.764 + 5.76 = -23.08$. $\sum dx^2 = 104.912$ and $\sum dy^2 = 22.56$.

      The large negative product comes from the point (7, 2): far right, well below the mean of $y$.

    4. $r = \dfrac{-23.08}{\sqrt{104.912\times22.56}} = \dfrac{-23.08}{48.65} \approx -0.47 \to$ (A) −0.5.

      Sign check: high $x$ goes with low $y$ (the point (7, 2)), so $r$ should be negative. That already eliminates (B) and (C). The sample paper published no key; this is our computation.

    Warm-up. Find Pearson’s $r$ for the points $(1, 2)$, $(2, 4)$, $(3, 6)$.

    Do the points lie on a straight line? Which way does it slope?

    They lie exactly on the uphill line $y = 2x$, so $r = 1$.

    Warm-up. $y = -2x + 5$ for every data point. What is the correlation between $x$ and $y$?

    A perfect straight line gives $r = \pm1$; the sign follows the slope.

    A perfect downhill line: $r = -1$.

    Find Pearson’s $r$ for $x$ = 1, 2, 3, 4, 5 and $y$ = 2, 4, 5, 4, 5. (Two decimals.)

    $\bar x = 3$, $\bar y = 4$. Compute $\sum dx\,dy$, $\sum dx^2$ and $\sum dy^2$.

    $dx$: −2, −1, 0, 1, 2; $dy$: −2, 0, 1, 0, 1. $\sum dx\,dy = 4 + 0 + 0 + 0 + 2 = 6$; $\sum dx^2 = 10$; $\sum dy^2 = 6$. $r = 6/\sqrt{60} \approx 0.77$.

    Every point satisfies $y = -2x + 7$ exactly. What is $r$?

    The points lie exactly on a line. Which way does it slope?

    A perfect straight line with negative slope: $r = -1$. The size of the slope (2) doesn’t matter.

    The correlation between batters’ heights (in cm) and their strike rates is 0.8. Heights are converted to inches. The new correlation is

    Converting units multiplies every height by the same positive number.

    $r$ is unit-free and unchanged by multiplying a variable by a positive constant: it stays 0.8.

    Which statements are true? (Select all that apply.)

    (A) $r = 0$ means $X$ and $Y$ are independent. (B) $r$ is always between −1 and 1. (C) A large $|r|$ proves that $X$ causes $Y$. (D) Swapping the roles of $x$ and $y$ leaves $r$ unchanged.

    Recall 2026 Q63 for (A), and look at the formula’s symmetry for (D).

    (A) false: zero correlation only rules out a linear trend. (B) true. (C) false: correlation isn’t causation. (D) true: the formula is symmetric in $x$ and $y$.

    For five DPL matches, $x$ is the number of sixes and $y$ the number of fours a team hit. The summary is $n = 5$, $\sum x = 30$, $\sum y = 35$, $\sum x^2 = 220$, $\sum y^2 = 285$, $\sum xy = 242$. Find the sample covariance $s_{xy}$ (dividing by $n - 1$) and Pearson’s $r$.

    Use the shortcuts $\sum(x_i - \bar x)(y_i - \bar y) = \sum x_iy_i - n\bar x\bar y$ and $\sum(x_i - \bar x)^2 = \sum x_i^2 - n\bar x^2$.

    Means: $\bar x = 30/5 = 6$, $\bar y = 35/5 = 7$.

    Centred sums: $S_{xy} = 242 - 5\times6\times7 = 32$; $S_{xx} = 220 - 5\times36 = 40$; $S_{yy} = 285 - 5\times49 = 40$.

    Covariance: $s_{xy} = 32/4 = 8$. (Dividing by $n$ instead would give 6.4.)

    Correlation: $r = \dfrac{32}{\sqrt{40\times40}} = 0.8$. The divisor cancels inside $r$, so $r$ is the same whichever convention you use. Final: $s_{xy} = 8$, $r = 0.8$.

    In a DPL match, $X$ is the Haryana Heuristics’ score and $Y$ the Hyderabad Hyperplanes’ score, with $\mathrm{SD}(X) = 6$, $\mathrm{SD}(Y) = 8$ and correlation $\rho(X, Y) = 0.5$. A fantasy league scores the match as $F = 2X - Y + 3$. Then $\mathrm{Var}(F)$ is

    1. 208
    2. 160
    3. 112
    4. 40

    Turn the correlation into a covariance first. For $aX + bY + c$, the cross term is $2ab\,\mathrm{Cov}(X, Y)$, and the constant contributes nothing.

    Covariance: $\mathrm{Cov}(X, Y) = \rho\,\mathrm{SD}(X)\,\mathrm{SD}(Y) = 0.5\times6\times8 = 24$.

    With $a = 2$, $b = -1$: $\mathrm{Var}(F) = a^2\,\mathrm{Var}(X) + b^2\,\mathrm{Var}(Y) + 2ab\,\mathrm{Cov}(X, Y) = 4\times36 + 64 + 2\times2\times(-1)\times24$.

    That is $144 + 64 - 96 = 112$.

    (A) ignores the covariance, (B) uses $2\,\mathrm{Cov}$ instead of $2ab\,\mathrm{Cov}$, and (D) forgets to square the 2. Answer: (C) 112.

    Random variables $X$ and $Y$ have equal standard deviations and correlation $\rho(X, Y) = 0.6$. Which statements are true? (Select all that apply.)

    1. $\rho(3X + 2,\ 5 - Y) = -0.6$.
    2. $\rho(X,\ X + Y) \approx 0.894$.
    3. (Separate data.) For $x = -2, -1, 0, 1, 2$ and $y = x^2$, Pearson’s $r$ is 0.
    4. A correlation of 0.6 means a straight line in $X$ explains 60% of the variation in $Y$.

    For (B), call the common variance $\sigma^2$ and compute $\mathrm{Cov}(X, X + Y)$ and $\mathrm{Var}(X + Y)$ from the rules for sums. For (C), compute $\sum (x_i - \bar x)(y_i - \bar y)$.

    (A) True. A linear change of scale leaves $|r|$ unchanged; exactly one of the two slopes (3 and −1) is negative, so the sign flips: −0.6.

    (B) True. With $\mathrm{Var}(X) = \mathrm{Var}(Y) = \sigma^2$ and $\mathrm{Cov}(X, Y) = 0.6\sigma^2$: $\mathrm{Cov}(X, X + Y) = \sigma^2 + 0.6\sigma^2 = 1.6\sigma^2$ and $\mathrm{Var}(X + Y) = 2\sigma^2 + 2\times0.6\sigma^2 = 3.2\sigma^2$. So $\rho = \dfrac{1.6\sigma^2}{\sigma\cdot\sigma\sqrt{3.2}} = \dfrac{1.6}{\sqrt{3.2}} \approx 0.894$.

    (C) True. $\bar x = 0$, so $\sum (x_i - \bar x)(y_i - \bar y) = \sum x_i y_i - 5\bar x\bar y = \sum x_i^3 = 0$, giving $r = 0$, even though $y$ is completely determined by $x$. Correlation measures only straight-line association.

    (D) False. The share of variation explained by the line is $r^2 = 0.36$, i.e. 36%.

    Answer: (A), (B) and (C).

    • Sketch or imagine the scatter first; the sign of $r$ is often obvious.
    • Lay out $dx$, $dy$, products and squares in columns.
    • Look for outliers and curved patterns before trusting $r$.
    • Treating $r = 0$ as “no relationship”.
    • Thinking a steeper line means a larger $r$. The slope’s size doesn’t matter; only how tightly the points hug a line.
    • Inferring causation from correlation.
    1. Sample covariance averages products of deviations; r normalises it to [−1, 1].
    2. r = ±1 for an exact line; r is unit-free, unchanged by shifts and positive rescaling, and symmetric in x and y.
    3. r measures linear association only; it is fragile to outliers and says nothing about causation.

    Points lie on a perfect U-shaped parabola, symmetric about $x = 0$. $r$ is

    1
    The points aren’t on a straight line.
    0
    The left half slopes down and the right half slopes up; the linear trends cancel.
    −1
    There’s no overall downhill trend either.

    If $r = 0.9$ between $X$ and $Y$, then the correlation between $-X$ and $Y$ is

    0.9
    Negating one variable reverses the direction of the trend.
    −0.9
    Multiplying by a negative constant flips the sign and keeps the size.
    0
    The strength of the linear pattern is unchanged; only its direction flips.

    Which single change to a dataset is most likely to change $r$ a lot?

    Adding 5 to every $x$
    Shifts don’t affect $r$.
    Converting $y$ from runs to hundreds of runs
    Positive rescaling doesn’t affect $r$.
    Adding one extreme outlier
    One point far from the rest can dominate the sums of products.

    Data: 3, 5, 5, 9, 18. Which is largest?

    The median
    The median is 5.
    The mode
    The mode is 5.
    The mean
    The mean is 8, pulled up by the 18 (right skew).

    Sample covariance of $x$ and $y$ is 6, with SDs 2 and 5. Then $r$ is

    6
    Divide by the product of the SDs.
    0.6
    $6/(2\times5)$.
    0.3
    Multiply the SDs: $2\times5 = 10$.
    1.2
    $r$ can’t exceed 1.

    A random variable has $E[X] = 4$ and $E[X^2] = 25$. Its standard deviation is

    5
    That’s $\sqrt{E[X^2]}$. Subtract $(E[X])^2$ first.
    3
    $\sqrt{25 - 16}$.
    9
    That’s the variance.
    21
    Subtract $4^2$, not 4.

    We almost never see a whole population, only a sample. This part asks how well a sample statistic (like the sample mean) estimates the true value, why the sample variance divides by $n - 1$, and why averages of almost anything end up normally distributed: the Central Limit Theorem, the reason z-tests and confidence intervals work at all.

    You need: Part 1, and expectation, variance and the normal distribution (Probability Parts 3–4).

    Estimators: guessing a population value from a sample

    An estimator is a formula that turns a sample into a guess for an unknown population value; it’s unbiased if, averaged over all possible samples, it hits the true value exactly.

    GATE has asked about the mean and variance of a sample proportion (2025 Q54) and about unbiased and maximum-likelihood estimators (sample paper). Every model you train in ML is an estimator too.

    It’s like judging a batter’s true average from a handful of innings. Some formulas aim straight; others are systematically a little low, however many times you repeat the exercise.

    Where it shows up in GATE DA

    Properties of the sample mean and sample proportion, unbiasedness, and the n − 1 in the sample variance.

    2025 Q54 · mean and variance of p̂Sample Q53 · unbiased vs maximum-likelihood estimators2024 Q34 · sample average2026 Q53 · Σ(Xᵢ − X̄)² and χ²
    Heat: most years, 1–2 marks

    Why estimate? The DPL wants the average age of everyone who attended a match this season, about two lakh people. Asking all of them is impossible; asking 400 chosen at random is easy. The average of those 400 will not be exactly right, but how far off is it likely to be, and is it at least right on average? This part answers those two questions.

    A population has fixed but unknown parameters: its mean $\mu$, variance $\sigma^2$, a proportion $p$. A sample $X_1, \ldots, X_n$ is drawn from it (independently, from the same distribution: "i.i.d."). A statistic is anything computed from the sample. When we use a statistic to guess a parameter, it’s an estimator (the formula) and its value on our data is an estimate. We put a hat on it: $\hat\mu$, $\hat p$.

    An estimator $\hat\theta$ is itself a random variable (a different sample gives a different value).

    • Bias $= E[\hat\theta] - \theta$. Unbiased means $E[\hat\theta] = \theta$.
    • Standard error = the standard deviation of $\hat\theta$.
    • Mean squared error $= E[(\hat\theta - \theta)^2] = \mathrm{Var}(\hat\theta) + \text{bias}^2$.
    • Consistent: $\hat\theta$ gets arbitrarily close to $\theta$ as $n \to \infty$.
    • $\bar X = \frac1n\sum X_i$ has $E[\bar X] = \mu$ (unbiased) and $\mathrm{Var}(\bar X) = \dfrac{\sigma^2}{n}$, so its standard error is $\sigma/\sqrt n$.
    • $S^2 = \dfrac{1}{n-1}\sum (X_i - \bar X)^2$ is unbiased for $\sigma^2$. Dividing by $n$ instead gives expectation $\frac{n-1}{n}\sigma^2$: slightly too small.
    • For a 0/1 variable, $\bar X$ is the sample proportion $\hat p$, with $E[\hat p] = p$ and $\mathrm{Var}(\hat p) = \dfrac{p(1-p)}{n}$.
    Go deeper: why dividing by $n - 1$ makes $S^2$ unbiased

    Expand the sum of squares: $\sum (X_i - \bar X)^2 = \sum X_i^2 - n\bar X^2$. For each $X_i$, $E[X_i^2] = \sigma^2 + \mu^2$, and for the mean $E[\bar X^2] = \mathrm{Var}(\bar X) + \mu^2 = \sigma^2/n + \mu^2$. So

    $$E\Big[\sum (X_i - \bar X)^2\Big] = n(\sigma^2 + \mu^2) - n\big(\tfrac{\sigma^2}{n} + \mu^2\big) = (n-1)\,\sigma^2.$$

    Dividing by $n - 1$ gives exactly $\sigma^2$ on average. Intuitively, the deviations are measured from $\bar X$, which is fitted to the same data, so they come out a little small; one “degree of freedom” is used up by estimating the mean.

    Seeing unbiasedness with a tiny population

    Let the whole population be just three scores, 2, 4 and 6: mean $\mu = 4$ and population variance $\sigma^2 = \tfrac83$. Draw a sample of 2 with replacement. There are 9 equally likely samples, (2, 2), (2, 4), …, (6, 6). Work out the estimators for each sample and average over all 9:

    • the sample means average to exactly 4 = $\mu$: the sample mean is unbiased;
    • the sample variances dividing by $n - 1$ average to exactly $\tfrac83 = \sigma^2$: unbiased;
    • dividing by $n$ instead, they average to $\tfrac43$, only half of $\sigma^2$ here (the factor is $\tfrac{n-1}{n} = \tfrac12$): biased low.

    “Unbiased” is a statement about this average over all possible samples, not about any single sample.

    Why n − 1?

    The deviations are measured from $\bar X$, which is computed from the same data and so sits right in the middle of it. Squared distances to the sample’s own centre are, on average, a bit smaller than squared distances to the true $\mu$. Dividing by $n - 1$ exactly corrects this. Another way to see it: the $n$ deviations $X_i - \bar X$ always sum to zero, so only $n - 1$ of them are free. One “degree of freedom” was used up estimating the mean.

    Maximum likelihood (MLE), briefly

    The MLE chooses the parameter value that makes the observed data most probable. For coin tosses it gives $\hat p$ = (heads)/$n$. For a normal sample it gives $\hat\mu = \bar X$ and $\hat\sigma^2 = \frac1n\sum(X_i - \bar X)^2$ (divide by $n$): an MLE need not be unbiased. MLEs are invariant: the MLE of $\sigma$ is the square root of the MLE of $\sigma^2$. And since $\sqrt{\ }$ is curved, $S$ is a slightly biased estimator of $\sigma$ even though $S^2$ is unbiased for $\sigma^2$.

    Try it

    The population is normal with variance $\sigma^2 = 100$. Choose a sample size $n$ and draw thousands of samples. For each sample the widget computes the variance two ways, dividing by $n$ and by $n - 1$, and keeps a running average. Watch the “÷ n” average settle below 100 and the “÷ (n − 1)” average settle on it. The bias is largest for tiny samples: try $n = 2$.

    GATE DA 2025 · Q54 · MSQ · 2 marks

    Consider a coin-toss experiment where the probability of head showing up is $p$. In the $i$th coin toss, let $X_i = 1$ if head appears, and $X_i = 0$ if tail appears. Consider $\hat p = \frac1n\sum_{i=1}^n X_i$ where $n$ is the total number of independent coin tosses. Which of the following statements is/are correct?

    1. $E[\hat p] = p$
    2. $E[\hat p] = \dfrac pn$
    3. As $n$ increases, variance of $\hat p$ decreases
    4. Variance of $\hat p$ does not depend on $n$
    1. Each $X_i$ is Bernoulli($p$): $E[X_i] = p$, $\mathrm{Var}(X_i) = p(1-p)$.

      A 0/1 variable’s mean is the probability of a 1.

    2. Linearity: $E[\hat p] = \frac1n\sum E[X_i] = \frac1n\cdot np = p$. (A) ✓, (B) ✗.

      The sample proportion is unbiased.

    3. Independence: $\mathrm{Var}(\hat p) = \frac{1}{n^2}\sum\mathrm{Var}(X_i) = \frac{p(1-p)}{n}$, which shrinks as $n$ grows. (C) ✓, (D) ✗. Answer: A, C.

      Scaling by $\frac1n$ scales variance by $\frac1{n^2}$; adding $n$ independent variances gives $n\cdot p(1-p)$. Official key: A; C.

    Warm-up. A population has $\sigma = 12$. What is the standard error of the mean of a sample of 36?

    $\sigma/\sqrt n$.

    $12/\sqrt{36} = 12/6 = 2$.

    Warm-up. Is the sample mean $\bar X$ an unbiased estimator of the population mean $\mu$?

    Compute $E[\bar X]$ using linearity.

    Yes: $E[\bar X] = \frac1n \sum E[X_i] = \frac1n \cdot n\mu = \mu$.

    GATE DA 2024 sample paper · Q53 · MCQ · 2 marks

    Let $S^2$ be the variance of a random sample of size $n \gt 1$ from a normal population with an unknown mean $\mu$ and an unknown finite variance $\sigma^2$. Consider the following statements: (I) $S^2$ is an unbiased estimator of $\sigma^2$, and $S$ is an unbiased estimator of $\sigma$. (II) $\frac{n-1}{n}S^2$ is a maximum likelihood estimator of $\sigma^2$, and $\sqrt{\frac{n-1}{n}}\,S$ is a maximum likelihood estimator of $\sigma$. Which of the above statements is true?

    1. (I) only
    2. (II) only
    3. Both (I) and (II)
    4. Neither (I) nor (II)

    Is the square root of an unbiased estimator still unbiased? And what does the MLE of $\sigma^2$ divide by?

    (I) is false: $S^2$ is unbiased for $\sigma^2$, but $S$ underestimates $\sigma$ on average (the square root is curved). (II) is true: the MLE of $\sigma^2$ divides by $n$, which is $\frac{n-1}{n}S^2$, and by invariance the MLE of $\sigma$ is its square root. Answer (B). (Sample paper, no official key.)

    Runs per innings have SD $\sigma = 12$. What is the standard error of the mean of 36 innings?

    $\sigma/\sqrt n$.

    $12/\sqrt{36} = 2$.

    An estimator has bias 1 and variance 3. What is its mean squared error?

    MSE = variance + bias².

    $3 + 1^2 = 4$.

    Samples of size $n = 5$ are drawn from a population with $\sigma^2 = 10$. What is the expected value of the "divide by $n$" variance, $\frac1n\sum(X_i - \bar X)^2$?

    Its expectation is $\frac{n-1}{n}\sigma^2$.

    $\frac45\times10 = 8$: on average 2 below the truth, a bias of −2.

    Four innings $X_1, \ldots, X_4$ are i.i.d. with mean $\mu = 10$ and variance $\sigma^2 = 25$. Instead of $\bar X$, an analyst uses the “shrunk” mean $T = (X_1 + X_2 + X_3 + X_4)/5$. Find the bias and the mean squared error (MSE) of $T$ as an estimator of $\mu$.

    Constants come out of expectations unchanged and out of variances squared. Then use MSE = variance + bias².

    Mean: $E[T] = \frac{4\mu}{5} = 8$, so the bias is $E[T] - \mu = 8 - 10 = -2$.

    Variance: by independence $\mathrm{Var}(T) = \frac{4\sigma^2}{25} = \frac{100}{25} = 4$.

    MSE: $\mathrm{Var}(T) + \text{bias}^2 = 4 + 4 = 8$.

    For comparison, $\bar X$ is unbiased with MSE $\sigma^2/n = 25/4 = 6.25$, so here the shrunk mean does worse: its smaller variance doesn’t make up for its bias. Final: bias −2, MSE 8.

    Two independent unbiased estimates of a team’s mean score $\mu$ are available: $T_1$ with variance 4 and $T_2$ with variance 12. They are combined as $T = aT_1 + (1 - a)T_2$. Which value of $a$ makes $\mathrm{Var}(T)$ smallest, and what is that smallest variance?

    1. $a = 0.25$, variance 7
    2. $a = 0.75$, variance 3
    3. $a = 0.5$, variance 4
    4. $a = 0.75$, variance 6

    $T$ is unbiased for every $a$. Write $\mathrm{Var}(T)$ as a function of $a$ (weights get squared) and minimise it.

    Unbiased: $E[T] = a\mu + (1 - a)\mu = \mu$ for any $a$.

    Variance: $\mathrm{Var}(T) = 4a^2 + 12(1 - a)^2$. Setting the derivative to zero: $8a - 24(1 - a) = 0$, so $a = 0.75$.

    Minimum: $4\times0.5625 + 12\times0.0625 = 2.25 + 0.75 = 3$. The more precise estimate gets the larger weight: weights are proportional to $1/\text{variance}$, and the best variance is $1/(\frac14 + \frac1{12}) = 3$.

    (A) swaps the weights, (C) uses equal weights, and (D) forgets to square the weights. Answer: (B).

    $X_1, \ldots, X_n$ are i.i.d. Uniform$(0, \theta)$ with $\theta \gt 0$ unknown; recall $E[X_i] = \theta/2$ and $\mathrm{Var}(X_i) = \theta^2/12$. Let $M = \max_i X_i$, which is the MLE of $\theta$. Which statements are true? (Select all that apply.)

    1. $2\bar X$ is an unbiased estimator of $\theta$.
    2. $\mathrm{Var}(2\bar X) = \dfrac{\theta^2}{3n}$.
    3. $M$ is an unbiased estimator of $\theta$.
    4. For $n = 3$, the MSE of $M$ is $\theta^2/10$, smaller than the MSE of $2\bar X$.

    For $M$: $P(M \le m) = (m/\theta)^n$ for $0 \le m \le \theta$, because all $n$ values must be at most $m$. Differentiate to get the density, then find $E[M]$ and $E[M^2]$.

    (A) True. $E[2\bar X] = 2\times\theta/2 = \theta$.

    (B) True. $\mathrm{Var}(2\bar X) = 4\,\mathrm{Var}(X_i)/n = 4\theta^2/(12n) = \theta^2/(3n)$.

    (C) False. $M$ has density $n m^{n-1}/\theta^n$ on $[0, \theta]$, so $E[M] = \frac{n}{n+1}\theta \lt \theta$: the largest value always falls short of $\theta$. (The corrected $\frac{n+1}{n}M$ is unbiased.)

    (D) True. $E[M^2] = \frac{n}{n+2}\theta^2$, so $\mathrm{MSE}(M) = E[M^2] - 2\theta E[M] + \theta^2 = \theta^2\left(\frac{n}{n+2} - \frac{2n}{n+1} + 1\right) = \frac{2\theta^2}{(n+1)(n+2)}$. For $n = 3$: $\frac{2}{20}\theta^2 = \theta^2/10$. Since $2\bar X$ is unbiased, its MSE is its variance, $\theta^2/9$, which is larger: a biased estimator can beat an unbiased one.

    Answer: (A), (B) and (D).

    • Use linearity for means of estimators and independence for their variances.
    • Remember the shrinking standard error: quadruple the sample to halve it.
    • Use $n - 1$ for a sample variance unless told otherwise.
    • Assuming "unbiased for $\sigma^2$“ means ”unbiased for $\sigma$".
    • Writing $\mathrm{Var}(\bar X) = \sigma^2$, forgetting the $1/n$.
    • Thinking an unbiased estimator is always the best. A small bias with much lower variance can give a lower MSE (that’s ridge regression’s idea).
    1. An estimator is a random variable: its bias is E[θ̂] − θ, its spread is the standard error, and MSE = variance + bias².
    2. X̄ is unbiased with Var(X̄) = σ²/n; p̂ is unbiased with Var(p̂) = p(1 − p)/n.
    3. S² divides by n − 1 to be unbiased; the MLE divides by n, and S is slightly biased for σ.

    To halve the standard error of a sample mean, the sample size must be

    doubled
    SE is $\sigma/\sqrt n$; doubling $n$ divides it by $\sqrt2$ only.
    quadrupled
    $\sqrt{4n} = 2\sqrt n$.
    halved
    Fewer data points means a larger standard error.

    Why does the sample variance divide by $n - 1$?

    To make it larger, just to be safe
    There’s a precise reason: it makes the estimator exactly unbiased.
    Deviations from $\bar X$ underestimate deviations from $\mu$; $n - 1$ corrects this exactly
    $E[\sum(X_i - \bar X)^2] = (n-1)\sigma^2$.
    Because one data point is always an outlier
    It has nothing to do with outliers.

    An estimator gives 0.48, 0.52, 0.47, 0.53 on repeated samples when the truth is 0.5. It is probably

    unbiased with some variance
    The values scatter evenly around 0.5.
    biased with no variance
    The values differ, so the variance isn’t zero, and they centre on the truth.
    biased upward
    They average exactly 0.5.

    The Central Limit Theorem: why bells are everywhere

    Add up (or average) many independent random quantities and the result is approximately normal, whatever their own distribution looked like.

    The CLT is named in the syllabus and has been asked directly (2025 Q40, 2026 Q45). It’s also the reason z-scores, confidence intervals and z-tests work on real data.

    It’s like a team’s total score: each ball’s runs come from a lumpy distribution (lots of dots and singles, occasional sixes), but the total over 120 balls follows a smooth bell curve.

    Where it shows up in GATE DA

    Normal approximations to binomial and Poisson counts, and the theory behind tests and intervals.

    2025 Q40 · CLT for a sum of Bernoullis2026 Q45 · Poisson sum limit2025 Q54 · variance of p̂
    Heat: most years, 2 marks

    Why it matters, with dice. One throw of a die is flat: each face 1–6 is equally likely (mean 3.5, standard deviation about 1.71). Now average 36 throws. The average is still centred on 3.5, but its standard deviation shrinks to $1.71/\sqrt{36} \approx 0.28$, and its distribution is a bell, even though a single throw looks nothing like one. So the average of 36 throws lands between about 2.9 and 4.1 (3.5 ± two standard deviations) roughly 95% of the time. That combination, “the average is predictable, and bell-shaped”, is what makes the confidence intervals and tests of Parts 3 and 4 possible.

    For i.i.d. $X_1, X_2, \ldots$ with mean $\mu$, the sample mean $\bar X_n$ gets arbitrarily close to $\mu$ as $n \to \infty$. Long-run averages settle down; that’s why “probability = long-run frequency” makes sense.

    For i.i.d. $X_1, \ldots, X_n$ with mean $\mu$ and finite variance $\sigma^2$, for large $n$: $$\bar X_n \approx N\!\left(\mu, \frac{\sigma^2}{n}\right),\qquad\text{equivalently}\qquad \frac{\bar X_n - \mu}{\sigma/\sqrt n} \approx N(0, 1).$$ For the sum $S_n = X_1 + \cdots + X_n$: $S_n \approx N(n\mu,\ n\sigma^2)$.

    The LLN says where $\bar X$ goes (to $\mu$); the CLT says how it wobbles on the way: normally, with standard deviation $\sigma/\sqrt n$. How large is “large”? For roughly symmetric data, $n \approx 30$ is plenty; very skewed data needs more.

    Normal approximation to the binomial. A Binomial($n, p$) count is a sum of $n$ Bernoullis, so it’s approximately $N(np,\ np(1-p))$ when $np$ and $n(1-p)$ are both reasonably large (a common rule: at least 10). A continuity correction (using 59.5 instead of 60, say) improves accuracy, but GATE’s options usually make it unnecessary.

    Try it

    Pick a population; its shape is shown faintly behind. Choose a sample size $n$, then draw many samples and histogram their means. With $n = 1$ you just see the population. Increase $n$ and the histogram turns into a bell (the curve is the CLT’s prediction), getting narrower like $1/\sqrt n$. Try the very skewed exponential: it needs a larger $n$.

    GATE DA 2025 · Q40 · MCQ · 2 marks

    A random variable $X$ is said to be distributed as Bernoulli($\theta$), denoted by $X \sim$ Bernoulli($\theta$), if $P(X = 1) = \theta$, $P(X = 0) = 1 - \theta$ for $0 \lt \theta \lt 1$. Let $Y = \sum_{i=1}^{300} X_i$, where $X_i \sim$ Bernoulli($\theta$), $i = 1, 2, \ldots, 300$ be independent and identically distributed random variables with $\theta = 0.25$. The value of $P(60 \le Y \le 90)$, after approximation through Central Limit Theorem, is given by (recall $\phi(x) = \frac{1}{\sqrt{2\pi}}\int_{-\infty}^x e^{-t^2/2}\,dt$)

    1. $\phi(2) - \phi(-2)$
    2. $\phi(1) - \phi(-1)$
    3. $\phi(3) - \phi(-3)$
    4. $\phi(90) - \phi(60)$
    1. $Y$ is a sum of 300 i.i.d. Bernoulli(0.25) variables, each with mean 0.25 and variance $0.25\times0.75 = 0.1875$.

      The CLT for sums needs the mean and variance of one term.

    2. By the CLT, $Y \approx N(300\times0.25,\ 300\times0.1875) = N(75, 56.25)$, so the SD is $7.5$.

      $S_n \approx N(n\mu, n\sigma^2)$.

    3. Standardise: $\frac{60 - 75}{7.5} = -2$ and $\frac{90 - 75}{7.5} = 2$. So $P(60 \le Y \le 90) \approx \phi(2) - \phi(-2) \approx 0.954$. Answer (A).

      (D) forgets to standardise; $\phi$ is the standard normal CDF. Official key: (A).

    Warm-up. Each value has mean 40 and SD 10. What are the mean and SD of the average of 25 such independent values?

    The average keeps the mean; its SD is $\sigma/\sqrt n$.

    Mean 40; SD $10/\sqrt{25} = 2$.

    Warm-up. 100 fair coin tosses: the number of heads is a sum of 100 Bernoulli(0.5) values. Give its mean and SD.

    Sum: mean $n\mu$, variance $n\sigma^2$, with $\mu = 0.5$ and $\sigma^2 = 0.25$.

    Mean $= 50$; variance $= 25$, so SD $= 5$.

    GATE DA 2026 · Q45 · MCQ · 2 marks

    Let $\displaystyle L = \lim_{n\to\infty}\sum_{k=0}^{n}\frac{e^{-n}n^k}{k!}$. Which of the following is the value of $L$?

    1. 0.5
    2. 1.0
    3. 0
    4. $e^{-1}$

    $\frac{e^{-n}n^k}{k!}$ is the Poisson($n$) PMF, so the sum is $P(N \le n)$ for $N \sim$ Poisson($n$). A Poisson($n$) is a sum of $n$ independent Poisson(1) variables. What does the CLT say about it?

    $N$ is a sum of $n$ i.i.d. Poisson(1) variables (mean 1, variance 1), so by the CLT $N \approx N(n, n)$. The sum is $P(N \le n) = P\left(\frac{N - n}{\sqrt n} \le 0\right) \to \Phi(0) = 0.5$. Official key: (A).

    The Haryana Heuristics score 1.2 runs per ball on average, with SD 1.5 per ball (independent balls). Use the CLT to approximate the probability that they score more than 150 runs in 100 balls. (Use $\Phi(2) = 0.977$; three decimals.)

    Total ≈ $N(100\times1.2,\ 100\times1.5^2)$.

    Mean 120, variance 225, SD 15. $z = (150 - 120)/15 = 2$. $P \approx 1 - \Phi(2) \approx 0.023$.

    A fair die has variance $35/12$. What is the standard deviation of the average of 36 throws? (Three decimals.)

    $\sigma/\sqrt n$ with $\sigma = \sqrt{35/12}$.

    $\sqrt{35/12}/6 \approx 1.708/6 \approx 0.285$. So the average of 36 throws is usually within about 0.57 of 3.5.

    A fair coin is tossed 400 times. Using the normal approximation (without continuity correction), what is the z-score of 220 heads?

    Mean $np$, SD $\sqrt{np(1-p)}$.

    Mean 200, SD $\sqrt{100} = 10$, so $z = (220 - 200)/10 = 2$.

    The number of balls between boundaries for the Bengaluru Backprops is exponential with mean 6 balls. Using the CLT, how many independent gaps $n$ must be averaged so that $P(|\bar X - 6| \le 1) \ge 0.95$? Use $\Phi(1.96) = 0.975$.

    First find the SD of an exponential with mean 6 (Probability module). Then $\bar X \approx N(\mu, \sigma^2/n)$, and the window of ±1 must cover ±1.96 standard errors.

    SD: an exponential has variance equal to its mean squared, so $\sigma = 6$.

    CLT: $\bar X \approx N(6, 36/n)$, so $P(|\bar X - 6| \le 1) = 2\Phi\!\left(\frac{1}{6/\sqrt n}\right) - 1$.

    This is at least 0.95 when $\frac{\sqrt n}{6} \ge 1.96$, i.e. $\sqrt n \ge 11.76$, i.e. $n \ge 138.30$.

    Round up (rounding down would fall short): $n = 139$.

    A batter’s runs off each ball are 0 with probability 0.4, 1 with probability 0.4 and 4 with probability 0.2, independently from ball to ball. Using the CLT (no continuity correction), approximate the probability that she scores more than 207 runs in 150 balls. Use $\Phi(1.5) = 0.9332$.

    Find the mean and variance of one ball’s runs, then use $S_n \approx N(n\mu, n\sigma^2)$ for the total.

    One ball: $\mu = 0\times0.4 + 1\times0.4 + 4\times0.2 = 1.2$; $E[X^2] = 0.4 + 16\times0.2 = 3.6$; $\sigma^2 = 3.6 - 1.2^2 = 2.16$.

    Total over 150 balls: mean $150\times1.2 = 180$, variance $150\times2.16 = 324$, SD 18.

    Standardise: $z = (207 - 180)/18 = 1.5$.

    $P(S \gt 207) \approx 1 - \Phi(1.5) = 1 - 0.9332 = 0.0668$.

    The Kalinga Kernels’ match scores have SD 16 and the Haryana Heuristics’ have SD 12, and the two teams’ true mean scores are equal. Each team’s average $\bar X_1$, $\bar X_2$ is taken over 64 independent matches. Using the CLT, $P(|\bar X_1 - \bar X_2| \gt 5)$ is approximately (use $\Phi(0.8) = 0.7881$, $\Phi(1.43) = 0.9236$, $\Phi(2) = 0.9772$)

    1. 0.0228
    2. 0.1528
    3. 0.4238
    4. 0.0456

    Find the standard error of each average, then the SD of their difference. Independent variances add; standard deviations don’t.

    Each average: $\mathrm{Var}(\bar X_1) = 256/64 = 4$, $\mathrm{Var}(\bar X_2) = 144/64 = 2.25$.

    Difference: by independence $\mathrm{Var}(\bar X_1 - \bar X_2) = 4 + 2.25 = 6.25$, so its SD is 2.5, and its mean is 0.

    Two tails: $P(|D| \gt 5) \approx 2\,(1 - \Phi(5/2.5)) = 2\,(1 - 0.9772) = 0.0456$.

    (A) counts only one tail; (B) adds the SDs ($2 + 1.5 = 3.5$, $z \approx 1.43$); (C) uses the variance 6.25 as if it were the SD ($z = 0.8$). Answer: (D).

    • For sums use $N(n\mu, n\sigma^2)$; for means use $N(\mu, \sigma^2/n)$. Don’t mix them.
    • Always standardise before using $\Phi$.
    • Recognise hidden sums: a binomial or Poisson($n$) count is a sum of $n$ simple pieces.
    • Thinking the CLT makes the data normal. It’s about sums and means.
    • Using $\sigma$ instead of $\sigma/\sqrt n$ for the spread of a mean.
    • Applying the CLT to tiny samples of very skewed data.
    1. LLN: the sample mean converges to μ. CLT: it does so with approximately normal fluctuations of size σ/√n.
    2. Sums: Sₙ ≈ N(nμ, nσ²); means: X̄ ≈ N(μ, σ²/n), whatever the original shape.
    3. Binomial(n, p) ≈ N(np, np(1 − p)) and Poisson(n) ≈ N(n, n) for large n; standardise, then use Φ.

    Individual match scores are heavily skewed. The average score over 50 matches is

    also heavily skewed
    Averaging many independent values smooths the shape out.
    approximately normal
    That’s the CLT.
    uniform
    Averages pile up around the mean; they don’t spread out evenly.

    The SD of the sample mean of $n$ i.i.d. values with SD $\sigma$ is

    $\sigma$
    That’s the SD of a single value.
    $\sigma/n$
    It’s the variance that is divided by $n$.
    $\sigma/\sqrt n$
    Variance $\sigma^2/n$, so SD $\sigma/\sqrt n$.

    Which does the law of large numbers say?

    After a run of losses, a win is due
    That’s the gambler’s fallacy. Independent trials have no memory; the LLN works by dilution, not compensation.
    The long-run average approaches the expected value
    Exactly.
    Large samples are normally distributed
    That’s a (wrong) version of the CLT. The CLT is about means and sums, not the data itself.

    Which is an unbiased estimator of $\sigma^2$?

    $\frac1n\sum(X_i - \bar X)^2$
    Its expectation is $\frac{n-1}{n}\sigma^2$.
    $\frac{1}{n-1}\sum(X_i - \bar X)^2$
    That’s $S^2$.
    $\sqrt{S^2}$
    That estimates $\sigma$, and it’s slightly biased.

    Using the CLT, a Binomial(100, 0.5) count is approximately

    $N(50, 50)$
    The variance is $np(1-p) = 25$.
    $N(50, 25)$
    Mean $np = 50$, variance $np(1-p) = 25$ (SD 5).
    $N(0, 1)$
    That’s after standardising.

    Each value in a sample is doubled. The sample variance $S^2$

    doubles
    Variance scales by the square of the factor.
    is multiplied by 4
    $\mathrm{Var}(2X) = 4\,\mathrm{Var}(X)$, and the same holds for $S^2$.
    doesn’t change
    Scaling changes spread; only shifting doesn’t.

    When the population’s standard deviation is unknown, you have to estimate it from the sample, and the extra uncertainty changes the distribution you use: Student’s t instead of the normal, and χ² for variances. With those in hand you can build confidence intervals, ranges that capture the true value a stated percentage of the time.

    You need: Part 2 (standard error, the CLT) and the normal, χ² and t previews in Probability 4.2.

    The χ² and t distributions: what changes when σ is unknown

    χ² is the distribution of a sum of squared standard normals, and t is what a z-score becomes when you replace the true σ with the sample’s own estimate: similar to the normal, but with heavier tails.

    Both are named in the syllabus. GATE 2026 asked two questions about them (Q28 on t versus normal, Q53 on χ²), and they power the t-test and χ²-test in Part 4.

    It’s like judging a bowler’s speed with a slightly unreliable speed gun. Because the gun adds its own uncertainty, you widen your margins. The t distribution is that widening, built into the maths.

    Where it shows up in GATE DA

    Properties of χ² and t (degrees of freedom, tails, means and variances).

    2026 Q28 · normal vs t₁ densities and CDFs2026 Q53 · which sums are χ²2025 Q36 · Var(Z²) = 2
    Heat: rising, 2 questions in 2026

    Why new distributions? In Part 2 the z-score $\frac{\bar x - \mu}{\sigma/\sqrt n}$ was standard normal, but it needs the population’s $\sigma$, which you almost never know. The obvious fix is to use the sample’s own $s$ instead. That works, but it adds a second source of wobble ($s$ itself varies from sample to sample), especially with small samples. With 5 values, using the normal cut-off 1.96 would make “95% intervals” that miss far more than 5% of the time; the right cut-off is 2.571. The t distribution supplies those corrected cut-offs, and χ² describes how $s^2$ itself varies.

    A critical value is such a cut-off: the point with a stated small area (say 2.5%) beyond it. And the degrees of freedom are the count from Part 2: $n - 1$ for a sample of $n$, because one was used up estimating the mean.

    If $Z_1, \ldots, Z_k$ are independent standard normals, $Q = Z_1^2 + \cdots + Z_k^2 \sim \chi^2_k$. It’s never negative, skewed right, with $E[Q] = k$ and $\mathrm{Var}(Q) = 2k$. Key fact for samples from a normal population: $$\frac{(n-1)S^2}{\sigma^2} \sim \chi^2_{n-1},$$ with one degree of freedom lost because the deviations are measured from $\bar X$ instead of $\mu$.

    If $Z \sim N(0,1)$ and $V \sim \chi^2_\nu$ are independent, $T = \dfrac{Z}{\sqrt{V/\nu}} \sim t_\nu$. For a normal sample, $$T = \frac{\bar X - \mu}{S/\sqrt n} \sim t_{n-1}.$$ It’s the z-score with $S$ in place of $\sigma$. Properties: symmetric about 0; heavier tails than $N(0,1)$; approaches $N(0,1)$ as $\nu \to \infty$; $t_1$ is the Cauchy distribution, whose tails are so heavy that it has no mean.

    Critical valueUpper 2.5% point (two-sided 95%)
    Standard normal $z$1.960
    $t_5$2.571
    $t_{10}$2.228
    $t_{30}$2.042
    $\chi^2_1$ / $\chi^2_5$ (upper 5% points)3.841 / 11.070

    The t values shrink towards 1.96 as the degrees of freedom grow: with more data, $S$ is a more reliable estimate of $\sigma$, so less widening is needed. GATE gives you any critical value you need; what you must know is which distribution and how many degrees of freedom.

    Try it

    Compare $t_\nu$ with the standard normal. With $\nu = 1$ the t curve is much lower in the middle and much higher in the tails. The two curves cross at about ±1.85 (the "$c$" of GATE 2026 Q28), and the shaded tails show where the critical values sit. Raise $\nu$ and watch t merge into the normal. Switch to χ² to see how its shape and mean move with $k$.

    GATE DA 2026 · Q28 · MSQ · 1 mark

    Suppose a random variable $Z$ follows Normal($\mu = 0$, $\sigma^2 = 1$) distribution with probability density function $g(z)$ and cumulative distribution function $G(z)$. Another random variable $Y$ follows $t_1$ distribution with probability density function $h(y)$ and cumulative distribution function $H(y)$. Let $c$ be the positive real number for which $g(c) = h(c)$. Which of the following statements is/are correct?

    1. $G(0) = H(0)$
    2. $G(c) \lt H(c)$
    3. $G(-c) \lt H(-c)$
    4. $g(0) = h(0)$
    1. (A): both distributions are symmetric about 0, so half the probability lies below 0: $G(0) = H(0) = \tfrac12$. ✓

      Symmetry about 0 always gives CDF ½ at 0.

    2. (D): $g(0) = \frac{1}{\sqrt{2\pi}} \approx 0.399$ and $h(0) = \frac1\pi \approx 0.318$. ✗

      The t curve is lower at the centre; that’s the other side of having heavier tails.

    3. (C): for $y \lt -c$ the t density is above the normal density (heavier tail), so the area to the left of $-c$ is bigger: $H(-c) \gt G(-c)$. ✓

      The densities cross exactly at $\pm c$, about $\pm1.85$; beyond that, t has more probability.

    4. (B): by symmetry $G(c) = 1 - G(-c)$ and $H(c) = 1 - H(-c)$. Since $H(-c) \gt G(-c)$, we get $H(c) \lt G(c)$. ✗ Answer: A, C.

      Numerically, $G(c) \approx 0.968$ and $H(c) \approx 0.842$. Official key: A; C.

    Warm-up. A one-sample t statistic is computed from 12 values. How many degrees of freedom does it have?

    $n - 1$.

    $12 - 1 = 11$.

    Warm-up. A sample of 16 has $\bar x = 52$ and $s = 8$. Compute $t = \dfrac{\bar x - 50}{s/\sqrt n}$.

    $s/\sqrt n = 8/4$.

    $(52 - 50)/2 = 1$.

    Find the mean and variance of $\chi^2_8$.

    Mean $k$, variance $2k$.

    Mean 8, variance 16.

    The Kalinga Kernels’ powerplay scores over 16 matches have mean $\bar x = 52$ and sample SD $s = 4$. Compute the t statistic for $\mu = 50$, and its degrees of freedom.

    $t = \frac{\bar x - \mu}{s/\sqrt n}$, df $= n - 1$.

    $t = \frac{52 - 50}{4/4} = 2$, with $16 - 1 = 15$ degrees of freedom.

    Which is larger: the 97.5th percentile of the standard normal, or the 97.5th percentile of $t_5$?

    Heavier tails push percentiles further out.

    $t_5$’s: 2.571 versus 1.960.

    Which statements about $t_\nu$ are true? (Select all that apply.)

    (A) It is symmetric about 0. (B) Its tails are heavier than the standard normal’s. (C) It approaches $N(0,1)$ as $\nu \to \infty$. (D) Its variance is 1 for every $\nu$.

    Heavier tails mean more spread.

    (A), (B), (C) are true. (D) is false: for $\nu \gt 2$ the variance is $\frac{\nu}{\nu - 2} \gt 1$, and it doesn’t exist for $\nu \le 2$.

    Scores are normal with variance $\sigma^2 = 16$. For a sample of 11 matches with sample variance $S^2$ (dividing by $n - 1$), find $c$ such that $P(S^2 \gt c) = 0.05$ (two decimals). Use the upper 5% point $\chi^2_{0.05,10} = 18.307$.

    Turn $S^2$ into a χ² variable using $(n-1)S^2/\sigma^2$, and check its degrees of freedom.

    Pivot: $\frac{(n-1)S^2}{\sigma^2} = \frac{10S^2}{16} \sim \chi^2_{10}$.

    So $P(S^2 \gt c) = P\!\left(\chi^2_{10} \gt \frac{10c}{16}\right) = 0.05$ exactly when $\frac{10c}{16} = 18.307$.

    $c = 16\times18.307/10 \approx 29.29$. A sample variance nearly twice the true one still happens 5% of the time with only 11 values. Final: $c \approx 29.29$.

    $X_1, \ldots, X_9$ are i.i.d. $N(\mu, 4)$, with sample mean $\bar X$ and sample variance $S^2$ (dividing by $n - 1$). Which statements are true? (Select all that apply.)

    1. $E[S] = 2$.
    2. $\mathrm{Var}(S^2) = 4$.
    3. $2S^2 \sim \chi^2_8$.
    4. $\dfrac{\bar X - \mu}{S/3} \sim t_9$.

    Everything follows from $(n-1)S^2/\sigma^2 \sim \chi^2_{n-1}$ and the facts that $\chi^2_k$ has variance $2k$ and that a square root is curved.

    Pivot: $\frac{8S^2}{4} = 2S^2 \sim \chi^2_8$. So (C) is true.

    (B) True. $\mathrm{Var}(2S^2) = 2\times8 = 16$, so $\mathrm{Var}(S^2) = 16/4 = 4$.

    (A) False. $S^2$ is unbiased for $\sigma^2 = 4$, but $S$ is not unbiased for $\sigma = 2$: the square root is curved, so $E[S] \lt \sqrt{E[S^2]} = 2$ (here $E[S] \approx 1.94$).

    (D) False. The t statistic has $n - 1 = 8$ degrees of freedom, not 9.

    Answer: (B) and (C).

    Sixteen powerplay scores come from a normal population with unknown mean $\mu$ and unknown SD. Find the constant $k$ such that $P(\bar X \gt \mu + kS) = 0.05$, where $S$ is the sample SD (four decimals). Use the upper 5% point $t_{0.05,15} = 1.753$.

    Rearrange the event so that it reads “a t statistic exceeds something”. Divide both sides by $S/\sqrt n$.

    Pivot: $T = \frac{\bar X - \mu}{S/\sqrt{16}} = \frac{4(\bar X - \mu)}{S} \sim t_{15}$.

    Rewrite the event: $\bar X \gt \mu + kS$ is the same as $T \gt 4k$.

    So $P(T \gt 4k) = 0.05$ gives $4k = 1.753$ and $k = 0.4383$.

    Using the normal point 1.645 instead would give 0.4113, too small, because it ignores the extra uncertainty from estimating σ. Final: $k \approx 0.4383$.

    • Use t (with $n - 1$ df) whenever σ is estimated by $S$; z only when σ is known or $n$ is very large.
    • Remember the χ² facts: mean $k$, variance $2k$, and $(n-1)S^2/\sigma^2 \sim \chi^2_{n-1}$.
    • Use symmetry for t and normal CDF questions.
    • Using $n$ instead of $n - 1$ degrees of freedom.
    • Thinking t has lighter tails because its peak is lower. Lower peak, fatter tails.
    • Expecting χ² to be symmetric. It’s skewed right and never negative.
    1. χ²ₖ is a sum of k squared standard normals (mean k, variance 2k); (n−1)S²/σ² ~ χ²ₙ₋₁.
    2. (X̄ − μ)/(S/√n) ~ tₙ₋₁: like N(0, 1) but with heavier tails, approaching it as the degrees of freedom grow.
    3. Heavier tails mean larger critical values: 2.571 for t₅ against 1.96 for z.

    $Z_1, Z_2, Z_3$ are independent standard normals. $Z_1^2 + Z_2^2 + Z_3^2$ follows

    $N(0, 3)$
    Squares are never negative, so the result can’t be normal.
    $\chi^2_3$
    A sum of 3 squared independent standard normals.
    $t_3$
    t is a ratio of a normal to a χ²-based scale.

    For a sample of size 10 from a normal population, $(\bar X - \mu)/(S/\sqrt{10})$ follows

    $N(0,1)$
    That would need the true $\sigma$ in the denominator.
    $t_{10}$
    One degree of freedom is used up estimating the mean.
    $t_9$
    $n - 1 = 9$ degrees of freedom.

    As the degrees of freedom increase, the 95% two-sided t critical value

    increases
    More data means $S$ is more reliable, so less widening is needed.
    decreases towards 1.96
    t approaches the normal.
    stays at 2
    It changes with the degrees of freedom.

    Confidence intervals: an estimate with an honest margin

    A 95% confidence interval is a range computed from the sample by a recipe that captures the true value in 95% of repeated samples.

    Confidence intervals are in the DA syllabus by name. DA hasn’t asked one in 2024–26, but they’re quick to learn and they make hypothesis tests (Part 4) almost obvious.

    It’s like a weather forecast of “28 to 32°C”. The single number 30 would almost certainly be a little wrong; a range with a stated reliability is far more useful.

    Where it shows up in GATE DA

    In the syllabus, but not yet asked in a DA paper (2024–26). The GATE Statistics paper asks harder versions every year.

    Syllabus: “confidence interval”Builds on 2025 Q40 (CLT) and 2026 Q28 (t)
    Heat: not yet asked in DA, low effort to prepare

    Why an interval? A sample of 25 Kernels fans has mean age 30. Is the true average exactly 30? Almost certainly not; a different 25 fans would give a different number. A single number hides that uncertainty. A confidence interval reports it honestly: “between 26 and 34”, with a stated level of confidence.

    A first one. Suppose ages have $\sigma = 10$. The standard error is $10/\sqrt{25} = 2$. For 95% confidence we go 1.96 standard errors either side: $30 \pm 1.96 \times 2 = 30 \pm 3.92$, the interval from 26.08 to 33.92. The notation $z_{\alpha/2}$ in the recipes is that 1.96: with $\alpha = 0.05$ (the 5% we allow to miss), $z_{0.025}$ is the point with 2.5% of the normal curve to its right.

    • Mean, σ known (or $n$ large): $\bar x \pm z_{\alpha/2}\dfrac{\sigma}{\sqrt n}$. For 95%, $z_{0.025} = 1.96$; for 90%, 1.645; for 99%, 2.576.
    • Mean, σ unknown (normal data): $\bar x \pm t_{\alpha/2,\,n-1}\dfrac{s}{\sqrt n}$.
    • Proportion (large $n$): $\hat p \pm z_{\alpha/2}\sqrt{\dfrac{\hat p(1-\hat p)}{n}}$.

    Every interval has the form estimate ± (critical value) × (standard error). The “±” part is the margin of error.

    The 95% belongs to the recipe, not to one interval. If you repeated the sampling many times, about 95% of the intervals you built would contain $\mu$. Once a particular interval is computed, $\mu$ is either in it or not. In everyday speech people say “95% sure”, which is fine as long as you remember where the 95% comes from.

    What controls the width

    • Higher confidence → wider (99% needs 2.576 instead of 1.96).
    • Larger sample → narrower, like $1/\sqrt n$: four times the data halves the margin.
    • Sample size for a target margin $E$: $n = \left(\dfrac{z_{\alpha/2}\,\sigma}{E}\right)^2$, rounded up.
    Try it

    Each horizontal line is a 95% confidence interval from a fresh sample of the Nagpur Neural Nets’ scores (true mean 50, the dashed line). Intervals that miss the true mean are coloured. Draw batches and watch the hit rate settle near the confidence level. Then lower the confidence or the sample size and see the intervals change width.

    The Nagpur Neural Nets averaged $\bar x = 42$ runs per match over $n = 25$ matches. Assume the SD of match scores is known to be $\sigma = 10$. Find a 95% confidence interval for their true average.

    1. Standard error: $\sigma/\sqrt n = 10/5 = 2$.

      The spread of the sample mean, from Part 2.

    2. Margin: $1.96\times2 = 3.92$.

      σ is known, so use $z_{0.025} = 1.96$.

    3. Interval: $42 \pm 3.92 = (38.08,\ 45.92)$.

      If the true average were 50, this interval would be one of the 5% that miss, and seeing such a sample would be surprising. Part 4 turns exactly this reasoning into a hypothesis test.

    Warm-up. Compute the 95% interval $\bar x \pm 1.96\,\sigma/\sqrt n$ for $\bar x = 30$, $\sigma = 10$, $n = 25$.

    Standard error first: $\sigma/\sqrt n$.

    SE $= 2$, margin $= 3.92$, interval $(26.08, 33.92)$.

    Warm-up. By what factor must the sample size grow to halve the margin of error?

    The margin is proportional to $1/\sqrt n$.

    Halving $1/\sqrt n$ needs $\sqrt n$ doubled, so $n$ times 4.

    Without looking above: $\bar x = 42$, $\sigma = 10$, $n = 25$. Give the 95% confidence interval.

    $\bar x \pm 1.96\,\sigma/\sqrt n$.

    $42 \pm 1.96\times2 = (38.08, 45.92)$.

    With $\sigma = 10$, how many matches are needed for a 95% margin of error of at most 2 runs?

    $n = (1.96\times10/2)^2$, then round up.

    $(9.8)^2 = 96.04$, so $n = 97$ (round up to guarantee the margin).

    Nine innings have $\bar x = 20$ and $s = 3$ (σ unknown). Using $t_{0.025,8} = 2.306$, find the lower limit of the 95% confidence interval.

    $\bar x - t\cdot s/\sqrt n$ with $s/\sqrt n = 1$.

    $20 - 2.306\times1 = 17.694$. (Using 1.96 would give a falsely narrow interval.)

    A captain wins 60 of 100 tosses. Give an approximate 95% confidence interval for their true toss-winning probability (three decimals).

    $\hat p = 0.6$; standard error $\sqrt{0.6\times0.4/100} \approx 0.049$.

    $0.6 \pm 1.96\times0.049 = (0.504, 0.696)$. It just excludes 0.5, so a fair-toss explanation is a little doubtful.

    The Hyderabad Hyperplanes’ powerplay scores in six matches are 42, 50, 38, 46, 54, 40. Assuming the scores are normal with unknown σ, find the 95% confidence interval for their mean powerplay score $\mu$ (two decimals). Use $t_{0.025,5} = 2.571$.

    Compute $\bar x$ and $s$ (dividing by $n - 1$) first. The interval is $\bar x \pm t\cdot s/\sqrt n$ with $n - 1$ degrees of freedom.

    Mean: $\bar x = 270/6 = 45$.

    Deviations $-3, 5, -7, 1, 9, -5$; squares sum to $9 + 25 + 49 + 1 + 81 + 25 = 190$. So $s^2 = 190/5 = 38$ and $s \approx 6.164$.

    Margin: $2.571\times6.164/\sqrt6 = 2.571\times2.517 \approx 6.47$.

    Interval: $45 \pm 6.47$, i.e. about $(38.53,\ 51.47)$. Using 1.96 instead of 2.571 would give a margin of only 4.93, too narrow for six matches.

    The league wants to estimate $p$, the proportion of matches in which a team scores 200 or more, to within ±0.03 with 95% confidence ($z_{0.025} = 1.96$). Past seasons give a pilot estimate $\hat p = 0.2$. Using the pilot value in $\hat p(1 - \hat p)$, the smallest number of matches needed is

    1. 683
    2. 1068
    3. 682
    4. 4269

    Set the margin $z\sqrt{\hat p(1 - \hat p)/n}$ equal to 0.03, solve for $n$, and think about which way to round.

    Margin condition: $1.96\sqrt{\frac{0.2\times0.8}{n}} \le 0.03$.

    Solve: $n \ge \frac{1.96^2\times0.16}{0.03^2} = \frac{3.8416\times0.16}{0.0009} \approx 682.95$.

    Round up so the margin is met: $n = 683$.

    (B) is the worst case $p = 0.5$ (1067.1, rounded up), correct only without a pilot; (C) rounds down; (D) forgets the factor $\hat p(1 - \hat p)$. Answer: (A).

    Run rates have known $\sigma = 12$, and a sample of $n = 36$ matches gives $\bar x = 45$. Use $z_{0.025} = 1.96$, $z_{0.05} = 1.645$ and $t_{0.025,35} = 2.030$. Which statements are true? (Select all that apply.)

    1. The 95% interval has width 7.84.
    2. To halve that width at the same confidence, 72 matches are needed.
    3. The 90% interval from the same data has width 6.58.
    4. If σ were unknown and the sample gave $s = 12$, the 95% t interval would be narrower than 7.84.

    The width is $2\times$ critical value $\times$ standard error, and the standard error is $\sigma/\sqrt n$. Ask how width scales with $n$.

    Standard error: $12/\sqrt{36} = 2$.

    (A) True. Width $2\times1.96\times2 = 7.84$.

    (B) False. Width is proportional to $1/\sqrt n$, so halving it needs four times the data: $n = 144$, not 72.

    (C) True. $2\times1.645\times2 = 6.58$: lower confidence, narrower interval.

    (D) False. The t interval is wider: $2\times2.030\times2 = 8.12 \gt 7.84$, the price of estimating σ.

    Answer: (A) and (C).

    • Write every interval as estimate ± critical value × standard error.
    • Use t with $n - 1$ df when σ is estimated from small samples.
    • Round sample sizes up.
    • Saying “there’s a 95% probability that μ is in (38.08, 45.92)” as a strict probability statement.
    • Forgetting the $\sqrt n$ in the standard error.
    • Thinking a wider interval is a worse estimate. It’s more confident, at the cost of precision.
    1. A confidence interval is estimate ± critical value × standard error, e.g. x̄ ± 1.96σ/√n for 95%.
    2. Use t (n − 1 df) when σ is unknown, and z for known σ or large n; for proportions use p̂ ± z√(p̂(1 − p̂)/n).
    3. Width grows with confidence and shrinks like 1/√n; the 95% describes the recipe’s long-run hit rate.

    Going from a 95% to a 99% confidence interval (same data) makes the interval

    narrower
    More confidence needs a larger critical value.
    wider
    2.576 instead of 1.96.
    the same width but shifted
    The centre stays at the estimate; the width changes.

    100 statisticians each build a 95% CI for the same μ from their own samples. About how many intervals miss μ?

    0
    95% coverage means some do miss.
    5
    The long-run miss rate is 5%.
    95
    That’s roughly how many contain μ.

    To halve the width of a confidence interval, multiply the sample size by

    2
    Width ∝ $1/\sqrt n$.
    4
    $\sqrt4 = 2$.
    ½
    Fewer data points widen the interval.

    $(n-1)S^2/\sigma^2$ for a normal sample of size 6 follows

    $\chi^2_6$
    One degree of freedom is lost to $\bar X$.
    $\chi^2_5$
    $n - 1 = 5$.
    $t_5$
    That’s for the standardised mean.

    A 95% CI for a mean, with σ known, has margin 4 when $n = 16$. With $n = 64$ the margin is

    1
    Margin ∝ $1/\sqrt n$, and $\sqrt{64/16} = 2$.
    2
    Quadrupling $n$ halves the margin.
    4
    More data narrows the interval.
    16
    Larger samples give smaller margins.

    Which theorem justifies using $\bar x \pm 1.96\sigma/\sqrt n$ even when the data isn’t normal (with large $n$)?

    The law of large numbers
    It says $\bar X$ goes to μ, but not that its distribution is normal.
    The Central Limit Theorem
    $\bar X$ is approximately normal for large $n$.
    Bayes’ theorem
    That’s about updating probabilities.

    A hypothesis test asks one question: is the data surprising enough to doubt a default assumption? This part builds the general machinery (null and alternative hypotheses, test statistics, significance levels, p-values, Type I and II errors) using the z-test, then applies it with the t-test and the χ² tests named in the syllabus. DA hasn’t tested this area much yet, so we stay focused on what a question could reasonably ask.

    You need: Part 3 (t and χ² distributions, standard errors).

    Hypothesis tests: is the data surprising?

    A test assumes a default (the null hypothesis), computes how surprising the data would be if that default were true (the p-value), and rejects the default when the surprise passes a pre-set threshold (the significance level α).

    “z-test, t-test, chi-squared test” are in the DA syllabus by name. The ideas (p-values, Type I and II errors) also run through ML: every classifier trades false positives against false negatives in exactly this way.

    It’s like an umpire’s decision: the batter is “not out” by default, and only clear evidence overturns that. A wrong “out” (Type I error) and a missed “out” (Type II error) are both mistakes, and making one rarer makes the other more common.

    Where it shows up in GATE

    In the DA syllabus, but not yet asked in a DA paper (2024–26). The GATE Statistics paper asks it every year; this chapter uses one of its accessible questions.

    ST 2024 Q25 · Type I and II errorsDA syllabus: z-test, t-test, χ²-testBuilds on 2025 Q40 (CLT)
    Heat: not yet asked in DA, but likely to appear eventually

    The idea, with a coin. A captain’s coin lands heads in 9 of 10 tosses. Is it fair? Assume for a moment that it is. Then the chance of 9 or more heads in 10 tosses is $\frac{\binom{10}{9} + \binom{10}{10}}{2^{10}} = \frac{11}{1024} \approx 0.011$, about 1 in 100. Either something rare happened, or the assumption is wrong. Most people would start to doubt the coin. That is the whole logic of a test: assume a default, ask how surprising the data would be under it, and doubt the default when the surprise is big enough. The 0.011 is called a p-value.

    • Null hypothesis $H_0$: the default claim, e.g. “the toss is fair”, $\mu = 50$.
    • Alternative $H_1$: what you suspect instead. Two-sided ($\mu \ne 50$) or one-sided ($\mu \gt 50$).
    • Test statistic: a number whose distribution is known if $H_0$ is true, e.g. $z = \dfrac{\bar x - \mu_0}{\sigma/\sqrt n} \sim N(0,1)$.
    • Significance level $\alpha$ (often 0.05): the cut-off for “surprising”.
    • p-value: the probability, assuming $H_0$, of a statistic at least as extreme as the one observed. Reject $H_0$ if p ≤ α. Equivalently, reject if the statistic falls in the rejection region beyond the critical value(s).
    $H_0$ actually true$H_0$ actually false
    Reject $H_0$Type I error (probability α)Correct (probability = power = 1 − β)
    Don’t reject $H_0$CorrectType II error (probability β)
    • α is chosen in advance and is the Type I error probability.
    • For a fixed sample, lowering α raises β. The way to lower both is a larger sample.
    • "Don’t reject $H_0$“ is not ”$H_0$ is proven"; the data just wasn’t surprising enough.
    • A two-sided test at level α rejects $\mu = \mu_0$ exactly when $\mu_0$ lies outside the $(1-\alpha)$ confidence interval.
    Try it

    The teal curve is the distribution of the z statistic if $H_0$ is true; the shaded tails are the rejection region. Move the observed z and read the p-value and decision. Then turn on a true effect (the dashed curve, where the statistic really comes from) and watch the power: the chance of correctly rejecting. Shrink α and see power fall; increase the effect (or sample size) and see it rise.

    GATE ST 2024 · Q25 · MCQ · 1 mark

    In a testing of hypothesis problem, which one of the following statements is true?

    1. The probability of the Type-I error cannot be higher than the probability of the Type-II error
    2. Type-II error occurs if the test accepts the null hypothesis when the null hypothesis is actually false
    3. Type-I error occurs if the test rejects the null hypothesis when the null hypothesis is actually false
    4. The sum of the probability of the Type-I error and the probability of the Type-II error should be 1
    1. Type I = rejecting a true null. So (C), which says “rejects … when actually false”, describes a correct decision, not an error. ✗

      Use the table: rows are decisions, columns are the truth.

    2. Type II = failing to reject (accepting) a false null. That’s exactly (B). ✓

      “Accepts the null when the null is false.”

    3. (A) and (D) are false: α and β are separate probabilities (computed under different truths), so neither ordering nor “sum = 1” is forced. Answer (B).

      Official key (ST 2024): (B).

    Warm-up. $H_0: \mu = 50$, $\sigma = 10$. A sample of 100 has $\bar x = 52$. Compute $z = \dfrac{\bar x - \mu_0}{\sigma/\sqrt n}$.

    Standard error $= 10/\sqrt{100}$.

    $(52 - 50)/1 = 2$.

    Warm-up. A test gives $p = 0.03$ at significance level $\alpha = 0.05$. What do you conclude?

    Reject when $p \le \alpha$.

    $0.03 \le 0.05$: reject $H_0$. The data would be surprising if $H_0$ were true.

    $H_0: \mu = 50$, with $\sigma = 10$ known. A sample of $n = 25$ matches gives $\bar x = 53$. Compute the z statistic.

    $z = (\bar x - \mu_0)/(\sigma/\sqrt n)$.

    $z = 3/(10/5) = 1.5$.

    Continuing: test against $H_1: \mu \ne 50$ at $\alpha = 0.05$. The two-sided p-value is $2(1 - \Phi(1.5)) \approx 0.134$. Decision?

    Compare p with α (or |z| with 1.96).

    $0.134 \gt 0.05$ (and $1.5 \lt 1.96$): do not reject $H_0$. The data is consistent with $\mu = 50$.

    Same data, but now $H_1: \mu \gt 50$ (one-sided). What’s the p-value? (Use $\Phi(1.5) = 0.9332$.)

    Only the right tail counts now.

    $1 - 0.9332 = 0.0668$. Half the two-sided value; still above 0.05.

    The Hyderabad Hyperplanes’ captain wins 60 of 100 tosses. Test $H_0: p = 0.5$ against $p \ne 0.5$ at $\alpha = 0.05$ using $z = \dfrac{\hat p - 0.5}{\sqrt{0.5\times0.5/100}}$.

    The standard error under $H_0$ is 0.05.

    $z = 0.1/0.05 = 2 \gt 1.96$ (two-sided p ≈ 0.046): reject $H_0$ at the 5% level. It’s borderline: at $\alpha = 0.01$ (critical value 2.576) you wouldn’t reject.

    Test $H_0: \mu = 50$ against $H_1: \mu \gt 50$ with $\sigma = 10$ known, $n = 25$ matches and $\alpha = 0.05$ ($z_{0.05} = 1.645$). Find the value of $\bar x$ above which $H_0$ is rejected, and the power of the test if the true mean is 55 (four decimals). Use $\Phi(0.855) = 0.8037$.

    The cut-off is $\mu_0$ plus 1.645 standard errors. Power is the probability of landing above that cut-off when $\bar X$ is centred at 55 instead.

    Standard error: $10/\sqrt{25} = 2$.

    Cut-off: reject when $\bar x \gt 50 + 1.645\times2 = 53.29$.

    Power: if $\mu = 55$, $\bar X \sim N(55, 4)$, so $P(\bar X \gt 53.29) = P\!\left(Z \gt \frac{53.29 - 55}{2}\right) = P(Z \gt -0.855) = \Phi(0.855) = 0.8037$.

    So $\beta = 1 - 0.8037 = 0.1963$. Final: cut-off 53.29, power 0.8037.

    Same test as before: $H_0: \mu = 50$ against $H_1: \mu \gt 50$, $\sigma = 10$, $\alpha = 0.05$. What is the smallest number of matches $n$ for which the power is at least 0.90 when the true mean is 52? Use $z_{0.05} = 1.645$, $z_{0.025} = 1.96$ and $z_{0.10} = 1.2816$.

    1. 68
    2. 215
    3. 214
    4. 263

    Write the cut-off for $\bar x$ in terms of $n$, then require that a $N(52, 100/n)$ variable lands above it with probability 0.90.

    Cut-off: reject when $\bar x \gt 50 + 1.645\times10/\sqrt n$.

    Power at $\mu = 52$: $P\!\left(Z \gt 1.645 - \frac{2\sqrt n}{10}\right) \ge 0.90$ requires $1.645 - 0.2\sqrt n \le -1.2816$.

    So $\sqrt n \ge (1.645 + 1.2816)/0.2 = 14.633$ and $n \ge 214.12$; round up to 215.

    (A) ignores the power requirement (it gives power of only 0.5); (C) rounds down; (D) uses the two-sided 1.96 for a one-sided test. Answer: (B).

    To test whether the Kalinga Kernels’ toss coin is fair ($H_0: p = 0.5$, where $p$ is the probability of heads), a commentator tosses it 10 times and rejects $H_0$ if there are at most 1 or at least 9 heads. Find the Type I error probability α, and the Type II error probability β when in fact $p = 0.8$ (four decimals each).

    Under either hypothesis the number of heads is binomial with $n = 10$. α is the rejection probability when $p = 0.5$; β is the probability of not rejecting when $p = 0.8$.

    Type I: under $H_0$, $P(X \le 1) = P(X \ge 9) = \frac{1 + 10}{1024}$, so $\alpha = \frac{22}{1024} \approx 0.0215$.

    Rejection probability at $p = 0.8$: $P(X = 10) = 0.8^{10} \approx 0.1074$, $P(X = 9) = 10\times0.8^9\times0.2 \approx 0.2684$, and $P(X \le 1) = 0.2^{10} + 10\times0.8\times0.2^9 \approx 0.0000042$.

    Type II: $\beta = P(2 \le X \le 8) = 1 - 0.1074 - 0.2684 - 0.0000042 \approx 0.6242$.

    So the power is only about 0.38: with 10 tosses, even a heavily biased coin usually escapes. Final: α ≈ 0.0215, β ≈ 0.6242.

    • Write $H_0$, $H_1$, the statistic and its null distribution before computing anything.
    • Decide one- vs two-sided from the wording (“different from” vs “greater than”).
    • Report “reject” or “do not reject”, never “accept as proven”.
    • Reading the p-value as "the probability that $H_0$ is true". It’s a probability of the data, assuming $H_0$.
    • Mixing up Type I (false alarm) and Type II (missed detection).
    • Doubling or halving the p-value the wrong way when switching between one- and two-sided tests.
    1. Assume H₀, compute a statistic with a known null distribution, and reject if the p-value ≤ α (equivalently, the statistic lands in the rejection region).
    2. Type I: rejecting a true H₀ (probability α). Type II: missing a false H₀ (probability β). Power = 1 − β, and it grows with sample size and effect size.
    3. For a mean with known σ: z = (x̄ − μ₀)/(σ/√n), with critical value 1.96 for a two-sided 5% test.

    A p-value of 0.003 means

    there’s a 0.3% chance $H_0$ is true
    The p-value assumes $H_0$; it isn’t a probability of $H_0$.
    if $H_0$ were true, data this extreme would occur only 0.3% of the time
    That’s the definition.
    the effect is large
    A tiny effect can give a tiny p-value with a huge sample.

    Lowering α from 0.05 to 0.01 (same sample size) will

    lower both error probabilities
    For fixed n, α and β trade off against each other.
    lower the Type I error rate but raise the Type II error rate
    It’s harder to reject, so more false nulls slip through.
    increase power
    A stricter threshold reduces power.

    A 95% confidence interval for μ is (46, 58). At α = 0.05 (two-sided), $H_0: \mu = 60$ is

    rejected
    60 lies outside the 95% interval.
    not rejected
    Check whether 60 is inside (46, 58).
    impossible to decide without the data
    The interval is enough: tests and intervals are two views of the same calculation.

    The t-test and the χ² tests

    The t-test is the z-test with the sample SD in place of σ; the χ² test compares observed counts with the counts a hypothesis predicts.

    These are the two remaining tests named in the syllabus. The χ² goodness-of-fit calculation is short enough for a 1-mark question, as the GATE Statistics paper shows.

    It’s like checking whether a die is fair: count each face over 60 rolls and see whether the counts stray further from 10 apiece than chance alone would explain.

    Where it shows up in GATE

    In the DA syllabus; not yet asked in DA (2024–26). The χ² goodness-of-fit question below is from the GATE Statistics paper.

    ST 2024 Q26 · χ² goodness of fitDA 2026 Q53 · χ² factsDA 2026 Q28 · t distribution
    Heat: not yet asked in DA

    $H_0: \mu = \mu_0$, σ unknown, data roughly normal. $$t = \frac{\bar x - \mu_0}{s/\sqrt n} \sim t_{n-1}\ \text{under } H_0.$$ Reject if $|t| \gt t_{\alpha/2,\,n-1}$ (two-sided). Paired data (before/after on the same players): take the differences and run a one-sample t-test on them. Two independent samples: see the next subsection.

    Comparing two groups: two-sample tests

    Often the question isn’t “is this team’s mean 50?” but “do these two teams have the same mean?”. Take an independent sample from each group: $n_1$ values with mean $\bar x_1$ and sample SD $s_1$, and $n_2$ values with mean $\bar x_2$ and sample SD $s_2$. The null hypothesis is $H_0: \mu_1 = \mu_2$ (no difference), and the natural statistic is the gap $\bar x_1 - \bar x_2$ divided by its standard error. Since the two samples are independent, the variances of the two means add: $\mathrm{Var}(\bar X_1 - \bar X_2) = \sigma_1^2/n_1 + \sigma_2^2/n_2$ (variances add for a difference too, because $\mathrm{Var}(-\bar X_2) = \mathrm{Var}(\bar X_2)$).

    $$z = \frac{\bar x_1 - \bar x_2}{\sqrt{\dfrac{\sigma_1^2}{n_1} + \dfrac{\sigma_2^2}{n_2}}}\ \sim\ N(0, 1)\ \text{under } H_0: \mu_1 = \mu_2.$$ Reject if $|z| \gt z_{\alpha/2}$ (two-sided), e.g. 1.96 at the 5% level. With large samples, the sample SDs can stand in for σ₁ and σ₂.

    Assumptions: two independent random samples, each from a roughly normal population, with the same (unknown) variance. Estimate that common variance by pooling the two sample variances, each weighted by its degrees of freedom: $$s_p^2 = \frac{(n_1 - 1)s_1^2 + (n_2 - 1)s_2^2}{n_1 + n_2 - 2},\qquad t = \frac{\bar x_1 - \bar x_2}{s_p\sqrt{\dfrac{1}{n_1} + \dfrac{1}{n_2}}}\ \sim\ t_{n_1 + n_2 - 2}\ \text{under } H_0.$$ The degrees of freedom are $n_1 + n_2 - 2$: one is used up by each sample mean. Reject if $|t| \gt t_{\alpha/2,\,n_1+n_2-2}$.

    Welch’s t-test: if the two variances look clearly different, don’t pool. Use the standard error $\sqrt{s_1^2/n_1 + s_2^2/n_2}$ and an approximate (usually non-integer) number of degrees of freedom from the Welch–Satterthwaite formula; an exam would give you that number.

    Careful: paired or independent? If the two lists are measurements on the same units (the same 12 batters before and after training), they are paired: take the differences and run a one-sample t-test on them, with $n - 1$ degrees of freedom where $n$ is the number of pairs. The two-sample tests above are only for independent groups (two different teams). Pairing removes the unit-to-unit variation, which is why it can detect a difference the two-sample test misses.

    Over the season, the Kalinga Kernels’ powerplay scores in $n_1 = 10$ matches have $\bar x_1 = 54$ and $s_1 = 6$; the Haryana Heuristics’ scores in $n_2 = 12$ matches have $\bar x_2 = 49$ and $s_2 = 5$. Assuming normal scores with equal variances, test $H_0: \mu_1 = \mu_2$ against $\mu_1 \ne \mu_2$ at $\alpha = 0.05$, given $t_{0.025,20} = 2.086$.

    1. Pooled variance: $s_p^2 = (9\times36 + 11\times25)/20 = (324 + 275)/20 = 29.95$, so $s_p \approx 5.473$.

      Each sample variance is weighted by its own degrees of freedom, $n_i - 1$, not by $n_i$.

    2. Standard error: $s_p\sqrt{\tfrac1{10} + \tfrac1{12}} = 5.473\times0.4282 \approx 2.343$.

      $\tfrac1{10} + \tfrac1{12} = \tfrac{11}{60} \approx 0.1833$, and $\sqrt{0.1833} \approx 0.4282$.

    3. Statistic: $t = \dfrac{54 - 49}{2.343} \approx 2.134$, with $10 + 12 - 2 = 20$ degrees of freedom.

      The two different teams are independent groups, so this is the two-sample test, not the paired one.

    4. Decision: $2.134 \gt 2.086$, so reject $H_0$ at the 5% level (two-sided p ≈ 0.045). The Kernels’ powerplay average is significantly higher, though only just.

      Borderline results like this are sensitive to the assumptions: a 1% test (or Welch’s version) would not reject.

    Tests for counts: the χ² tests

    The tests so far compare means. When the data is counts in categories (faces of a die, toss result against match result), the χ² tests compare the observed counts with the counts a hypothesis predicts.

    A first χ² calculation. A die is thrown 60 times. If it is fair, each face should come up about 10 times. The counts were 8, 9, 12, 11, 6, 14. For each face, square the gap from 10 and divide by 10: $\frac{4 + 1 + 4 + 1 + 16 + 16}{10} = 4.2$. Small gaps give a small total, big gaps a big one. With 6 categories there are 5 degrees of freedom, and the 5% cut-off for $\chi^2_5$ is 11.07. Since 4.2 is well below it, these counts are quite consistent with a fair die.

    Observed counts $O_i$ in $k$ categories; $H_0$ specifies probabilities $p_i$, giving expected counts $E_i = Np_i$. $$\chi^2 = \sum_{i=1}^{k}\frac{(O_i - E_i)^2}{E_i}\ \sim\ \chi^2_{k-1}\ \text{(approximately, under } H_0).$$ Subtract one more degree of freedom for each parameter estimated from the data. Reject for large values (right tail only). Rule of thumb: every $E_i$ should be at least 5.

    An $r\times c$ table of counts (e.g. toss result × match result). $H_0$: the two classifications are independent. Expected count for each cell = (row total × column total) / grand total. Statistic $\sum (O - E)^2/E$ with $(r-1)(c-1)$ degrees of freedom.

    (There’s also a χ² test for a variance: $(n-1)s^2/\sigma_0^2 \sim \chi^2_{n-1}$ under $H_0: \sigma = \sigma_0$.)

    Try it

    Is this die fair? Adjust the observed counts for each face (60 rolls are expected to give 10 per face). Each bar’s contribution $(O - E)^2/E$ is shown, and the readout compares the total with the χ² critical value for 5 degrees of freedom. Find how lopsided the counts must get before the test rejects fairness.

    GATE ST 2024 · Q26 · MCQ · 1 mark

    A random sample of size 40 is drawn from a population having four distinct categories as $i = 1, 2, 3, 4$. The data are given as

    Category1234
    Observed Frequency581215

    Let $\theta_i$ be the probability that an observation comes from the $i$-th category, $i = 1, 2, 3, 4$. If the chi-square goodness-of-fit test is used to test $H_0: \theta_i = \frac14$, $i = 1, 2, 3, 4$ against $H_1: \theta_i \ne \frac14$, for some $i = 1, 2, 3, 4$, then which one of the following statements is true?

    1. Under $H_0$, the test statistic follows central chi-square distribution with 3 degrees of freedom and the observed value of the test statistic is 5.8
    2. Under $H_0$, the test statistic follows central chi-square distribution with 3 degrees of freedom and the observed value of the test statistic is 1.4
    3. Under $H_0$, the test statistic follows central chi-square distribution with 4 degrees of freedom and the observed value of the test statistic is 5.8
    4. Under $H_0$, the test statistic follows central chi-square distribution with 4 degrees of freedom and the observed value of the test statistic is 1.4
    1. Expected counts under $H_0$: $40\times\frac14 = 10$ in every category.

      $E_i = Np_i$.

    2. $\chi^2 = \frac{(5-10)^2 + (8-10)^2 + (12-10)^2 + (15-10)^2}{10} = \frac{25 + 4 + 4 + 25}{10} = 5.8$.

      Square the gaps before adding; otherwise the positive and negative gaps cancel.

    3. Degrees of freedom: $k - 1 = 4 - 1 = 3$ (no parameters were estimated). Answer (A).

      The four counts must add to 40, so only 3 are free. (The critical value at 5% is 7.81, so 5.8 doesn’t reject fairness.) Official key (ST 2024): (A).

    Warm-up. A coin gives 12 heads and 8 tails in 20 tosses. Compute $\sum (O - E)^2/E$ for a fair coin.

    Expected counts are 10 and 10.

    $\frac{(12-10)^2}{10} + \frac{(8-10)^2}{10} = 0.4 + 0.4 = 0.8$.

    Warm-up. How many degrees of freedom does a χ² test of independence on a $3 \times 4$ table have?

    $(r - 1)(c - 1)$.

    $2 \times 3 = 6$.

    Sixteen powerplays: $\bar x = 52$, $s = 4$. Test $H_0: \mu = 50$ against $\mu \ne 50$ at $\alpha = 0.05$, given $t_{0.025,15} = 2.131$.

    $t = (52 - 50)/(4/\sqrt{16})$. Compare with 2.131.

    $t = 2/1 = 2 \lt 2.131$: do not reject. With z’s 1.96 you’d (wrongly) reject; the t correction matters for small samples.

    A die is rolled 60 times, giving counts 8, 9, 12, 11, 6, 14 for faces 1–6. Compute the χ² goodness-of-fit statistic for fairness.

    Each $E_i = 10$. Add up $(O_i - 10)^2/10$.

    $(4 + 1 + 4 + 1 + 16 + 16)/10 = 42/10 = 4.2$. With 5 df the 5% critical value is 11.07, so fairness isn’t rejected.

    100 matches are classified by toss (won/lost) and result (won/lost):

    Match wonMatch lost
    Toss won3020
    Toss lost1040

    Find the expected count for (toss won, match won) under independence, and the χ² statistic.

    Row total 50, column total 40, grand total 100. All four expected counts are 20 or 30.

    $E = 50\times40/100 = 20$. Expected table: 20, 30 / 20, 30. $\chi^2 = \frac{100}{20} + \frac{100}{30} + \frac{100}{20} + \frac{100}{30} = 16.67$ with 1 df, far beyond 3.84: toss and result are strongly associated in this (fictional) data.

    How many degrees of freedom does a χ² test of independence have for a 3 × 4 table?

    $(r-1)(c-1)$.

    $2\times3 = 6$.

    The Bengaluru Backprops average $\bar x_1 = 47$ runs over $n_1 = 32$ matches and the Nagpur Neural Nets $\bar x_2 = 44$ over $n_2 = 36$. The population SDs are known: $\sigma_1 = 8$ and $\sigma_2 = 6$. Compute the two-sample z statistic for $H_0: \mu_1 = \mu_2$ (three decimals). Is the difference significant at the 5% level (two-sided)?

    The standard error is $\sqrt{\sigma_1^2/n_1 + \sigma_2^2/n_2}$; the two terms are 2 and 1.

    Standard error $\sqrt{64/32 + 36/36} = \sqrt3 \approx 1.732$. $z = (47 - 44)/1.732 \approx 1.732$. Since $1.732 \lt 1.96$, the difference is not significant at the 5% level (two-sided p ≈ 0.083).

    Two independent samples: $n_1 = 8$ with $s_1 = 4$, and $n_2 = 6$ with $s_2 = 3$. Find the pooled variance $s_p^2$ (three decimals) and the degrees of freedom of the pooled two-sample t-test.

    Weight each $s_i^2$ by $n_i - 1$, then divide by $n_1 + n_2 - 2$.

    $s_p^2 = \dfrac{7\times16 + 5\times9}{12} = \dfrac{112 + 45}{12} = \dfrac{157}{12} \approx 13.083$, with $8 + 6 - 2 = 12$ degrees of freedom. (Averaging 16 and 9 equally would give 12.5: the larger sample deserves more weight.)

    In each match a bowler bowls two death overs, and in each over she concedes a six with probability $p$, independently. $X$ is the number of those overs (0, 1 or 2) in which she conceded a six, so $H_0$ is $X \sim \mathrm{Binomial}(2, p)$. Over 100 matches, $X = 0, 1, 2$ occurred 36, 38 and 26 times. Estimate $p$ from the data, then compute the χ² goodness-of-fit statistic (three decimals) and its degrees of freedom. Is the binomial model rejected at the 5% level? Use $\chi^2_{0.05,1} = 3.841$ and $\chi^2_{0.05,2} = 5.991$.

    $\hat p$ is the total number of overs with a six divided by the 200 overs. Expected counts are $100\times(1 - \hat p)^2$, $100\times2\hat p(1 - \hat p)$, $100\times\hat p^2$. Estimating $p$ costs one degree of freedom.

    Estimate: overs with a six $= 38 + 2\times26 = 90$ out of 200, so $\hat p = 0.45$.

    Expected counts: $100\times0.55^2 = 30.25$, $100\times2\times0.45\times0.55 = 49.5$, $100\times0.45^2 = 20.25$.

    Statistic: $\frac{5.75^2}{30.25} + \frac{11.5^2}{49.5} + \frac{5.75^2}{20.25} = 1.0930 + 2.6717 + 1.6327 \approx 5.397$.

    Degrees of freedom: $3 - 1 - 1 = 1$ (three categories, minus one for the fixed total, minus one for $\hat p$).

    Decision: $5.397 \gt 3.841$, so the binomial model is rejected at 5% (too many 0s and 2s: the overs don’t look independent). Forgetting the estimated parameter (2 df, critical value 5.991) would wrongly keep it. Final: χ² ≈ 5.397 with 1 df.

    Five Haryana Heuristics batters’ average scores before and after a training camp are:

    Batter12345
    Before3042253835
    After3445274336

    Test $H_0$: no change in mean, against a two-sided alternative at $\alpha = 0.05$, given $t_{0.025,4} = 2.776$ and $t_{0.025,8} = 2.306$. The correct test statistic and decision are

    1. $t \approx 0.68$, do not reject $H_0$
    2. $t \approx 1.90$, do not reject $H_0$
    3. $t \approx 4.24$, reject $H_0$
    4. $t \approx 4.74$, reject $H_0$

    Are these two independent groups, or the same batters measured twice? Work with the five differences.

    Design: the same five batters appear in both rows, so the data is paired. Use the differences after − before: 4, 3, 2, 5, 1.

    Differences: mean $\bar d = 3$; squared deviations $1, 0, 1, 4, 4$ sum to 10, so $s_d^2 = 10/4 = 2.5$ and $s_d \approx 1.581$.

    Statistic: $t = \frac{3}{1.581/\sqrt5} = \frac{3}{0.7071} \approx 4.24$ with 4 df. Since $4.24 \gt 2.776$, reject $H_0$.

    (A) is the pooled two-sample t (means 34 and 37, $s_p^2 = 48.5$, 8 df), which treats the rows as independent and lets batter-to-batter differences swamp the effect; (B) forgets the $\sqrt n$; (D) divides by $n$ instead of $n - 1$ in $s_d$. Answer: (C).

    In 120 matches the toss winner chose to bat first in 60 (winning 40 and losing 20) and to bowl first in 60 (winning 30 and losing 30). Consider the χ² test of independence between the choice and the result, with $\chi^2_{0.05,1} = 3.841$ and $\chi^2_{0.10,1} = 2.706$. Which statements are true? (Select all that apply.)

    1. The expected count for (bat first, won) under independence is 40.
    2. The statistic is about 3.43 with 1 degree of freedom, so independence is not rejected at the 5% level.
    3. At $\alpha = 0.10$, independence is still not rejected.
    4. With every count doubled (same proportions, 240 matches), the statistic would be about 6.86 and independence would be rejected at 5%.

    Expected count = row total × column total / grand total. Then look at what happens to every $(O - E)^2/E$ term when all counts double.

    Totals: rows 60 and 60; columns won 70, lost 50; grand total 120.

    (A) False. $E = 60\times70/120 = 35$; 40 is the observed count. The expected table is 35, 25 / 35, 25.

    (B) True. $\chi^2 = \frac{25}{35} + \frac{25}{25} + \frac{25}{35} + \frac{25}{25} \approx 3.43$, with $(2-1)(2-1) = 1$ df, and $3.43 \lt 3.841$.

    (C) False. $3.43 \gt 2.706$, so at the 10% level independence is rejected.

    (D) True. Doubling every count doubles each $O - E$ and each $E$, so each term $(O - E)^2/E$ doubles: $\chi^2 \approx 6.86 \gt 3.841$. The same proportions become significant with more data.

    Answer: (B) and (D).

    • Use t with $n - 1$ df when σ is estimated.
    • For χ² tests: expected counts first, then $\sum(O-E)^2/E$, then df.
    • Remember χ² tests are one-tailed (right tail): big values mean poor fit.
    • Using $k$ instead of $k - 1$ degrees of freedom in goodness of fit.
    • Applying χ² to percentages instead of counts.
    • Forgetting to square before summing the gaps.
    • Running a two-sample test on paired data (or averaging $s_1^2$ and $s_2^2$ equally instead of weighting by $n_i - 1$).
    1. t-test: t = (x̄ − μ₀)/(s/√n) ~ tₙ₋₁; paired data means a t-test on the differences; two independent groups use the pooled t with n₁ + n₂ − 2 df (or z when σ₁, σ₂ are known).
    2. χ² goodness of fit: Σ(O − E)²/E with k − 1 df (minus one per estimated parameter); reject for large values.
    3. χ² independence: E = row total × column total / grand total, with (r − 1)(c − 1) df.

    A χ² goodness-of-fit test has 6 categories and one parameter estimated from the data. Degrees of freedom:

    6
    Subtract 1 for the fixed total.
    5
    Also subtract 1 for the estimated parameter.
    4
    $6 - 1 - 1$.

    Before/after training strike rates for the same 12 batters should be compared with

    a two-sample t-test
    The samples aren’t independent: the same batters appear in both.
    a paired t-test on the 12 differences
    Pairing removes batter-to-batter variation.
    a χ² goodness-of-fit test
    That’s for categorical counts.

    A χ² statistic of 0 means

    the hypothesis is rejected
    Large values reject; 0 is the best possible fit.
    observed counts exactly equal expected counts
    Every $(O - E)^2$ term is 0.
    the test failed
    It’s a valid (if suspiciously perfect) outcome.

    Scores have mean 40 and SD 8. A score of 52 has z-score

    12
    Divide the gap by the SD.
    1.5
    $(52 - 40)/8$.
    6.5
    That’s 52/8.

    $\mathrm{Var}(\bar X)$ for $n$ i.i.d. values with variance $\sigma^2$ is

    $\sigma^2$
    Averaging reduces variance.
    $\sigma^2/n$
    Standard error $\sigma/\sqrt n$.
    $n\sigma^2$
    That’s the variance of the sum.

    A 95% CI uses critical value 1.96 because

    95% of the data lies within 1.96 of the mean
    It’s 1.96 standard errors, and it’s about the sampling distribution, not the data.
    95% of a standard normal lies between −1.96 and 1.96
    That’s where the number comes from.
    it’s a convention with no reason
    It comes straight from the normal distribution.

    Rejecting a true null hypothesis is a

    Type I error
    A false alarm, with probability α.
    Type II error
    That’s failing to reject a false null.
    correct decision
    The null was true; rejecting it is a mistake.

    Observed counts 18, 22 against expected 20, 20 give χ² equal to

    0
    The gaps don’t cancel once squared.
    0.4
    $(4 + 4)/20$.
    4
    Divide each squared gap by its expected count.
    8
    That’s the sum of squared gaps before dividing.
    Every module complete

    Every question, answered right.

    You worked through every quiz and every practice problem in GATE Data Science & AI. That took real effort, and the understanding is yours to keep. Add your name to make a certificate.