Lesson 8 · Standard Deviation

Partition Values of Ungrouped Data

Optional MathematicsSubject
8 minEstimated read

Individual Data, Discrete Data and Cumulative Frequency

Statistics starts with data: a collection of numbers gathered about something, such as marks in a test or the weights of people in a village. Ungrouped data comes in two forms, and the method for finding a partition value is slightly different for each, so it pays to recognise them at a glance.

Definition

Individual data (an individual series) is data in which every observation is written out one by one, with no frequencies. Example: 12, 14, 17, 18, 22.

Definition

Discrete data (a discrete series) is data in which each distinct value X is written once, together with its frequency f, the number of times that value occurs.

Definition

The cumulative frequency (c.f.) of a value is the running total of frequencies up to and including that value. The last cumulative frequency always equals the total number of items, \( N = \Sigma f \).

You have also met the median, the middle value of data arranged in order. The median cuts the data into two equal halves. Partition values take that same idea further and cut the data into more pieces.

What Partition Values Are

To partition something is to divide it into parts. When data is arranged in order, a few particular values mark the boundaries between equal parts. These boundary values tell us far more than the average alone: for example, the mark below which the weakest quarter of a class scored, or the weight that only one tenth of people exceed.

Definition

Partition values are the values that divide an arranged set of data into more than two equal parts. The three kinds are quartiles, deciles and percentiles.

Always arrange first

Every partition value is found from data arranged in ascending order, from the smallest value to the largest. A position counted in unarranged data points to the wrong value.

Quartiles

Take seven values already arranged in order: 25, 28, 34, 56, 65, 78, 85. Three of them split the list into four equal parts. The 2nd value, 28, has one value before it. The 4th value, 56, sits in the middle. The 6th value, 78, has one value after it. Between any two of these boundaries there is exactly one value, so the four parts are equal.

The values 28, 56 and 78 are the first, second and third quartiles, because they cut these seven ordered values into four equal parts.
The values 28, 56 and 78 are the first, second and third quartiles, because they cut these seven ordered values into four equal parts.
Definition

Quartiles are the three values that divide arranged data into four equal parts. They are the first quartile \( Q_1 \) (lower quartile), the second quartile \( Q_2 \) (which is the median) and the third quartile \( Q_3 \) (upper quartile).

Counting by eye works for seven values but not for fifty. So the position of each quartile is worked out with a formula. Here N is the total number of items, or the sum of the frequencies in discrete data.

\[ Q_1 = \left(\frac{N+1}{4}\right)^{\text{th}} \text{ item} \]

\[ Q_2 = \left(\frac{2(N+1)}{4}\right)^{\text{th}} \text{ item} = \left(\frac{N+1}{2}\right)^{\text{th}} \text{ item} \]

\[ Q_3 = \left(\frac{3(N+1)}{4}\right)^{\text{th}} \text{ item} \]

Check this on the seven values. With \( N = 7 \), \( Q_1 \) is the \( \frac{8}{4} = 2 \)nd item, which is 28. \( Q_2 \) is the 4th item, 56, and \( Q_3 \) is the \( \frac{3 \times 8}{4} = 6 \)th item, 78. The formula agrees with what we saw. Notice that \( Q_2 \) uses the same formula as the median, so the second quartile and the median are always the same value.

Deciles

Quartiles cut the data into four parts. Deciles cut it into ten. It takes nine cuts to make ten pieces, so there are nine deciles, written \( D_1, D_2, D_3, \ldots, D_9 \).

Definition

Deciles are the nine values that divide arranged data into ten equal parts. One tenth of the observations are less than or equal to \( D_1 \), and the remaining nine tenths are greater than or equal to it.

In the same way, \( D_2 \) has two tenths of the data at or below it, \( D_3 \) has three tenths, and so on up to \( D_9 \). The position of the nth decile is:

\[ D_n = \left(\frac{n(N+1)}{10}\right)^{\text{th}} \text{ item} \]

Here n can be 1, 2, 3 and so on up to 9, and N is the total number of terms or the sum of the frequencies. For example, the 7th decile is the \( \frac{7(N+1)}{10} \)th item.

Percentiles

