Preprint
Article

This version is not peer-reviewed.

Retrospective Prediction of COVID 19 Emergency Department Visits Using SARS CoV 2 Wastewater Activity

Submitted:

15 October 2026

Posted:

20 October 2026

You are already at the latest version

Abstract
Aim: This registered retrospective study assessed whether SARS-CoV-2 wastewater activity improved prediction of COVID-19 emergency department visit percentages beyond recent clinical trends. Subject and Methods: Public CDC wastewater and aggregate emergency department data were extracted October 12, 2026. Expanding-window ordinary least squares models compared clinical history and seasonality with the same predictors plus three-week mean log wastewater activity. Paired one-week targets spanned July 5, 2025–September 12, 2026. Equal-state mean absolute error (MAE) improvement received a 95% hierarchical bootstrap interval. The outcome was a published aggregate clinical surveillance percentage. Results: Thirty-nine states contributed 2,383 paired predictions. Baseline and enhanced MAE averaged 0.09454 and 0.09139 percentage points. Improvement was 0.00315 percentage points (95% interval −0.00290 to 0.00968). Mean relative improvement was 3.68% (−2.69% to 11.73%), below the prespecified 10% benchmark. Longer-horizon and shifted-predictor intervals also crossed zero. Conclusion: The registered primary comparison did not establish improved prediction accuracy. These results use revised historical data and do not establish real-time forecasting performance or validated warning intervals.
Keywords: 
;  ;  ;  ;  

Introduction

Wastewater monitoring offers a community-level indicator of viral activity that can be considered alongside clinical surveillance. CDC publishes a wastewater viral activity level (WVAL) designed to support comparisons within and across monitoring locations (CDC 2026a). Emergency department surveillance provides a different indicator: the percentage of participating visits associated with a respiratory illness diagnosis (CDC 2026b). These measures have different catchments and should not be interpreted as interchangeable estimates of population infection prevalence.
A temporal association between wastewater and clinical activity does not by itself demonstrate useful prediction. Recent emergency department values may already capture much of the short-term information in a local epidemic trajectory. The relevant comparison is therefore the incremental accuracy obtained by adding wastewater to a model using clinical history and seasonality, while retaining identical training pairs and evaluation targets.
This secondary-data study registered that comparison before real-data model evaluation . The primary question was whether a constrained wastewater predictor reduced one-week mean absolute error. Secondary questions examined a 10% practical benchmark, longer horizons, robustness to data and model choices, and comparison with a same-state wastewater predictor shifted 52 weeks into the past. The evaluation uses revised historical data, not reconstructed reporting vintages.

Methods

Registration and Analytic Timing

The scientific plan was registered before evaluation at https://doi.org/10.17605/OSF.IO/9MYPJ. The approved October 12, 2026 update corrected H5 to H4 and documented exclusion of an earlier cross-state benchmark before association or prediction-error analysis. Before registration, metadata, example records, preliminary coverage and source snapshots had been inspected; some actual values were visible. Complete data blindness is not claimed. Synthetic tests preceded the post-registration extraction and evaluation. The approved response was verified before fitting.
The implementation was locally hashed before extraction, but no final analytic-code package was attached to the registration. This is a departure from the local protocol instruction to upload code and hashes with registration. A subsequent reproducibility deposit must be dated after analysis and cannot serve as evidence of a public pre-analysis code timestamp. An obsolete drafting sentence is documented in the provenance record. No scientific model setting was changed after real-data fitting began.

Sources and Population

The sources were CDC datasets atcp-73re for site-level wastewater activity and rdmq-nq56 for emergency department respiratory illness surveillance (CDC 2026c, d). Wastewater extraction retained SARS-CoV-2 and exact provenance labels State_Territory, CDC_Verily and CDC_Biobot. Mixed, unknown, missing and WastewaterSCAN labels were excluded. Emergency department records were restricted to trend_source State and county All, using the unsmoothed percent_visits_covid field. National, territorial and health-service-area outcomes were excluded. The candidate population comprised the 50 states and District of Columbia.
The analytic extraction began October 12, 2026 at 15:38:48 UTC. Source pages, query strings, timestamps and hashes were frozen. Study target dates began January 6, 2024. The endpoint was the latest Saturday at least 28 days before extraction, capped at October 3, 2026; this gave September 12, 2026. Earlier 2023 records were retained for warm-up and shifted-predictor construction. The buffer limits use of very recent reports but does not establish that historical values are final.

