← All paths · 全部路径

Predict tomorrow, then measure the error

Anyone who can read a public weather page. Use any large city; it need not be where you live.

每天先写下对明天的预测,再诚实地量误差;学会和简单的基准比,而不是和感觉比。

A sample plan written with AI help, not a person’s story. Found a mistake? Say so in the room. · 示范计划,AI 协助编写,不是真人经历。发现错误,请到讨论室说。

Weeks 1–13 · 第 1–13 周
  1. 1Choose one large city and one public source for its daily high. Write an exact rule for reading the number.

    Check: Apply the rule twice to yesterday, an hour apart. Different numbers mean the rule is incomplete.

  2. 2Each evening, write tomorrow's high before looking at any forecast. Add the time you wrote it.

    Check: Every row needs a writing time before the outcome. Label late rows invalid instead of repairing them.

  3. 3For each day, compute error as forecast minus actual, keeping the sign.

    Check: Forecast 20 and actual 23 must give −3. Too warm must always come out positive.

  4. 4Compute the mean absolute error for your rows. Practice first on errors 2, −1, 4, −3.

    Check: The practice answer is 2.5. Getting 0.5 means the minus signs were not removed.

  5. 5Compute the mean signed error too, and say whether your forecasts run warm or cold.

    Check: Practice on 2, −1, 4, −3: 0.5. Explain how zero here could hide large errors.

  6. 6Compute the root mean square error and compare it with the mean absolute error.

    Check: For 2, −1, 4, −3 it is about 2.74. It can never be below the mean absolute error.

  7. 7Plot forecast and actual on one graph, then errors on a second graph with a zero line.

    Check: Choose one date and trace it back to the table. A one-day shift is the usual fault.

  8. 8Record the official next-day forecast at one fixed hour, after writing your own.

    Check: Check issue time and target date. A same-day update must not count as a next-day forecast.

  9. 9Compute the simplest baseline: tomorrow equals today. Apply it to every day already logged.

    Check: Its first day has no forecast. If your table shows one, future or invented data entered.

  10. 10Add a second baseline: the average of the latest three highs.

    Check: For 10, 13, 16 it predicts 13. Confirm it never uses the day being predicted.

  11. 11Compare yourself, both baselines and the official forecast using only days when all four exist.

    Check: All four counts must match. Recompute with your missing days added to the others: what changes?

  12. 12Find the single worst miss for each method and recompute averages without that day.

    Check: If the order of methods changes, write that the comparison depends on one day.

  13. 13Review: hand your week 1 reading rule ten new dates, then redo week 4. Write which wording or calculation changed.

    Check: Recalculate five old errors by hand. Any mismatch must be traced to data, sign or date.

Weeks 14–26 · 第 14–26 周
  1. 14Find the median and range of your recent highs, and note how each reacts to one extreme value.

    Check: For 10, 11, 12, 13, 30 the median is 12 and range 20. Replace 30 by 14.

  2. 15Compute standard deviation by hand for 10, 12, 14, then for your last fourteen highs.

    Check: Dividing by 3 gives about 1.63; dividing by 2 gives 2. State which your software uses.

  3. 16Alongside each forecast, write a low and a high bound you expect to hold 8 days in 10.

    Check: Bounds must be fixed beforehand. Decide now whether hitting a bound exactly counts as inside.

  4. 17Count how often actual values fell inside your bounds over at least fourteen days.

    Check: Far fewer than 8 in 10 suggests bounds too narrow. Write the count, not only a percentage.

  5. 18Compare bound widths on the days you felt sure and the days you did not.

    Check: If widths are the same, your stated doubt carries no information. Check errors in both groups.

  6. 19Begin recording a probability from 0 to 1 for measurable rain tomorrow, with rain defined in millimeters.

    Check: Classify a trace amount and a missing reading using the definition alone. Any hesitation means rewriting it.

  7. 20Compute the Brier score: the average of (probability − outcome)², with rain as 1 and dry as 0.

    Check: For 0.7: rain gives 0.09, dry gives 0.49. Lower is better.

  8. 21Add two rain baselines: always 0.5, and the share of rainy days before your log began.

    Check: Always 0.5 must average exactly 0.25. If not, the outcomes are not coded 0 and 1.

  9. 22Group rain forecasts into low, middle and high probability. Compare each group average with actual rain frequency.

    Check: Write group sizes beside the results. A group under ten days cannot show much.

  10. 23Compute skill as 1 − your error divided by the baseline error, for temperature.

    Check: Errors 2 and 2.5 give 0.2. Equal errors give 0, and a worse forecast is negative.

  11. 24Download or copy one past year of daily highs for your city from a free public record.

    Check: Count rows, list missing dates, and compare three random days with another view of that source.

  12. 25Write a cleaning log for that year: units, gaps, impossible values and repeated dates.

    Check: Keep the raw file untouched. Running the cleaning twice must give the same result as once.

  13. 26Review: run the week 11 comparison on the newest month only. Place both tables together and explain what changed.

    Check: Use identical definitions. Report the number of shared days before claiming any method improved.

