{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/forecasting-covid-19-counts-at-a-single","title":"Forecasting COVID-19 Counts At A Single Hospital: A Hierarchical Bayesian Approach","arxiv_id":"2104.09327","date":"2021-04-14","proceeding":null,"authors":["Alexandra Hope Lee","Panagiotis Lymperopoulos","Joshua T. Cohen","John B. Wong","Michael C. Hughes"],"abstract":"We consider the problem of forecasting the daily number of hospitalized COVID-19 patients at a single hospital site, in order to help administrators with logistics and planning. We develop several candidate hierarchical Bayesian models which directly capture the count nature of data via a generalized Poisson likelihood, model time-series dependencies via autoregressive and Gaussian process latent processes, and share statistical strength across related sites. We demonstrate our approach on public datasets for 8 hospitals in Massachusetts, U.S.A. and 10 hospitals in the United Kingdom. Further prospective evaluation compares our approach favorably to baselines currently used by stakeholders at 3 related hospitals to forecast 2-week-ahead demand by rescaling state-level forecasts.","url_abs":"https://arxiv.org/abs/2104.09327v1","url_pdf":"https://arxiv.org/pdf/2104.09327v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"forecasting-covid-19-counts-at-a-single","repo_url":"https://github.com/tufts-ml/single-hospital-count-forecasting","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"time-series-1","task_name":"Time Series"},{"task_slug":"time-series","task_name":"Time Series Analysis"}],"methods":[{"method_slug":"gaussian-process","method_name":"Gaussian Process"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2104.09327","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2104.09327"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/tufts-ml/single-hospital-count-forecasting","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":4},"by_repo_kind":{"official":{"samples":4,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"61e36daa3570f731","entry":"csv_file","repo":"tufts-ml/single-hospital-count-forecasting","repo_kind":"official","path":"src/arg_types.py","file_url":"https://github.com/tufts-ml/single-hospital-count-forecasting/blob/HEAD/src/arg_types.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"61e36daa3570f731"}},{"code_sha256_prefix":"2df522c635c454f8","entry":"genpoisson_rvs","repo":"tufts-ml/single-hospital-count-forecasting","repo_kind":"official","path":"src/GenPoisson.py","file_url":"https://github.com/tufts-ml/single-hospital-count-forecasting/blob/HEAD/src/GenPoisson.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2df522c635c454f8"}},{"code_sha256_prefix":"f1ede5c7ff025d3f","entry":"json_file","repo":"tufts-ml/single-hospital-count-forecasting","repo_kind":"official","path":"src/arg_types.py","file_url":"https://github.com/tufts-ml/single-hospital-count-forecasting/blob/HEAD/src/arg_types.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f1ede5c7ff025d3f"}},{"code_sha256_prefix":"a779226d7abf066c","entry":"pdf_file","repo":"tufts-ml/single-hospital-count-forecasting","repo_kind":"official","path":"src/arg_types.py","file_url":"https://github.com/tufts-ml/single-hospital-count-forecasting/blob/HEAD/src/arg_types.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a779226d7abf066c"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}