Percentiles push the idea as far as it usually goes: the data is cut into one hundred equal parts. Ninety nine cuts make a hundred pieces, so there are 99 percentiles, written \( P_1, P_2, P_3, \ldots, P_{99} \). You may have heard a phrase like "she scored in the 90th percentile". It means 90 percent of the scores were at or below hers.

Definition

Percentiles are the ninety nine values that divide arranged data into one hundred equal parts.

\[ P_n = \left(\frac{n(N+1)}{100}\right)^{\text{th}} \text{ item} \]

Here n can be 1, 2, 3 and so on up to 99. So the 51st percentile is the \( \frac{51(N+1)}{100} \)th item.

How Quartiles, Deciles and Percentiles Connect

All three formulas share one shape: the number of the partition value, times \( N+1 \), divided by the number of equal parts. Because they all measure a fraction of the way through the data, some of them land on exactly the same spot.

KindNumber of partsHow many valuesPosition formula
Quartile43n(N+1)/4 th item
Decile109n(N+1)/10 th item
Percentile10099n(N+1)/100 th item
Key idea

The halfway point is shared by all three: \( Q_2 = D_5 = P_{50} = \) median. In the same way \( Q_1 = P_{25} \), \( Q_3 = P_{75} \) and \( D_1 = P_{10} \).

Finding Partition Values in Individual Data

For data written out one by one, the method is the same for every partition value:

  • Arrange the data in ascending order.
  • Count the items to get N.
  • Put N into the right formula to find the position of the value you want.
  • Count along the arranged data to that position and read the value.

Worked example: find the first and third quartiles of 22, 26, 14, 30, 18, 17, 35, 41, 12, 32, 34.

Step 1: Arranging the data from smallest to largest:

\[ 12, 14, 17, 18, 22, 26, \]

\[ 30, 32, 34, 35, 41 \]

Step 2: Counting the items gives \( N = 11 \). Putting this into the formula for the first quartile:

\[ Q_1 = \left(\frac{11+1}{4}\right)^{\text{th}} = \left(\frac{12}{4}\right)^{\text{th}} = 3^{\text{rd}} \text{ item} \]

Step 3: Counting along the arranged list, the 3rd item is 17, so:

\[ Q_1 = 17 \]

Step 4: Finding the position of the third quartile with the same N:

\[ Q_3 = \left(\frac{3(11+1)}{4}\right)^{\text{th}} = \left(\frac{36}{4}\right)^{\text{th}} = 9^{\text{th}} \text{ item} \]

Step 5: The 9th item of the arranged list is 34, so:

\[ Q_3 = 34 \]

When the Position Is Not a Whole Number

Often the formula gives a position such as 8.4th. There is no 8.4th item, but there is a value 0.4 of the way from the 8th item to the 9th. So we start at the 8th item and add 0.4 of the gap up to the next one.

\[ 8.4^{\text{th}} \text{ item} = 8^{\text{th}} + 0.4\,(9^{\text{th}} - 8^{\text{th}}) \]

Worked example: find the 7th decile and the 45th percentile of 29, 31, 45, 27, 38, 59, 30, 28, 40, 25, 52.

Step 1: Arranging the data in ascending order, with \( N = 11 \):

\[ 25, 27, 28, 29, 30, 31, \]

\[ 38, 40, 45, 52, 59 \]

Step 2: Finding the position of the 7th decile:

\[ D_7 = \left(\frac{7(11+1)}{10}\right)^{\text{th}} = 8.4^{\text{th}} \text{ item} \]

Step 3: The 8th item is 40 and the 9th item is 45. Moving 0.4 of the way from 40 towards 45:

\[ D_7 = 40 + 0.4\,(45 - 40) \]

\[ D_7 = 40 + 0.4 \times 5 = 42 \]

Step 4: Finding the position of the 45th percentile:

\[ P_{45} = \left(\frac{45(11+1)}{100}\right)^{\text{th}} = 5.4^{\text{th}} \text{ item} \]

Step 5: The 5th item is 30 and the 6th item is 31. Moving 0.4 of the way from 30 towards 31:

\[ P_{45} = 30 + 0.4\,(31 - 30) = 30.4 \]

Common mistake

