Skip to content

A repository run by the US CDC to collect forecasts of incident COVID-19 hospital admissions and emergency department visits.

License

Notifications You must be signed in to change notification settings

CDCgov/covid19-forecast-hub

Repository files navigation

COVID-19 Forecast Hub

This repository is designed to collect forecast data for the COVID-19 Forecast Hub run by the US CDC. The project collects forecast for two datasets:

  1. weekly new hospitalizations due to COVID-19, and
  2. weekly incident percentage of emergency department visits due to COVID-19 (optional, beginning June 18, 2025).

If you are interested in using these data for additional research or publications, please contact covidhub@cdc.gov for information regarding attribution of the source forecasts.

Nowcasts and Forecasts of Confirmed COVID-19 Hospital Admissions

During the submission period, participating teams will be invited to submit national- and jurisdiction-specific (all 50 states, Washington DC, and Puerto Rico) probabilistic nowcasts and forecasts of the weekly number of confirmed COVID-19 hospital admissions during the preceding epidemiological week ("epiweek"), the current epiweek, and the following three epiweeks.

The weekly total COVID-19 admissions counts can be found in the totalconfc19newadm column of the National Healthcare Safety Network (NHSN) Hospital Respiratory Data (HRD) dataset.

NHSN provides a preliminary release of each week's HRD data on Wednesdays here. Official weekly data is released on Fridays here. For more details on this dataset, its release schedule, and its schema, see the NHSN Hospital Respiratory Data page.

Nowcasts and Forecasts of Covid-19 Emergency Department Visits

Beginning June 18, 2025, the COVID-19 Forecast Hub will also accept probabilistic nowcasts and forecasts of the proportion of emergency department visits due to COVID-19. This new target represents COVID-19 as a proportion of emergency department (ED) visits, aggregated by epiweek (Sunday-Saturday) and jurisdiction (states, DC, United States). The numerator is the number of visits with a discharge diagnosis of COVID-19, and the denominator is total visits. This target is optional for any submitted location and forecast horizon.

The weekly percent of ED visits due to COVID-19 can be found in the percent_visits_covid column of the National Syndromic Surveillance Program (NSSP) Emergency Department Visits - COVID-19, Flu, RSV, Sub-state dataset. Although these numbers are reported in the percentage form, we will accept forecasts as decimal proportions (i.e., percent_visits_covid / 100). To obtain state-level data, we filter the dataset to include only the rows where the county column is equal to All.

We are working to make the Wednesday release of this dataset available on data.cdc.gov. Until then, we will update the dataset every Wednesday in the auxiliary-data/nssp-raw-data directory of our GitHub repository as a file named latest.parquet. These Wednesday data updates contain the same data that are published on Fridays at NSSP Emergency Department Visit trajectories and underlie the percentage ED visit reported on the PRISM Data Channel's Respiratory Activity Levels page, which is also refreshed every Friday. The data represent the information available as of Wednesday morning through the previous Saturday. For example, the most recent data available on the 2025-06-11 release will be for the week ending 2025-06-07.

Dates and Deadlines

The Challenge Period is rolling.

Participants will be asked to submit nowcasts and forecasts by 11PM USA Eastern Time each Wednesday (the "Forecast Due Date"). If it becomes necessary to change the Forecast Due Date or time deadline, CovidHub will notify participants at least one week in advance.

Weekly submissions (including file names) will be specified in terms of a "reference date": the Saturday following the Forecast Due Date. This is the last day of the USA/CDC epiweek (Sunday to Saturday) that contains the Forecast Due Date.

Please note the following updated deadlines during the holiday period:

  • Forecasts for reference date 2025-12-27 are due on 2025-12-29 (extended deadline), with expected data release on 2025-12-29 (holiday schedule).
  • Forecasts for reference date 2026-01-03 are due on 2026-01-04 (extended deadline), with expected data release on 2025-12-31 (regular schedule).

Prediction Targets and Horizons

Participating teams will be able to submit national- and jurisdiction-specific (all 50 states, Washington DC, and Puerto Rico) predictions for following targets.

Targets

  1. Quantile predictions for epiweekly total laboratory-confirmed COVID-19 hospital admissions.
  2. Individual forecast trajectories for epiweekly total laboratory-confirmed COVID-19 hospitalizations over time (i.e sampled trajectories).
  3. Quantile predictions for epiweekly percent of emergency department visits due to COVID-19.
  4. Individual forecast trajectories for epiweekly percent of emergency department visits due to COVID-19 over time (i.e sampled trajectories).

Targets 2, 3 and 4 are optional for any submitted location whereas target 1 (quantile predictions for epiweekly COVID-19 hospital admissions) is mandatory for any submitted location and forecast horizon. Teams are encouraged but not required to submit forecasts for all weekly horizons or for all locations.

