18-Env-B7 Environmental Sampling and Analysis · May 2017
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
National Exams, May 2017 — 04-Env-B7, Environmental Sampling and Analysis (3 hours, closed book, approved non-programmable calculator only, statistical tables provided). The paper instructs "answer all 4 questions in Part A and any 2 questions in Part B"; as a study resource this solution answers all 7 questions in full, including all three Part B questions.
Reference texts: Walpole, Myers, Myers & Ye, Probability & Statistics for Engineers and Scientists (sampling designs, hypothesis tests, EDA/boxplots, ANOVA); Davis & Cornwell, Introduction to Environmental Engineering, ch. 2 (sampling protocol, QA/QC, monitoring program design).
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.
Part (a) — Given. Ten pre-treatment and ten post-treatment concentration readings, both taken at the same location before and after a single treatment event.
| i | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|---|---|
| Pre | 68.3 | 66.5 | 62.9 | 64.8 | 66.6 | 69.4 | 65.2 | 62.5 | 70.4 | 62.2 |
| Post | 61.8 | 60.1 | 60.2 | 63.5 | 68.5 | 61.8 | 62.1 | 61.2 | 65.1 | 68.9 |
| $d_i=$pre$-$post | 6.5 | 6.4 | 2.7 | 1.3 | −1.9 | 7.6 | 3.1 | 1.3 | 5.3 | −6.7 |
Find. Whether post-treatment concentrations are significantly lower than pre-treatment concentrations at α=0.05 (one-tailed).
Approach — test selection. Both readings were taken at the same location, one before and one after treatment, so the ten pre/post pairs share a common sampling occasion — each post-treatment value is naturally matched to its own pre-treatment value, not to an arbitrary one. This is a paired (matched-pairs) design, not two independent samples, so the correct test is a paired (one-sample-on-the-differences) t-test on $d_i=\text{pre}_i-\text{post}_i$, testing $H_0:\mu_d=0$ against $H_1:\mu_d>0$. Using an independent two-sample t-test here would ignore the location-to-location variability common to both readings and understate the evidence for a treatment effect.
| Quantity | Value |
|---|---|
| Test used | Paired (matched-pairs) t-test on $d_i=\text{pre}_i-\text{post}_i$ |
| $\bar d$ | 2.560 |
| $s_d$ | 4.376 |
| $t_{calc}$ (df=9) | 1.850 |
| $t_{0.05,9}$ (critical, one-tailed) | 1.833 |
| Conclusion at α=0.05 | Reject $H_0$ — post-treatment values are significantly lower |
Part (b) — assumption and graphical check. The main assumption of the paired t-test is that the differences $d_i$ are (approximately) normally distributed — the individual pre- and post-treatment readings themselves need not be normal, only their paired differences. This is checked graphically with a normal probability (quantile-quantile) plot of the ten differences: each $d_i$ is plotted against its corresponding standard-normal quantile (rank-based plotting position $z_{(i)}$ for $P_i=(i-0.5)/n$); if the differences are normal, the points fall close to a straight line.
Part (c) — alternative tests. If the normality of the differences were in doubt, the natural nonparametric alternatives for paired data are the Wilcoxon signed-rank test (ranks the absolute differences and tests whether positive and negative ranks are balanced — more powerful when the differences are roughly symmetric) and the simpler sign test (counts only how many differences are positive vs. negative, using the binomial distribution — fewer assumptions but less powerful). If the two sets of readings were instead treated as unrelated (unpaired) samples, an independent two-sample t-test (or its nonparametric analogue, the Mann–Whitney U / Wilcoxon rank-sum test) could be used, though this discards the pairing information and is not the preferred choice here.