descriptive stats 1

Table of contents

  1. Descriptive statistics
  2. Variance and standard deviation
  3. Percentile rank

1. Descriptive statistics

1.1 Descriptive statistics

Descriptive statistics are used to summarize and describe data in a useful and meaningful way. They help to provide basic information about variables in a dataset and can highlight potential relationships between them.

There are four main types of descriptive statistics: measures of central tendency (mean, median, mode), measures of dispersion (deviation, variance, standard deviation, skewness, kurtosis), measures of position (percentile rank, quartile rank), and measures of association (correlation) 1.

  • Descriptive statistics: summarize data in useful and meaningful ways.
  • Purpose:
  • Provide basic information about variables in a data set.
  • Highlight potential relationships between variables.
  • Four major types:
  • Measures of central tendency (Mean, Median, Mode)
  • Measures of dispersion (Deviation, Variance, Standard deviation, Skewness, Kurtosis)
  • Measures of position (Percentile rank, Quartile rank)
  • Measures of association (Correlation) 1.

1.2 Measures of dispersion

Measures of dispersion describe how spread out the data points are around a central value. While measures of central tendency give a central value, dispersion measures indicate the extent to which individual data points differ from this average.

This helps in better data interpretation by showing variability 1.

Consider two batsmen, A and B, with the same mean and median scores of 50. However, batsman A's scores are more compact, while batsman B's scores are widely dispersed. This means batsman A is more consistent, whereas batsman B's performance is unpredictable, ranging from very low to very high scores 2.

  • Dispersion: indicates the extent to which individual measures differ from an average 2.
  • Importance: helps interpret data better by showing how values spread around the central value 1.

📝 For batsman A, with scores ranging from 40 to 60, the range is 60−40=2060 - 40 = 20. For batsman B, with scores from 10 to 90, the range is 90−10=8090 - 10 = 80 2.

1.3 Range

The range is the simplest measure of dispersion, calculated as the difference between the largest and smallest values in a data set. It represents the total spread of the data.

For grouped data, it's the difference between the upper boundary of the highest class and the lower boundary of the lowest class 2.

Example: For batsman A with scores ranging from 40 to 60, the range is 60−40=2060 - 40 = 20. For batsman B with scores from 10 to 90, the range is 90−10=8090 - 10 = 80 2.

  • Range: difference between the largest and smallest value in a data series.
  • Grouped data range: difference between the upper boundary of the highest class and the lower boundary of the lowest class 2.

1.4 Quartile deviation

Quartile deviation (Q.D.) measures the spread in the middle half of the data. It is also known as the semi-interquartile range 2.

The formula for quartile deviation is: Q.D.=Q3−Q12Q.D. = \frac{Q_3 - Q_1}{2} where Q1Q_1 is the first quartile and Q3Q_3 is the third quartile 2.

Example: For a dataset arranged in ascending order (3, 3, 5, 13, 15, 17, 18, 20, 20), Q1=4Q_1 = 4 and Q3=19Q_3 = 19. Therefore, Q.D.=19−42=7.5Q.D. = \frac{19 - 4}{2} = 7.5 3.

  • Quartile deviation (Q.D.): measures the deviation in the middle of the data.
  • Formula: Q.D.=Q3−Q12Q.D. = \frac{Q_3 - Q_1}{2} 2.

1.5 Mean deviation

Mean deviation measures how far data points are scattered around the mean or median. It is calculated by taking the average of the absolute values of the deviations from the mean or median 3.

  • Mean deviation about the mean (xˉ\bar{x}): M.D.(xˉ)=∑∣xi−xˉ∣nM.D.(\bar{x}) = \frac{\sum |x_i - \bar{x}|}{n}, where nn is the number of observations.
  • Mean deviation about the median (M): M.D.(M)=∑∣xi−M∣nM.D.(M) = \frac{\sum |x_i - M|}{n}, where nn is the number of observations 3.

Example: For batsman A, with a mean score of 50, the absolute deviations are 10, 5, 0, 0, 10, 5, 5, 5, 0. The sum is 40. The mean deviation about the mean is 409≈4.4\frac{40}{9} \approx 4.4. For batsman B, the mean deviation about the mean is 2009≈22.2\frac{200}{9} \approx 22.2, indicating greater dispersion 3.

1.6 Mean deviation for discrete frequency distribution

For discrete data with frequencies, the mean deviation is calculated using the formula: M.D.(xˉ)=∑fi∣xi−xˉ∣nM.D.(\bar{x}) = \frac{\sum f_i |x_i - \bar{x}|}{n} where n=∑fin = \sum f_i 5.

Similarly, for the median: M.D.(M)=∑fi∣xi−M∣nM.D.(M) = \frac{\sum f_i |x_i - M|}{n} 5.

