NivaarExam PrepOfficial exam papers ↗

18-Env-B7 Environmental Sampling and Analysis · December 2016

Question 4 of 6: Dotplot, Boxplot and Skewness of Nitrate Data

Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)

Notes on this paper

National Exams — December 2016 — 04-Env-B7 / Environmental Sampling and Analysis. 3 hours duration; closed book (approved non-programmable Sharp or Casio calculator only); t-distribution table supplied. Part A (Questions 1–3) is compulsory; Part B (Questions 4–6, "answer any 2") – all three are solved below for completeness.

Reference texts. Walpole, Myers, Myers & Ye, Probability & Statistics for Engineers and Scientists (statistical hypothesis testing, exploratory data analysis); Davis & Cornwell, Introduction to Environmental Engineering (6th ed.) (sampling design, QA/QC, environmental monitoring programs); U.S. EPA Guidance for Choosing a Sampling Design for Environmental Data Collection (QA/G-5S); Canadian Council of Ministers of the Environment (CCME) monitoring and reporting guidance.

Question 4: Dotplot, Boxplot and Skewness of Nitrate Data (20 marks)

Question text not reproduced: the examination questions are © Engineers and Geoscientists BC. Open the official past paper (linked at the top of this page) to read the question, then follow the worked solution below.

(a) Dotplot, Boxplot, and Fences

Given. $n=13$ nitrate values (sorted): 2, 5, 8, 8, 9, 13, 16, 24, 45, 48, 57, 89, 120 (mg/L). Printed summary: Median $=16.0$, $Q_1=8.0$, $Q_3=52.0$.

Find. The dotplot and boxplot (with fences marked) and whether any outliers exist.

Approach. The standard (Tukey) boxplot fences sit $1.5\times IQR$ beyond each quartile; any data point outside a fence is flagged as an outlier and plotted individually, with the whisker itself drawn only to the most extreme non-outlier data value.

  1. Interquartile range. $IQR=Q_3-Q_1=52.0-8.0=44.0$.
  2. Fences. $\text{Lower fence}=Q_1-1.5\,IQR=8.0-66.0=-58.0$; $\text{Upper fence}=Q_3+1.5\,IQR=52.0+66.0=\boxed{118.0}$.
  3. Outlier check. No data point lies below the (negative) lower fence, so the lower whisker runs to the minimum, 2. The maximum value, 120, exceeds the upper fence (118.0), so 120 is flagged as a single high outlier; the next-highest value, 89, sits below the fence, so the upper whisker is drawn only to 89 – never to the fence itself.
020406080100120NO3 concentration (mg/L)DotplotBoxplot120 (outlier)upper fence = 118.0
Fig. 2 – Dotplot (top) and boxplot (bottom) of the 13 nitrate values on a shared axis (the two "8" readings are stacked). The box spans $Q_1$ to $Q_3$ with the median line; whiskers extend only to the most extreme non-outlier data value on each side (2 and 89); the point beyond the upper fence (120) is plotted separately as an outlier, with the fence itself shown as a reference line, not a whisker endpoint.

(b) Characteristics, Quartile Skew, and Coefficient of Skewness

Approach. Compare the mean to the median and compute both a robust (quartile-based) and a classical (moment-based) skewness measure to characterize the shape of the distribution.

  1. Quartile (Bowley) skew. $S_Q=\dfrac{(Q_3-\text{Median})-(\text{Median}-Q_1)}{Q_3-Q_1}=\dfrac{Q_3+Q_1-2\,\text{Median}}{Q_3-Q_1}=\dfrac{52.0+8.0-2(16.0)}{44.0}=\dfrac{28.0}{44.0}$ $$S_Q=\boxed{0.636}$$
  2. Coefficient of skewness (Pearson). $SK=\dfrac{3(\text{Mean}-\text{Median})}{StDev}=\dfrac{3(34.3-16.0)}{36.4}=\dfrac{54.9}{36.4}$ $$SK=\boxed{1.51}$$

Both measures are positive and substantial, confirming what the boxplot already shows visually: the upper whisker (89) is far longer than the lower whisker (down to 2), the box itself sits toward the low end of the whisker span, and the mean (34.3) lies well above the median (16.0) – the single high value pulls the mean upward while the median, being robust to extremes, stays close to the bulk of the data. The data are therefore strongly right (positively) skewed, with one flagged high outlier (120 mg/L) driving most of that skew; a lognormal or other right-skewed model, rather than a normal distribution, would be the appropriate choice for any further statistical inference on this data set, consistent with the "environmental data are typically right-skewed" characteristic identified in Question 1(b).

Final results – Question 4
ItemResult
IQR44.0 mg/L
Lower / upper fence−58.0 / 118.0 mg/L
Outlier(s)120 mg/L (high outlier)
Whisker ends2 mg/L (low) / 89 mg/L (high)
Quartile skew, $S_Q$0.636 (right-skewed)
Coefficient of skewness, $SK$1.51 (strongly right-skewed)