Variables and Data Quality

The outcome was the weekly percentage of emergency department visits diagnosed with COVID-19 on a 0–100 percentage-point scale. For each state-week, wastewater activity was the unweighted median of finite positive WVAL measurements from at least three distinct eligible sites. The primary wastewater regressor was the mean of natural log activity in the origin week and its two preceding weeks. The logarithm is a transformation of the published activity index, not the logarithm of raw viral concentration. This analytically restricted median need not equal the official CDC state series.
Only published environmental and aggregate clinical fields were accessed; underlying patient records were unavailable. CDC defines diagnosed COVID-19 using diagnostic codes and clinical terms (CDC 2026b); this study used its published percentage without reclassifying encounters. Wastewater and clinical records were joined deterministically on canonical state names and exact Saturday dates, with unique state-week keys checked before merging. No persons or facilities were linked. Six source checks tested resulting values, not patient diagnosis validity. The full Saturday-ending calendar was retained before lag construction. Missing data were not imputed. Exact duplicates collapsed to one observation; conflicting wastewater site-state-week-pathogen groups and conflicting clinical state-week outcomes were excluded. Statistical extremeness alone was not grounds for removal. Source provenance, site membership, reported population served, missingness and exclusions were retained for audit. Six source-to-panel records were reconciled before fitting, including wastewater medians and unsmoothed clinical percentages.

Models and Evaluation

Models were fitted separately by state. The baseline included an intercept, emergency department percentages at the origin and one week earlier, and annual sine and cosine terms evaluated at the target week. Seasonal phase was the number of weeks from January 6, 2024, with a 52-week period. The enhanced model added the three-week wastewater regressor, giving six coefficients including the intercept. All non-intercept predictors were standardized using only each fit’s training means and standard deviations. No interactions or outcome-dependent feature selection were used.
Expanding-window rolling evaluation began with targets on July 5, 2025, after an initial 78-calendar-week span ending June 28. For every prediction, training outcome target dates were restricted to January 6, 2024 through the prediction origin. Baseline and enhanced models used identical complete pairs. A state required at least 64 complete training origins at the first evaluation origin, at least 80% completeness over possible evaluation origins and at least 40 complete evaluation targets. Secondary horizons received separate eligibility checks.
Ordinary least squares fits required nonzero predictor variance, full column rank and a condition number no greater than 30 for the standardized design including the intercept. If either fit failed, the paired target was omitted and logged. Both models’ predictions were clipped to 0–100 for scoring. Unclipped predictions were retained for the supplementary adjusted squared-error comparison. A persistence comparator predicted the origin week’s clinical percentage.

Estimands and Uncertainty

Within each state, mean absolute error (MAE) was calculated on paired targets. The primary estimand was the equal-state average of baseline MAE minus enhanced MAE; positive values favor the wastewater model. Relative skill was computed within each state as one minus enhanced MAE divided by baseline MAE, then averaged equally across states. The relative average is not the ratio of aggregate MAEs. The prespecified 10% benchmark was an analyst-chosen practical threshold, not an established clinical threshold.
Two-sided 95% percentile intervals used 2,000 hierarchical bootstrap replicates with seed 20261011. States were sampled with replacement, together with shared four-week moving blocks of the full evaluation calendar. Paired errors and missingness masks were resampled jointly. H1 required the primary absolute-improvement interval to lie entirely above zero. H1 was the sole primary confirmatory comparison; other intervals were supplementary and not adjusted for multiplicity. Bootstrap dependence adjustment is approximate, and these states do not constitute a probability sample of all jurisdictions.

Prespecified Supplementary Analyses

