Skip to main content
Statistics LibreTexts

3.4: Measures of Position

  • Page ID
    10928
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\dsum}{\displaystyle\sum\limits} \)

    \( \newcommand{\dint}{\displaystyle\int\limits} \)

    \( \newcommand{\dlim}{\displaystyle\lim\limits} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \(\newcommand{\longvect}{\overrightarrow}\)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\ket}[1]{\left| #1 \right>}\)
    \(\newcommand{\bra}[1]{\left< #1 \right|}\)
    \(\newcommand{\braket}[2]{\left< #1 \vphantom{#2} \right| \left. #2 \vphantom{#1} \right>}\)
    \(\newcommand{\braopket}[3]{\left< #1 \vphantom{#2}\vphantom{#3} \right| #2 \vphantom{#1}\vphantom{#3} \left| #3 \vphantom{#1}\vphantom{#2} \right>}\)
    \(\newcommand{\qmvec}[1]{\mathbf{\vec{#1}}}\)
    \(\newcommand{\op}[1]{\hat{\mathbf{#1}}}\)
    \(\newcommand{\expect}[1]{\langle #1 \rangle}\)
    \(\newcommand{\dfn}[1]{\emph{\textbf{#1}}}\)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    Introduction

    Measures of position give the researcher insight into the quantity of data values that fit within set intervals of data by using the data values themselves to create break points. This is why they are called measures of position since the values are relative to the position the data value has in an organized list. We have already studied one such data value in our Measures of Center of the Data section. The Median helped us break the data set into two equal lists where half the data was to its left and the other half to its right. 

    Note: Reminder

    The median is a number that measures the "center" of the data. You can think of the median as the "middle value," but it does not actually have to be one of the observed values. It is a number that separates ordered data into halves. Half the values are the same number or smaller than the median, and half the values are the same number or larger. For example, consider the following data.

    1; 11.5; 6; 7.2; 4; 8; 9; 10; 6.8; 8.3; 2; 2; 10; 1

    Ordered from smallest to largest:

    1; 1; 2; 2; 4; 6; 6.8; 7.2; 8; 8.3; 9; 10; 10; 11.5

    Since there are 14 observations, the median is between the seventh value, 6.8, and the eighth value, 7.2. To find the median, add the two values together and divide by two.

    \[\dfrac{6.8+7.2}{2} = 7\]

    The median is seven. Half of the values are smaller than seven and half of the values are larger than seven.

    In addition to values such as the median, we will also revisit data sets with a normal distribution and a technique using a value called a z-score to compare data values from different sets of numbers in a similar manner to the Coefficient of Variation discussed earlier. 

    Percentiles, Deciles and Quartiles 

    Definition: Percentiles, Deciles and Quartiles

    Percentiles divide the data set into 100 equal groups: P1, P2, ..., P99. 

    Deciles divide the data set into 10 equal groups: D1, D10, ..., D90. 

    Quartiles divide the data set into 4 equal groups: Q1, Q2, Q3. 

    Note: "equal" is typically only true of large data sets. Many of the smaller data sets we will work with to practice finding these values may not behave properly since there may not be enough data to split into 10 or 100 groups. 

    The common measures of location are quartiles and percentiles. Quartiles are special percentiles. The first quartile, Q1, is the same as the 25th percentile, and the third quartile, Q3, is the same as the 75th percentile. The median, M, is called both the second quartile and the 50th percentile.

    Deciles are another way we can consider location of data, where the data is separated into 10 groups. Just as quartiles correspond to specific percentiles, so do deciles. That is, the first decile is equivalent to the 10th percentile, the 5th decile is equivalent to the 2nd quartile and the 50th percentile.

    If you are asked to find a specific decile, you are really looking for the corresponding percentile (multiply the decile by 10 to get the equivalent percentile). The 8th decile is equal to the 80th percentile. You can also think of these measures of location like money: 2 quarters (2nd quartile) = 5 dimes (5th decile) = 50 pennies (50th percentile). 

    We will focus on the most common measures in this text. 

    To calculate quartiles and percentiles, the data must be ordered from smallest to largest. Quartiles divide ordered data into quarters. Percentiles divide ordered data into hundredths. To score in the 90th percentile of an exam does not mean, necessarily, that you received 90% on a test. It means that 90% of test scores are the same or less than your score and 10% of the test scores are the same or greater than your test score.

    Percentiles are useful for comparing values. For this reason, universities and colleges use percentiles extensively. One instance in which colleges and universities use percentiles is when SAT results are used to determine a minimum testing score that will be used as an acceptance factor. For example, suppose Duke accepts SAT scores at or above the 75th percentile. That translates into a score of at least 1220.

    Percentiles are mostly used with very large populations. Therefore, if you were to say that 90% of the test scores are less (and not the same or less) than your score, it would be acceptable because removing one particular data value is not significant.

    Quartiles are numbers that separate the data into quarters. Quartiles may or may not be part of the data. To find the quartiles, first find the median or second quartile. The first quartile, Q1, is the middle value of the lower half of the data, and the third quartile, Q3, is the middle value, or median, of the upper half of the data. To get the idea, consider the same data set:

    1; 1; 2; 2; 4; 6; 6.8; 7.2; 8; 8.3; 9; 10; 10; 11.5

    The median or second quartile is seven. The lower half of the data are 1, 1, 2, 2, 4, 6, 6.8. The middle value of the lower half is two.

    1; 1; 2; 2; 4; 6; 6.8

    The number two, which is part of the data, is the first quartile. One-fourth of the entire sets of values are the same as or less than two and three-fourths of the values are more than two.

    The upper half of the data is 7.2, 8, 8.3, 9, 10, 10, 11.5. The middle value of the upper half is nine.

    The third quartile, Q3, is nine. Three-fourths (75%) of the ordered data set are less than nine. One-fourth (25%) of the ordered data set are greater than nine. The third quartile is part of the data set in this example.

    Definition: Interquartile Range

    The interquartile range is a number that indicates the spread of the middle half or the middle 50% of the data. It is the difference between the third quartile (Q3) and the first quartile (Q1).

    \[IQR = Q_3 – Q_1\]

    The IQR can help to determine potential outliers.

    Note: Reminder

    A potential outlier is a data point that is significantly different from the other data points. These special data points may be errors or some kind of abnormality or they may be a key to understanding the data.

    We have discussed outliers before, but have not yet defined a way to identify those values beyond assuming that a value we perceive to be extreme is an outlier. A value is suspected to be a potential outlier if it is less than (1.5)(IQR) below the first quartile or more than (1.5)(IQR) above the third quartile. Potential outliers always require further investigation.

    Definition: Outliers Boundaries 

    Lower Boundary for "normal" data values: \(Q_1 - 1.5(IQR)\)
    Upper Boundary for "normal" data values: \(Q_3 + 1.5(IQR)\)

    Example \(\PageIndex{1}\)

    For the following 13 real estate prices, calculate the IQR and determine if any prices are potential outliers. Prices are in dollars.

    389,950; 230,500; 158,000; 479,000; 639,000; 114,950; 5,500,000; 387,000; 659,000; 529,000; 575,000; 488,800; 1,095,000

    Solution

    Order the data from smallest to largest.

    114,950; 158,000; 230,500; 387,000; 389,950; 479,000; 488,800; 529,000; 575,000; 639,000; 659,000; 1,095,000; 5,500,000

    \[M = 488,800 \nonumber\]

    \[Q_{1} = \dfrac{230,500 + 387,000}{2} = 308,750\nonumber\]

    \[Q_{3} = \dfrac{639,000 + 659,000}{2} = 649,000\nonumber\]

    \[IQR = 649,000 - 308,750 = 340,250\nonumber\]

    \[(1.5)(IQR) = (1.5)(340,250) = 510,375\nonumber\]

    \[Q_{1} - (1.5)(IQR) = 308,750 - 510,375 = –201,625\nonumber\]

    \[Q_{3} + (1.5)(IQR) = 649,000 + 510,375 = 1,159,375\nonumber\]

    No house price is less than –201,625. However, 5,500,000 is more than 1,159,375. Therefore, 5,500,000 is a potential outlier.

    Exercise \(\PageIndex{1}\)

    For the following 11 salaries, calculate the IQR and determine if any salaries are outliers. The salaries are in dollars.

    $33,000; $64,500; $28,000; $54,000; $72,000; $68,500; $69,000; $42,000; $54,000; $120,000; $40,500

    Answer

    Order the data from smallest to largest.

    $28,000; $33,000; $40,500; $42,000; $54,000; $54,000; $64,500; $68,500; $69,000; $72,000; $120,000

    Median = $54,000

    \[Q_{1} = $40,500\nonumber\]

    \[Q_{3} = $69,000\nonumber\]

    \[IQR = $69,000 - $40,500 = $28,500\nonumber\]

    \[(1.5)(IQR) = (1.5)($28,500) = $42,750\nonumber\]

    \[Q_{1} - (1.5)(IQR) = $40,500 - $42,750 = -$2,250\nonumber\]

    \[Q_{3} + (1.5)(IQR) = $69,000 + $42,750 = $111,750\nonumber\]

    No salary is less than –$2,250. However, $120,000 is more than $11,750, so $120,000 is a potential outlier.

    Example \(\PageIndex{2}\)

    For the two data sets in the test scores example, find the following:

    1. The interquartile range. Compare the two interquartile ranges.
    2. Any outliers in either set.
    Solution

    The five number summary for the day and night classes is

      Minimum Q1 Median Q3 Maximum
    Day 32 56 74.5 82.5 99
    Night 25.5 78 81 89 98
    1. The IQR for the day group is \(Q_{3} - Q_{1} = 82.5 - 56 = 26.5\)

      The IQR for the night group is \(Q_{3} - Q_{1} = 89 - 78 = 11\)

      The interquartile range (the spread or variability) for the day class is larger than the night class IQR. This suggests more variation will be found in the day class’s class test scores.

    2. Day class outliers are found using the IQR times 1.5 rule. So,
      • \(Q_{1} - IQR(1.5) = 56 – 26.5(1.5) = 16.25\)
      • \(Q_{3} + IQR(1.5) = 82.5 + 26.5(1.5) = 122.25\)

      Since the minimum and maximum values for the day class are greater than 16.25 and less than 122.25, there are no outliers.

      Night class outliers are calculated as:

      • \(Q_{1} - IQR (1.5) = 78 – 11(1.5) = 61.5\)
      • \(Q_{3} + IQR(1.5) = 89 + 11(1.5) = 105.5\)

      For this class, any test score less than 61.5 is an outlier. Therefore, the scores of 45 and 25.5 are outliers. Since no test score is greater than 105.5, there is no upper end outlier.

    Exercise \(\PageIndex{2}\)

    Find the interquartile range for the following two data sets and compare them.

    Test Scores for Class A

    69; 96; 81; 79; 65; 76; 83; 99; 89; 67; 90; 77; 85; 98; 66; 91; 77; 69; 80; 94

    Test Scores for Class B

    90; 72; 80; 92; 90; 97; 92; 75; 79; 68; 70; 80; 99; 95; 78; 73; 71; 68; 95; 100

    Answer

    Class A

    Order the data from smallest to largest.

    65; 66; 67; 69; 69; 76; 77; 77; 79; 80; 81; 83; 85; 89; 90; 91; 94; 96; 98; 99

    \(Median = \dfrac{80 + 81}{2}\) = 80.5

    \(Q_{1} = \dfrac{69 + 76}{2} = 72.5\)

    \(Q_{3} = \dfrac{90 + 91}{2} = 90.5\)

    \(IQR = 90.5 - 72.5 = 18\)

    Class B

    Order the data from smallest to largest.

    68; 68; 70; 71; 72; 73; 75; 78; 79; 80; 80; 90; 90; 92; 92; 95; 95; 97; 99; 100

    \(Median = \dfrac{80 + 80}{2} = 80\)

    \(Q_{1} = \dfrac{72 + 73}{2} = 72.5\)

    \(Q_{3} = \dfrac{92 + 95}{2} = 93.5\)

    \(IQR = 93.5 - 72.5 = 21\)

    The data for Class B has a larger IQR, so the scores between Q3 and Q1 (middle 50%) for the data for Class B are more spread out and not clustered about the median.

    Example \(\PageIndex{3}\)

    Fifty statistics students were asked how much sleep they get per school night (rounded to the nearest hour). The results were:

    AMOUNT OF SLEEP PER SCHOOL NIGHT (HOURS) FREQUENCY RELATIVE FREQUENCY CUMULATIVE RELATIVE FREQUENCY
    4 2 0.04 0.04
    5 5 0.10 0.14
    6 7 0.14 0.28
    7 12 0.24 0.52
    8 14 0.28 0.80
    9 7 0.14 0.94
    10 3 0.06 1.00

    Find the 28th percentile. Notice the 0.28 in the "cumulative relative frequency" column. Twenty-eight percent of 50 data values is 14 values. There are 14 values less than the 28th percentile. They include the two 4s, the five 5s, and the seven 6s. The 28th percentile is between the last six and the first seven. The 28th percentile is 6.5.

    Find the median. Look again at the "cumulative relative frequency" column and find 0.52. The median is the 50th percentile or the second quartile. 50% of 50 is 25. There are 25 values less than the median. They include the two 4s, the five 5s, the seven 6s, and eleven of the 7s. The median or 50th percentile is between the 25th, or seven, and 26th, or seven, values. The median is seven.

    Find the third quartile. The third quartile is the same as the 75th percentile. You can "eyeball" this answer. If you look at the "cumulative relative frequency" column, you find 0.52 and 0.80. When you have all the fours, fives, sixes and sevens, you have 52% of the data. When you include all the 8s, you have 80% of the data. The 75th percentile, then, must be an eight. Another way to look at the problem is to find 75% of 50, which is 37.5, and round up to 38. The third quartile, Q3, is the 38th value, which is an eight. You can check this answer by counting the values. (There are 37 values below the third quartile and 12 values above.)

    Exercise \(\PageIndex{3}\)

    Forty bus drivers were asked how many hours they spend each day running their routes (rounded to the nearest hour). Find the 65th percentile.

    Amount of time spent on route (hours) Frequency Relative Frequency Cumulative Relative Frequency
    2 12 0.30 0.30
    3 14 0.35 0.65
    4 10 0.25 0.90
    5 4 0.10 1.00
    Answer

    The 65th percentile is between the last three and the first four.

    The 65th percentile is 3.5.

    Example \(\PageIndex{4}\)

    Using the table above in Example \(\PageIndex{3}\)

    1. Find the 80th percentile.
    2. Find the 90th percentile.
    3. Find the first quartile. What is another name for the first quartile?

    Solution

    Using the data from the frequency table, we have:

    1. The 80th percentile is between the last eight and the first nine in the table (between the 40th and 41st values). Therefore, we need to take the mean of the 40th an 41st values. The 80th percentile \(= \dfrac{8+9}{2} = 8.5\)
    2. The 90th percentile will be the 45th data value (location is \(0.90(50) = 45\)) and the 45th data value is nine.
    3. Q1 is also the 25th percentile. The 25th percentile location calculation: \(P_{25} = 0.25(50) = 12.5 \approx 13\) the 13th data value. Thus, the 25th percentile is six.
    Exercise \(\PageIndex{4}\)

    Refer to the table above in Exercise \(\PageIndex{3}\). Find the third quartile. What is another name for the third quartile?

    Answer

    The third quartile is the 75th percentile, which is four. The 65th percentile is between three and four, and the 90th percentile is between four and 5.75. The third quartile is between 65 and 90, so it must be four.

    A Formula for Finding the kth Percentile

    If you were to do a little research, you would find several formulas for calculating the kth percentile. Most technological ways of finding this value also tend to be coded different. Our TI-Calculators, for example, use a different method from and Excel spreadsheet. 

    • \(k =\) the kth percentile. It may or may not be part of the data.
    • \(i =\) the index (ranking, location or position of a data value)
    • \(n =\) the total number of data

    For all of the formulas, order the data from smallest to largest.

    Formula 1: Calculate \(i = \dfrac{k}{100}(n + 1)\)

    If \(i\) is an integer, then the \(k^{th}\) percentile is the data value in the \(i^{th}\) position in the ordered set of data.

    If \(i\) is not an integer, then round \(i\) up and round \(i\) down to the nearest integers. Average the two data values in these two positions in the ordered data set. This is easier to understand in an example.

    Formula 2: Calculate \(i = \dfrac{k}{100}(n)\)

    If \(i\) is an integer, then find the mean of the two data values in position \(i\) and \(i+1\) in the ordered data set. 

    If \(i\) is not an integer, then round \(i\) up to the next largest integer. The \(k^{th}\) percentile is the data value in the \(i^{th}\) position in the ordered set of data.

    For which formula to use, please consult your instructor. 

    These examples will focus on percentiles, but remember that a quartile is just a shortcut way of writing a percentile.

    Example \(\PageIndex{5}\)

    Listed are 29 ages for Academy Award winning best actors in order from smallest to largest.

    18; 21; 22; 25; 26; 27; 29; 30; 31; 33; 36; 37; 41; 42; 47; 52; 55; 57; 58; 62; 64; 67; 69; 71; 72; 73; 74; 76; 77
    1. Find the 70th percentile.
    2. Find the 83rd percentile.

    Solution using formula 1

      • \(k = 70\)
      • \(i\) = the index
      • \(n = 29\)
      \(i = \dfrac{k}{100}(n + 1) = \dfrac{70}{100}(29 + 1) = 21\). Twenty-one is an integer, and the data value in the 21st position in the ordered data set is 64. The 70th percentile is 64 years.
      • \(k\) = 83rd percentile
      • \(i \)= the index
      • \(n = 29\)
      \(i = \dfrac{k}{100}(n + 1) = (\dfrac{83}{100})(29 + 1) = 24.9\), which is NOT an integer. Round it down to 24 and up to 25. The age in the 24th position is 71 and the age in the 25th position is 72. Average 71 and 72. The 83rd percentile is 71.5 years.

    Solution using formula 2 

      • \(k = 70\)
      • \(i\) = the index
      • \(n = 29\)
      \(i = \dfrac{k}{100}(n) = \dfrac{70}{100}(29) = 20.3\). Twenty point three is a decimal value so we round up to the 21st position. The data value in the 21st position in the ordered data set is 64. The 70th percentile is 64 years.
      • \(k\) = 83rd percentile
      • \(i \)= the index
      • \(n = 29\)
      \(i = \dfrac{k}{100}(n) = (\dfrac{83}{100})(29) = 24.07\). This is not an integer. Round it up to 25. The age in the 25th position is 72. The 83rd percentile is 72 years.

    Note: For a smaller data set, the two methods may not always agree, so it is important to use the method your instructor provided you with while learning the content. 

    Exercise \(\PageIndex{5}\)

    Listed are 29 ages for Academy Award winning best actors in order from smallest to largest.

    18; 21; 22; 25; 26; 27; 29; 30; 31; 33; 36; 37; 41; 42; 47; 52; 55; 57; 58; 62; 64; 67; 69; 71; 72; 73; 74; 76; 77

    Calculate the 20th percentile and the 55th percentile.

    Answer

    Using formula 1:

    \(k = 20\). Index \(= i = \dfrac{k}{100}(n+1) = \dfrac{20}{100}(29 + 1) = 6\). The age in the sixth position is 27. The 20th percentile is 27 years.

    \(k = 55\). Index \(= i = \dfrac{k}{100}(n+1) = \dfrac{55}{100}(29 + 1) = 16.5\). Round down to 16 and up to 17. The age in the 16th position is 52 and the age in the 17th position is 55. The average of 52 and 55 is 53.5. The 55th percentile is 53.5 years.

    Using formula 2:

    \(k = 20\). Index \(= i = \dfrac{k}{100}(n) = \dfrac{20}{100}(29) = 5.8\). Decimal value, so round up to the 6th position. The age in the sixth position is 27. The 20th percentile is 27 years.

    \(k = 55\). Index \(= i = \dfrac{k}{100}(n) = \dfrac{55}{100}(29) = 15.95\). Decimal value, so round up to the 16th position. The age in the 16th position is 52. The 55th percentile is 52 years.

    Warning

    You can calculate percentiles using calculators and computers. There are a variety of online calculators. However, for smaller data sets, like these formulas, they do not always produce the same values. Please consult with your instructor for the method and toll they prefer you use for your course.

    A Formula for Finding the Percentile of a Value in a Data Set

    Much like finding the percentile value for a data set, finding the percentile for a given data value also has multiple methods. 

    • Order the data from smallest to largest.
    • \(x =\) the number of data values counting from the bottom of the data list up to but not including the data value for which you want to find the percentile.
    • \(y =\) the number of data values equal to the data value for which you want to find the percentile.
    • \(n =\) the total number of data.

    Formula 1: Includes the data value in the calculation. 

    • Calculate \(\dfrac{x + 0.5y}{n}(100)\). Then round to the nearest integer.

    Formula 2: Does not include the data value in the calculation.

    Calculate \(\dfrac{x + 0.5}{n}(100)\). Then round to the nearest integer.

    Again, make sure to consult your instructor regarding which method they prefer you use. 

    These examples will focus on percentiles, but remember that a quartile is just a shortcut way of writing a percentile.

    Example \(\PageIndex{6}\)

    Listed are 29 ages for Academy Award winning best actors in order from smallest to largest.

    18; 21; 22; 25; 26; 27; 29; 30; 31; 33; 36; 37; 41; 42; 47; 52; 55; 57; 58; 62; 64; 67; 69; 71; 72; 73; 74; 76; 77
    1. Find the percentile for 58.
    2. Find the percentile for 25.

    Solution with formula 1:

    1. Counting from the bottom of the list, there are 18 data values less than 58. There is one value of 58.

      \(x = 18\) and \(y = 1\). \(\dfrac{x + 0.5y}{n}(100) = \dfrac{18 + 0.5(1)}{29}(100) = 63.79\). 58 is the 64th percentile.

    2. Counting from the bottom of the list, there are three data values less than 25. There is one value of 25.

      \(x = 3\) and \(y = 1\). \(\dfrac{x + 0.5y}{n}(100) = \dfrac{3 + 0.5(1)}{29}(100) = 12.07\). Twenty-five is the 12thpercentile.

    Solution with formula 2:

    1. Counting from the bottom of the list, there are 18 data values less than 58. 

      \(x = 18\). \(\dfrac{x + 0.5}{n}(100) = \dfrac{18 + 0.5}{29}(100) = 63.79\). 58 is the 64th percentile.

    2. Counting from the bottom of the list, there are three data values less than 25. 

      \(x = 3\). \(\dfrac{x + 0.5}{n}(100) = \dfrac{3 + 0.5}{29}(100) = 12.07\). Twenty-five is the 12thpercentile.

    Note: If the data value is not a duplicate, then these values should be the same. In the next exercise, you will be able to see where the calculations differ.

    Exercise \(\PageIndex{6}\)

    Listed are 30 ages for Academy Award winning best actors in order from smallest to largest.

    18; 21; 22; 25; 26; 27; 29; 30; 31, 31; 33; 36; 37; 41; 42; 47; 52; 55; 57; 58; 62; 64; 67; 69; 71; 72; 73; 74; 76; 77

    Find the percentiles for 47 and 31.

    Answer

    Using formula 1:

    Percentile for 47: Counting from the bottom of the list, there are 15 data values less than 47. There is one value of 47.

    \(x = 15\) and \(y = 1\). \(\dfrac{x + 0.5y}{n}(100) = \dfrac{15 + 0.5(1)}{30}(100) = 51.67\). 47 is the 52nd percentile.

    Percentile for 31: Counting from the bottom of the list, there are eight data values less than 31. There are two values of 31.

    \(x = 8\) and \(y = 2\). \(\dfrac{x + 0.5y}{n}(100) = \dfrac{8 + 0.5(2)}{30}(100) = 30\). 31 is the 30th percentile.

    Using formula 2:

    Percentile for 47: Counting from the bottom of the list, there are 15 data values less than 47.

    \(x = 15\). \(\dfrac{x + 0.5}{n}(100) = \dfrac{15 + 0.5}{30}(100) = 51.67\). 47 is the 52nd percentile.

    Percentile for 31: Counting from the bottom of the list, there are eight data values less than 31. 

    \(x = 8\). \(\dfrac{x + 0.5}{n}(100) = \dfrac{8 + 0.5}{30}(100) = 28.33\). 31 is the 29th percentile.

    Interpreting Percentiles, Quartiles, and Median

    A percentile indicates the relative standing of a data value when data are sorted into numerical order from smallest to largest. Percentages of data values are less than or equal to the pth percentile. For example, 15% of data values are less than or equal to the 15th percentile.

    • Low percentiles always correspond to lower data values.
    • High percentiles always correspond to higher data values.

    A percentile may or may not correspond to a value judgment about whether it is "good" or "bad." The interpretation of whether a certain percentile is "good" or "bad" depends on the context of the situation to which the data applies. In some situations, a low percentile would be considered "good;" in other contexts a high percentile might be considered "good". In many situations, there is no value judgment that applies.

    Understanding how to interpret percentiles properly is important not only when describing data, but also when calculating probabilities in later chapters of this text.

    GUIDELINE

    When writing the interpretation of a percentile in the context of the given data, the sentence should contain the following information.

    • information about the context of the situation being considered
    • the data value (value of the variable) that represents the percentile
    • the percent of individuals or items with data values below the percentile
    • the percent of individuals or items with data values above the percentile.
    Example \(\PageIndex{7}\)

    On a timed math test, the first quartile for time it took to finish the exam was 35 minutes. Interpret the first quartile in the context of this situation.

    Solution
    • Twenty-five percent of students finished the exam in 35 minutes or less.
    • Seventy-five percent of students finished the exam in 35 minutes or more.
    • A low percentile could be considered good, as finishing more quickly on a timed exam is desirable. (If you take too long, you might not be able to finish.)
    Exercise \(\PageIndex{7}\)

    For the 100-meter dash, the third quartile for times for finishing the race was 11.5 seconds. Interpret the third quartile in the context of the situation.

    Answer

    Twenty-five percent of runners finished the race in 11.5 seconds or more. Seventy-five percent of runners finished the race in 11.5 seconds or less. A lower percentile is good because finishing a race more quickly is desirable.

    Example \(\PageIndex{8}\)

    On a 20 question math test, the 70th percentile for number of correct answers was 16. Interpret the 70th percentile in the context of this situation.

    Solution
    • Seventy percent of students answered 16 or fewer questions correctly.
    • Thirty percent of students answered 16 or more questions correctly.
    • A higher percentile could be considered good, as answering more questions correctly is desirable.
    Exercise \(\PageIndex{8}\)

    On a 60 point written assignment, the 80th percentile for the number of points earned was 49. Interpret the 80th percentile in the context of this situation.

    Answer

    Eighty percent of students earned 49 points or fewer. Twenty percent of students earned 49 or more points. A higher percentile is good because getting more points on an assignment is desirable.

    Example \(\PageIndex{9}\)

    At a community college, it was found that the 30th percentile of credit units that students are enrolled for is seven units. Interpret the 30th percentile in the context of this situation.

    Solution

    • Thirty percent of students are enrolled in seven or fewer credit units.
    • Seventy percent of students are enrolled in seven or more credit units.
    • In this example, there is no "good" or "bad" value judgment associated with a higher or lower percentile. Students attend community college for varied reasons and needs, and their course load varies according to their needs.
    Exercise \(\PageIndex{9}\)

    During a season, the 40th percentile for points scored per player in a game is eight. Interpret the 40th percentile in the context of this situation.

    Answer

    Forty percent of players scored eight points or fewer. Sixty percent of players scored eight points or more. A higher percentile is good because getting more points in a basketball game is desirable.

    Example \(\PageIndex{10}\)

    Sharpe Middle School is applying for a grant that will be used to add fitness equipment to the gym. The principal surveyed 15 anonymous students to determine how many minutes a day the students spend exercising. The results from the 15 anonymous students are shown.

    0 minutes; 40 minutes; 60 minutes; 30 minutes; 60 minutes

    10 minutes; 45 minutes; 30 minutes; 300 minutes; 90 minutes;

    30 minutes; 120 minutes; 60 minutes; 0 minutes; 20 minutes

    Determine the following five values.

    • Min = 0
    • Q1 = 20
    • Med = 40
    • Q3 = 60
    • Max = 300

    If you were the principal, would you be justified in purchasing new fitness equipment?

    Solution

    Since 75% of the students exercise for 60 minutes or less daily, and since the IQR is 40 minutes (60 – 20 = 40), we know that half of the students surveyed exercise between 20 minutes and 60 minutes daily. This seems a reasonable amount of time spent exercising, so the principal would be justified in purchasing the new equipment.

    However, the principal needs to be careful. The value 300 appears to be a potential outlier.

    \[Q_{3} + 1.5(IQR) = 60 + (1.5)(40) = 120\].

    The value 300 is greater than 120 so it is a potential outlier. If we delete it and calculate the five values, we get the following values:

    • Min = 0
    • Q1 = 20
    • Q3 = 60
    • Max = 120

    We still have 75% of the students exercising for 60 minutes or less daily and half of the students exercising between 20 and 60 minutes a day. However, 15 students is a small sample and the principal should survey more students to be sure of his survey results.

    Z-Scores

    Definition: z-score

    A \(z\)-score is a standardized version of a raw score (\(x\)) that gives information about the relative location of that score within its distribution.

    The formula for converting a raw score into a \(z\)-score is:

    \[z=\dfrac{x-\mu}{\sigma} \]

    for values from a population and for values from a sample:

    \[z=\dfrac{x-\overline{X}}{s} \]

    As you can see, \(z\)-scores combine information about where the distribution is located (the mean/center) with how wide the distribution is (the standard deviation/spread) to interpret a raw score (\(x\)). Specifically, \(z\)-scores will tell us how far the score is away from the mean in units of standard deviations and in what direction.

    The value of a \(z\)-score has two parts: the sign (positive or negative) and the magnitude (the actual number). The sign of the \(z\)-score tells you in which half of the distribution the z-score falls: a positive sign (or no sign) indicates that the score is above the mean and on the right hand-side or upper end of the distribution, and a negative sign tells you the score is below the mean and on the left-hand side or lower end of the distribution. The magnitude of the number tells you, in units of standard deviations, how far away the score is from the center or mean. The magnitude can take on any value between negative and positive infinity, but for reasons we will see soon, they generally fall between -3 and 3.

    Let’s look at some examples.

    A \(z\)-score value of -1.0 tells us that this z-score is 1 standard deviation (because of the magnitude 1.0) below (because of the negative sign) the mean.

    A \(z\)-score value of 1.0 tells us that this \(z\)-score is 1 standard deviation above the mean.

    Thus, these two scores are the same distance away from the mean but in opposite directions.

    A \(z\)-score of -2.5 is two-and-a-half standard deviations below the mean and is therefore farther from the center than both of the previous scores, and a \(z\)-score of 0.25 is closer than all of the ones before.

    Generally, it is understood that the range of usual values is between two standard deviations, \(z=-2\) and \(z=2\). Z-scores outside of that range are considered unusual values. This does not necessarily mean they are outliers. To determiner whether a data value is an outlier, you need to use the method described earlier. 

    We can convert raw data scores into \(z\)-scores to get a better idea of where in the distribution those scores fall. Let’s say we get a score of 68 on an exam. We may be disappointed to have scored so low, but perhaps it was just a very hard exam. Having information about the distribution of all scores in the class would be helpful to put some perspective on ours. We find out that the class got an average score of 54 with a standard deviation of 8. To find out our relative location within this distribution, we simply convert our test score into a \(z\)-score.

    \[z=\dfrac{X-\mu}{\sigma}=\frac{68-54}{8}=1.75 \nonumber \]

    We find that we are 1.75 standard deviations above the average, above our rough cut off for close and far. Suddenly our 68 is looking pretty good!

    fig 4.2.1.png
    Figure \(\PageIndex{1}\): Raw and standardized versions of a single score

    Figure \(\PageIndex{1}\) shows both the raw score and the \(z\)-score on their respective distributions. Notice that the red line indicating where each score lies is in the same relative spot for both. This is because transforming a raw score into a \(z\)-score does not change its relative location, it only makes it easier to know precisely where it is.

    \(Z\)-scores are also useful for comparing scores from different distributions. Let’s say we take the SAT and score 501 on both the math and critical reading sections. Does that mean we did equally well on both? Scores on the math portion are distributed normally with a mean of 511 and standard deviation of 120, so our \(z\)-score on the math section is

    \[z_{math}=\dfrac{501-511}{120}=-0.08 \nonumber \]

    which is just slightly below average (note that use of “math” as a subscript; subscripts are used when presenting multiple versions of the same statistic in order to know which one is which and have no bearing on the actual calculation). The critical reading section has a mean of 495 and standard deviation of 116, so

    \[z_{C R}=\frac{501-495}{116}=0.05 \nonumber \]

    So even though we were almost exactly average on both tests, we did a little bit better on the critical reading portion relative to other people.

    Finally, \(z\)-scores are incredibly useful if we need to combine information from different measures that are on different scales. Let’s say we give a set of employees a series of tests on things like job knowledge, personality, and leadership. We may want to combine these into a single score we can use to rate employees for development or promotion, but look what happens when we take the average of raw scores from different scales, as shown in Table \(\PageIndex{1}\):

    Table \(\PageIndex{1}\): Raw test scores on different scales (ranges in parentheses).
    Raw Scores Job Knowledge (0 – 100) Personality (1 –5) Leadership (1 – 5) Average
    Employee 1 98 4.2 1.1 34.43
    Employee 2 96 3.1 4.5 34.53
    Employee 3 97 2.9 3.6 34.50

    Because the job knowledge scores were so big and the scores were so similar, they overpowered the other scores and removed almost all variability in the average. However, if we standardize these scores into \(z\)-scores, our averages retain more variability and it is easier to assess differences between employees, as shown in Table \(\PageIndex{2}\).

    Table \(\PageIndex{2}\): Standardized scores.
    \(z\)-Scores Job Knowledge (0 – 100) Personality (1 –5) Leadership (1 – 5) Average
    Employee 1 1.00 1.14 -1.12 0.34
    Employee 2 -1.00 -0.43 0.81 -0.20
    Employee 3 0.00 -0.71 0.30 -0.14

    Setting the scale of a distribution

    Another convenient characteristic of \(z\)-scores is that they can be converted into any “scale” that we would like. Here, the term scale means how far apart the scores are (their spread) and where they are located (their central tendency). This can be very useful if we don’t want to work with negative numbers or if we have a specific range we would like to present. The formulas for transforming \(z\) to \(x\) are:

    \[x=z \sigma+\mu \]

    for a population and

    \[x=z s+\overline{X} \]

    for a sample. Notice that these are just simple rearrangements of the original formulas for calculating \(z\) from raw scores.

    Let’s say we create a new measure of intelligence, and initial calibration finds that our scores have a mean of 40 and standard deviation of 7. Three people who have scores of 52, 43, and 34 want to know how well they did on the measure. We can convert their raw scores into \(z\)-scores:

    \[\begin{aligned} z &=\dfrac{52-40}{7}=1.71 \\ z &=\dfrac{43-40}{7}=0.43 \\ z &=\dfrac{34-40}{7}=-0.80 \end{aligned} \nonumber \]

    A problem is that these new \(z\)-scores aren’t exactly intuitive for many people. We can give people information about their relative location in the distribution (for instance, the first person scored well above average), or we can translate these \(z\) scores into the more familiar metric of IQ scores, which have a mean of 100 and standard deviation of 16:

    \[\begin{array}{l}{\mathrm{IQ}=1.71 * 16+100=127.36} \\ {\mathrm{IQ}=0.43 * 16+100=106.88} \\ {\mathrm{IQ}=-0.80 * 16+100=87.20}\end{array} \nonumber \]

    We would also likely round these values to 127, 107, and 87, respectively, for convenience.

     

    References

    1. Cauchon, Dennis, Paul Overberg. “Census data shows minorities now a majority of U.S. births.” USA Today, 2012. Available online at usatoday30.usatoday.com/news/...sus/55029100/1 (accessed April 3, 2013).
    2. Data from the United States Department of Commerce: United States Census Bureau. Available online at http://www.census.gov/ (accessed April 3, 2013).
    3. “1990 Census.” United States Department of Commerce: United States Census Bureau. Available online at http://www.census.gov/main/www/cen1990.html (accessed April 3, 2013).
    4. Data from San Jose Mercury News.
    5. Data from Time Magazine; survey by Yankelovich Partners, Inc.

    Review

    The values that divide a rank-ordered set of data into 100 equal parts are called percentiles. Percentiles are used to compare and interpret data. For example, an observation at the 50th percentile would be greater than 50 percent of the other obeservations in the set. Quartiles divide data into quarters. The first quartile (Q1) is the 25th percentile,the second quartile (Q2 or median) is 50th percentile, and the third quartile (Q3) is the the 75th percentile. The interquartile range, or IQR, is the range of the middle 50 percent of the data values. The IQR is found by subtracting Q1 from Q3, and can help determine outliers by using the following two expressions.

    • \(Q_{3} + IQR(1.5)\)
    • \(Q_{1} - IQR(1.5)\)

    Formula Review

    \[i = \dfrac{k}{100}(n+1) \nonumber\] or \[i = \dfrac{k}{100}(n) \nonumber\]

    where \(i\) = the ranking or position of a data value,

    • \(k\) = the kth percentile,
    • \(n\) = total number of data.

    Expression for finding the percentile of a data value: \(\left(\dfrac{x + 0.5y}{n}\right)(100)\) or  \(\left(\dfrac{x + 0.5}{n}\right)(100)\)

    where \(x =\) the number of values counting from the bottom of the data list up to but not including the data value for which you want to find the percentile,

    \(y =\) the number of data values equal to the data value for which you want to find the percentile,

    \(n =\) total number of data

    The formula for converting a raw score into a \(z\)-score is:

    \[z=\dfrac{x-\mu}{\sigma} \]

    for values from a population and for values from a sample:

    \[z=\dfrac{x-\overline{X}}{s} \]

    Glossary

    Interquartile Range
    or IQR, is the range of the middle 50 percent of the data values; the IQR is found by subtracting the first quartile from the third quartile.
    Outlier
    an observation that does not fit the rest of the data
    Percentile
    a number that divides ordered data into hundredths; percentiles may or may not be part of the data. The median of the data is the second quartile and the 50th percentile. The first and third quartiles are the 25th and the 75th percentiles, respectively.
    Quartiles
    the numbers that separate the data into quarters; quartiles may or may not be part of the data. The second quartile is the median of the data.

    This page titled 3.4: Measures of Position was last modified on Tue, 21 Jul 2026 02:54:53 GMT and is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by OpenStax via source content that was edited to the style and standards of the LibreTexts platform.