<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.0 20040830//EN" "journalpublishing.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="2.0" xml:lang="en" article-type="research-article"><front><journal-meta><journal-id journal-id-type="nlm-ta">JMIR Public Health Surveill</journal-id><journal-id journal-id-type="publisher-id">publichealth</journal-id><journal-id journal-id-type="index">9</journal-id><journal-title>JMIR Public Health and Surveillance</journal-title><abbrev-journal-title>JMIR Public Health Surveill</abbrev-journal-title><issn pub-type="epub">2369-2960</issn><publisher><publisher-name>JMIR Publications</publisher-name><publisher-loc>Toronto, Canada</publisher-loc></publisher></journal-meta><article-meta><article-id pub-id-type="publisher-id">v12i1e91163</article-id><article-id pub-id-type="doi">10.2196/91163</article-id><article-categories><subj-group subj-group-type="heading"><subject>Original Paper</subject></subj-group></article-categories><title-group><article-title>Using Over-the-Counter Retail Medication Sales to Detect and Track Influenza-Like Illnesses Including Novel Diseases: Surveillance Modeling Study</article-title></title-group><contrib-group><contrib contrib-type="author" corresp="yes"><name name-style="western"><surname>Ye</surname><given-names>Ye</given-names></name><degrees>MSPH, PhD</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Espino</surname><given-names>Jessi</given-names></name><degrees>MS, MD</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Aronis</surname><given-names>John M</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Hochheiser</surname><given-names>Harry</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Michaels</surname><given-names>Marian G</given-names></name><degrees>MPH, MD</degrees><xref ref-type="aff" rid="aff2">2</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Cooper</surname><given-names>Gregory F</given-names></name><degrees>MD, PhD</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib></contrib-group><aff id="aff1"><institution>Department of Biomedical Informatics, University of Pittsburgh</institution><addr-line>3420 Forbes Avenue, 8th Floor Murdoch Building</addr-line><addr-line>Pittsburgh</addr-line><addr-line>PA</addr-line><country>United States</country></aff><aff id="aff2"><institution>UPMC Children's Hospital of Pittsburgh</institution><addr-line>Pittsburgh</addr-line><addr-line>PA</addr-line><country>United States</country></aff><contrib-group><contrib contrib-type="editor"><name name-style="western"><surname>Mavragani</surname><given-names>Amaryllis</given-names></name></contrib><contrib contrib-type="editor"><name name-style="western"><surname>Sanchez</surname><given-names>Travis</given-names></name></contrib></contrib-group><contrib-group><contrib contrib-type="reviewer"><name name-style="western"><surname>Gertz</surname><given-names>Autumn</given-names></name></contrib><contrib contrib-type="reviewer"><name name-style="western"><surname>Gupta</surname><given-names>Leena</given-names></name></contrib></contrib-group><author-notes><corresp>Correspondence to Ye Ye, MSPH, PhD, Department of Biomedical Informatics, University of Pittsburgh, 3420 Forbes Avenue, 8th Floor Murdoch Building, Pittsburgh, PA, 15213, United States, 1 4129252746; <email>yey5@pitt.edu</email></corresp></author-notes><pub-date pub-type="collection"><year>2026</year></pub-date><pub-date pub-type="epub"><day>21</day><month>10</month><year>2026</year></pub-date><volume>12</volume><elocation-id>e91163</elocation-id><history><date date-type="received"><day>09</day><month>01</month><year>2026</year></date><date date-type="rev-recd"><day>18</day><month>08</month><year>2026</year></date><date date-type="accepted"><day>19</day><month>08</month><year>2026</year></date></history><copyright-statement>&#x00A9; Ye Ye, Jessi Espino, John M. Aronis, Harry Hochheiser, Marian G. Michaels, Gregory F. Cooper. Originally published in JMIR Public Health and Surveillance (<ext-link ext-link-type="uri" xlink:href="https://publichealth.jmir.org">https://publichealth.jmir.org</ext-link>), 21.10.2026. </copyright-statement><copyright-year>2026</copyright-year><license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by/4.0/"><p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (<ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link>), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR Public Health and Surveillance, is properly cited. The complete bibliographic information, a link to the original publication on <ext-link ext-link-type="uri" xlink:href="https://publichealth.jmir.org">https://publichealth.jmir.org</ext-link>, as well as this copyright and license information must be included.</p></license><self-uri xlink:type="simple" xlink:href="https://publichealth.jmir.org/2026/1/e91163"/><abstract><sec><title>Background</title><p>Traditional disease surveillance systems often rely on clinical or laboratory-confirmed data, which may delay detection of emerging outbreaks. The National Retail Data Monitor (NRDM), established in 2002, collects anonymized over-the-counter (OTC) health product sales data from more than 28,000 retail outlets across the United States and provides a complementary data source for syndromic surveillance.</p></sec><sec><title>Objective</title><p>This study evaluated the use of NRDM data for detecting and tracking influenza-like illness (ILI), including purchasing patterns suggestive of novel disease outbreaks.</p></sec><sec sec-type="methods"><title>Methods</title><p>NRDM data from Allegheny County, Pennsylvania, collected between 2016 and 2021, were analyzed using a probabilistic modeling framework to estimate daily ILI activity from OTC purchasing patterns. An expectation-maximization algorithm was applied to data from the training period (June 2016-May 2019) to estimate conditional probabilities of OTC product purchases under ILI and non-ILI conditions. These estimates were then applied to daily sales data from the test period (June 2019-December 2021) to infer daily ILI counts. The framework was further extended into a monitoring system, termed NRDM Tracker, which uses daily log-likelihoods and false discovery rate&#x2013;adjusted <italic>P</italic> values to detect statistically significant anomalies in purchasing behavior.</p></sec><sec sec-type="results"><title>Results</title><p>NRDM-derived ILI estimates were moderately correlated with emergency department (ED)&#x2013;based ILI counts (<italic>r</italic>=0.66). Compared with other OTC product categories (eg, thermometers and antifever medications), cough and cold medications showed the strongest association with ILI-related purchasing behavior and higher estimated purchase probability under ILI conditions (0.792) than under non-ILI conditions (0.695). During the early phase of the COVID-19 pandemic in March 2020 in Allegheny County, when COVID-19 testing capacity was limited and public awareness and health-seeking behaviors were rapidly evolving, NRDM-based ILI signals increased before corresponding rises in confirmed ED-based COVID-19 counts. Moreover, NRDM Tracker identified significant anomalies in OTC purchasing behavior during major outbreak periods, including a pronounced decline in log-likelihood in March 2020 corresponding to the onset of the COVID-19 pandemic. Multiple product categories exhibited statistically significant deviations in sales during these periods.</p></sec><sec sec-type="conclusions"><title>Conclusions</title><p>OTC product sales data, analyzed using probabilistic modeling and anomaly detection methods, can provide timely insights into population-level health activity and may help identify anomalies associated with emerging disease outbreaks. NRDM-based surveillance systems may complement traditional clinical surveillance and strengthen local and national biosurveillance capabilities.</p></sec></abstract><kwd-group><kwd>public health surveillance</kwd><kwd>over-the-counter medication sales</kwd><kwd>emergency department visits</kwd><kwd>influenza-like illness</kwd><kwd>novel diseases</kwd><kwd>disease outbreak detection</kwd><kwd>anomaly detection</kwd><kwd>probabilistic modeling</kwd><kwd>expectation-maximization algorithm</kwd></kwd-group></article-meta></front><body><sec id="s1" sec-type="intro"><title>Introduction</title><p>Detection of disease outbreaks is critical to public health surveillance, particularly in the early identification of emerging outbreaks. Traditional surveillance approaches, such as sentinel systems operated by the Centers for Disease Control and Prevention (CDC), rely on confirmed case reports from selected health care systems. While these methods provide accurate clinical insights, they can suffer from reporting delays, limiting their effectiveness for timely response.</p><p>To support timely detection, public health surveillance has evolved to incorporate diverse data streams, including electronic health records (EHRs) [<xref ref-type="bibr" rid="ref1">1</xref>-<xref ref-type="bibr" rid="ref4">4</xref>], search engine queries [<xref ref-type="bibr" rid="ref5">5</xref>,<xref ref-type="bibr" rid="ref6">6</xref>], and social media [<xref ref-type="bibr" rid="ref7">7</xref>,<xref ref-type="bibr" rid="ref8">8</xref>], and participatory surveillance systems [<xref ref-type="bibr" rid="ref9">9</xref>-<xref ref-type="bibr" rid="ref14">14</xref>] in which individuals directly report symptoms through digital platforms. EHR-based surveillance enables real-time insights from structured health care data but depends on integration with clinical systems. Search engine&#x2013;based surveillance leverages aggregated query trends, for example, spikes in Google searches for influenza symptoms, to estimate disease activity in near real time. Social media&#x2013;based surveillance mines user-generated content, such as symptom-related posts, to detect unusual patterns in health behavior. In contrast, participatory surveillance relies on structured, self-reported data rather than passively collected online content. Despite their promise, these approaches&#x2014;particularly those based on passively collected online data&#x2014;can be sensitive to shifts in platform algorithms and user behavior, and their spatial resolution may be limited for local outbreak detection, which may reduce their reliability for long-term surveillance.</p><p>An additional, underused approach involves analyzing over-the-counter (OTC) product sales, such as thermometer sales, which can reflect self-treatment behaviors [<xref ref-type="bibr" rid="ref15">15</xref>]. Since these purchases often precede formal medical care, anomalies in OTC sales can signal emerging population-level health events. To support early outbreak detection nationwide, the National Retail Data Monitor (NRDM) [<xref ref-type="bibr" rid="ref16">16</xref>] was launched in December 2002 as a novel public health surveillance system. Operated by the University of Pittsburgh, the NRDM has collected anonymous sales data on selected OTC health care products, such as antipyretics (fever-reducing medications), cough and cold medications, and thermometers from more than 28,000 participating retail pharmacies, grocery stores, and mass merchandise outlets across the United States. The NRDM was developed to enhance public health capacity for syndromic surveillance, enabling rapid detection of unusual health events through deviations in consumer purchasing behavior. More than 800 public health officials in 49 states, the District of Columbia, and US territories have had access to NRDM through secure online portals [<xref ref-type="bibr" rid="ref17">17</xref>], supporting them to track anomalies in consumer health behavior in near real time.</p><p>Since the launch of the NRDM, studies have been conducted to enhance its functionality from multiple perspectives. Methodological advances include the development of fast spatial and space-time scan algorithms and the integration of user feedback mechanisms [<xref ref-type="bibr" rid="ref18">18</xref>]. Additionally, application-oriented studies have examined the correlation between OTC sales and health care use, including influenza-like illness (ILI) at urgent care centers [<xref ref-type="bibr" rid="ref19">19</xref>]. Numerous studies have validated the value of NRDM in complementing traditional surveillance systems for investigations of gastrointestinal illness outbreaks&#x2014;including those in the San Francisco Bay Area [<xref ref-type="bibr" rid="ref20">20</xref>], and in New York City in the context of a massive power outage in August 2003 [<xref ref-type="bibr" rid="ref21">21</xref>]. NRDM data have also been used to help detect spikes in unintentional poisonings [<xref ref-type="bibr" rid="ref22">22</xref>], support syndromic surveillance during the San Diego wildfires in 2003 [<xref ref-type="bibr" rid="ref23">23</xref>], and as a component of New York City&#x2019;s syndromic surveillance systems [<xref ref-type="bibr" rid="ref24">24</xref>].</p><p>We previously developed ILI Tracker [<xref ref-type="bibr" rid="ref25">25</xref>], a Bayesian surveillance method that uses emergency department (ED) data to estimate the daily frequency of multiple ILIs, including potential novel diseases. As an illustrative example, retrospective analysis indicated that applying ILI Tracker to 2014 data would have enabled early detection of an enterovirus D68 outbreak in Allegheny County [<xref ref-type="bibr" rid="ref25">25</xref>].</p><p>Building on this foundation, we sought to determine whether prediagnostic, population-level signals&#x2014;specifically, OTC product purchases&#x2014;could support outbreak detection. To this end, we developed and evaluated a similar probabilistic modeling system that uses NRDM data to detect outbreaks of known ILI diseases. The system also seeks to identify unusual purchasing patterns that may indicate the onset of novel diseases by detecting statistically significant deviations in OTC product purchases relative to expected purchases for known disease models. We call this system NRDM Tracker. We evaluated the NRDM Tracker system on five years of real OTC data in Allegheny County.</p><p>The objectives of this study were to (1) evaluate whether OTC purchasing patterns can be used to estimate population-level ILI activity, (2) assess the agreement between NRDM-derived ILI estimates and ED-based ILI surveillance measures, and (3) determine whether anomaly detection methods applied to OTC sales data can identify unusual purchasing patterns associated with emerging disease outbreaks. We hypothesized that OTC purchasing patterns contain sufficient information to estimate population-level ILI activity and that model-derived ILI estimates based on OTC sales data would track temporal changes in population-level ILI activity well. We further hypothesized that OTC sales data would be correlated with ED-based ILI activity and that significant deviations from expected purchasing patterns could provide early signals of novel disease outbreaks.</p></sec><sec id="s2" sec-type="methods"><title>Methods</title><sec id="s2-1"><title>Research Data</title><p>We retrieved OTC product sales for Allegheny County, Pennsylvania (270 stores) from the NRDM database, covering the period from June 1, 2016, to December 30, 2021. NRDM product codes were aggregated into 7 analytically defined OTC categories (<xref ref-type="table" rid="table1">Table 1</xref>). The full time series was partitioned into a training interval (June 1, 2016-May 31, 2019) and a held-out test interval (June 1, 2019-December 30, 2021). The training interval was used exclusively for model parameter estimation (refer to the <italic>Model Development</italic> section), whereas the test interval was reserved for out-of-sample model evaluation and prospective abnormal event detection (refer to the subsequent sections under <italic>Methods</italic>).</p><table-wrap id="t1" position="float"><label>Table 1.</label><caption><p>Seven over-the-counter (OTC) product categories derived from National Retail Data Monitor (NRDM) sales data collected from 270 retail stores in Allegheny County, Pennsylvania, United States (June 2016&#x2013;December 2021).</p></caption><table id="table1" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Category</td><td align="left" valign="bottom">Description</td></tr></thead><tbody><tr><td align="left" valign="top">Cough or cold</td><td align="left" valign="top">All cough and cold related medications, including pediatric and adult formulations of liquids and tablets, bronchial remedies, chest rubs, nasal sprays, and throat lozenges.</td></tr><tr><td align="left" valign="top">Antifever adult</td><td align="left" valign="top">All products intended for adults that are taken orally for the relief of fever</td></tr><tr><td align="left" valign="top">Antifever pediatric</td><td align="left" valign="top">All products intended for children that are taken orally for the relief of fever</td></tr><tr><td align="left" valign="top">Baby or child electrolyte</td><td align="left" valign="top">Solutions of primarily electrolytes and glucose used for fluid replacement in children with dehydration; includes products in liquid and freezer pop form</td></tr><tr><td align="left" valign="top">Thermometer</td><td align="left" valign="top">All thermometers, designed for both pediatric and adult use, including electronic and &#x201C;ear&#x201D; (also known as tympanic membrane) thermometers used for health reasons; also includes nonintrusive fever detectors and replacement sheaths for electronic thermometers</td></tr><tr><td align="left" valign="top">Antidiarrheal</td><td align="left" valign="top">Products taken for the relief of diarrhea; all sizes and forms (tablets, liquids, etc); includes bismuth (Pepto Bismol and like products), attapulgite, subsalicylate, and loperamide hydrochloride products</td></tr><tr><td align="left" valign="top">Hydrocortisone product</td><td align="left" valign="top">Anti-inflammatory topical corticosteroids used to relieve itching rashes</td></tr></tbody></table></table-wrap><p>To support the method that we used for estimating parameters in the NRDM Tracker model, we derived the daily incidence rate of ILI in the population, which serves as the prior probabilities in the model. To do so, we obtained daily counts of ED encounters associated with ILI-related viruses in the region, including adenovirus, rhinovirus or enterovirus, influenza, human metapneumovirus (HMPV), parainfluenza (PIV), and respiratory syncytial virus (RSV). For each day, we calculated the proportion of encounters related to ILI among all ED encounters. ILI counts were identified based on either positive laboratory test results or relevant <italic>ICD</italic> (<italic>International Classification of Diseases</italic>) diagnosis codes (<xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>). The participating EDs included (1) University of Pittsburgh Medical Center (UPMC) Presbyterian University Hospital, (2) UPMC Children&#x2019;s Hospital of Pittsburgh, (3) UPMC Shadyside, (4) McKeesport Hospital, and (5) UPMC Mercy Hospital. These 5 sites collectively represent a significant fraction (about 60%) of ED visits in Allegheny County and 30%&#x2010;40% of western Pennsylvania. The research data were sourced from the University of Pittsburgh Neptune Research Data Warehouse [<xref ref-type="bibr" rid="ref26">26</xref>].</p><p>The NRDM and ED datasets share strong geographic and population overlap, as both focus on Allegheny County, Pennsylvania. We retrieved OTC sales data from 270 retail stores across the county, while the 5 EDs used for estimating prior disease probabilities also serve this region. The coverage of the NRDM for the Pittsburgh metropolitan statistical area, including Allegheny County, is 73% of all retail stores in the area. Although the datasets are not individually linked, their shared regional focus supports the use of ED-based ILI daily incidence estimates in helping model NRDM purchasing patterns.</p></sec><sec id="s2-2"><title>Model Development</title><p>Since many OTC products are used to relieve symptoms rather than treat specific diseases, we grouped conditions into two broad categories: (1) ILI diseases and (2) all other diseases, which we label as OTHER. The main abbreviations we used to describe our methods are summarized in <xref ref-type="table" rid="table2">Table 2</xref>.</p><table-wrap id="t2" position="float"><label>Table 2.</label><caption><p>Mathematical notation used in the NRDM<sup><xref ref-type="table-fn" rid="table2fn1">a</xref></sup> tracker probabilistic surveillance model for estimating influenza-like illness activity from OTC<sup><xref ref-type="table-fn" rid="table2fn2">b</xref></sup> product sales.</p></caption><table id="table2" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Symbols</td><td align="left" valign="bottom">Descriptions</td></tr></thead><tbody><tr><td align="left" valign="top"><inline-formula><mml:math id="ieqn1"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>D</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula></td><td align="left" valign="top">All OTC sales data during the surveillance time period</td></tr><tr><td align="left" valign="top"><inline-formula><mml:math id="ieqn2"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>D</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>p</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula></td><td align="left" valign="top">A single OTC product bought by a customer with purchase <italic>p</italic>; if a customer buys multiple products in one transaction, each product is treated as a separate purchase.<break/><inline-formula><mml:math id="ieqn3"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>D</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>p</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2208;</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtext>cough or cold</mml:mtext><mml:mo>,</mml:mo><mml:mtext>antifever for adult</mml:mtext><mml:mo>,</mml:mo><mml:mtext>antifever for pediatric</mml:mtext><mml:mo>,</mml:mo><mml:mtext>baby or child electrolytes</mml:mtext><mml:mo>,</mml:mo><mml:mtext>thermometers</mml:mtext><mml:mo>,</mml:mo><mml:mtext>antidiarrheal</mml:mtext><mml:mo>,</mml:mo><mml:mtext>hydrocortisones</mml:mtext></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula></td></tr><tr><td align="left" valign="top"><inline-formula><mml:math id="ieqn4"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>p</mml:mi><mml:mi>u</mml:mi><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula></td><td align="left" valign="top">Total number of OTC purchases on day <italic>d</italic></td></tr><tr><td align="left" valign="top"><inline-formula><mml:math id="ieqn5"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>D</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula></td><td align="left" valign="top">Probability of the observed data on day <italic>d</italic></td></tr><tr><td align="left" valign="top"><inline-formula><mml:math id="ieqn6"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>D</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>p</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula></td><td align="left" valign="top">Probability of an individual purchase <inline-formula><mml:math id="ieqn7"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>p</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> on day <inline-formula><mml:math id="ieqn8"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>d</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula></td></tr><tr><td align="left" valign="top"><inline-formula><mml:math id="ieqn9"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>d</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula></td><td align="left" valign="top">Disease group <italic>i</italic>; <italic>dx</italic><sub>1</sub> = influenza-like illness (ILI); <italic>dx</italic><sub>2</sub> = diseases other than ILI (OTHER)</td></tr><tr><td align="left" valign="top"><inline-formula><mml:math id="ieqn10"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>D</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>p</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>,</mml:mo><mml:mi>d</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula></td><td align="left" valign="top">The joint probability that a customer with a disease in group <inline-formula><mml:math id="ieqn11"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>d</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> makes purchase <inline-formula><mml:math id="ieqn12"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>p</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> on day <inline-formula><mml:math id="ieqn13"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>d</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula></td></tr><tr><td align="left" valign="top"><inline-formula><mml:math id="ieqn14"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>D</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>p</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula></td><td align="left" valign="top">The conditional probability that a customer makes purchase <inline-formula><mml:math id="ieqn15"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>p</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> on day <inline-formula><mml:math id="ieqn16"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>d</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula>, given they have a disease in group <inline-formula><mml:math id="ieqn17"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>d</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula></td></tr><tr><td align="left" valign="top"><inline-formula><mml:math id="ieqn18"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula></td><td align="left" valign="top">Prior probability that an OTC-purchasing customer has a disease in group <italic>i</italic> on day <italic>d</italic></td></tr><tr><td align="left" valign="top"><inline-formula><mml:math id="ieqn19"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:mi>D</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>p</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula></td><td align="left" valign="top">The posterior probability that a customer has a disease in group <inline-formula><mml:math id="ieqn20"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>d</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> given that they make purchase <inline-formula><mml:math id="ieqn21"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>p</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> on day <inline-formula><mml:math id="ieqn22"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>d</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula>.</td></tr></tbody></table><table-wrap-foot><fn id="table2fn1"><p><sup>a</sup>NRDM: National Retail Data Monitor.</p></fn><fn id="table2fn2"><p><sup>b</sup>OTC: over-the-counter.</p></fn></table-wrap-foot></table-wrap><p>As described further in this study, we applied the expectation-maximization (EM) algorithm [<xref ref-type="bibr" rid="ref27">27</xref>] (refer to Algorithms 1 and 2 in <xref ref-type="supplementary-material" rid="app2">Multimedia Appendix 2</xref>) to estimate the conditional probabilities <inline-formula><mml:math id="ieqn23"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>D</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>p</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula>, where <inline-formula><mml:math id="ieqn24"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>D</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>p</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>o</mml:mi><mml:mi>d</mml:mi><mml:mi>u</mml:mi><mml:mi>c</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>I</mml:mi><mml:mi>L</mml:mi><mml:mi>I</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> represents the probability a customer purchases product <italic>j</italic> on day <italic>d</italic> due to ILI either in that customer or in someone they are making the purchase for (eg, a family member). <inline-formula><mml:math id="ieqn25"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>D</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>p</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>o</mml:mi><mml:mi>d</mml:mi><mml:mi>u</mml:mi><mml:mi>c</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>O</mml:mi><mml:mi>T</mml:mi><mml:mi>H</mml:mi><mml:mi>E</mml:mi><mml:mi>R</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> denotes the corresponding probability for patients with conditions other than ILI.</p><p>In applying EM to estimate the conditional probabilities above, we made the following assumptions:</p><list list-type="order"><list-item><p>Time invariance: The conditional probabilities are constant across days, that is, <inline-formula><mml:math id="ieqn26"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>o</mml:mi><mml:mi>d</mml:mi><mml:mi>u</mml:mi><mml:mi>c</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> is the same for all <italic>d</italic>. This assumes that given a disease-group category (eg, ILI), the likelihood of purchasing a specific product remains stable over time. It is justified by the expectation that symptom-driven consumer behavior remains stable, especially when product availability and public health messaging are consistent. This assumption simplifies modeling by attributing temporal variation to disease-category daily incidence rather than to changes in individual purchasing behavior.</p></list-item><list-item><p>Product focusing: We only monitored the purchase of the product categories presented in <xref ref-type="table" rid="table1">Table 1</xref>.</p></list-item></list><p>The EM algorithm iteratively refines probability estimates through two main steps: the expectation step (E-step) and the maximization step (M-step).</p><p>In the E-step, the algorithm computes the posterior probabilities <inline-formula><mml:math id="ieqn27"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>I</mml:mi><mml:mi>L</mml:mi><mml:mi>I</mml:mi><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>o</mml:mi><mml:mi>d</mml:mi><mml:mi>u</mml:mi><mml:mi>c</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> and <inline-formula><mml:math id="ieqn28"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>O</mml:mi><mml:mi>T</mml:mi><mml:mi>H</mml:mi><mml:mi>E</mml:mi><mml:mi>R</mml:mi><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>o</mml:mi><mml:mi>d</mml:mi><mml:mi>u</mml:mi><mml:mi>c</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> for each product <italic>j</italic> on day <italic>d</italic>, using the current estimates of <inline-formula><mml:math id="ieqn29"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>P</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>o</mml:mi><mml:mi>d</mml:mi><mml:mi>u</mml:mi><mml:mi>c</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:mi>I</mml:mi><mml:mi>L</mml:mi><mml:mi>I</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> and <inline-formula><mml:math id="ieqn30"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>P</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>o</mml:mi><mml:mi>d</mml:mi><mml:mi>u</mml:mi><mml:mi>c</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:mi>O</mml:mi><mml:mi>T</mml:mi><mml:mi>H</mml:mi><mml:mi>E</mml:mi><mml:mi>R</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula>, along with the prior probabilities of ILI and OTHER on day <italic>d</italic> estimated from ED data (refer to details in the <italic>Research Data</italic> section).</p><p>In the M-step, the algorithm updates the conditional probabilities, <inline-formula><mml:math id="ieqn31"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>P</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>o</mml:mi><mml:mi>d</mml:mi><mml:mi>u</mml:mi><mml:mi>c</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:mi>I</mml:mi><mml:mi>L</mml:mi><mml:mi>I</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> and <inline-formula><mml:math id="ieqn32"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>P</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>o</mml:mi><mml:mi>d</mml:mi><mml:mi>u</mml:mi><mml:mi>c</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:mi>O</mml:mi><mml:mi>T</mml:mi><mml:mi>H</mml:mi><mml:mi>E</mml:mi><mml:mi>R</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> by maximizing the expected likelihood. This is achieved by leveraging the weighted counts of product <italic>j</italic> purchases on day <italic>d</italic>, denoted as, <inline-formula><mml:math id="ieqn33"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>N</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula>, using the posterior probabilities obtained from the E-step.</p><p>The E-step and M-step are repeated iteratively until convergence is achieved&#x2014;that is, until the maximum change in estimates of the 2 conditional probabilities falls below a predefined threshold, <italic>tol</italic>.</p><p>We used ED data in the Allegheny County region to estimate the priorprobabilities, <inline-formula><mml:math id="ieqn34"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> used by the EM algorithm. To smooth the ED time series, we applied a centered 7-day moving average to the daily encounter counts. At the beginning and end of the series, where fewer neighboring values were available, a smaller window size (eg, 4 or 5 days) was used to compute the average. This adaptive window ensures that smoothing can still be applied at the edges without discarding data. Based on the resulting smoothed counts, we calculated daily prior probabilities for ILI and OTHER that were used by the EM algorithm.</p></sec><sec id="s2-3"><title>Estimates of Daily Disease Counts Using NRDM Data</title><p>After estimating the conditional probabilities <inline-formula><mml:math id="ieqn35"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>P</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>o</mml:mi><mml:mi>d</mml:mi><mml:mi>u</mml:mi><mml:mi>c</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula>, we derive the expected number of customers with disease group <inline-formula><mml:math id="ieqn36"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>d</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> on day <italic>d</italic>, denoted <inline-formula><mml:math id="ieqn37"><mml:msub><mml:mrow><mml:mi>E</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>d</mml:mi><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, using equation 1. Specifically, <inline-formula><mml:math id="ieqn38"><mml:msub><mml:mrow><mml:mi>E</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>d</mml:mi><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is calculated as the sum of the posterior probabilities <inline-formula><mml:math id="ieqn39"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:mi>D</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>p</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> across all purchases on day <italic>d</italic>. For each individual purchase <italic>p</italic>, the posterior probability is computed via Bayes' rule (equation 2), where the numerator is the joint probability, calculated as the product of the conditional probability of the purchase given the disease (as estimated via the EM algorithm) and the prior probability of the disease. The denominator normalizes this quantity by summing over the 2 disease group categories that we model.</p><p>In contrast to the EM training phase, where disease priors were learned from ED data, we fixed the priors at <inline-formula><mml:math id="ieqn40"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>I</mml:mi><mml:mi>L</mml:mi><mml:mi>I</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mn>0.05</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> and <inline-formula><mml:math id="ieqn41"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>O</mml:mi><mml:mi>T</mml:mi><mml:mi>H</mml:mi><mml:mi>E</mml:mi><mml:mi>R</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mn>0.95</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> for each day during the calculation with equation 3 to focus the contribution of NRDM data in estimating daily disease patterns. These values are within the bounds of the probabilities for ILI and OTHER estimated from ED data during the training phase, during which the daily ILI daily incidence ranged from 0 to 0.06 and the daily OTHER daily incidence ranged from 0.94 to 1 (refer to the <italic>Descriptive Statistics</italic> section; <xref ref-type="fig" rid="figure1">Figure 1</xref>).</p><fig position="float" id="figure1"><label>Figure 1.</label><caption><p>Estimated daily influenza-like illness (ILI) incidence rates derived from emergency department encounters at 5 hospitals in Allegheny County, Pennsylvania, United States, from June 2016 to December 2021 and used as disease priors in the NRDM Tracker model.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="publichealth_v12i1e91163_fig01.png"/></fig><disp-formula id="E1"><label>(1)</label><mml:math id="eqn1"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:munderover><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>p</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mi>u</mml:mi><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:munderover><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:mi>D</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>p</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mstyle></mml:mrow></mml:mstyle></mml:math></disp-formula><disp-formula id="E2"><label>(2)</label><mml:math id="eqn2"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:msub><mml:mi>P</mml:mi><mml:mi>d</mml:mi></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>&#x2223;</mml:mo><mml:mi>D</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>p</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mi>d</mml:mi></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>D</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>p</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x2223;</mml:mo><mml:mi>d</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mi>d</mml:mi></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:munderover><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:munderover><mml:msub><mml:mi>P</mml:mi><mml:mi>d</mml:mi></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>D</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>p</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x2223;</mml:mo><mml:mi>d</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mi>d</mml:mi></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mfrac></mml:mstyle></mml:mrow></mml:mstyle></mml:math></disp-formula></sec><sec id="s2-4"><title>Derivation of the Likelihood of Daily Data</title><p>For each day <italic>d</italic>, we used a probabilistic metric, <inline-formula><mml:math id="ieqn42"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>D</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula>, as an indicator of the presence of unusual purchases on that day. This metric represents the probability of the observed data on day <italic>d</italic> (ie, the number and types of OTC purchases on that day). We refer to this probability as the <italic>daily likelihood</italic>. Using equation 3, we estimate this quantity by multiplying the probabilities of all individual purchase events <inline-formula><mml:math id="ieqn43"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>D</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>p</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> assuming that these <inline-formula><mml:math id="ieqn44"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>p</mml:mi><mml:mi>u</mml:mi><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> purchase events are independent. A purchase behavior typically reflects a customer&#x2019;s (or their household member&#x2019;s) illness. However, the specific underlying disease is not recorded in the NRDM database. Therefore, for each purchase behavior, we sum the joint probabilities, <inline-formula><mml:math id="ieqn45"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>D</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>p</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>,</mml:mo><mml:mi>d</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula>, across the 2 disease groups that we modeled.</p><disp-formula id="E3"><label>(3)</label><mml:math id="eqn3"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mtable columnalign="right left right left right left right left right left right left" rowspacing="3pt" columnspacing="0em 2em 0em 2em 0em 2em 0em 2em 0em 2em 0em" displaystyle="true"><mml:mtr><mml:mtd><mml:msub><mml:mi>P</mml:mi><mml:mi>d</mml:mi></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>D</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mtd><mml:mtd><mml:mi/><mml:mo>=</mml:mo><mml:munderover><mml:mo>&#x220F;</mml:mo><mml:mrow><mml:mi>p</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mi>u</mml:mi><mml:msub><mml:mi>r</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:mrow></mml:munderover><mml:msub><mml:mi>P</mml:mi><mml:mi>d</mml:mi></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>D</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>p</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mi/><mml:mo>=</mml:mo><mml:munderover><mml:mo>&#x220F;</mml:mo><mml:mrow><mml:mi>p</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mi>u</mml:mi><mml:msub><mml:mi>r</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:mrow></mml:munderover><mml:munderover><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:munderover><mml:msub><mml:mi>P</mml:mi><mml:mi>d</mml:mi></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>D</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>p</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>,</mml:mo><mml:mi>d</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mi/><mml:mo>=</mml:mo><mml:munderover><mml:mo>&#x220F;</mml:mo><mml:mrow><mml:mi>p</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mi>u</mml:mi><mml:msub><mml:mi>r</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:mrow></mml:munderover><mml:munderover><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:munderover><mml:msub><mml:mi>P</mml:mi><mml:mi>d</mml:mi></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>D</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>p</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x2223;</mml:mo><mml:mi>d</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mi>d</mml:mi></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mi/><mml:mo>=</mml:mo><mml:munderover><mml:mo>&#x220F;</mml:mo><mml:mrow><mml:mi>p</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mi>u</mml:mi><mml:msub><mml:mi>r</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:mrow></mml:munderover><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mi>d</mml:mi></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>D</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>p</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x2223;</mml:mo><mml:mi>I</mml:mi><mml:mi>L</mml:mi><mml:mi>I</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mi>d</mml:mi></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>I</mml:mi><mml:mi>L</mml:mi><mml:mi>I</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mi>d</mml:mi></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>D</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>p</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x2223;</mml:mo><mml:mi>O</mml:mi><mml:mi>T</mml:mi><mml:mi>H</mml:mi><mml:mi>E</mml:mi><mml:mi>R</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mi>d</mml:mi></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>O</mml:mi><mml:mi>T</mml:mi><mml:mi>H</mml:mi><mml:mi>E</mml:mi><mml:mi>R</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:mstyle></mml:mstyle></mml:mrow></mml:mstyle></mml:math></disp-formula><p>Each joint probability is computed as the product of the prior probability of disease <inline-formula><mml:math id="ieqn46"><mml:msub><mml:mrow><mml:mi>d</mml:mi><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> on day <italic>d</italic>, denoted as <inline-formula><mml:math id="ieqn47"><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>d</mml:mi><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, and the conditional probability <inline-formula><mml:math id="ieqn48"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>D</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>p</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula>, which is the probability of observing the purchase behavior given the presence of disease group <inline-formula><mml:math id="ieqn49"><mml:msub><mml:mrow><mml:mi>d</mml:mi><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>.</p><p>To estimate these conditional probabilities in the model training period, we applied the EM algorithm, as discussed in the <italic>Model Development</italic> section. As mentioned, when training the NRDM Tracker model, we used the daily incidence of diseases in EDs in the same region on day <italic>d</italic> to estimate the prior probability, <inline-formula><mml:math id="ieqn50"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula>. When applying the model to monitor for disease outbreaks, we used a uniform prior for <inline-formula><mml:math id="ieqn51"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula>, <inline-formula><mml:math id="ieqn52"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>I</mml:mi><mml:mi>L</mml:mi><mml:mi>I</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mn>0.05</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> , <inline-formula><mml:math id="ieqn53"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>O</mml:mi><mml:mi>T</mml:mi><mml:mi>H</mml:mi><mml:mi>E</mml:mi><mml:mi>R</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mn>0.95</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula>, which does not require having access to ED data.</p></sec><sec id="s2-5"><title>Derivation of a Normalized Likelihood of Daily Data</title><p>We also derive the following normalized likelihood (<bold><xref ref-type="disp-formula" rid="E4">Equation 4</xref></bold>), which is the geometric mean of the daily likelihood across all purchases on day <italic>d</italic>:</p><disp-formula id="E4"><label>(4)</label><mml:math id="eqn4"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:msub><mml:mi>G</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>D</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mroot><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>D</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mi>u</mml:mi><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mroot><mml:mo>,</mml:mo></mml:mstyle></mml:mrow></mml:mstyle></mml:math></disp-formula><p>where <inline-formula><mml:math id="ieqn54"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>p</mml:mi><mml:mi>u</mml:mi><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> is the total number of the products purchased in the 7 OTC categories on day <italic>d</italic>. <inline-formula><mml:math id="ieqn55"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>G</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>D</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> reflects the (geometric) average likelihood of individual product purchases. Changes in the unnormalized likelihood, <inline-formula><mml:math id="ieqn56"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>D</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> may be due to changes in the relative distribution of the products being sold, the number of products being sold, or both. In contrast, changes in <inline-formula><mml:math id="ieqn57"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>G</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>D</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> are only due to changes in the relative distribution of the products being sold.</p></sec><sec id="s2-6"><title>Detection and Characterization of a Putative Outbreak of a Novel Disease</title><p>This section describes the methods that NRDM Tracker applies to monitor a test set of NRDM data for disease outbreaks. It uses the log of the likelihood given by equation 3 to look for low values that may indicate an outbreak. When values are low, it can analyze the data at the product level to look for patterns that may indicate which product categories are being influenced by a putative outbreak; such a characterization may suggest the type of outbreak that is occurring. In the remainder of this section, we discuss how we derive <italic>P</italic> values at the product level.</p><p>For each product <italic>j</italic>, we obtain the daily sales count <inline-formula><mml:math id="ieqn58"><mml:msubsup><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> for day <italic>d</italic> and computed a right-sided <italic>P</italic> value based on the empirical distribution of daily sales during a control period from day <italic>d</italic>-38 to day <italic>d</italic>-8, assuming a normal distribution. Approximately 69% (4326/6284) of Shapiro-Wilk normality tests [<xref ref-type="bibr" rid="ref28">28</xref>] passed the normality check, indicating that most control period count distributions were consistent with a normal distribution.</p><p>Since a <italic>P</italic> value is calculated for each day, over many monitored days, we applied the Benjamini-Hochberg procedure [<xref ref-type="bibr" rid="ref29">29</xref>] to control the false discovery rate (FDR) at a significance level of 0.05. Specifically, we used the multiple tests function from the Python statsmodels.stats.multitest module (statsmodels 0.15.0, 2024) with the method=&#x2018;fdr_bh&#x2019; option to correct for multiple hypothesis testing. This method adjusts raw <italic>P</italic> values by scaling each value according to its rank and the total number of tests <italic>m</italic>. Refer to equation 5, where <italic>m</italic> is 6284 in our experiment, <inline-formula><mml:math id="ieqn59"><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> are raw <italic>P</italic> values, and the term <italic>j</italic> is the rank of the <italic>P</italic> value in ascending order. A reverse cumulative minimum is then applied to ensure monotonicity across the adjusted <italic>P</italic> values (equation 6), as described by Dudoit et al [<xref ref-type="bibr" rid="ref30">30</xref>] and implemented in the <italic>Statsmodels</italic> package. These steps ensure that any day with an adjusted <italic>P</italic> value at or below .05 is considered a statistically significant anomaly, while the expected proportion of false discoveries is controlled. Importantly, the adjusted <italic>P</italic> values, <inline-formula><mml:math id="ieqn60"><mml:msub><mml:mrow><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, are guaranteed to be nondecreasing with respect to the ordered raw <italic>P</italic> values.</p><disp-formula id="E5"><label>(5)</label><mml:math id="eqn5"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:msub><mml:mover><mml:mi>p</mml:mi><mml:mo>&#x223C;</mml:mo></mml:mover><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>m</mml:mi><mml:mi>i</mml:mi><mml:mi>n</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mfrac><mml:mrow><mml:mi>m</mml:mi><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mi>j</mml:mi></mml:mfrac><mml:mo>,</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></disp-formula><disp-formula id="E6"><label>(6)</label><mml:math id="eqn6"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:msub><mml:mi>q</mml:mi><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>m</mml:mi><mml:mi>i</mml:mi><mml:mi>n</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mover><mml:mi>p</mml:mi><mml:mo>&#x223C;</mml:mo></mml:mover><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mtext>&#x00A0;</mml:mtext><mml:mi>a</mml:mi><mml:mi>n</mml:mi><mml:mi>d</mml:mi><mml:mtext>&#x00A0;</mml:mtext><mml:mi>j</mml:mi><mml:mo>&#x2265;</mml:mo><mml:mi>k</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math></disp-formula></sec><sec id="s2-7"><title>Ethical Considerations</title><p>The research protocol of the study described in this paper was approved by the institutional review board (IRB) of the University of Pittsburgh (study 20030193). As no patients were directly enrolled in this study and no compensation was provided, the IRB granted a waiver of informed consent. The NRDM dataset contains only aggregated purchase counts and does not include any individual-level purchase information. For the ED encounter data, a UPMC-approved honest broker deidentified the records to satisfy the requirements for a limited data set before distribution to our research team.</p></sec></sec><sec id="s3" sec-type="results"><title>Results</title><sec id="s3-1"><title>Overview</title><p>This section presents the performance and behavior of NRDM Tracker. We begin by summarizing descriptive statistics of daily OTC product sales across 7 symptom-related categories (<italic>Descriptive Statistics</italic> section). Next, we describe the estimation of model parameters using the EM algorithm (<italic>Model Parameters</italic> section). We then evaluate the model&#x2019;s ability to detect population-level anomalies during the COVID-19 pandemic using NRDM data (<italic>Detection of COVID-19</italic> section). Finally, we assess the statistical significance of daily deviations in product sales across individual categories to identify which product categories are influenced by a putative outbreak (refer to the <italic>Detection of COVID-19</italic> section).</p></sec><sec id="s3-2"><title>Descriptive Statistics</title><p><xref ref-type="table" rid="table3">Table 3</xref> lists descriptive statistics of the daily counts of the 7 categories from 274 stores in Allegheny County, PA from June 1, 2016, to December 30, 2021. The median of the daily OTC sales count over the 7 categories is 4062, with a wide range from 259 to 15,979, indicating substantial daily variation. The cough or cold category has the highest average daily sales (3168), accounting for most of the total OTC purchases recorded in NRDM. Moderate-sale categories include antifever for adult, baby or child electrolytes, and antidiarrheal. Antifever for pediatric, hydrocortisones, and thermometers have relatively low average daily sales. Most categories show right-skewed distributions (mean&#x003E;median), suggesting occasional sales surges. The large variances (especially in total and cough or cold categories) indicate irregular and potentially seasonal demand.</p><table-wrap id="t3" position="float"><label>Table 3.</label><caption><p>Summary statistics of daily over-the-counter (OTC) product sales across seven product categories obtained from the National Retail Data Monitor (NRDM) in Allegheny County, Pennsylvania, USA, from June 1, 2016, to December 30, 2021.</p></caption><table id="table3" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Category</td><td align="left" valign="bottom">Mean (SD)<sup><xref ref-type="table-fn" rid="table3fn1">a,b</xref></sup></td><td align="left" valign="bottom">% of Total<sup><xref ref-type="table-fn" rid="table3fn1">a</xref></sup></td><td align="left" valign="bottom">Median (IQR)</td><td align="left" valign="bottom">5% quantile<sup><xref ref-type="table-fn" rid="table3fn1">a</xref></sup></td><td align="left" valign="bottom">95% quantile<sup><xref ref-type="table-fn" rid="table3fn1">a</xref></sup></td><td align="left" valign="bottom">Min</td><td align="left" valign="bottom">Max</td></tr></thead><tbody><tr><td align="left" valign="top">Cough or cold</td><td align="left" valign="top">3168 (1408)</td><td align="left" valign="top">71.8</td><td align="left" valign="top">2961 (1983&#x2010;4031)</td><td align="left" valign="top">1531</td><td align="left" valign="top">5652</td><td align="left" valign="top">172</td><td align="left" valign="top">12,149</td></tr><tr><td align="left" valign="top">Antifever for adult</td><td align="left" valign="top">503 (100)</td><td align="left" valign="top">12.7</td><td align="left" valign="top">495 (450&#x2010;546)</td><td align="left" valign="top">385</td><td align="left" valign="top">650</td><td align="left" valign="top">32</td><td align="left" valign="top">1422</td></tr><tr><td align="left" valign="top">Antifever for pediatric</td><td align="left" valign="top">121 (49)</td><td align="left" valign="top">2.9</td><td align="left" valign="top">112 (93&#x2010;136)</td><td align="left" valign="top">70</td><td align="left" valign="top">198</td><td align="left" valign="top">15</td><td align="left" valign="top">798</td></tr><tr><td align="left" valign="top">Baby or child electrolyte</td><td align="left" valign="top">152 (62)</td><td align="left" valign="top">3.8</td><td align="left" valign="top">139 (108&#x2010;187)</td><td align="left" valign="top">79</td><td align="left" valign="top">256</td><td align="left" valign="top">18</td><td align="left" valign="top">764</td></tr><tr><td align="left" valign="top">Thermometer</td><td align="left" valign="top">43 (33)</td><td align="left" valign="top">1</td><td align="left" valign="top">36 (26&#x2010;52)</td><td align="left" valign="top">17</td><td align="left" valign="top">88</td><td align="left" valign="top">0</td><td align="left" valign="top">734</td></tr><tr><td align="left" valign="top">Antidiarrheal</td><td align="left" valign="top">222 (41)</td><td align="left" valign="top">5.6</td><td align="left" valign="top">218 (195&#x2010;243)</td><td align="left" valign="top">165</td><td align="left" valign="top">291</td><td align="left" valign="top">15</td><td align="left" valign="top">433</td></tr><tr><td align="left" valign="top">Hydrocortisone product</td><td align="left" valign="top">83 (24)</td><td align="left" valign="top">2.2</td><td align="left" valign="top">79 (66&#x2010;97)</td><td align="left" valign="top">52</td><td align="left" valign="top">130</td><td align="left" valign="top">4</td><td align="left" valign="top">217</td></tr><tr><td align="left" valign="top">Total</td><td align="left" valign="top">4291</td><td align="left" valign="top">&#x2014;<sup><xref ref-type="table-fn" rid="table3fn3">c</xref></sup></td><td align="left" valign="top">&#x2014;</td><td align="left" valign="top">&#x2014;</td><td align="left" valign="top">&#x2014;</td><td align="left" valign="top">&#x2014;</td><td align="left" valign="top">&#x2014;</td></tr></tbody></table><table-wrap-foot><fn id="table3fn1"><p><sup>a</sup>Percentages represent the proportion of total sales for each product category and are rounded to one decimal place; other values are rounded to integers.</p></fn><fn id="table3fn2"><p><sup>b</sup>Total of all categories=4291.</p></fn><fn id="table3fn3"><p><sup>c</sup>Not applicable.</p></fn></table-wrap-foot></table-wrap><p><xref ref-type="fig" rid="figure2">Figure 2</xref> illustrates seasonal patterns in OTC product sales over 5 years. Both total and &#x201C;cough or cold&#x201D; categories exhibit strong seasonal patterns, with recurring peaks during the winter months. A prominent spike in early 2020 likely corresponds to the onset of COVID-19, followed by a dip and gradual return to seasonal trends.</p><fig position="float" id="figure2"><label>Figure 2.</label><caption><p>Temporal trends of daily over-the-counter (OTC) product sales recorded in the National Retail Data Monitor (NRDM) from 270 retail stores in Allegheny County, Pennsylvania, United States, from June 2016 to December 2021.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="publichealth_v12i1e91163_fig02.png"/></fig><p>Sales trends among other product categories reveal varying degrees of seasonality and pandemic impact. Among antifever products, the adult antifever category shows relatively stable daily sales with modest fluctuations until a sharp surge in 2020, a pattern likely explained by the dual role of acetaminophen, ibuprofen, and related medications as both antipyretics and analgesics, which contributes to their steady baseline demand. The pediatric antifever category follows a similar seasonal trend but at a lower scale. Cough or cold products dominate in both volume and seasonality. Baby or child electrolytes show periodic increases with peaks in the winter. Antidiarrheal sales exhibit moderate daily variation with peaks around December. The peaks in hydrocortisone sales are less pronounced but show a consistent seasonal pattern, with increased use in warmer months, plausibly due to higher incidence of skin irritation, insect bites, and sun-related conditions. Thermometer sales remain low at baseline but exhibit dramatic, event-driven spikes&#x2014;particularly in early 2020&#x2014;likely due to increased public concern during the onset of the COVID-19 pandemic.</p><p><xref ref-type="fig" rid="figure1">Figure 1</xref> illustrates the temporal evolution of the estimated daily incidence rate of ILI (used as the prior probability in the model), derived from ED case counts for adenovirus, rhinovirus or enterovirus, influenza, HMPV, PIV, and RSV. The series exhibits clear seasonal peaks occurring annually&#x2014;typically during the winter months (eg, early 2017, early 2018, spring 2019, and early 2020)&#x2014;consistent with typical seasonal trends of respiratory viruses in this region. A pronounced decline is observed in 2020 and 2021, reflecting reduced ILI-related ED visits during the initial phase of the COVID-19 pandemic in the United States. A modest resurgence is seen in late 2021, coinciding with the return of seasonal respiratory virus activity.</p></sec><sec id="s3-3"><title>Model Parameters</title><p>Using the EM Algorithm, we estimated the conditional probabilities <inline-formula><mml:math id="ieqn61"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>P</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>o</mml:mi><mml:mi>d</mml:mi><mml:mi>u</mml:mi><mml:mi>c</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:mi>I</mml:mi><mml:mi>L</mml:mi><mml:mi>I</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> and <inline-formula><mml:math id="ieqn62"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>P</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>o</mml:mi><mml:mi>d</mml:mi><mml:mi>u</mml:mi><mml:mi>c</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:mi>O</mml:mi><mml:mi>T</mml:mi><mml:mi>H</mml:mi><mml:mi>E</mml:mi><mml:mi>R</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula>. The EM algorithm converged after 36 iterations. <xref ref-type="table" rid="table4">Table 4</xref> presents the estimated conditional probabilities, indicating the likelihood that each product category is purchased given an ILI-related or OTHER encounter. These values reflect how specific each product is to ILI activity. Cough or cold medications show a notably higher probability under ILI (0.792) than under OTHER (0.695), suggesting strong relevance to ILI-related symptoms. In contrast, the other products have lower probabilities for ILI than for OTHER, indicating they are more likely to be associated with non-ILI conditions. These conditional probabilities are central to inferring ILI activity from purchase patterns and help distinguish symptom-specific products from those with more general therapeutic use.</p><table-wrap id="t4" position="float"><label>Table 4.</label><caption><p>Conditional probabilities estimated by the EM algorithm.</p></caption><table id="table4" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Category</td><td align="left" valign="bottom"><inline-formula><mml:math id="ieqn63"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>P</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>o</mml:mi><mml:mi>d</mml:mi><mml:mi>u</mml:mi><mml:mi>c</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:mi>I</mml:mi><mml:mi>L</mml:mi><mml:mi>I</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula><sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup></td><td align="left" valign="bottom"><inline-formula><mml:math id="ieqn64"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>P</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>o</mml:mi><mml:mi>d</mml:mi><mml:mi>u</mml:mi><mml:mi>c</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:mi>O</mml:mi><mml:mi>T</mml:mi><mml:mi>H</mml:mi><mml:mi>E</mml:mi><mml:mi>R</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula><sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup></td></tr></thead><tbody><tr><td align="left" valign="top">Cough or cold</td><td align="left" valign="top">0.792</td><td align="left" valign="top">0.695</td></tr><tr><td align="left" valign="top">Antifever for adult</td><td align="left" valign="top">0.095</td><td align="left" valign="top">0.142</td></tr><tr><td align="left" valign="top">Antifever for pediatric</td><td align="left" valign="top">0.024</td><td align="left" valign="top">0.031</td></tr><tr><td align="left" valign="top">Baby or child electrolyte</td><td align="left" valign="top">0.026</td><td align="left" valign="top">0.032</td></tr><tr><td align="left" valign="top">Thermometer</td><td align="left" valign="top">0.008</td><td align="left" valign="top">0.008</td></tr><tr><td align="left" valign="top">Antidiarrheal</td><td align="left" valign="top">0.043</td><td align="left" valign="top">0.064</td></tr><tr><td align="left" valign="top">Hydrocortisone</td><td align="left" valign="top">0.013</td><td align="left" valign="top">0.029</td></tr></tbody></table><table-wrap-foot><fn id="table4fn1"><p><sup>a</sup> Values are rounded to three decimal places.</p></fn></table-wrap-foot></table-wrap><p>To assess the robustness of the assumption of time-invariant conditional probabilities, we conducted a sensitivity analysis using time-varying conditional probability tables (CPTs) estimated with a rolling 12-month EM framework and weekly updates (<xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref>). As illustrated in Figure S1 and Table S2 in <xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref>, the estimated CPTs exhibit moderate temporal variation, reflecting changes in product use patterns and disease presentation over time. However, when these dynamic CPTs were incorporated into the NRDM-ILI estimation pipeline, the downstream impact was limited. The resulting NRDM-ILI time series closely matched those obtained using constant CPTs (Figure S2 in <xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref>), with nearly identical correlations with ED-ILI (0.6642 vs 0.6599). These findings suggest that, although conditional probabilities are not constant, the assumption of time-invariant CPTs is reasonably robust in this setting, and the primary conclusions of the model are not very sensitive to this assumption.</p><p>Although fever is a defining symptom of ILI, antifever medications show relatively lower conditional probabilities under ILI compared with cough or cold medications. This likely reflects differences in product use behavior rather than inconsistency with clinical definitions. Similar patterns are observed for other product categories, including those associated with ILI symptoms, where medications that are less specific to respiratory illness tend to show weaker associations. For example, thermometers, which are used for general fever monitoring rather than specifically for respiratory illness, show very low probabilities under both ILI and OTHER. These patterns are consistent across both the main analysis and the supplementary sensitivity analysis (<xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref>).</p></sec><sec id="s3-4"><title>Detection of COVID-19</title><p>Using equations 1 and 2, the NRDM Tracker calculated the expected counts of <italic>ILI</italic> from the NRDM data for the period from June 1, 2019, to December 30, 2021. The NRDM model was trained using data from June 1, 2016, to May 31, 2019, to estimate the CPTs; therefore, this latter period represents out-of-sample model performance.</p><p><xref ref-type="fig" rid="figure3">Figure 3</xref> illustrates the moving averages of those expected ILI counts in blue. The yellow curve shows <italic>ILI</italic> counts derived from the ED cases for the following viruses: adenovirus, rhinovirus or enterovirus, influenza, HMPV, PIV, and RSV, and shows strong temporal alignment with the curve in <xref ref-type="fig" rid="figure1">Figure 1</xref>, which depicts daily ILI priors. A disease caused by 1 of these viruses was considered present if a patient had a positive laboratory test result for the virus (eg, a positive PCR [polymerase chain reaction] test for influenza) or an <italic>ICD</italic> code indicative of the infection (listed in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>). These ED-based ILI tests and diagnoses excluded COVID-19 cases, which emulates the situation in which a novel disease may occur before it is explicitly identified and tested for. The Pearson correlation coefficient between 2 time series shown in blue and yellow is 0.66.</p><fig position="float" id="figure3"><label>Figure 3.</label><caption><p>NRDM Tracker&#x2013;estimated influenza-like illness (ILI) counts derived from over-the-counter (OTC) product sales (blue), emergency department (ED)&#x2013;derived ILI counts based on positive lab<italic>oratory</italic> results and relevant <italic>ICD</italic> (<italic>International Classification of Diseases)</italic> codes for selected respiratory viruses (yellow; see text), and ED-derived counts that include both ILI and COVID-19 cases (red) in Allegheny County, Pennsylvania, United States, during the test period (June 2019-December 2021).</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="publichealth_v12i1e91163_fig03.png"/></fig><p>The peak day of the NRDM-estimated ILI counts is March 13, 2020 (based on the underlying data, although not perfectly aligned with the moving average curve in <xref ref-type="fig" rid="figure3">Figure 3</xref>), coinciding closely with the clinical onset of the COVID-19 in Allegheny County. Because NRDM-ILI reflects ILI activity inferred from consumer purchasing behavior, the peak on March 13 is likely due to precautionary purchasing triggered by widespread media coverage and growing public concern about COVID-19. The ILI counts from ED data have a peak on January 4, 2020 (not exactly aligned with the moving average curve), which corresponds to increased influenza and RSV activity observed in our ED data in late 2019 and in January and February 2020. A corresponding increase is seen in the NRDM signal during that period as well (<xref ref-type="fig" rid="figure3">Figure 3</xref>, blue curve).</p><p>In addition, <xref ref-type="fig" rid="figure3">Figure 3</xref> includes a red curve representing ED-derived counts of ILI and COVID-19 beginning in March 2020, corresponding to the initiation of COVID-19 testing in Allegheny County. As COVID-19 subsequently spread throughout the county, it became the dominant respiratory infectious agent, while influenza and RSV cases declined sharply. Consequently, the NRDM-ILI trend (blue curve) began to align more closely with the ED-derived counts that include COVID-19 (red curve), rather than the ED counts that do not (yellow curve).</p><p><xref ref-type="fig" rid="figure4">Figure 4</xref> contains 2 plots displaying the daily log-likelihood of the OTC data computed by NRDM Tracker to monitor for unusual data patterns that may indicate the outbreak of a novel disease. The top panel shows the daily log-likelihood. A prominent drop is visible on March 13, 2020. Interestingly, the top panel also shows sharp declines on other dates, such as July 2020, suggesting potential anomalies in purchasing patterns. The bottom panel depicts the normalized daily log-likelihood, computed as the geometric mean of category-level probabilities. This measure indicates whether there are changes in the relative proportions of product category purchases. The normalized likelihood curve exhibits seasonal patterns and a sustained decline in mid-2020, followed by gradual recovery through 2021. The start of the COVID-19 outbreak does not appear to be associated with a strong change in the relative purchase of product categories, and thus, the prominent drop in the red curve in <xref ref-type="fig" rid="figure4">Figure 4</xref> was driven by spikes or drops in total purchase counts rather than a shift in product mix.</p><fig position="float" id="figure4"><label>Figure 4.</label><caption><p>Daily log-likelihood of observed over-the-counter (OTC) purchasing patterns (top) and normalized log-likelihood (bottom) estimated by the NRDM tracker surveillance model using OTC product sales from Allegheny County, Pennsylvania, United States, during the test period (June 2019-December 2021). Lower values indicate greater deviation from expected purchasing patterns and may suggest unusual population-level health activity.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="publichealth_v12i1e91163_fig04.png"/></fig><p>Using the Benjamini-Hochberg FDR procedure, we computed the adjusted <italic>P</italic> values for the daily counts of product sales for each of the 7 OTC categories. <xref ref-type="fig" rid="figure5">Figure 5</xref> shows the time series of FDR-adjusted <italic>P</italic> values on a logarithmic scale, with the red dashed line indicating the significance threshold at <italic>P</italic>=.01. Sharp drops in <italic>P</italic> values&#x2014;particularly around March 2020&#x2014;are visible across all categories, reflecting significant deviations in product purchasing behavior during the early phase of the COVID-19 pandemic. Several other spikes and dips are also observed in late 2020 and late 2021, some of which may correspond to the resurgence of the COVID-19 pandemic due to evolving variants of SAR-CoV-2.</p><fig position="float" id="figure5"><label>Figure 5.</label><caption><p>False discovery rate (FDR) adjusted <italic>P</italic> values for daily anomalies in over-the-counter (OTC) product sales across seven monitored product categories in Allegheny County, Pennsylvania, United States, during the test period (June 2019-December 2021). Values below the significance threshold (0.01) indicate statistically significant deviations from expected purchasing patterns detected by the NRDM Tracker system.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="publichealth_v12i1e91163_fig05.png"/></fig></sec></sec><sec id="s4" sec-type="discussion"><title>Discussion</title><sec id="s4-1"><title>Principal Findings</title><p>This paper investigates the potential for NRDM Tracker, using OTC data, as a tool for public health surveillance and early outbreak detection. By leveraging OTC product sales and applying a probabilistic modeling approach, we were able to estimate daily ILI activity and identify abnormal population-level purchasing patterns. The EM-based algorithm estimated conditional probabilities that distinguish ILI-related purchasing behavior from that associated with other health conditions. The resulting <italic>ILI</italic> estimates from NRDM data exhibited moderately strong correlation (<italic>r</italic>=0.66) with ILI-related ED visits, which provides support for the model&#x2019;s alignment with measurable clinical rates of <italic>ILI</italic> disease in the region.</p></sec><sec id="s4-2"><title>Interpretation of Findings and Comparison With Previous Work</title><p>Our findings indicate that the NRDM-based ILI estimates, derived from OTC purchasing patterns, can capture public behavioral responses to disease outbreaks. These responses likely include purchases of cough and cold medications, antipyretics, and thermometers, even in the absence of corresponding clinical ILI encounters. Such dynamics could explain the divergence between the NRDM and ED curves in late 2019 and very early 2020, when NRDM estimates rose sharply while ED diagnoses for ILI remained comparatively stable. In general, while there is a close correspondence between the NRDM and ED curves in <xref ref-type="fig" rid="figure3">Figure 3</xref>, it is apparent that they are at times different, with an NRDM-derived estimate of increased ILI counts sometimes preceding the signal from ED data.</p><p>It is important to note that ED-based ILI surveillance, while widely used, may underestimate the true burden of ILI in the population [<xref ref-type="bibr" rid="ref31">31</xref>], as many individuals with mild symptoms do not seek care in EDs. As a result, ED-derived ILI counts may primarily reflect more severe cases and may lag behind broader community-level disease activity. This limitation may help explain some of the observed differences between NRDM-based estimates and ED-based ILI signals. In particular, OTC purchasing behavior may capture earlier or milder symptom responses in the population, such as self-treatment before seeking professional medical care. A previous study [<xref ref-type="bibr" rid="ref32">32</xref>] has noted temporal lags between community-level infection trends and subsequent increases in health care use, including ED visits and hospitalizations. In this context, the NRDM-based signals observed in this study may reflect earlier-stage or less severe disease activity, complementing ED-based surveillance. Together, these findings suggest that NRDM-based and ED-based estimates capture complementary aspects of disease activity, and that combining these signals may provide a more comprehensive assessment of population-level ILI than either source alone. Although fever is a defining symptom of ILI, antifever medications show a relatively weaker association with ILI activity compared with cough or cold medications in our analysis. This likely reflects differences in product use behavior rather than inconsistency with clinical definitions. Antifever medications are commonly used across a wide range of conditions and may already be available in households, reducing the need for purchase during illness episodes. In addition, OTC purchasing behavior may capture less severe cases of ILI, where individuals may not require or choose to take antipyretic medications, whereas ED-based surveillance is more likely to reflect more severe cases, potentially with higher fever. Similar patterns are observed for other general-purpose products, which tend to show weaker associations with ILI compared with more symptom-specific medications.</p><p>The NRDM Tracker system also derived daily likelihoods (in log form) of observed sales patterns as an overall measure of how well its model fit the OTC data. If the log-likelihood value on a given day is very low, relative to the values on previous days, it suggests the possibility of an outbreak. If so, those product categories with low <italic>P</italic> values are likely contributing to the low log-likelihood. Our results suggest that likelihood-based signals may provide an early indication of abnormal health-related activity. The sharp drop in log-likelihood observed in March 2020 aligns well with the initial COVID-19 outbreak in the United States. Importantly, our right-tailed <italic>P</italic> value framework&#x2014;combined with multiple comparison correction&#x2014;allowed for detection of statistically significant anomalies across multiple product categories. This analysis provides insights into the product sales that drive the detection of an anomaly.</p><p>Compared with previous studies that primarily examined associations between OTC sales and health care use [<xref ref-type="bibr" rid="ref19">19</xref>,<xref ref-type="bibr" rid="ref33">33</xref>] or evaluated NRDM for specific outbreak investigations [<xref ref-type="bibr" rid="ref20">20</xref>,<xref ref-type="bibr" rid="ref21">21</xref>,<xref ref-type="bibr" rid="ref23">23</xref>,<xref ref-type="bibr" rid="ref24">24</xref>], our study extends this body of work by developing a probabilistic surveillance framework capable of both estimating population-level ILI activity and identifying statistically significant anomalies that may indicate emerging or unexpected disease activity. Although previous studies have demonstrated that OTC purchasing data collected through NRDM can provide complementary syndromic signals of infectious disease activity [<xref ref-type="bibr" rid="ref19">19</xref>,<xref ref-type="bibr" rid="ref23">23</xref>,<xref ref-type="bibr" rid="ref24">24</xref>], these studies have primarily focused on evaluating relationships with known clinical outcomes or detecting predefined outbreak events. In contrast, the NRDM Tracker presented in this paper uses probabilistic modeling of product category&#x2013;specific purchasing patterns to continuously estimate ILI activity and detect statistically significant deviations from expected behavior, providing a framework that may support both seasonal disease monitoring and early identification of abnormal health-related signals potentially associated with emerging infectious disease activity.</p></sec><sec id="s4-3"><title>Limitations</title><p>There are several limitations of our approach. First, NRDM sales data do not directly record patient diagnoses, making it challenging to validate findings against gold-standard clinical data without assumptions. Second, behavioral factors may influence OTC purchasing patterns independently of underlying disease activity. For example, during the early phase of the COVID-19 pandemic, widespread public concern and media coverage likely contributed to &#x201C;panic purchasing&#x201D; of symptom-related products such as fever-reducing medications and thermometers, leading to transient spikes in sales that may not directly reflect true disease incidence. In addition, changes in supply chains, product availability, and public health advisories&#x2014;both historically and prospectively&#x2014;may alter purchasing behavior over time. Public statements or widely disseminated health communications, as for example, those related to the safety of specific medications, may also influence consumer behavior and health care&#x2013;seeking patterns. These factors may introduce deviations in observed OTC signals that are not directly attributable to disease dynamics, potentially leading to false-positive signals of outbreaks. Finally, our modeling assumes stable conditional probabilities over time, which may not hold true under significant shifts in disease presentation or consumer behavior. This limitation could be attenuated by periodically updating the conditional probabilities.</p><p>Taken together, these limitations point to challenges that remain to be addressed in future work. Future research may also enhance the current work by incorporating additional data sources (eg, participatory surveillance systems [<xref ref-type="bibr" rid="ref9">9</xref>,<xref ref-type="bibr" rid="ref11">11</xref>,<xref ref-type="bibr" rid="ref12">12</xref>], social media signals [<xref ref-type="bibr" rid="ref34">34</xref>,<xref ref-type="bibr" rid="ref35">35</xref>], and other digital epidemiologic data streams [<xref ref-type="bibr" rid="ref36">36</xref>]) and by applying adaptive models that account for evolving behaviors and changing disease dynamics [<xref ref-type="bibr" rid="ref37">37</xref>]. These directions are consistent with recent advances in AI [<xref ref-type="bibr" rid="ref38">38</xref>] for integrating heterogeneous data sources to improve infectious disease surveillance and epidemic modeling [<xref ref-type="bibr" rid="ref39">39</xref>].</p></sec><sec id="s4-4"><title>Conclusions</title><p>In summary, our results provide support that NRDM-based data, when paired with probabilistic modeling and anomaly detection techniques, may provide an effective supplement to traditional disease monitoring systems. In particular, the observed alignment between NRDM-derived ILI estimates and ED-reported ILI cases, along with the detection of known public health events (eg, COVID-19 onset), support the system&#x2019;s potential for early detection of seasonal disease activity and for identifying anomalies that may be associated with novel disease outbreaks. By identifying significant deviations in symptom-related OTC product sales, the system may offer timely public health insights that could support outbreak monitoring and response. Continued refinement and integration with other data sources and modeling frameworks may further strengthen the role of OTC data in the national biosurveillance ecosystem.</p></sec></sec></body><back><ack><p>The authors declare the use of generative AI (GenAI) in the research and writing process. According to the GAIDeT taxonomy (2025), the following tasks were delegated to GenAI tools under full human supervision: proofreading and editing. The GenAI tool used was ChatGPT (OpenAI). Responsibility for the final manuscript lies entirely with the authors. GenAI tools are not listed as authors and do not bear responsibility for the final outcomes. Declaration submitted by collective responsibility.</p></ack><notes><sec><title>Funding</title><p>This research was supported by the US National Library of Medicine (NLM) of the National Institutes of Health under grant R01LM013509 (Automated Surveillance of Overlapping Outbreaks and New Outbreak Diseases). In addition, YY received support from NLM grant R00LM013383 (Transfer Learning to Improve the Re-usability of Computable Biomedical Knowledge). The funders had no involvement in the study design, data collection, analysis, interpretation of the results, or manuscript preparation.</p></sec><sec><title>Data Availability</title><p>The data use contract between the providers of the National Retail Data Monitor (NRDM) data and the University of Pittsburgh does not allow distribution of the data for research use outside the University of Pittsburgh. Moreover, this contract expired on January 1, 2026.</p></sec></notes><fn-group><fn fn-type="con"><p>Conceptualization: YY, GFC</p><p>Data curation: JE, JMA</p><p>Formal analysis: YY</p><p>Funding acquisition: GFC</p><p>Methodology: YY, JMA, GFC</p><p>Supervision: GFC</p><p>Validation: HH, MGM</p><p>Writing &#x2013; original draft: YY</p><p>Writing &#x2013; review editing: JE, JMA, HH, MGM, GFC</p></fn><fn fn-type="conflict"><p>JE is a board member of General Biodefense LLC. All other authors have no conflicts of interest to declare.</p></fn></fn-group><glossary><title>Abbreviations</title><def-list><def-item><term id="abb1">CDC</term><def><p>Centers for Disease Control and Prevention</p></def></def-item><def-item><term id="abb2">CPT</term><def><p>conditional probability table</p></def></def-item><def-item><term id="abb3">E-step</term><def><p>expectation step</p></def></def-item><def-item><term id="abb4">ED</term><def><p>emergency department</p></def></def-item><def-item><term id="abb5">EHR</term><def><p>electronic health record</p></def></def-item><def-item><term id="abb6">EM</term><def><p>expectation-maximization</p></def></def-item><def-item><term id="abb7">FDR</term><def><p>false discovery rate</p></def></def-item><def-item><term id="abb8">HMPV</term><def><p>human metapneumovirus</p></def></def-item><def-item><term id="abb9">ICD</term><def><p>International Classification of Diseases</p></def></def-item><def-item><term id="abb10">ILI</term><def><p>influenza-like illness</p></def></def-item><def-item><term id="abb11">IRB</term><def><p>institutional review board</p></def></def-item><def-item><term id="abb12">M-step</term><def><p>maximization step</p></def></def-item><def-item><term id="abb13">NRDM</term><def><p>National Retail Data Monitor</p></def></def-item><def-item><term id="abb14">OTC</term><def><p>over-the-counter</p></def></def-item><def-item><term id="abb15">PCR</term><def><p>polymerase chain reaction</p></def></def-item><def-item><term id="abb16">PIV</term><def><p>parainfluenza</p></def></def-item><def-item><term id="abb17">RSV</term><def><p>respiratory syncytial virus</p></def></def-item><def-item><term id="abb18">UPMC</term><def><p>University of Pittsburgh Medical Center</p></def></def-item></def-list></glossary><ref-list><title>References</title><ref id="ref1"><label>1</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Elkin</surname><given-names>PL</given-names> </name><name name-style="western"><surname>Froehling</surname><given-names>DA</given-names> </name><name name-style="western"><surname>Wahner-Roedler</surname><given-names>DL</given-names> </name><name name-style="western"><surname>Brown</surname><given-names>SH</given-names> </name><name name-style="western"><surname>Bailey</surname><given-names>KR</given-names> </name></person-group><article-title>Comparison of natural language processing biosurveillance methods for identifying influenza from encounter notes</article-title><source>Ann Intern Med</source><year>2012</year><month>01</month><day>3</day><volume>156</volume><issue>1 Pt 1</issue><fpage>11</fpage><lpage>18</lpage><pub-id pub-id-type="doi">10.7326/0003-4819-156-1-201201030-00003</pub-id><pub-id pub-id-type="medline">22213490</pub-id></nlm-citation></ref><ref id="ref2"><label>2</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Ye</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Wagner</surname><given-names>MM</given-names> </name><name name-style="western"><surname>Cooper</surname><given-names>GF</given-names> </name><etal/></person-group><article-title>A study of the transferability of influenza case detection systems between two large healthcare systems</article-title><source>PLoS ONE</source><year>2017</year><volume>12</volume><issue>4</issue><fpage>e0174970</fpage><pub-id pub-id-type="doi">10.1371/journal.pone.0174970</pub-id><pub-id pub-id-type="medline">28380048</pub-id></nlm-citation></ref><ref id="ref3"><label>3</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Ghildayal</surname><given-names>N</given-names> </name><name name-style="western"><surname>Nagavedu</surname><given-names>K</given-names> </name><name name-style="western"><surname>Wiltz</surname><given-names>JL</given-names> </name><etal/></person-group><article-title>Public health surveillance in electronic health records: lessons from PCORnet</article-title><source>Prev Chronic Dis</source><year>2024</year><month>07</month><day>11</day><volume>21</volume><fpage>E51</fpage><pub-id pub-id-type="doi">10.5888/pcd21.230417</pub-id><pub-id pub-id-type="medline">38991533</pub-id></nlm-citation></ref><ref id="ref4"><label>4</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Aiken</surname><given-names>EL</given-names> </name><name name-style="western"><surname>McGough</surname><given-names>SF</given-names> </name><name name-style="western"><surname>Majumder</surname><given-names>MS</given-names> </name><etal/></person-group><article-title>Real-time estimation of disease activity in emerging outbreaks using internet search information</article-title><source>PLoS Comput Biol</source><year>2020</year><month>08</month><volume>16</volume><issue>8</issue><fpage>e1008117</fpage><pub-id pub-id-type="doi">10.1371/journal.pcbi.1008117</pub-id><pub-id pub-id-type="medline">32804932</pub-id></nlm-citation></ref><ref id="ref5"><label>5</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Ginsberg</surname><given-names>J</given-names> </name><name name-style="western"><surname>Mohebbi</surname><given-names>MH</given-names> </name><name name-style="western"><surname>Patel</surname><given-names>RS</given-names> </name><name name-style="western"><surname>Brammer</surname><given-names>L</given-names> </name><name name-style="western"><surname>Smolinski</surname><given-names>MS</given-names> </name><name name-style="western"><surname>Brilliant</surname><given-names>L</given-names> </name></person-group><article-title>Detecting influenza epidemics using search engine query data</article-title><source>Nature</source><year>2009</year><month>02</month><day>19</day><volume>457</volume><issue>7232</issue><fpage>1012</fpage><lpage>1014</lpage><pub-id pub-id-type="doi">10.1038/nature07634</pub-id><pub-id pub-id-type="medline">19020500</pub-id></nlm-citation></ref><ref id="ref6"><label>6</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Wang</surname><given-names>L</given-names> </name><name name-style="western"><surname>Liu</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Chen</surname><given-names>H</given-names> </name><etal/></person-group><article-title>Search-engine-based surveillance using artificial intelligence for early detection of coronavirus disease outbreak</article-title><source>J Big Data</source><year>2023</year><volume>10</volume><issue>1</issue><fpage>169</fpage><pub-id pub-id-type="doi">10.1186/s40537-023-00847-9</pub-id></nlm-citation></ref><ref id="ref7"><label>7</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Jordan</surname><given-names>SE</given-names> </name><name name-style="western"><surname>Hovet</surname><given-names>SE</given-names> </name><name name-style="western"><surname>Fung</surname><given-names>ICH</given-names> </name><name name-style="western"><surname>Liang</surname><given-names>H</given-names> </name><name name-style="western"><surname>Fu</surname><given-names>KW</given-names> </name><name name-style="western"><surname>Tse</surname><given-names>ZTH</given-names> </name></person-group><article-title>Using Twitter for public health surveillance from monitoring and prediction to public response</article-title><source>Data (Basel)</source><year>2018</year><volume>4</volume><issue>1</issue><fpage>6</fpage><pub-id pub-id-type="doi">10.3390/data4010006</pub-id></nlm-citation></ref><ref id="ref8"><label>8</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Zhang</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Chen</surname><given-names>K</given-names> </name><name name-style="western"><surname>Weng</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Chen</surname><given-names>Z</given-names> </name><name name-style="western"><surname>Zhang</surname><given-names>J</given-names> </name><name name-style="western"><surname>Hubbard</surname><given-names>R</given-names> </name></person-group><article-title>An intelligent early warning system of analyzing Twitter data using machine learning on COVID-19 surveillance in the US</article-title><source>Expert Syst Appl</source><year>2022</year><month>07</month><day>15</day><volume>198</volume><issue>116882</issue><fpage>116882</fpage><pub-id pub-id-type="doi">10.1016/j.eswa.2022.116882</pub-id><pub-id pub-id-type="medline">35308584</pub-id></nlm-citation></ref><ref id="ref9"><label>9</label><nlm-citation citation-type="web"><article-title>Best practices for the design, implementation, analysis and evaluation of participatory surveillance systems for influenza and other respiratory pathogens</article-title><source>World Health Organization</source><access-date>2026-09-28</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://www.who.int/publications/i/item/9789240095038">https://www.who.int/publications/i/item/9789240095038</ext-link></comment></nlm-citation></ref><ref id="ref10"><label>10</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Chunara</surname><given-names>R</given-names> </name><name name-style="western"><surname>Aman</surname><given-names>S</given-names> </name><name name-style="western"><surname>Smolinski</surname><given-names>M</given-names> </name><name name-style="western"><surname>Brownstein</surname><given-names>JS</given-names> </name></person-group><article-title>Flu near you: an online self-reported influenza surveillance system in the USA</article-title><source>Online J Public Health Inform</source><year>2013</year><volume>5</volume><issue>1</issue><fpage>e61123</fpage><pub-id pub-id-type="doi">10.5210/ojphi.v5i1.4456</pub-id></nlm-citation></ref><ref id="ref11"><label>11</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Chan</surname><given-names>CP</given-names> </name><name name-style="western"><surname>Wong</surname><given-names>NS</given-names> </name><name name-style="western"><surname>Kwan</surname><given-names>TH</given-names> </name><name name-style="western"><surname>Wong</surname><given-names>SYS</given-names> </name><name name-style="western"><surname>Lee</surname><given-names>SS</given-names> </name></person-group><article-title>Discerning the seasonal variations in respiratory virus exposure across networked populations through participatory surveillance</article-title><source>npj Digit Public Health</source><year>2026</year><volume>1</volume><issue>1</issue><fpage>6</fpage><pub-id pub-id-type="doi">10.1038/s44482-025-00010-6</pub-id></nlm-citation></ref><ref id="ref12"><label>12</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Smit</surname><given-names>T</given-names> </name><name name-style="western"><surname>Carstens</surname><given-names>G</given-names> </name><name name-style="western"><surname>Han</surname><given-names>W</given-names> </name><etal/></person-group><article-title>Flexible and scalable participatory syndromic and virological surveillance for respiratory infections: our experiences in The Netherlands</article-title><source>PLoS ONE</source><year>2025</year><volume>20</volume><issue>8</issue><fpage>e0303230</fpage><pub-id pub-id-type="doi">10.1371/journal.pone.0303230</pub-id><pub-id pub-id-type="medline">40857244</pub-id></nlm-citation></ref><ref id="ref13"><label>13</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Nacov</surname><given-names>JA</given-names> </name><name name-style="western"><surname>Salmanton-Garc&#x00ED;a</surname><given-names>J</given-names> </name><name name-style="western"><surname>Jakobs</surname><given-names>J</given-names> </name><etal/></person-group><article-title>Self-testing for five respiratory viruses in adults &#x2265;50 years of age in Germany for longitudinal monitoring of community-acquired acute respiratory infections</article-title><source>Clin Microbiol Infect</source><year>2026</year><month>09</month><volume>32</volume><issue>9</issue><fpage>1480</fpage><lpage>1486</lpage><pub-id pub-id-type="doi">10.1016/j.cmi.2026.03.005</pub-id><pub-id pub-id-type="medline">41856404</pub-id></nlm-citation></ref><ref id="ref14"><label>14</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Tseng</surname><given-names>YJ</given-names> </name><name name-style="western"><surname>Olson</surname><given-names>KL</given-names> </name><name name-style="western"><surname>Bloch</surname><given-names>D</given-names> </name><name name-style="western"><surname>Mandl</surname><given-names>KD</given-names> </name></person-group><article-title>Smart thermometer-based participatory surveillance to discern the role of children in household viral transmission during the COVID-19 pandemic</article-title><source>JAMA Netw Open</source><year>2023</year><month>06</month><day>1</day><volume>6</volume><issue>6</issue><fpage>e2316190</fpage><pub-id pub-id-type="doi">10.1001/jamanetworkopen.2023.16190</pub-id><pub-id pub-id-type="medline">37261828</pub-id></nlm-citation></ref><ref id="ref15"><label>15</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Villamar&#x00ED;n</surname><given-names>R</given-names> </name><name name-style="western"><surname>Cooper</surname><given-names>G</given-names> </name><name name-style="western"><surname>Wagner</surname><given-names>M</given-names> </name><name name-style="western"><surname>Tsui</surname><given-names>FC</given-names> </name><name name-style="western"><surname>Espino</surname><given-names>JU</given-names> </name></person-group><article-title>A method for estimating from thermometer sales the incidence of diseases that are symptomatically similar to influenza</article-title><source>J Biomed Inform</source><year>2013</year><month>06</month><volume>46</volume><issue>3</issue><fpage>444</fpage><lpage>457</lpage><pub-id pub-id-type="doi">10.1016/j.jbi.2013.02.003</pub-id><pub-id pub-id-type="medline">23501015</pub-id></nlm-citation></ref><ref id="ref16"><label>16</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Wagner</surname><given-names>MM</given-names> </name><name name-style="western"><surname>Robinson</surname><given-names>JM</given-names> </name><name name-style="western"><surname>Tsui</surname><given-names>FC</given-names> </name><name name-style="western"><surname>Espino</surname><given-names>JU</given-names> </name><name name-style="western"><surname>Hogan</surname><given-names>WR</given-names> </name></person-group><article-title>Design of a national retail data monitor for public health surveillance</article-title><source>J Am Med Inform Assoc</source><year>2003</year><volume>10</volume><issue>5</issue><fpage>409</fpage><lpage>418</lpage><pub-id pub-id-type="doi">10.1197/jamia.M1357</pub-id><pub-id pub-id-type="medline">12807802</pub-id></nlm-citation></ref><ref id="ref17"><label>17</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Espino</surname><given-names>JU</given-names> </name><name name-style="western"><surname>Wagner</surname><given-names>M</given-names> </name><name name-style="western"><surname>Szczepaniak</surname><given-names>C</given-names> </name><etal/></person-group><article-title>Removing a barrier to computer-based outbreak and disease surveillance--the RODS Open Source Project</article-title><source>MMWR Suppl</source><year>2004</year><month>09</month><day>24</day><volume>53</volume><issue>32&#x2013;39</issue><fpage>32</fpage><lpage>39</lpage><pub-id pub-id-type="medline">15714624</pub-id></nlm-citation></ref><ref id="ref18"><label>18</label><nlm-citation citation-type="confproc"><person-group person-group-type="author"><name name-style="western"><surname>Sabhnani</surname><given-names>MR</given-names> </name><name name-style="western"><surname>Neill</surname><given-names>DB</given-names> </name><name name-style="western"><surname>Moore</surname><given-names>AW</given-names> </name></person-group><article-title>Detecting anomalous patterns in pharmacy retail data</article-title><access-date>2026-09-28</access-date><conf-name>KDD-2005 Workshop on Data Mining Methods for Anomaly Detection</conf-name><conf-date>Aug 21, 2005</conf-date><comment><ext-link ext-link-type="uri" xlink:href="https://www.cs.cmu.edu/~neill/papers/ADKDD-Sabhnani.pdf">https://www.cs.cmu.edu/~neill/papers/ADKDD-Sabhnani.pdf</ext-link></comment></nlm-citation></ref><ref id="ref19"><label>19</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Liu</surname><given-names>TY</given-names> </name><name name-style="western"><surname>Sanders</surname><given-names>JL</given-names> </name><name name-style="western"><surname>Tsui</surname><given-names>FC</given-names> </name><name name-style="western"><surname>Espino</surname><given-names>JU</given-names> </name><name name-style="western"><surname>Dato</surname><given-names>VM</given-names> </name><name name-style="western"><surname>Suyama</surname><given-names>J</given-names> </name></person-group><article-title>Association of over-the-counter pharmaceutical sales with influenza-like-illnesses to patient volume in an urgent care setting</article-title><source>PLoS ONE</source><year>2013</year><volume>8</volume><issue>3</issue><fpage>e59273</fpage><pub-id pub-id-type="doi">10.1371/journal.pone.0059273</pub-id><pub-id pub-id-type="medline">23555647</pub-id></nlm-citation></ref><ref id="ref20"><label>20</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Kirian</surname><given-names>ML</given-names> </name><name name-style="western"><surname>Weintraub</surname><given-names>JM</given-names> </name></person-group><article-title>Prediction of gastrointestinal disease with over-the-counter diarrheal remedy sales records in the San Francisco Bay Area</article-title><source>BMC Med Inform Decis Mak</source><year>2010</year><month>07</month><day>20</day><volume>10</volume><fpage>39</fpage><pub-id pub-id-type="doi">10.1186/1472-6947-10-39</pub-id><pub-id pub-id-type="medline">20646311</pub-id></nlm-citation></ref><ref id="ref21"><label>21</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Marx</surname><given-names>MA</given-names> </name><name name-style="western"><surname>Rodriguez</surname><given-names>CV</given-names> </name><name name-style="western"><surname>Greenko</surname><given-names>J</given-names> </name><etal/></person-group><article-title>Diarrheal illness detected through syndromic surveillance after a massive power outage: New York City, August 2003</article-title><source>Am J Public Health</source><year>2006</year><month>03</month><volume>96</volume><issue>3</issue><fpage>547</fpage><lpage>553</lpage><pub-id pub-id-type="doi">10.2105/AJPH.2004.061358</pub-id><pub-id pub-id-type="medline">16380562</pub-id></nlm-citation></ref><ref id="ref22"><label>22</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Krenzelok</surname><given-names>E</given-names> </name><name name-style="western"><surname>MacPherson</surname><given-names>E</given-names> </name><name name-style="western"><surname>Mrvos</surname><given-names>R</given-names> </name></person-group><article-title>Disease surveillance and nonprescription medication sales can predict increases in poison exposure</article-title><source>J Med Toxicol</source><year>2008</year><month>03</month><volume>4</volume><issue>1</issue><fpage>7</fpage><lpage>10</lpage><pub-id pub-id-type="doi">10.1007/BF03160942</pub-id><pub-id pub-id-type="medline">18338303</pub-id></nlm-citation></ref><ref id="ref23"><label>23</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Johnson</surname><given-names>JM</given-names> </name><name name-style="western"><surname>Hicks</surname><given-names>L</given-names> </name><name name-style="western"><surname>McClean</surname><given-names>C</given-names> </name><name name-style="western"><surname>Ginsberg</surname><given-names>M</given-names> </name></person-group><article-title>Leveraging syndromic surveillance during the San Diego wildfires, 2003</article-title><source>Morb Mortal Wkly Rep</source><year>2005</year><month>08</month><day>26</day><access-date>2026-09-28</access-date><volume>54</volume><issue>Suppl</issue><fpage>190</fpage><comment><ext-link ext-link-type="uri" xlink:href="https://www.cdc.gov/mmwr/preview/mmwrhtml/su5401a36.htm">https://www.cdc.gov/mmwr/preview/mmwrhtml/su5401a36.htm</ext-link></comment></nlm-citation></ref><ref id="ref24"><label>24</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Heffernan</surname><given-names>R</given-names> </name><name name-style="western"><surname>Mostashari</surname><given-names>F</given-names> </name><name name-style="western"><surname>Das</surname><given-names>D</given-names> </name><etal/></person-group><article-title>New York City syndromic surveillance systems</article-title><source>MMWR Suppl</source><year>2004</year><month>09</month><day>24</day><volume>53</volume><fpage>23</fpage><lpage>27</lpage><pub-id pub-id-type="medline">15714622</pub-id></nlm-citation></ref><ref id="ref25"><label>25</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Aronis</surname><given-names>JM</given-names> </name><name name-style="western"><surname>Ye</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Espino</surname><given-names>J</given-names> </name><name name-style="western"><surname>Hochheiser</surname><given-names>H</given-names> </name><name name-style="western"><surname>Michaels</surname><given-names>MG</given-names> </name><name name-style="western"><surname>Cooper</surname><given-names>GF</given-names> </name></person-group><article-title>A Bayesian system to detect and track outbreaks of influenza-like illnesses including novel diseases: algorithm development and validation</article-title><source>JMIR Public Health Surveill</source><year>2024</year><month>08</month><day>13</day><volume>10</volume><fpage>e57349</fpage><pub-id pub-id-type="doi">10.2196/57349</pub-id><pub-id pub-id-type="medline">38805611</pub-id></nlm-citation></ref><ref id="ref26"><label>26</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Visweswaran</surname><given-names>S</given-names> </name><name name-style="western"><surname>McLay</surname><given-names>B</given-names> </name><name name-style="western"><surname>Cappella</surname><given-names>N</given-names> </name><etal/></person-group><article-title>An atomic approach to the design and implementation of a research data warehouse</article-title><source>J Am Med Inform Assoc</source><year>2022</year><month>03</month><day>15</day><volume>29</volume><issue>4</issue><fpage>601</fpage><lpage>608</lpage><pub-id pub-id-type="doi">10.1093/jamia/ocab204</pub-id><pub-id pub-id-type="medline">34613409</pub-id></nlm-citation></ref><ref id="ref27"><label>27</label><nlm-citation citation-type="book"><person-group person-group-type="author"><name name-style="western"><surname>McLachlan</surname><given-names>GJ</given-names> </name><name name-style="western"><surname>Krishnan</surname><given-names>T</given-names> </name></person-group><source>The EM Algorithm and Extensions</source><year>2008</year><publisher-name>John Wiley &#x0026; Sons</publisher-name><pub-id pub-id-type="other">9780470191613</pub-id></nlm-citation></ref><ref id="ref28"><label>28</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Shapiro</surname><given-names>SS</given-names> </name><name name-style="western"><surname>Wilk</surname><given-names>MB</given-names> </name></person-group><article-title>An analysis of variance test for normality (complete samples)</article-title><source>Biometrika</source><year>1965</year><month>12</month><day>1</day><volume>52</volume><issue>3-4</issue><fpage>591</fpage><lpage>611</lpage><pub-id pub-id-type="doi">10.1093/biomet/52.3-4.591</pub-id></nlm-citation></ref><ref id="ref29"><label>29</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Benjamini</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Hochberg</surname><given-names>Y</given-names> </name></person-group><article-title>Controlling the false discovery rate: a practical and powerful approach to multiple testing</article-title><source>Journal of the Royal Statistical Society Series B</source><year>1995</year><month>01</month><day>1</day><volume>57</volume><issue>1</issue><fpage>289</fpage><lpage>300</lpage><pub-id pub-id-type="doi">10.1111/j.2517-6161.1995.tb02031.x</pub-id></nlm-citation></ref><ref id="ref30"><label>30</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Dudoit</surname><given-names>S</given-names> </name><name name-style="western"><surname>Shaffer</surname><given-names>JP</given-names> </name><name name-style="western"><surname>Boldrick</surname><given-names>JC</given-names> </name></person-group><article-title>Multiple hypothesis testing in microarray experiments</article-title><source>Statist Sci</source><year>2003</year><month>02</month><volume>18</volume><issue>1</issue><fpage>71</fpage><lpage>103</lpage><pub-id pub-id-type="doi">10.1214/ss/1056397487</pub-id></nlm-citation></ref><ref id="ref31"><label>31</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Metzger</surname><given-names>KB</given-names> </name><name name-style="western"><surname>Hajat</surname><given-names>A</given-names> </name><name name-style="western"><surname>Crawford</surname><given-names>M</given-names> </name><name name-style="western"><surname>Mostashari</surname><given-names>F</given-names> </name></person-group><article-title>How many illnesses does one emergency department visit represent? Using a population-based telephone survey to estimate the syndromic multiplier</article-title><source>MMWR Suppl</source><year>2004</year><month>09</month><day>24</day><volume>53</volume><issue>106&#x2013;111</issue><fpage>106</fpage><lpage>111</lpage><pub-id pub-id-type="medline">15714638</pub-id></nlm-citation></ref><ref id="ref32"><label>32</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>de Oliveira Otto</surname><given-names>MC</given-names> </name><name name-style="western"><surname>Brito</surname><given-names>FA</given-names> </name><name name-style="western"><surname>Tark</surname><given-names>JY</given-names> </name><etal/></person-group><article-title>Case growth analysis to inform local response to COVID-19 epidemic in a diverse U.S community</article-title><source>Sci Rep</source><year>2022</year><month>10</month><day>4</day><volume>12</volume><issue>1</issue><fpage>16217</fpage><pub-id pub-id-type="doi">10.1038/s41598-022-20502-2</pub-id><pub-id pub-id-type="medline">36195771</pub-id></nlm-citation></ref><ref id="ref33"><label>33</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Li</surname><given-names>J</given-names> </name><name name-style="western"><surname>Wu</surname><given-names>C</given-names> </name><name name-style="western"><surname>Liu</surname><given-names>K</given-names> </name><etal/></person-group><article-title>Monitoring OTC drug sales for early detection of respiratory infectious disease outbreaks</article-title><source>Front Public Health</source><year>2025</year><volume>13</volume><fpage>1661753</fpage><pub-id pub-id-type="doi">10.3389/fpubh.2025.1661753</pub-id><pub-id pub-id-type="medline">41458427</pub-id></nlm-citation></ref><ref id="ref34"><label>34</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Pilipiec</surname><given-names>P</given-names> </name><name name-style="western"><surname>Samsten</surname><given-names>I</given-names> </name><name name-style="western"><surname>Bota</surname><given-names>A</given-names> </name></person-group><article-title>Surveillance of communicable diseases using social media: a systematic review</article-title><source>PLoS ONE</source><year>2023</year><volume>18</volume><issue>2</issue><fpage>e0282101</fpage><pub-id pub-id-type="doi">10.1371/journal.pone.0282101</pub-id><pub-id pub-id-type="medline">36827297</pub-id></nlm-citation></ref><ref id="ref35"><label>35</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Kanchan</surname><given-names>S</given-names> </name><name name-style="western"><surname>Gaidhane</surname><given-names>A</given-names> </name></person-group><article-title>Social media role and its impact on public health: a narrative review</article-title><source>Cureus</source><year>2023</year><month>01</month><volume>15</volume><issue>1</issue><fpage>e33737</fpage><pub-id pub-id-type="doi">10.7759/cureus.33737</pub-id><pub-id pub-id-type="medline">36793805</pub-id></nlm-citation></ref><ref id="ref36"><label>36</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>McClymont</surname><given-names>H</given-names> </name><name name-style="western"><surname>Lambert</surname><given-names>SB</given-names> </name><name name-style="western"><surname>Barr</surname><given-names>I</given-names> </name><name name-style="western"><surname>Vardoulakis</surname><given-names>S</given-names> </name><name name-style="western"><surname>Bambrick</surname><given-names>H</given-names> </name><name name-style="western"><surname>Hu</surname><given-names>W</given-names> </name></person-group><article-title>Internet-based surveillance systems and infectious diseases prediction: an updated review of the last 10 years and lessons from the COVID-19 pandemic</article-title><source>J Epidemiol Glob Health</source><year>2024</year><month>09</month><volume>14</volume><issue>3</issue><fpage>645</fpage><lpage>657</lpage><pub-id pub-id-type="doi">10.1007/s44197-024-00272-y</pub-id><pub-id pub-id-type="medline">39141074</pub-id></nlm-citation></ref><ref id="ref37"><label>37</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Eshtewy</surname><given-names>NA</given-names> </name><name name-style="western"><surname>Forootani</surname><given-names>A</given-names> </name><name name-style="western"><surname>Sisi</surname><given-names>ZA</given-names> </name></person-group><article-title>Survey on mathematical modeling of infectious disease dynamics: insights and applications</article-title><source>BMC Infect Dis</source><year>2026</year><month>02</month><day>24</day><volume>26</volume><issue>1</issue><fpage>672</fpage><pub-id pub-id-type="doi">10.1186/s12879-026-12905-7</pub-id><pub-id pub-id-type="medline">41735891</pub-id></nlm-citation></ref><ref id="ref38"><label>38</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Idahor</surname><given-names>CO</given-names> </name><name name-style="western"><surname>Esomu</surname><given-names>EJO</given-names> </name><name name-style="western"><surname>Ogbonna</surname><given-names>N</given-names> </name><etal/></person-group><article-title>Infectious disease surveillance in the era of big data and AI: opportunities and pitfalls</article-title><source>Cureus</source><year>2025</year><month>10</month><volume>17</volume><issue>10</issue><fpage>e93929</fpage><pub-id pub-id-type="doi">10.7759/cureus.93929</pub-id><pub-id pub-id-type="medline">41200593</pub-id></nlm-citation></ref><ref id="ref39"><label>39</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Kraemer</surname><given-names>MUG</given-names> </name><name name-style="western"><surname>Tsui</surname><given-names>JLH</given-names> </name><name name-style="western"><surname>Chang</surname><given-names>SY</given-names> </name><etal/></person-group><article-title>Artificial intelligence for modelling infectious disease epidemics</article-title><source>Nature</source><year>2025</year><month>02</month><volume>638</volume><issue>8051</issue><fpage>623</fpage><lpage>635</lpage><pub-id pub-id-type="doi">10.1038/s41586-024-08564-w</pub-id><pub-id pub-id-type="medline">39972226</pub-id></nlm-citation></ref></ref-list><app-group><supplementary-material id="app1"><label>Multimedia Appendix 1</label><p><italic>ICD</italic> (<italic>International Classification of Diseases</italic>) diagnosis codes used to define influenza-like illness (ILI)&#x2013;related diseases in emergency department (ED) surveillance data from Allegheny County, Pennsylvania, United States. The table includes <italic>ICD-9</italic> (<italic>International Classification of Diseases, Ninth Revision</italic>) and <italic>ICD-10</italic> (<italic>International Classification of Diseases, Tenth Revision</italic>) diagnosis codes used to identify adenovirus, enterovirus/rhinovirus, influenza, human metapneumovirus (HMPV), parainfluenza virus, respiratory syncytial virus (RSV), and COVID-19 cases for estimation of ILI activity in this study.</p><media xlink:href="publichealth_v12i1e91163_app1.docx" xlink:title="DOCX File, 35 KB"/></supplementary-material><supplementary-material id="app2"><label>Multimedia Appendix 2</label><p>Expectation-maximization algorithm used to estimate OTC product purchase probabilities for influenza-like illness surveillance.</p><media xlink:href="publichealth_v12i1e91163_app2.docx" xlink:title="DOCX File, 697 KB"/></supplementary-material><supplementary-material id="app3"><label>Multimedia Appendix 3</label><p>Sensitivity analysis using time-varying conditional probability tables estimated by the expectation-maximization (EM) algorithm.</p><media xlink:href="publichealth_v12i1e91163_app3.docx" xlink:title="DOCX File, 390 KB"/></supplementary-material></app-group></back></article>