The decimal part multiplies the GAP between the two neighbouring items, not the item itself. Writing 40 + 0.4 × 45 instead of 40 + 0.4 × (45 - 40) gives 58, which is not even between the two items.

Finding Partition Values in Discrete Data

In discrete data many items share the same value, so we cannot simply count along a list. The cumulative frequency does the counting for us. Suppose the c.f. of 60 is 4 and the c.f. of 75 is 12. That means items 1 to 4 are all 60 or less, and items 5 to 12 are all equal to 75. So any position from 5 up to 12 has the value 75.

  • Arrange the values X in ascending order, keeping each frequency with its own value.
  • Write the cumulative frequency column and find \( N = \Sigma f \).
  • Use the formula to find the position of the partition value.
  • Look down the c.f. column for the first c.f. that is equal to or just greater than that position.
  • The value of X in that row is the answer.
Key idea

In discrete data a position like 12.4th needs no working out between items. Items 13 and 14 are the same value, so the answer is simply the X whose c.f. first reaches or passes the position.

Worked example: find the first and third quartiles of the marks below.

Marks obtained by 27 students, with the number of students getting each mark. The marks 91 and 90 are not yet in order.
Marks obtained by 27 students, with the number of students getting each mark. The marks 91 and 90 are not yet in order.

Step 1: Arranging the marks in ascending order. Here 90 must come before 91, and each keeps its own frequency: 90 has 4 students and 91 has 6. Then the cumulative frequencies are added up row by row:

Marks (X)No. of students (f)c.f.
5011
6034
75812
82517
90421
91627
N = 27
Common mistake

When you reorder the values, move each frequency with its value. Swapping 90 and 91 but leaving the frequencies where they were gives 90 six students, which is not what the data says.

Step 2: Finding the position of the first quartile with \( N = 27 \):

\[ Q_1 = \left(\frac{27+1}{4}\right)^{\text{th}} = \left(\frac{28}{4}\right)^{\text{th}} = 7^{\text{th}} \text{ item} \]

Step 3: The c.f. just greater than 7 is 12, in the row of 75. So items 5 to 12 are all 75, and:

\[ Q_1 = 75 \]

Step 4: Finding the position of the third quartile:

\[ Q_3 = \left(\frac{3(27+1)}{4}\right)^{\text{th}} = \left(\frac{84}{4}\right)^{\text{th}} = 21^{\text{st}} \text{ item} \]

Step 5: The c.f. equal to 21 is in the row of 90, so the 21st item is the last of the 90s:

\[ Q_3 = 90 \]

Worked example: find the fourth decile and the sixty sixth percentile of these weights.

Weights of 30 people in kilograms, with the number of people at each weight.
Weights of 30 people in kilograms, with the number of people at each weight.

Step 1: The weights are already in ascending order, so we add up the cumulative frequencies and find \( N = \Sigma f = 30 \):

The cumulative frequency table for the weights. The last c.f., 30, is the total number of people.
The cumulative frequency table for the weights. The last c.f., 30, is the total number of people.

Step 2: Finding the position of the fourth decile:

\[ D_4 = \left(\frac{4(30+1)}{10}\right)^{\text{th}} = 12.4^{\text{th}} \text{ item} \]

Step 3: The c.f. 12 is smaller than 12.4, so the value is not 15. The next c.f. is 14, which passes 12.4, and it belongs to 20. Since \( 12 < 12.4 < 14 \):

\[ D_4 = 20 \text{ kg} \]

Step 4: Finding the position of the sixty sixth percentile:

\[ P_{66} = \left(\frac{66(30+1)}{100}\right)^{\text{th}} = 20.46^{\text{th}} \text{ item} \]

Step 5: The c.f. 18 is less than 20.46 and the next c.f., 21, is greater, in the row of 30. Since \( 18 < 20.46 < 21 \):

\[ P_{66} = 30 \text{ kg} \]

Careful with the c.f. column

Look for the c.f. that is equal to or greater than the position, never the one just below it. For the position 12.4th, the c.f. 12 is too small because it only reaches the 12th item.

🔐

The full lesson is waiting for you

The notes are free to read in full. A free account opens the rest of the practice, and tracks your progress and confidence score for every subject. Presentations and videos need approval from Learn Yeti.