LESSON 01
Audit and summarise monitoring records
Count included, missing and excluded records. Calculate a mean, median and sample standard deviation for the valid records.
Expected result
6 valid; 1 missing; 1 excluded. Mean 15 µg/m³; median 13 µg/m³.
Explain why neither the mean nor median fills the missing day.
Inspect monitoring.csv
LESSON 02
Choose the denominator for a rate
Compare 12 passes in 1 hour, 18 in 3 hours and a valid zero in 2 hours.
Expected result
Pooled rate: 30 ÷ 6 = 5 passes/hour. Equal-visit mean: (12 + 6 + 0) ÷ 3 = 6 passes/hour.
As a result, these estimate different summaries. Neither gives the number of bats.
Inspect effort.csv
LESSON 03
Preserve pairing when measuring change
Subtract before from after at each of four fictional water-sampling sites. Therefore, keep each pair together.
Expected result
Changes: −2, −1, −3 and +1 mg/L. Mean site change: −1.25 mg/L.
A before–after difference alone does not demonstrate that a treatment caused the change.
Inspect paired_water.csv
LESSON 04
Average sound energy, not dB numbers
Combine two consecutive 30-minute intervals at 60 and 70 dB(A), with the same measurement basis.
Expected result
Equivalent level across the hour: 67.40 dB(A). The arithmetic mean, 65 dB(A), is unsuitable here.
This is a duration-weighted equivalent level, not simultaneous source addition or a noise impact assessment.
Inspect sound.csv
LESSON 05
Calculate an index and handle invalid inputs
Calculate (NIR − red) ÷ (NIR + red) using already-scaled, synthetic reflectances.
Expected result
0.50 NIR and 0.10 red give 0.6667. However, a zero denominator produces a blank output, not zero.
Clouds, shadows, scale factors and mixed pixels need their own checks. NDVI does not establish habitat condition.
Inspect reflectance.csv
LESSON 06
Distinguish bias from prediction error
Compare paired predicted and observed heights. Calculate error as predicted minus observed.
Expected result
Errors +1, −1, +2 and −2 m give bias 0 m, MAE 1.5 m and RMSE 1.5811 m.
Therefore, zero average bias does not imply accurate predictions. Assessment needs representative, independent validation.
Inspect validation.csv
Every calculation is implemented in both supplied scripts. The language changes; the question, units, inclusion rules and expected answer stay the same.