Horizons

Teams can submit nowcasts or forecasts for these targets for the following temporal "horizons":

  • horizon = -1: the epiweek preceding the reference date
  • horizon = 0: the current epiweek
  • horizon = 1, 2, 3: each of the three upcoming epiweeks

Epiweeks

We use epiweeks as defined by the US CDC, which run Sunday through Saturday. The target_end_date for a prediction is the Saturday that ends the epiweek of interest. That is:

target_end_date = reference_date + (horizon * 7)

Standard software packages for R and Python can help you convert from dates to epiweeks and vice versa:

R

Python

Further submission information

Detailed guidelines for formatting and submitting forecasts are available in the model-output directory README. Detailed guidelines for formatting and submitting model metadata can be found in the model-metadata directory README.

Suggested workflow for first time submitters

Pull requests (PRs) into the Hub repository to register a new model or modify an existing model's metadata must always be reviewed and merged manually.

PR that submit forecasts for an existing model can be reviewed and merged automatically if the submission content passes automated validation checks and the submitting individual has been preregistered as an authorized submitter for the model.

To authorize one or more individuals to submit forecasts for a given model, add their github usernames to the designated_github_users field in the model's metadata.

To facilitate auto-merge of valid PRs, we suggest the following workflow:

  • Submit metadata first: Create a PR adding your model metadata file to the model-metadata directory by 4 PM USA Eastern Time on the Wednesday you plan to submit your first forecast.

  • Include designated_github_users: In your metadata YAML file, include the GitHub usernames of all team members responsible for forecast submission in the designated_github_users field. We use this to ensure changes to model outputs are made by valid model contributors.

Once initial metadata PR is approved and merged, subsequent PRs that submit forecasts will be merged automatically, provided all checks pass.

Note

Please sync your PR branch with the main branch using the Update branch button if your PR falls behind the main branch. This ensures the automerge action runs smoothly.

Alignment between CovidHub and FluSight

We have made changes from previous versions of the COVID-19 Forecast Hub challenges to align COVID-19 forecasting challenges with influenza forecasting run via the Flusight Forecast Hub.

Both Hubs will require quantile-based forecasts of epiweekly incident hospital admissions reported into NHSN, with the same -1:3 week horizon span. Both will accept these forecasts via Github pull requests of files formatted according to the standard hubverse schema. The Hubs also plan to share a forecast deadline of 11pm USA/Eastern time on Wednesdays.

Acknowledgments

This repository follows the guidelines and standards outlined by the hubverse, which provides a set of data formats and open source tools for modeling hubs.

CDC GitHub Guidelines

General Disclaimer This repository was created for use by CDC programs to collaborate on public health related projects in support of the CDC mission. GitHub is not hosted by the CDC, but is a third party website used by CDC and its partners to share information and collaborate on software. CDC use of GitHub does not imply an endorsement of any one particular service, product, or enterprise.

Related Documents

Public Domain Standard Notice

This repository constitutes a work of the United States Government and is not subject to domestic copyright protection under 17 USC § 105. This repository is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication. All contributions to this repository will be released under the CC0 dedication. By submitting a pull request you are agreeing to comply with this waiver of copyright interest.

License Standard Notice

The repository utilizes code licensed under the terms of the Apache Software License and therefore is licensed under ASL v2 or later.

This source code in this repository is free: you can redistribute it and/or modify it under the terms of the Apache Software License version 2, or (at your option) any later version.

This source code in this repository is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Apache Software License for more details.

The source code forked from other open source projects will inherit its license.

Privacy Standard Notice

This repository contains only non-sensitive, publicly available data and information. All material and community participation is covered by the Disclaimer and Code of Conduct. For more information about CDC's privacy policy, please visit http://www.cdc.gov/other/privacy.html.

Contributing Standard Notice

Anyone is encouraged to contribute to the repository by forking and submitting a pull request. (If you are new to GitHub, you might start with a basic tutorial.) By contributing to this project, you grant a world-wide, royalty-free, perpetual, irrevocable, non-exclusive, transferable license to all users under the terms of the Apache Software License v2 or later.

All comments, messages, pull requests, and other submissions received through CDC including this GitHub page may be subject to applicable federal law, including but not limited to the Federal Records Act, and may be archived. Learn more at http://www.cdc.gov/other/privacy.html.

Records Management Standard Notice

This repository is not a source of government records, but is a copy to increase collaboration and collaborative potential. All government records will be published through the CDC web site.

About

A repository run by the US CDC to collect forecasts of incident COVID-19 hospital admissions and emergency department visits.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 31

Languages