Mean, median and mode of data and of distributions, variance and standard deviation (population and sample), effects of shifting and scaling, pooled groups, and the RMS and quantisation-noise links GATE EC uses.
For observations the arithmetic mean is
When value occurs times, . For grouped data, take each class mid-point as . A weighted mean uses weights in place of .
Rules that make questions quick:
Deviations balance: . The mean is the balance point of the data.
Least squares: is smallest at ; is smallest at the median.
Linear change: if every becomes , then .
Pooling groups: sizes with means give
not the plain average of the two means.
Fixing a wrong entry: the total is . Remove the wrong value from the total, add the right one, and divide by again. A change of in one value moves the mean by .
Signals view. The mean of the samples of a voltage is its DC value (average value). For a periodic waveform, the same idea becomes .
Random variables. The mean of is or . A data set behaves like a random variable that takes each value with probability .
Because every value enters the sum, a single extreme value (outlier) can drag the mean a long way.
2. Median, mode and skewness
Median: sort the data first, then take the middle.
odd: the value in position .
even: the average of the values in positions and .
Frequency table: the first value at which the cumulative frequency reaches .
Continuous random variable with CDF : solve , i.e. . For an exponential with rate , , which is less than its mean .
Mode: the value that occurs most often, or the where the PMF or PDF peaks. A data set may have no mode, one mode, or several (bimodal, multimodal).
Measure
Depends on
Sensitive to outliers?
Mean
every value
yes, strongly
Median
the order of the values
very little
Mode
the most frequent value
no
Skewness and the order of the three.
Symmetric with one peak (e.g. normal): mean = median = mode.
Right (positive) skew, long tail to the right: usually mode < median < mean.
Left (negative) skew: the order reverses.
For moderately skewed data, the empirical relation
is used when a question asks for it. It is a rule of thumb, not an exact result.
A right-skewed PDF, $f(x) = \frac{1}{2}x^2 e^{-x}$ for $x \ge 0$: the peak (mode) is at 2, half the area lies left of about 2.67 (median), and the balance point (mean) is at 3.
3. Variance and standard deviation
Variance is the average squared distance from the mean; the standard deviation (SD) is its positive square root and carries the units of the data.
Data treated as
Variance
Whole population of values
Sample of values (estimate of population variance)
Random variable
The divisor appears because deviations are taken from , which is itself computed from the sample. Read the question to see which divisor is wanted.
Linear change :
Adding moves the data but does not spread it, so it has no effect on the SD.
Mean square, RMS and SD. Rearranging the shortcut formula,
So for samples of a signal, the SD is the RMS value of the AC part, and the mean-square value (proportional to power in a resistor) splits into DC power plus AC power. For zero-mean noise, RMS and SD are the same number.
Other measures of spread: the range (largest minus smallest), the mean absolute deviation , and the coefficient of variation for comparing spreads of data with different means.
The variance is zero only when every value is the same.
Samples of a noisy DC voltage. The mean is the DC level; the standard deviation is the RMS value of the fluctuating (AC) part, shown as the band mean ± σ.
4. Pooled groups, standard results and quantisation noise
Pooled variance of two groups (population form). With the combined mean and ,
The terms add the spread between the group means to the spread within the groups. Forgetting them is the usual mistake.
Standard results worth remembering:
The integers : mean , population variance .
An arithmetic progression of terms with common difference : population variance .
Uniform distribution on : mean (= median), variance , no unique mode.
Quantisation noise. An ADC with step size rounds each sample to the nearest level. The error is commonly modelled as uniform on , so it has mean and
This is the same uniform-variance formula with . For an -bit converter covering a range , .
A quick working method for raw data:
Sort; read off the median, mode and range.
Find the total and the mean.
Sum the squared deviations (easy when is a whole number) or use .
Divide by or as asked, then take the square root.
Sanity checks: the mean lies between the smallest and largest values; the population SD never exceeds half the range; the SD is never negative.
Formulas to remember
Mean (frequency table)
Combined mean
Population variance
Sample variance
Linear change
Mean square, mean and SD
Combined variance
Empirical relationModerately skewed data only
Uniform variance and quantisation noise
Common mistakes
Taking the middle value of unsorted data as the median.
Using the divisor n when the question wants the sample variance with n − 1, or the other way round.
Writing a negative standard deviation after scaling by a negative factor; the SD scales by |a|.
Adding the offset b to the SD or variance; a shift moves the centre only.
Averaging two group means without weighting by group size, or dropping the d² terms in the pooled variance.
Confusing RMS with SD for a signal that has a DC part; RMS² = mean² + SD², so they match only for zero-mean signals.
Worked examples
Try each step yourself, then reveal the working.
Example 1: Every summary from a set of ADC readings
numerical
Seven ADC readings (in codes) are . Find the mean, median, mode, population SD and sample SD.
Step 1: Sort the data and read the position-based measures.
Try it on paper first.
Example 2: DC level, RMS and an amplifier stage
numerical
Samples of a sensor voltage have mean and SD . (a) Find the RMS value of the samples. (b) The signal passes through a stage with output (volts). Find the mean and SD of the output.
Step 1: Relate RMS to mean and SD.
Try it on paper first.
Example 3: Pooling two batches of resistors
numerical
Batch A has 20 resistors with mean and variance . Batch B has 30 resistors with mean and variance (both population values). Find the mean and variance of all 50 resistors.
Step 1: Combined mean.
Try it on paper first.
Example 4: Quantisation noise as a uniform variable
conceptual
An ADC has step size and rounds to the nearest level. Modelling the error as uniform on , find its mean, median and SD, and say why it has no useful mode.
Step 1: Mean and median.
Try it on paper first.
Previous year questions
No official GATE EC question is tagged with this topic yet. The topic test below uses practice questions.
Topic test
8 questions: original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.
Mark as mastered
Loading your progress…
My revision notes
Notes written by the GATEiit team against the official GATE EC syllabus; being checked by a reviewer. Updated 2026-11-29. Spotted a mistake? Use Report an issue on any question, or contact us.