Additional horizons, transformed and ridge models, reporting delays, site-coverage and aggregation rules, bootstrap block lengths, fixed coefficients and a 52-week shifted benchmark were prespecified. The current and shifted models used identical complete training pairs and targets. A supplementary Clark–West statistic used unclipped predictions (Clark and West 2007). Descriptive change correlations covered leads −4 to +4 without significance tests. Complete definitions, penalties, dates and eligibility requirements are in Supplementary Methods.

Results

Cohort and Quality Checks

Thirty-nine states met primary eligibility and contributed 2,383 paired predictions over 63 possible target weeks, July 5, 2025 through September 12, 2026. Each state contributed 52–63 predictions. Twelve candidate jurisdictions were excluded. They were Alabama, Alaska, District of Columbia, Florida, Idaho, Louisiana, Mississippi, Nevada, North Dakota, South Dakota, Tennessee and Vermont; failed coverage thresholds are listed in Supplementary Table S2. Initial complete training counts among included states ranged from 64 to 78. Of 2,457 possible evaluation targets in these states, 74 had incomplete origins, leaving 2,383 scored targets; no additional primary rank, variance or conditioning failures were logged. Regional inclusion was uneven: 10 of 12 Midwest jurisdictions, 8 of 9 Northeast jurisdictions, 11 of 17 South jurisdictions and 10 of 13 West jurisdictions qualified (Table 1). Complete state-level eligibility, coverage and failure records are supplied in the supplement.
Across 5,499 state-weeks in the 39-state study calendar, 11 ED outcomes and 77 wastewater aggregates were missing; lag completeness is evaluated separately. Available ED percentages had median 0.56 (interquartile range 0.30–1.10); available wastewater activity had median 3.33 (1.60–6.34). Age, sex and individual clinical characteristics were not available. State-specific coverage, missingness and available-site summaries are in Supplementary Table S3.
The extraction contained 198,340 selected-source wastewater rows and 9,996 state clinical rows, including warm-up and immature dates. The panel audit retained 195,651 valid wastewater site rows and 9,843 clinical state-weeks after applicable processing; 11 clinical rows had missing outcomes. No conflicting measurement or outcome rows were recorded. Because wastewater extraction was already filtered by provenance, separate aggregate source counts describe excluded sources rather than interpreting an empty row-level exclusion list as proof that no such records existed.

Primary Comparison

Equal-state baseline MAE was 0.094538 percentage points and enhanced MAE was 0.091388. The reduction was 0.003150 percentage points (95% interval −0.002898 to 0.009676). The interval crossed zero, so H1 was not supported under the registered rule. Mean relative improvement was 3.68% (95% interval −2.69% to 11.73%); median state skill was 4.42%. State differences are displayed in Figure 1, and the equal-state relative interval in Figure 2. The mean did not reach the 10% benchmark, while the interval remained compatible with both deterioration and a gain above that threshold. These results do not demonstrate equivalence or absence of all useful wastewater information.
27 of the 39 states had positive observed MAE improvement; this count is descriptive. Equal-state mean RMSE was 0.12481 percentage points for the baseline and 0.12596 for the enhanced model. Persistence MAE averaged 0.09129 percentage points. There were no clipped baseline predictions and 13 clipped enhanced predictions. No state had zero baseline MAE. All 2,000 primary bootstrap replicates were valid.

Secondary and Sensitivity Findings