Weeks 27–39 · 第 27–39 周
  1. 27Run the two temperature baselines over the whole past year with a spreadsheet or program.

    Check: Recompute three days by hand, including a month boundary and one day after a gap.

  2. 28Split the year by time: the first nine months for choosing methods, the rest held back.

    Check: List every decision made before looking at the held-back part. A random split would mix neighboring days.

  3. 29Search your calculations for any place where a forecast uses information unavailable at writing time.

    Check: Change the target day value wildly. The forecast for that day must not move.

  4. 30Build a blend: a × today + (1 − a) × the average of the first nine months.

    Check: At a = 1 it equals the simplest baseline; at a = 0 it is constant. Test both.

  5. 31Try a from 0 to 1 in steps of 0.1 on the nine months. Choose one value.

    Check: Open the held-back months once. Write the error even if it is worse than expected.

  6. 32Add a separate correction for each weekday and compare errors on both parts of the year.

    Check: Improvement only on the first part is fitting noise. No weather cause is expected for weekdays.

  7. 33Plot today against tomorrow and compute the correlation for the nine months.

    Check: Test your formula: 1, 2, 3 with 2, 4, 6 gives 1; with 6, 4, 2 gives −1.

  8. 34Fit a least-squares line predicting tomorrow from today, first on (1, 2), (2, 3), (3, 5).

    Check: The practice slope is 1.5 and intercept 1/3. Fitted errors must sum to zero, apart from rounding.

  9. 35Plot the line's errors against date and against predicted value.

    Check: Look for a run of one sign or growing spread. Either shows something the line misses.

  10. 36Add one more input known the evening before, such as pressure or cloud cover.

    Check: Shuffle that input and refit. If held-back error barely differs, the input is not helping.

  11. 37Refit at the start of each month using only earlier days, then predict that month.

    Check: Print the last training date and first forecast date. The first must always be earlier.

  12. 38Separate errors into four seasons and compare each with the baseline in the same season.

    Check: State the day count per season. Does one overall average hide a season where you lose?

  13. 39Review: set fresh week 16 bounds for fourteen days. Against week 17, write what changed in coverage and width.

    Check: Report coverage and average width together. Wider bounds alone can raise coverage without more knowledge.

Weeks 40–52 · 第 40–52 周
  1. 40Record forecasts for 1, 3 and 5 days ahead, keeping each target date clear.

    Check: Verify one target by counting calendar days. Average error should usually grow; investigate if it falls.

  2. 41Estimate uncertainty in the error gap between two methods by resampling whole weeks 1000 times.

    Check: If the middle 95 percent of gaps includes zero, write that the order is unsettled.

  3. 42Compute the chance that a fair coin favors one method on at least 9 of 10 days.

    Check: It is 11/1024, about 0.011. Explain why neighboring weather days may not behave like separate tosses.

  4. 43Average your forecast with the official one and measure the result.

    Check: Its absolute error can never exceed the average of the two absolute errors. A violation means miscalculation.

  5. 44Before a new 14-day test, write the methods, main error measure and stopping day. Start recording.

    Check: Hide the rules from view and restate them. Anything you could later bend needs exact wording.

  6. 45During the test, write one reason beside each forecast and change no method.

    Check: Compare each reason with later observations. Label cause supported, unsupported or impossible to tell.

  7. 46Finish the test and write one page, including every missed day and every planned comparison.

    Check: Match each planned item to a reported number. Missing items and unplanned additions must be labeled.

  8. 47Suppose carrying a raincoat costs 1 and getting wet costs 4. Find when carrying costs less on average.

    Check: Carry when rain probability exceeds 0.25. At exactly 0.25 both average costs must be 1.

  9. 48Apply your whole temperature method to the daily low without tuning it first.

    Check: Compare skill, not raw error, for low and high. Name one assumption that did not transfer.

  10. 49Replace guessed bounds with the 10th and 90th percentiles of past errors added to the forecast.

    Check: Errors must be actual minus forecast here. With the other sign, the bounds shift the wrong way.

  11. 50Arrange files so raw data, cleaning, forecasts and results are four separate steps that can rerun.

    Check: Delete only the results and rebuild. Compare every number; hand edits will show as differences.

  12. 51Write a methods page: question, data rule, baselines, errors, limits, and when the forecast should not be trusted.

    Check: Follow only that page for one day. Every question you had to ask shows a missing detail.

  13. 52Review: take fourteen saved past days and forecast each as in week 2. Write what changed since your first forecasts.

    Check: Reveal one day at a time. Report skill, bias and coverage, including any measure that became worse.