Example: For data with values xix_i and frequencies fif_i, if the mean xˉ=50\bar{x} = 50 and n=80n = 80, and ∑fi∣xi−xˉ∣=1280\sum f_i |x_i - \bar{x}| = 1280, then the mean deviation about the mean is 128080=16\frac{1280}{80} = 16 6.

1.7 Mean deviation for continuous frequency distribution

In a continuous frequency distribution, the mean deviation is calculated using the mid-points of the class intervals. The frequency in each class is assumed to be centered at its mid-point 6.

The formulas for mean deviation about the mean (xˉ\bar{x}) and median (M) are: M.D.(xˉ)=∑fi∣xi−xˉ∣nM.D.(\bar{x}) = \frac{\sum f_i |x_i - \bar{x}|}{n} M.D.(M)=∑fi∣xi−M∣nM.D.(M) = \frac{\sum f_i |x_i - M|}{n} where xix_i represents the mid-points of the class intervals and n=∑fin = \sum f_i 6.

Example: For income data with class intervals and frequencies, after calculating the mean xˉ=358\bar{x} = 358, the mean deviation about the mean is 789650=157.92\frac{7896}{50} = 157.92 7.

1.8 Standard deviation

Standard deviation is a measure of the amount of variation or dispersion of a set of values. A low standard deviation indicates that the values tend to be close to the mean of the set, while a high standard deviation indicates that the values are spread out over a wider range 8.

  • Standard deviation: a measure of data dispersion around the mean 8.

1.9 Limitations of mean deviation 2 3 5 6 8

Mean deviation has certain limitations that make it less reliable in some situations 8.

  • Reliability: Mean deviation from the median may not be fully reliable when there is high variability, as the median might not be a representative central tendency measure.
  • Algebraic treatment: Since absolute values of deviations are used, further algebraic manipulation is not possible.
  • Comparison: The sum of absolute deviations from the mean is greater than from the median, which can sometimes make it an unreliable measure 8.
MeasureDescription
RangeDifference between the largest and smallest value.
Quartile Deviation (Q.D.)Semi-interquartile range: (Q3 - Q1) / 2.
Mean Deviation (M.D.)Average of the absolute deviations from the mean or median.
Standard DeviationMeasures the spread of data around the mean.
Type of DataFormula for Mean Deviation about the Mean
Ungrouped DataM.D.(xˉ)=∑∣xi−xˉ∣nM.D.(\bar{x}) = \frac{\sum \vert x_i - \bar{x}\vert }{n}
Discrete Frequency DistributionM.D.(xˉ)=∑fi∣xi−xˉ∣nM.D.(\bar{x}) = \frac{\sum f_i \vert x_i - \bar{x}\vert }{n}
Continuous Frequency DistributionM.D.(xˉ)=∑fi∣xi−xˉ∣nM.D.(\bar{x}) = \frac{\sum f_i \vert x_i - \bar{x}\vert }{n} (using mid-points xix_i)
Type of DataFormula for Mean Deviation about the Median
Ungrouped DataM.D.(M)=∑∣xi−M∣nM.D.(M) = \frac{\sum \vert x_i - M\vert }{n}
Discrete Frequency DistributionM.D.(M)=∑fi∣xi−M∣nM.D.(M) = \frac{\sum f_i \vert x_i - M\vert }{n}
Continuous Frequency DistributionM.D.(M)=∑fi∣xi−M∣nM.D.(M) = \frac{\sum f_i \vert x_i - M\vert }{n} (using mid-points xix_i)

2. Variance and standard deviation

2.1 Variance for ungrouped data

Variance measures the average of the squared differences from the mean. It indicates how spread out the data is.

A larger variance means the data points are more dispersed, while a smaller variance indicates they are clustered closer to the mean 9.

The formula for variance (σ2\sigma^2) for ungrouped data is: σ2=∑i=1n(xi−xˉ)2n\sigma^2 = \frac{\sum_{i=1}^{n} (x_i - \bar{x})^2}{n} where xix_i are the individual data points, xˉ\bar{x} is the mean, and nn is the total number of observations 9.

A shortcut formula for variance is: σ2=∑xi2n−xˉ2\sigma^2 = \frac{\sum x_i^2}{n} - \bar{x}^2 This can simplify calculations when the values of xix_i are convenient 9.

📝 For the data set 6, 10, 7, 13, 4, 12, 8, 12:

  • The mean (xˉ\bar{x}) is 9.
  • The sum of squared deviations from the mean is 74.
  • The variance (σ2\sigma^2) is 748=9.25\frac{74}{8} = 9.25 11.

