Skip to content

Commit e8499c4

Browse files
committed
why comparing to final data
1 parent 44396be commit e8499c4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

vignettes/backtesting.Rmd

+5
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,11 @@ forecasts <- doctor_visits |>
198198
We need truth data to compare our forecast against. We can construct it by using `epix_as_of()` to snapshot
199199
the archive at the last available date[^1].
200200

201+
_Note:_ We always want to compare our forecasts to actual (most recently reported) values because that is the outcome we care about.
202+
`as_of` data is useful for understanding why we're getting the forecasts we're getting, but `as_of` values are not the real outcome
203+
Therefore, it's not meaningful to use them for evaluating the performance of a forecast.
204+
Unfortunately, it's not uncommon for revisions to cause poor (final) performance of a forecaster that was decent at the time of the forecast.
205+
201206
```{r compare_single_with_result}
202207
forecasts |>
203208
inner_join(

0 commit comments

Comments
 (0)