PadhaikoAll subjects

Past exam question: 2081 Chaitra (Regular), Q5(b)

Foundation of Data Science · 4 marks

Open in the Padhaiko app

Topic: Types of Analytics & Exploratory Data Analysis

Question

Here is the 10 random sample data of graduate student age from Sociology and Political Science program class.

Data#12345
Age (Women)3529322336
Age (Men)2825292423

Using the same data above, draw a box-plot for depiction of all 10 student age distribution. You need to show all calculations and label the plot properly.

Solution

Order Statistics and Five-Number Summary Calculation: Arranging all student ages in non-decreasing order:

  1. Minimum ():
  1. Median ( / 50th Percentile): Since is even, the median is the arithmetic average of the two middle observations ( and ):
  1. Lower Quartile ( / 25th Percentile): The lower half comprises the first 5 observations: . The median of this subset is the middle (3rd) value:

(Using interpolation : ).

  1. Upper Quartile ( / 75th Percentile): The upper half comprises the last 5 observations: . The median of this subset is the middle (8th overall) value:

(Using interpolation : ).

  1. Maximum ():

Interquartile Range (IQR) and Outlier Fence Analysis:

Since all sample observations () lie strictly within , there are no outliers in the dataset. Consequently, the whiskers extend to the actual observed sample minimum () and maximum ().

Box-Plot Depiction and Key Labels: The distribution spans ages from to . The central box captures the middle of the student cohort between and , with the median line situated at :

Age Scale:
       20        23 24          28.5        32          36        40
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|--->
                   |               |           |
             Min   |     Box (IQR = 8)         |   Max
              23   Q1            Median        Q3   36
               *---|=============|=============|---*
                   [24           28.5          32]
                   <------- Left Whisk: 1 ------>
                   <------------ Right Whisk: 4 ------------>
ComponentPlotted Coordinate / ValueInterpretation
Left Whisker EndSample minimum age (no lower outliers)
Left Box Edge ()First quartile: of students are years old
Center Dividing Line ()Sample median: of students are below years
Right Box Edge ()Third quartile: of students are years old
Right Whisker EndSample maximum age (no upper outliers)
Answer:

The box-plot consists of a central box spanning from to with the median marked at , and whiskers extending to the sample extremes at (left) and (right).

All past exam questions for Foundation of Data Science