At two weeks, 38 states contributed 2,323 comparisons, with mean relative gain 2.83% and an absolute-gain interval from −0.00948 to 0.01783 percentage points. At three weeks, 36 states contributed 2,197 comparisons, with relative gain 2.03% and an interval from −0.01180 to 0.02205. Neither established positive absolute improvement. The matched current-versus-shifted comparison included 32 states and 1,967 targets: shifted MAE was 0.08191 and current MAE 0.08008 percentage points, with improvement 0.00183 (95% interval −0.00162 to 0.00610).
Primary uncertainty remained compatible with zero under two-week blocks (−0.00196 to 0.00800 percentage points) and eight-week blocks (−0.00434 to 0.01059). The coverage, aggregation, delayed-input, fixed-coefficient and final-two-week sensitivity intervals also crossed zero. Complete estimates and counts are in Supplementary Table S1.
Square-root models yielded a 14.11% relative gain against their own baseline, with an absolute-gain interval above zero (0.00346 to 0.03570 percentage points). Ridge models yielded a 28.09% gain (absolute-gain interval 0.03140 to 0.10983). Their enhanced MAEs were 0.11349 and 0.17814 percentage points, respectively, compared with 0.09139 for primary enhanced OLS. Both used the same 39-state, 2,383-target evaluation set. A larger relative improvement against a weaker baseline therefore did not indicate a better final prediction model. These supplementary findings did not replace H1.
The Clark–West adjusted squared-error mean was 0.001633 squared-percentage-point units (95% interval 0.000133 to 0.003141). This positive interval pertains to a different loss statistic and does not establish the primary MAE claim. All prespecified descriptive lead correlations and overlap counts are provided, including negative leads; no lead peak is reported as a validated warning interval.

Discussion

Main Finding of This Study

Adding wastewater produced a small, uncertain MAE gain under the registered primary rule. The finding concerns incremental value beyond clinical history and seasonality, rather than the overall usefulness of wastewater surveillance. Twenty-seven states improved descriptively, but the average interval crossed zero. The result neither establishes practical improvement nor proves equivalence.

What Is Already Known on This Topic

A Texas metagenomic wastewater study found temporal alignment with emergency department and insurance-claims indicators, while acknowledging that smoothing with future observations limits interpretation of descriptive leads (Bi et al. 2026). A New York prediction study examined wastewater-based COVID-19 hospital-admission forecasts (Hill et al. 2023). These studies support investigation of clinical prediction, but differ in outcomes, geography, measurement and evaluation design. Correlation or hospitalization prediction does not establish incremental accuracy for state emergency department percentages under the present specification.

What This Study Adds

The study evaluates a preregistered, matched-target comparison across 39 states and reports null and adverse findings. Recent clinical values form an informative baseline. Larger relative gains in square-root and ridge sensitivities came with higher enhanced-model MAE than primary OLS on the same targets. The positive Clark–West interval concerns adjusted squared error and does not reverse the MAE conclusion. The seasonally aligned shifted comparison was inconclusive on its smaller matched cohort. Results support testing wastewater alongside actual reporting availability before claiming an operational warning advantage.

Limitations of This Study

The most important limitation is revision of historical inputs. CDC states that WVAL methodology updates and baseline recalibrations are applied to historical activity values (CDC 2026a). Restricting training target dates prevents future outcome leakage within the frozen dataset, but it cannot remove future information embedded in revised surveillance inputs or reconstruct past availability. The reported accuracy is therefore retrospective, even when a prediction uses only earlier dated rows. The 28-day buffer does not solve this vintage problem.
Wastewater sites were not sampled to represent state residents, and catchments differed from emergency department surveillance coverage. Eligibility excluded 12 jurisdictions and was geographically uneven. Equal-state weighting answers an average-state question, not a population-weighted national question. Reported site populations may overlap and cannot be added to estimate unique coverage. Public data completeness and diagnosis practices can vary over time.
The evaluation span was limited and weekly errors were temporally correlated. Shared-block resampling approximately preserves common waves, but bootstrap intervals are not guarantees of correct coverage or broad population generalizability. No formal power estimate was established. The models also used a prespecified constrained lag average and were not optimized over alternatives. Supplementary analyses involved multiple comparisons; their unadjusted intervals warrant cautious interpretation.
Finally, the public implementation deposit occurred after analysis, later than planned, even though local hashes were retained before extraction. The dated registration and approved form support the specified scientific plan, but the locally frozen implementation should not be represented as publicly archived with that registration. This distinction is material to reproducibility and is retained in the release record.

Conclusions