2.2 Standard deviation for ungrouped data

Standard deviation (SD) is the square root of the variance. It is used because its units are the same as the original data, making it easier to interpret the spread 9.

The formula for standard deviation (σ\sigma) for ungrouped data is: σ=∑i=1n(xi−xˉ)2n\sigma = \sqrt{\frac{\sum_{i=1}^{n} (x_i - \bar{x})^2}{n}} or using the shortcut formula: σ=∑xi2n−xˉ2\sigma = \sqrt{\frac{\sum x_i^2}{n} - \bar{x}^2} 9.

📝 For the data set 6, 10, 7, 13, 4, 12, 8, 12:

  • The variance is 9.25.
  • The standard deviation (σ\sigma) is 9.25≈3.04\sqrt{9.25} \approx 3.04 11.

2.3 Variance and standard deviation for grouped data

For grouped data, where observations xix_i have frequencies fif_i, the variance is calculated as the weighted average of squared deviations. The total number of observations is the sum of frequencies (N=∑fiN = \sum f_i) 9.

The formula for variance (σ2\sigma^2) for grouped data is: σ2=∑i=1mfi(xi−xˉ)2∑fi\sigma^2 = \frac{\sum_{i=1}^{m} f_i (x_i - \bar{x})^2}{\sum f_i} where xˉ=∑fixi∑fi\bar{x} = \frac{\sum f_i x_i}{\sum f_i} 9.

A shortcut formula for variance is: σ2=∑fixi2∑fi−xˉ2\sigma^2 = \frac{\sum f_i x_i^2}{\sum f_i} - \bar{x}^2 10.

The standard deviation (σ\sigma) is the square root of the variance 10.

If the data is continuous with class intervals, the mid-point of each class is used in these formulas to get approximate values 10.

📝 For the data with frequencies:

xix_ifif_ifixif_i x_ixi−xˉx_i - \bar{x}(xi−xˉ)2(x_i - \bar{x})^2fi(xi−xˉ)2f_i (x_i - \bar{x})^2
4312-10100300
8540-636180
11999-3981
175853945
20480636144
2437210100300
3213218324324
  • Total frequency (∑fi\sum f_i) = 30
  • Sum of fixif_i x_i (∑fixi\sum f_i x_i) = 420
  • Mean (xˉ\bar{x}) = 42030=14\frac{420}{30} = 14
  • Sum of fi(xi−xˉ)2f_i (x_i - \bar{x})^2 (∑fi(xi−xˉ)2\sum f_i (x_i - \bar{x})^2) = 1374
  • Variance (σ2\sigma^2) = 137430=45.8\frac{1374}{30} = 45.8
  • Standard deviation (σ\sigma) = 45.8≈6.77\sqrt{45.8} \approx 6.77 13.

2.4 Deviation method

To simplify calculations, an assumed mean (AA) can be used. The deviations (did_i) are calculated as di=xi−Ad_i = x_i - A.

The formulas for variance are adjusted to account for this assumed mean 10.

The variance formula using deviations is: σ2=∑fidi2∑fi−(∑fidi∑fi)2\sigma^2 = \frac{\sum f_i d_i^2}{\sum f_i} - \left(\frac{\sum f_i d_i}{\sum f_i}\right)^2 where di=xi−Ad_i = x_i - A 10.

For ungrouped data, this simplifies to: σ2=∑di2n−(∑din)2\sigma^2 = \frac{\sum d_i^2}{n} - \left(\frac{\sum d_i}{n}\right)^2 10.

📝 For the first 10 multiples of 3 (3, 6,..., 30), using an assumed mean A=15A=15:

xix_idi=xi−15d_i = x_i - 15di2d_i^2
3-12144
6-981
9-636
12-39
1500
1839
21636
24981
2712144
3015225
  • n=10n = 10
  • ∑di=15\sum d_i = 15
  • ∑di2=765\sum d_i^2 = 765
  • Variance (σ2\sigma^2) = 76510−(1510)2=76.5−(1.5)2=76.5−2.25=74.25\frac{765}{10} - \left(\frac{15}{10}\right)^2 = 76.5 - (1.5)^2 = 76.5 - 2.25 = 74.25 12.

2.5 Step deviation method

When dealing with continuous grouped data where class intervals are of uniform size (cc), the step deviation method further simplifies calculations. Deviations are standardized by dividing by the class width (ti=di/ct_i = d_i / c) 10.

The variance formula using step deviations is: σ2=c2[∑fiti2∑fi−(∑fiti∑fi)2]\sigma^2 = c^2 \left[ \frac{\sum f_i t_i^2}{\sum f_i} - \left(\frac{\sum f_i t_i}{\sum f_i}\right)^2 \right] where ti=xi−Act_i = \frac{x_i - A}{c} 14.

