Skip to main content

Grade 12 · 36 weeks

Statistics and Data Science

Investigate Iowa weather records, run a randomized experiment, and defend a data-driven decision with a forecast you can reproduce.

Start Week 33

Term 4 · Decisions and reproducible data science

Keep the test data out of training

Fit and choose a model using training information. Reserve separate data for testing. For a forecast, a time-ordered split ensures the model cannot learn from the future.

Read-aloud is not available in this browser. You can still read this text on screen.

Worked example

For a seasonal baseline, predict May 2024 from May 2023 at 2.67 inches. With the reported 7.55 inches, the residual is 4.88 inches.

Math investigation

Use 2023 as training. Compare a constant baseline equal to the 2023 mean with a seasonal baseline that uses the same month in 2023 as its prediction. Set both rules before scoring 2024. Compute mean absolute error over the 12 test months and note which months drove each error.

Open dataset · NOAA Iowa monthly precipitation, 2023–2024 (new tab)

Keep for review. Two documented forecasting rules, a frozen year split and a reproducible test table.

Why keep 2024 out of model selection before the comparison?
Plan the week
  1. Read the lesson and explain its main idea in your own words.
  2. Mark the given information, define variables or labels, and identify what you need to find.
  3. Complete the investigation and keep the evidence listed above.
  4. Verify your result with a second representation, a substitution, or a justified claim.
  5. Answer the week’s check, then explain your reasoning using your evidence.

Keep the work that leads to each answer, including diagrams, assumptions and checks. Use educator feedback to revise your written solutions.

Academy curriculum for family use. Course credit is subject to school and educator approval.

Quest progressProgress recorded