Across 39 eligible states, adding a three-week wastewater activity predictor did not establish lower one-week mean absolute error under the registered primary decision rule. Average relative improvement was 3.68%, below the prespecified 10% benchmark, with uncertainty spanning zero. Future operational claims require prospective or historical-vintage evaluation that accounts for actual reporting availability.

Data availability

Frozen source inputs, code, analytic panel, manifests, checks and results are publicly deposited at https://doi.org/10.17605/OSF.IO/3M6FE. The registered plan is available at https://doi.org/10.17605/OSF.IO/9MYPJ. The deposit was released after analysis on October 12, 2026; it was not part of the original registration attachments.

Ethics

This study analyzed only openly available CDC wastewater surveillance measurements and aggregate state-level emergency department surveillance percentages. No individual patient records, identifiable private information or human biological samples were accessed. No participants were recruited and no intervention was assigned. No institutional ethics approval or formal exemption determination was obtained or is claimed. Public source datasets are identified in the Methods and References.

Funding

No external funding was received for this study.

Competing interests

The author declares no competing interests.

Author Contributions and assistance

Jeremiah Oghuan reviewed the study methods, analyses and interpretations, reviewed and approved the manuscript and accepts responsibility for the work. OpenAI ChatGPT and Codex assisted with implementation, execution, verification and drafting; AI tools are not authors.

References

  1. Bi, K; Sandoval, M; Nguyen, T; et al. Temporal alignment of wastewater signals with clinical indicators of respiratory illness postpandemic, Texas, USA. Emerg Infect Dis 2026, 32(13), 43–52. [Google Scholar] [CrossRef] [PubMed]
  2. Centers for Disease Control and Prevention (CDC) (2026a) Using the Wastewater Viral Activity Level. Available online: https://www.cdc.gov/wastewater/about/wval.html (accessed on 12 October 2026).
  3. Centers for Disease Control and Prevention (CDC) (2026b) Companion Guide NSSP ED Data on Respiratory Illness. Available online: https://www.cdc.gov/nssp/php/onboarding-resources/companion-guide-ed-data-respiratory-illness.html (accessed on 12 October 2026).
  4. Centers for Disease Control and Prevention (CDC). Wastewater viral activity levels. Dataset atcp-73re. 2026c. Available online: https://data.cdc.gov/resource/atcp-73re.json.
  5. Centers for Disease Control and Prevention (CDC). Emergency department respiratory illness surveillance. Dataset rdmq-nq56. 2026d. Available online: https://data.cdc.gov/resource/rdmq-nq56.json.
  6. Clark, TE; West, KD. Approximately normal tests for equal predictive accuracy in nested models. J Econom 2007, 138(1), 291–311. [Google Scholar] [CrossRef]
  7. Hill, DT; Alazawi, MA; Moran, EJ; et al. Wastewater surveillance provides 10-days forecasting of COVID-19 hospitalizations superior to cases and test positivity: a prediction study. Infect Dis Model 2023, 8(4), 1138–1150. [Google Scholar] [CrossRef] [PubMed]
Figure 1. State MAE improvement for one-week retrospective predictions. Positive values favor adding wastewater. Bars are descriptive state estimates without separate confirmatory tests. MAE denotes mean absolute error; values are percentage points.
Figure 1. State MAE improvement for one-week retrospective predictions. Positive values favor adding wastewater. Bars are descriptive state estimates without separate confirmatory tests. MAE denotes mean absolute error; values are percentage points.
Preprints 238646 g001
Figure 2. Equal-state mean relative MAE improvement and 95% shared-block bootstrap interval. The dashed line marks the analyst-chosen 10% benchmark.
Figure 2. Equal-state mean relative MAE improvement and 95% shared-block bootstrap interval. The dashed line marks the analyst-chosen 10% benchmark.
Preprints 238646 g002
Table 1. Candidate and eligible jurisdictions by Census region.
Table 1. Candidate and eligible jurisdictions by Census region.
Region Candidate Eligible Excluded
Midwest 12 10 2
Northeast 9 8 1
South 17 11 6
West 13 10 3
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.