📝 For the class data:

ClassesMid-points (xix_i)Frequency (fif_i)di=xi−65d_i = x_i - 65ti=di/10t_i = d_i/10di2d_i^2fidif_i d_ifidi2f_i d_i^2
30-40353-30-3900-902700
40-50457-20-2400-1402800
50-605512-10-1100-1201200
60-70651500000
70-8075810110080800
80-90853202400601200
90-100952303900601800
  • ∑fi=50\sum f_i = 50
  • ∑fidi=−150\sum f_i d_i = -150
  • ∑fidi2=10500\sum f_i d_i^2 = 10500
  • Variance (σ2\sigma^2) = 1050050−(−15050)2=210−(−3)2=210−9=201\frac{10500}{50} - \left(\frac{-150}{50}\right)^2 = 210 - (-3)^2 = 210 - 9 = 201
  • Standard deviation (σ\sigma) = 201≈14.18\sqrt{201} \approx 14.18 14.

2.6 Properties of variance and standard deviation 16 17

The variance and standard deviation are affected by changes in the data values.

Change to DataEffect on MeanEffect on VarianceEffect on Standard Deviation
Adding a constant 'a' to each observationIncreases by 'a'Remains the sameRemains the same
Multiplying each observation by 'a'Multiplied by 'a'Multiplied by a2a^2Multiplied by ∣a∣\vert a\vert

📝 If the original observations have a mean of 8 and a standard deviation of 4, and each observation is multiplied by 3:

  • The new mean will be 3×8=243 \times 8 = 24.
  • The new variance will be 32×42=9×16=1443^2 \times 4^2 = 9 \times 16 = 144.
  • The new standard deviation will be 3×4=123 \times 4 = 12 16.

📝 If each observation in a data set is increased by 5:

  • The mean will increase by 5.
  • The variance will remain unchanged.
  • The standard deviation will remain unchanged 17.

2.7 Correcting variance and standard deviation

Errors in data entry can lead to incorrect calculations of mean, variance, and standard deviation. These can be corrected by recalculating using the correct values 17 18.

📝 A student calculated the mean as 40 and SD as 5.1 for 100 observations, mistaking one observation as 50 instead of 40.

  • Incorrect sum of observations = 40×100=400040 \times 100 = 4000.
  • Correct sum of observations = 4000−50+40=39904000 - 50 + 40 = 3990.
  • Correct mean = 3990100=39.9\frac{3990}{100} = 39.9.
  • Incorrect ∑x2=162601\sum x^2 = 162601.
  • Correct ∑x2=162601−502+402=161701\sum x^2 = 162601 - 50^2 + 40^2 = 161701.
  • Correct variance = 161701100−(39.9)2=1617.01−1592.01=25\frac{161701}{100} - (39.9)^2 = 1617.01 - 1592.01 = 25.
  • Correct standard deviation = 25=5\sqrt{25} = 5 17.

📝 For 100 observations, the mean was 20 and SD was 3. Three incorrect observations (21, 21, 18) were omitted.

  • Original ∑x=20×100=2000\sum x = 20 \times 100 = 2000.
  • Original ∑x2=40900\sum x^2 = 40900.
  • Corrected ∑x=2000−21−21−18=1940\sum x = 2000 - 21 - 21 - 18 = 1940.
  • Corrected ∑x2=40900−212−212−182=39694\sum x^2 = 40900 - 21^2 - 21^2 - 18^2 = 39694.
  • Number of remaining observations = 100−3=97100 - 3 = 97.
  • Correct mean = 194097≈20\frac{1940}{97} \approx 20.
  • Correct variance = 3969497−(20)2≈409.22−400=9.22\frac{39694}{97} - (20)^2 \approx 409.22 - 400 = 9.22.
  • Correct standard deviation = 9.22≈3.036\sqrt{9.22} \approx 3.036 18.

3. Percentile rank

3.1 Definition of percentile rank

The percentile rank (PR) of a specific score shows the percentage of examinees in a reference group who scored at or below that specific examinee's score. This is commonly used in competitive exams like JEE, NEET, and CAT, where results are often reported as percentile ranks instead of percentages or standard scores 19.

3.2 Calculating percentile rank

To calculate the percentile rank, you determine the percentage of scores in the frequency distribution that are less than or equal to a given score 19.

📝 Suppose 10 students took an exam and scored 30, 38, 40, 45, 48, 55, 63, 70, 72, and 78. The student who scored 70 is in the 8th position, meaning 8 students scored 70 or less. The percentile rank for the score of 70 is calculated as (8 students / 10 total students) * 100 = 80 19.

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also