<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.0 20040830//EN" "http://dtd.nlm.nih.gov/publishing/2.0/journalpublishing.dtd">
<?covid-19-tdm?>
<article xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" dtd-version="2.0">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">JMIR</journal-id>
      <journal-id journal-id-type="nlm-ta">J Med Internet Res</journal-id>
      <journal-title>Journal of Medical Internet Research</journal-title>
      <issn pub-type="epub">1438-8871</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">v25i1e40308</article-id>
      <article-id pub-id-type="pmid">36735836</article-id>
      <article-id pub-id-type="doi">10.2196/40308</article-id>
      <article-categories>
        <subj-group subj-group-type="heading">
          <subject>Original Paper</subject>
        </subj-group>
        <subj-group subj-group-type="article-type">
          <subject>Original Paper</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>Evaluating the Impact of Mask Mandates and Political Party Affiliation on Mental Health Internet Search Behavior in the United States During the COVID-19 Pandemic: Generalized Additive Mixed Model Framework</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="editor">
          <name>
            <surname>Mavragani</surname>
            <given-names>Amaryllis</given-names>
          </name>
        </contrib>
      </contrib-group>
      <contrib-group>
        <contrib contrib-type="reviewer">
          <name>
            <surname>Lavoie</surname>
            <given-names>Kim</given-names>
          </name>
        </contrib>
        <contrib contrib-type="reviewer">
          <name>
            <surname>Mejova</surname>
            <given-names>Yelena</given-names>
          </name>
        </contrib>
      </contrib-group>
      <contrib-group>
        <contrib id="contrib1" contrib-type="author" corresp="yes">
          <name name-style="western">
            <surname>Gyorda</surname>
            <given-names>Joseph A</given-names>
          </name>
          <degrees>BA</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <address>
            <institution>Center for Technology and Behavioral Health</institution>
            <institution>Geisel School of Medicine</institution>
            <institution>Dartmouth College</institution>
            <addr-line>46 Centerra Pkwy</addr-line>
            <addr-line>Lebanon, NH, 03766</addr-line>
            <country>United States</country>
            <phone>1 (603) 646 7000</phone>
            <email>joseph.a.gyorda.gr@dartmouth.edu</email>
          </address>
          <xref rid="aff2" ref-type="aff">2</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0003-3554-8546</ext-link>
        </contrib>
        <contrib id="contrib2" contrib-type="author">
          <name name-style="western">
            <surname>Lekkas</surname>
            <given-names>Damien</given-names>
          </name>
          <degrees>MSc</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <xref rid="aff2" ref-type="aff">2</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0002-6995-9223</ext-link>
        </contrib>
        <contrib id="contrib3" contrib-type="author">
          <name name-style="western">
            <surname>Price</surname>
            <given-names>George</given-names>
          </name>
          <degrees>BSc</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <xref rid="aff2" ref-type="aff">2</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0002-9164-4973</ext-link>
        </contrib>
        <contrib id="contrib4" contrib-type="author">
          <name name-style="western">
            <surname>Jacobson</surname>
            <given-names>Nicholas C</given-names>
          </name>
          <degrees>PhD</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <xref rid="aff2" ref-type="aff">2</xref>
          <xref rid="aff3" ref-type="aff">3</xref>
          <xref rid="aff4" ref-type="aff">4</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0002-8832-4741</ext-link>
        </contrib>
      </contrib-group>
      <aff id="aff1">
        <label>1</label>
        <institution>Center for Technology and Behavioral Health</institution>
        <institution>Geisel School of Medicine</institution>
        <institution>Dartmouth College</institution>
        <addr-line>Lebanon, NH</addr-line>
        <country>United States</country>
      </aff>
      <aff id="aff2">
        <label>2</label>
        <institution>Quantitative Biomedical Sciences Program</institution>
        <institution>Dartmouth College</institution>
        <addr-line>Hanover, NH</addr-line>
        <country>United States</country>
      </aff>
      <aff id="aff3">
        <label>3</label>
        <institution>Department of Biomedical Data Science</institution>
        <institution>Geisel School of Medicine</institution>
        <institution>Dartmouth College</institution>
        <addr-line>Hanover, NH</addr-line>
        <country>United States</country>
      </aff>
      <aff id="aff4">
        <label>4</label>
        <institution>Department of Psychiatry</institution>
        <institution>Geisel School of Medicine</institution>
        <institution>Dartmouth College</institution>
        <addr-line>Hanover, NH</addr-line>
        <country>United States</country>
      </aff>
      <author-notes>
        <corresp>Corresponding Author: Joseph A Gyorda <email>joseph.a.gyorda.gr@dartmouth.edu</email></corresp>
      </author-notes>
      <pub-date pub-type="collection">
        <year>2023</year>
      </pub-date>
      <pub-date pub-type="epub">
        <day>3</day>
        <month>3</month>
        <year>2023</year>
      </pub-date>
      <volume>25</volume>
      <elocation-id>e40308</elocation-id>
      <history>
        <date date-type="received">
          <day>15</day>
          <month>6</month>
          <year>2022</year>
        </date>
        <date date-type="rev-request">
          <day>20</day>
          <month>9</month>
          <year>2022</year>
        </date>
        <date date-type="rev-recd">
          <day>6</day>
          <month>12</month>
          <year>2022</year>
        </date>
        <date date-type="accepted">
          <day>10</day>
          <month>1</month>
          <year>2023</year>
        </date>
      </history>
      <copyright-statement>©Joseph A Gyorda, Damien Lekkas, George Price, Nicholas C Jacobson. Originally published in the Journal of Medical Internet Research (https://www.jmir.org), 03.03.2023.</copyright-statement>
      <copyright-year>2023</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 (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in the Journal of Medical Internet Research, is properly cited. The complete bibliographic information, a link to the original publication on https://www.jmir.org/, as well as this copyright and license information must be included.</p>
      </license>
      <self-uri xlink:href="https://www.jmir.org/2023/1/e40308" xlink:type="simple"/>
      <abstract>
        <sec sec-type="background">
          <title>Background</title>
          <p>The impacts of the COVID-19 pandemic on mental health worldwide and in the United States have been well documented. However, there is limited research examining the long-term effects of the pandemic on mental health, particularly in relation to pervasive policies such as statewide mask mandates and political party affiliation.</p>
        </sec>
        <sec sec-type="objective">
          <title>Objective</title>
          <p>The goal of this study was to examine whether statewide mask mandates and political party affiliations yielded differential changes in mental health symptoms across the United States by leveraging state-specific internet search query data.</p>
        </sec>
        <sec sec-type="methods">
          <title>Methods</title>
          <p>This study leveraged Google search queries from March 24, 2020, to March 29, 2021, in each of the 50 states in the United States. Of the 50 states, 39 implemented statewide mask mandates—with 16 of these states being Republican—to combat the spread of COVID-19. This study investigated whether mask mandates were associated differentially with mental health in states with and without mandates by exploring variations in mental health search queries across the United States. In addition, political party affiliation was examined as a potential covariate to determine whether mask mandates had differential associations with mental health in Republican and Democratic states. Generalized additive mixed models were implemented to model associations among mask mandates, political party affiliation, and mental health search volume for up to 7 months following the implementation of a mask mandate.</p>
        </sec>
        <sec sec-type="results">
          <title>Results</title>
          <p>The results of generalized additive mixed models revealed that search volume for “restless” significantly increased following a mask mandate across all states, whereas the search volume for “irritable” and “anxiety” increased and decreased, respectively, following a mandate for Republican states in comparison with Democratic states. Most mental health search terms did not exhibit significant changes in search volume in relation to mask mandate implementation.</p>
        </sec>
        <sec sec-type="conclusions">
          <title>Conclusions</title>
          <p>These findings suggest that mask mandates were associated nonlinearly with significant changes in mental health search behavior, with the most notable associations occurring in anxiety-related search terms. Therefore, policy makers should consider monitoring and providing additional support for these mental health symptoms following the implementation of public health–related mandates such as mask mandates. Nevertheless, these results do not provide evidence for an overwhelming impact of mask mandates on population-level mental health in the United States.</p>
        </sec>
      </abstract>
      <kwd-group>
        <kwd>mental health</kwd>
        <kwd>Google Trends</kwd>
        <kwd>mask mandates</kwd>
        <kwd>political party</kwd>
        <kwd>generalized additive mixed modeling</kwd>
        <kwd>COVID-19</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec sec-type="introduction">
      <title>Introduction</title>
      <sec>
        <title>Background</title>
        <p>For &#62;2 years, the COVID-19 pandemic has been afflicting global populations in a variety of ways. Although the physical impact of COVID-19 is evident and has been well documented in the literature [<xref ref-type="bibr" rid="ref1">1</xref>-<xref ref-type="bibr" rid="ref3">3</xref>], more research is needed to assess the mental impact of the COVID-19 pandemic. Many studies have assessed short-term impacts of the pandemic on mental health. For instance, a meta-analysis by Talevi et al [<xref ref-type="bibr" rid="ref4">4</xref>] revealed impacts on psychological well-being, including increased anxiety, depression, stress, and insomnia during the first few weeks of the pandemic in March 2020 and April 2020. These associations were detected in a variety of populations, including college students, health care workers, and patients with COVID-19 [<xref ref-type="bibr" rid="ref4">4</xref>]. Other works have unveiled similar mental impacts because of extended periods of quarantine [<xref ref-type="bibr" rid="ref5">5</xref>,<xref ref-type="bibr" rid="ref6">6</xref>]. In light of these findings, fewer works to date have studied the long-term impacts of the COVID-19 pandemic on mental health. In a meta-analysis, Bourmistrova et al [<xref ref-type="bibr" rid="ref7">7</xref>] found that patients with COVID-19 had mild to no anxiety and depression symptoms for at least 1 month following diagnosis, but these trends were not investigated in the general population (eg, including patients without COVID-19). Conversely, Veldhuis et al [<xref ref-type="bibr" rid="ref8">8</xref>] found that survey participants (N=1567) had increased depressive symptoms and suicidal thoughts after a 5-month follow-up at the end of summer 2020. Taken together, more research is still needed to assess the long-term mental effects of COVID-19, the factors contributing to these effects, and the populations most at risk of experiencing these effects. Such research will help accentuate the need to institute policy measures that increase access to and strengthen mental health services worldwide as well as increase awareness of the specific mental risk factors that exist among high-risk populations [<xref ref-type="bibr" rid="ref5">5</xref>]. In this light, this study aimed to contribute to the limited literature on the long-term mental health impacts of COVID-19 through investigating trends in mental health activity along with their possible contributing factors over the first year of the pandemic (March 2020-March 2021) in a large representative national sample in the United States.</p>
        <p>Importantly, a data stream that has shown promise for operationalizing mental health is internet search term activity [<xref ref-type="bibr" rid="ref9">9</xref>,<xref ref-type="bibr" rid="ref10">10</xref>], with dynamic tools such as Google Trends providing a publicly available platform with which to investigate internet search behavior. Most people aged &#60;25 years perform internet searches as their primary means of seeking mental health help [<xref ref-type="bibr" rid="ref11">11</xref>]; therefore, internet search activity may be a potent indicator of changes in mental health. Various studies have documented the use of internet search engines for mental health self-diagnosis [<xref ref-type="bibr" rid="ref9">9</xref>,<xref ref-type="bibr" rid="ref12">12</xref>]. In addition, myriad works have connected internet searches for psychopathologies with actual experience of them. For instance, a study found that increased self-reported anxiety was associated with increased Google search rates for anxiety [<xref ref-type="bibr" rid="ref13">13</xref>], whereas another study unveiled a positive relationship between depressive symptom search volume and same-month suicide rates [<xref ref-type="bibr" rid="ref14">14</xref>]. In the context of COVID-19, Ayers et al [<xref ref-type="bibr" rid="ref15">15</xref>] discovered that there were sudden spikes in anxiety-related search activity in March 2020 to April 2020 in the United States. Furthermore, analyses by Gianfredi et al [<xref ref-type="bibr" rid="ref16">16</xref>] revealed significant positive associations between mental health–related search volume (eg, insomnia, suicide, and depression) and COVID-19 deaths. Although it is important to acknowledge that mental health symptoms differ greatly across individuals, analyzing trends in population-level internet search behavior can reveal associations with potentially important implications for public health and policy [<xref ref-type="bibr" rid="ref14">14</xref>].</p>
        <p>Leveraging internet search behavior as an indicator of mental health, this work aimed to specifically disentangle some of the factors that may influence changes in mental health in relation to the COVID-19 pandemic. In particular, this research brought to attention the ubiquity of state-enforced mask mandates throughout the pandemic and their potential to affect mental health. A total of 39 out of 50 states in the United States implemented statewide mask-wearing mandates as a means of limiting the transmission of the novel coronavirus. Although mask mandates may have provided some with a reduction in anxiety because of added protection from the coronavirus or mitigating sources of social anxiety [<xref ref-type="bibr" rid="ref17">17</xref>], wearing a face mask may be perceived as restrictive or uncomfortable [<xref ref-type="bibr" rid="ref18">18</xref>] as well as something that may threaten personal freedom [<xref ref-type="bibr" rid="ref19">19</xref>]; therefore, it is reasonable to believe that mental reactions to the requirement of masking were heterogeneous and often adverse both across the country and throughout this phase of the pandemic. Reasons for an adverse response are manifold and need not be restricted to groups rather than to masking. For example, individuals in favor of masking may respond negatively to the imposed changes as a result of interactions with those that are less in favor of masking. A study revealed that there was an increase in anger present in tweets that were promasking in states both with and without mask mandates [<xref ref-type="bibr" rid="ref19">19</xref>]. In light of the associations between mask mandates and mental health, no studies have examined the broader, long-term mental impact of mask mandates. In addition, there is evidence suggesting that masking behaviors, including mental responses to masking mandates as well as mental health constructs such as anxiety and fear, differ across political parties in relation to the COVID-19 pandemic [<xref ref-type="bibr" rid="ref20">20</xref>,<xref ref-type="bibr" rid="ref21">21</xref>]. Accordingly, this study sought to investigate the associations among state-level mask mandates, political affiliations, and mental health during the COVID-19 pandemic by way of internet search behavior. Such an investigation may provide leaders with important considerations regarding the long-term mental implications of implementing large-scale interventions such as mask mandates and how the political leanings of their populations may contribute to these mental health responses.</p>
      </sec>
      <sec>
        <title>Objectives</title>
        <p>The aim of this study was to evaluate the long-term influences of mask mandate implementation and political party affiliation on mental health search term volume between March 24, 2020, and March 29, 2021, in the 50 states in the United States. Changes in mental health were modeled using generalized additive mixed models (GAMMs) on data collected through Google Trends. In particular, this study serves to complement the work by Jacobson et al [<xref ref-type="bibr" rid="ref22">22</xref>], where an attenuation of mental health search term activity was found in the United States after stay-at-home orders were implemented. Consequently, this work was interested in examining whether statewide mask mandates and political party affiliation, quantified as political party elected during the 2020 presidential election (see the <italic>Mask Mandates and Political Party Elected</italic> section), had similar significant associations with mental health activity. In addition, physical health symptom search terms both related and unrelated to COVID-19 were analyzed as a means of comparison with the associations between mental health search term volume and mask mandates. In this data-driven exploratory analysis, the authors investigated the research questions outlined in <xref ref-type="boxed-text" rid="box1">Textbox 1</xref>.</p>
        <boxed-text id="box1" position="float">
          <title>Research questions and hypotheses.</title>
          <p>
            <bold>Research question 1</bold>
          </p>
          <list list-type="bullet">
            <list-item>
              <p>Were statewide mask mandates significantly associated with the trajectories of internet mental health search queries in the United States between March 2020 and March 2021 compared with states without mask mandates in effect, and were these mandates differentially associated with the trajectories of mental health search queries as a function of state political party affiliation?</p>
            </list-item>
          </list>
          <p>
            <bold>
              <italic>Hypothesis 1</italic>
            </bold>
          </p>
          <list list-type="bullet">
            <list-item>
              <p>Given the evidence suggesting a mental impact of mask mandates [<xref ref-type="bibr" rid="ref17">17</xref>-<xref ref-type="bibr" rid="ref19">19</xref>] and evidence suggesting a differential mental impact of mask mandates across political party affiliation [<xref ref-type="bibr" rid="ref20">20</xref>,<xref ref-type="bibr" rid="ref21">21</xref>], we expect to uncover significant associations (either positive or negative) between statewide mask mandates and the trajectories of mental health search queries, along with differential associations across political parties.</p>
            </list-item>
          </list>
          <p>
            <bold>Research question 2</bold>
          </p>
          <list list-type="bullet">
            <list-item>
              <p>Would the associations between statewide mask mandates and political party elected be unique to the trajectories of internet mental health search queries or would they be consistent with the trajectories of internet physical health queries both related and unrelated to COVID-19?</p>
            </list-item>
          </list>
          <p>
            <bold>
              <italic>Hypothesis 2</italic>
            </bold>
          </p>
          <list list-type="bullet">
            <list-item>
              <p>In line with the findings of Jacobson et al [<xref ref-type="bibr" rid="ref22">22</xref>], we expect the associations between statewide mask mandates and political party elected to be unique to the trajectories of mental health search queries.</p>
            </list-item>
          </list>
        </boxed-text>
      </sec>
    </sec>
    <sec sec-type="methods">
      <title>Methods</title>
      <sec>
        <title>Search Term Data Collection</title>
        <p>Given the prominence of Google as a search engine (eg, Google accounts for roughly 88% of the search engine market in the United States [<xref ref-type="bibr" rid="ref23">23</xref>]), these analyses leveraged Google Trends, which allows for public access to search term volume for a given time and location. Several studies have leveraged Google Trends data to examine how mental health information is sought out [<xref ref-type="bibr" rid="ref22">22</xref>,<xref ref-type="bibr" rid="ref24">24</xref>,<xref ref-type="bibr" rid="ref25">25</xref>]. As can be found in the documentation for Google Trends, the raw counts for a given search term are normalized by location and time of search and then scaled to a number from 0 to 100 representing the proportion of searches on all topics that the given term constitutes. Such normalization allows for easier comparison across geographic regions, where population may play a significant role in relative search term popularity. This analysis downloaded data from Google Trends using the <italic>gtrendsR</italic> package in R (version 1.4.8; R Foundation for Statistical Computing) [<xref ref-type="bibr" rid="ref26">26</xref>]. To obtain data with the most granularity, hourly trend data were queried. The areas of interest were the 50 states constituting the United States; thus, search terms were normalized across states. As Google Trends only stores hourly data for up to 7 days, hourly data were programmatically pulled each Monday from March 23, 2020, to March 29, 2021. This period of 372 days spans the early days of the pandemic to the widespread availability of the COVID-19 vaccine in the United States. During this time frame, 39 states implemented statewide mask mandates, most of which went into effect before or during the summer of 2020. Thus, the given time frame allowed for careful introspection into the short- and long-term effects of mask mandate implementation on mental health search term activity.</p>
        <p>The following 19 mental health search terms were queried from Google Trends, as described previously: “anxiety,” “depression,” “ocd” (obsessive-compulsive disorder), “hopeless,” “angry,” “afraid,” “apathy,” “worthless,” “worried,” “restless,” “irritable,” “tense,” “scattered,” “tired,” “avoiding,” “procrastinate,” “insomnia,” “suicidal,” and “suicide.” Aligning with previous work by the authors [<xref ref-type="bibr" rid="ref10">10</xref>,<xref ref-type="bibr" rid="ref22">22</xref>], these terms were validated from previous research on using Google Trends to assess mental health [<xref ref-type="bibr" rid="ref27">27</xref>], as well as from previous research assessing rapid affective symptom changes as defined by the Diagnostic and Statistical Manual of Mental Disorders, Fifth Edition [<xref ref-type="bibr" rid="ref28">28</xref>,<xref ref-type="bibr" rid="ref29">29</xref>]. In addition to these terms, physical health search terms, both without known associations to COVID-19 (“abrasion,” “allergic,” “angina,” “apnea,” “bleeding,” “blister,” “bruising,” “conjunctivitis,” “constipation,” “discharge,” “earache,” “flatulence,” “fracture,” “hemorrhage,” “incontinence,” “inflammation,” “itching,” “lesions,” “rash,” “spasms,” “swelling,” and “syncope”; 22 terms) and with known associations to COVID-19 (“bloating,” “blurry,” “congestion,” “cough,” “coughing,” “croup,” “diarrhea,” “dizzy,” “fainting,” “fever,” “pain,” “sneezing,” “strep,” “stuffy,” and “vomiting”; 15 terms) were queried to ascertain whether any significantly detected patterns in mental health search term activity were unique to and distinct from those pertaining to physical health. Note that each mental and physical health search term was considered independently in this study; in other words, composite scores aggregating the individual search term counts to create a composite score capturing <italic>total</italic> mental and physical health activity were not created. This decision was made because combining individual search terms with differential trends throughout the pandemic may attenuate these individual trends in the composite score such that the composite score may not be reflective of changes in specific mental or physical health symptoms, therefore making it uninformative.</p>
      </sec>
      <sec>
        <title>Preprocessing</title>
        <sec>
          <title>Outcome Calculation and Imputation</title>
          <p>All mental and physical health search term data were queried using the <italic>gtrendsR</italic> package [<xref ref-type="bibr" rid="ref26">26</xref>] and read into R (version 4.0.3). As this study was interested in investigating the long-term associations between mask mandates and search term activity, the raw, hourly state-specific search term counts collected through Google Trends were first aggregated into state-specific daily hit counts (eg, daily counts of search volume) to improve the interpretability of the models described in the <italic>GAMM Approach</italic> section. When performing hourly aggregation, 3 decisions were made. First, data from March 23, 2020—the first day in the time frame of interest—were dropped as the weekly programmatic collection of data initially started at approximately 7 PM EST. Accordingly, each state had &#60;24 hours of data available for this date. Thus, the time frame of interest was shortened to 371 days, from March 24, 2020, to March 29, 2021. Second, some states had search term hit counts listed as “&#60;1” for a given hour by Google Trends. These entries were coded as “0” to perform hourly aggregation. Third, throughout the data collection period, there were periods where certain states were missing hourly hit counts for a given search term. Some days were only missing a few hours for a given state and search term, whereas some days were entirely missing (eg, all 24 hours). Each search term had some degree of missingness (Tables S1 and S2 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>), which needed to be addressed before modeling could occur.</p>
          <p>To address the issue of missingness in hourly search term hit counts, zero imputation was implemented, where missing hours were inserted into the data set and had hit counts coded as “0.” Instances of missing hourly hit counts implied that there was too low of a search prevalence for a term’s data to be recorded. As such, this method of imputation is an appropriate strategy to address missing hourly data. A summary of the relative number of missing hours and days for each search term can be found in Tables S1 and S2 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>. Only search terms with &#60;5% missingness across the study’s data collection period were included to avoid drawing spurious conclusions in subsequent modeling. Once these search terms were identified, zero imputation was performed as described previously to ensure that each term had a continuous time window. Thus, the data leveraged for these analyses were data sets corresponding to each search term, each data set having 18,550 rows (371 days for each of the 50 states), with each row corresponding to an aggregated normalized hit count for a given day in a given state. These aggregated normalized hit counts were used as the outcomes of interest for the analyses.</p>
        </sec>
        <sec>
          <title>Mask Mandates and Political Party Affiliation</title>
          <p>Data pertaining to the implementation of statewide mask mandates were collected from the article by Hubbard [<xref ref-type="bibr" rid="ref30">30</xref>]. Statewide mask mandates were considered to be masking mandates implemented with the intent of applying to all members of a state’s population (eg, not countywide mandates or mandates restricted to schools or specific businesses). Using the mask mandate data for each state, a binary variable was created with values corresponding to each day in the 371-day window—values were coded as “1” for a given state on a given day if the mask mandate was in effect and “0” if the mask mandate was not in effect. States that at no point had a statewide mask mandate were coded as “0” for each day. Along with mask mandate data, state political party affiliation was defined as the result of the popular vote in the 2020 presidential election, which was collected from CNN [<xref ref-type="bibr" rid="ref31">31</xref>]. From this, another binary variable was defined: states received a “1” if the Republican presidential candidate won the popular vote and “0” if the Democratic candidate won. Note that the candidate winning the popular vote in each state also won the electoral votes for that state, and in cases where states allowed electoral votes to be split (eg, Maine and Nebraska), the candidate winning the majority of the electoral votes also won the popular vote [<xref ref-type="bibr" rid="ref31">31</xref>]. Therefore, state political party affiliation was quantified by the party of the candidate elected by each state for the 2020 election and is henceforth referred to as the “political party elected.” For reference, Table S1 in <xref ref-type="supplementary-material" rid="app2">Multimedia Appendix 2</xref> contains data corresponding to statewide mask mandates and political party elected. A third and final binary variable was defined by taking the product of the mask mandate and political party variables. In this manner, states received a “1” for a given day if their political party elected was Republican and a statewide mask mandate was in effect and a “0” otherwise. These 3 binary variables served as predictors with which to model the associations of interest, as described in the <italic>GAMM Approach</italic> section.</p>
        </sec>
        <sec>
          <title>Model Covariates</title>
          <p>These analyses also sought to take into account other socioeconomic factors that could influence mental health activity such that controlling for these variables in modeling would reduce the chance that any significant associations related to mask mandates and political party elected were owing to chance or random noise. To account for variations in the severity of the pandemic across states over time, variables pertaining to statewide COVID-19 cases and deaths were included in the model as there is empirical evidence associating increases in COVID-19 cases [<xref ref-type="bibr" rid="ref32">32</xref>] and deaths [<xref ref-type="bibr" rid="ref33">33</xref>] with fluctuations in mental health activity. State-level data for COVID-19 cases and deaths were collected from a GitHub repository curated by The New York Times [<xref ref-type="bibr" rid="ref34">34</xref>], where values represent the cumulative case and death counts throughout the pandemic. These values were recoded to represent new daily cases and deaths to reflect the day-to-day severity of the pandemic more clearly.</p>
          <p>Other factors influencing mental health outcomes are urbanization and income. Individuals living in highly populated urban areas have been shown to experience worsened mental health outcomes because of social disparities, pollution, lack of nature, and other aspects associated with urban living [<xref ref-type="bibr" rid="ref35">35</xref>]. In addition, low-income households are at a higher risk of mental health problems and are simultaneously less able to access mental health services [<xref ref-type="bibr" rid="ref36">36</xref>]. Therefore, both urbanization and income may have affected how individuals and communities responded mentally to the pandemic. Thus, this analysis chose to incorporate these 2 additional variables because of their potentially significant and marginal influence on the mental health of an ailing population. State-level data for urbanization were collected from the 2010 census [<xref ref-type="bibr" rid="ref37">37</xref>], where values for each state reflect the percentage of the population estimated to be living in an urban area. State-level data for per capita income were collected from a 2020 data set published by the US Department of Commerce [<xref ref-type="bibr" rid="ref38">38</xref>], where values for each state represent the average per capita income in thousands of dollars.</p>
        </sec>
      </sec>
      <sec>
        <title>GAMM Approach</title>
        <p>This study leveraged GAMMs to examine changes in mental health search trends over the first year of the COVID-19 pandemic. GAMMs are a powerful modeling approach as they can account for nonlinear trends as well as disentangle the interdependence of observations. This analysis used data in which observations (ie, daily search term counts) were nested within groups (ie, states); therefore, incorporation of a mixed-effects framework was suitable to estimate trajectories of search term activity over time. In addition, GAMMs allow for estimations of variable-specific trend comparisons (smooths) via incorporation of smoothing functions (smoothers) [<xref ref-type="bibr" rid="ref39">39</xref>]. Specifically, this study used splines as the smoothing function as splines account for nonlinearity in the data but only model nonlinearity in the predictor-outcome relationship if nonlinearity provides the best fit for the data [<xref ref-type="bibr" rid="ref22">22</xref>]. To implement GAMMs, the <italic>bam</italic> function within the <italic>mgcv</italic> package was used. The <italic>bam</italic> function allows for the specification of GAMMs, is optimized for faster run times on larger data sets (eg, each search term had data for 371 days and 50 states, or 18,850 individual observations), and allows for direct hypothesis testing of the estimated smooths [<xref ref-type="bibr" rid="ref40">40</xref>].</p>
        <p>The selected model incorporates 8 smooth terms, denoted by “s,” as well as 6 linear terms pertaining to state-level mask mandate, political party elected, urbanization, per capita income, and COVID-19 cases and deaths. These linear terms were included to isolate the main effects of the binary terms of interest, allowing the smooth terms to capture any nonlinear relationships in the data. Importantly, the negative binomial distribution was chosen for the model because of the use of (nonnormally distributed) count data and overdispersion (ie, variance exceeds the mean) present in the outcome variables. <xref ref-type="boxed-text" rid="box2">Textbox 2</xref> describes the complete model architecture with associated variable definitions. Each model was independently run on 12 mental health and 26 physical health search terms.</p>
        <boxed-text id="box2" position="float">
          <title>Complete model architecture and variable definitions.</title>
          <p>
            <bold>Model architecture</bold>
          </p>
          <list list-type="bullet">
            <list-item>
              <p>Outcome<sub><italic>i,j</italic></sub> ~ s<sub>1</sub>(Time<sub><italic>i,j</italic></sub>) + s<sub>2</sub>,i(Time<sub><italic>i,j</italic></sub>) + s<sub>3</sub>(TimeSM<sub><italic>i,j</italic></sub>) × MaskMandate<sub><italic>i,j</italic></sub> + s<sub>4</sub>(TimeSM<sub><italic>i,j</italic></sub>) × MandateParty<sub><italic>i,j</italic></sub> + s<sub>5</sub>(TimeSM<sub><italic>i,j</italic></sub>) × MandateUrbanization<sub><italic>i,j</italic></sub> + s<sub>6</sub>(TimeSM<sub><italic>i,j</italic></sub>) × MandateIncome<sub><italic>i,j</italic></sub> + s<sub>7</sub>(TimeSM<sub><italic>i,j</italic></sub>) × MandateCases<sub><italic>i,j</italic></sub> + s<sub>8</sub>(TimeSM<sub><italic>i,j</italic></sub>) × MandateDeaths<sub><italic>i,j</italic></sub> + MaskMandate<sub><italic>i,j</italic></sub> + MandateParty<sub><italic>i,j</italic></sub> + MandateUrbanization<sub><italic>i,j</italic></sub> + MandateIncome<sub><italic>i,j</italic></sub> + MandateCases<sub><italic>i,j</italic></sub> + MandateDeaths<sub><italic>i,j</italic></sub></p>
            </list-item>
          </list>
          <p>
            <bold>Variable definitions</bold>
          </p>
          <list list-type="bullet">
            <list-item>
              <p>Outcome<sub><italic>i,j</italic></sub>: the total search volume of a mental health or physical health term for state <italic>i</italic> at time <italic>j</italic></p>
            </list-item>
            <list-item>
              <p>Time<sub><italic>i,j</italic></sub>: the number of days elapsed from March 24, 2020, to time <italic>j</italic></p>
            </list-item>
            <list-item>
              <p>TimeSinceMandate<sub><italic>i,j</italic></sub> (abbreviated as TimeSM<sub><italic>i,j</italic></sub>): a time difference variable that measures, for a specific state <italic>i</italic> at time <italic>j</italic>, the time between <italic>j</italic> and the implementation of the statewide mask mandate policy for state <italic>i</italic>; this variable was defined as “0” when <italic>j</italic> and the date of policy implementation were equivalent and negative if <italic>j</italic> occurred before the date of policy implementation</p>
            </list-item>
            <list-item>
              <p>MaskMandate<sub><italic>i,j</italic></sub>: a dummy variable encoded as “0” for all <italic>j</italic> when the mask mandate was not in place for <italic>i</italic> and “1” for all <italic>j</italic> when the mandate was in place for <italic>i</italic></p>
            </list-item>
            <list-item>
              <p>MandateParty<sub><italic>i,j</italic></sub>: a dummy interaction variable calculated as MaskMandate<sub><italic>i,j</italic></sub> × PoliticalParty<sub><italic>i</italic></sub> and, thus, encoded as “1” when the mask mandate was in place for a Republican state <italic>i</italic> at time <italic>j</italic> and “0” otherwise</p>
            </list-item>
            <list-item>
              <p>MandateUrbanization<sub><italic>i,j</italic></sub>: an interaction variable calculated as MaskMandate<sub><italic>i,j</italic></sub> × Urbanization<sub><italic>i</italic></sub> and, thus, encoded as the urbanization value of <italic>i</italic>—the percentage of the population living in an urban area—if the mandate was in effect at <italic>j</italic> and “0” otherwise</p>
            </list-item>
            <list-item>
              <p>MandateIncome<sub><italic>i,j</italic></sub>: an interaction variable calculated as MaskMandate<sub><italic>i,j</italic></sub> × PerCapitaIncome<sub><italic>i</italic></sub> and, thus, encoded as the average per capita income value in dollars for <italic>i</italic> if the mandate was in effect at <italic>j</italic> and “0” otherwise</p>
            </list-item>
            <list-item>
              <p>MandateCases<sub><italic>i,j</italic></sub>: an interaction variable calculated as MaskMandate<sub><italic>i,j</italic></sub> × CovidCases<sub><italic>i,j</italic></sub> and, thus, encoded as the number of new COVID-19 cases for state <italic>i</italic> at time <italic>j</italic> for Republican states with a mask mandate in effect and “0” otherwise</p>
            </list-item>
            <list-item>
              <p>MandateDeaths<sub><italic>i,j</italic></sub>: an interaction variable calculated as MaskMandate<sub><italic>i,j</italic></sub> × CovidDeaths<sub><italic>i,j</italic></sub> and, thus, encoded as the number of new COVID-19 deaths for state <italic>i</italic> at time <italic>j</italic> for Republican states with a mask mandate in effect and “0” otherwise</p>
            </list-item>
          </list>
        </boxed-text>
        <p>All <italic>s</italic> terms indicate that smoothing was used to estimate the relationship between the predictor and outcome of interest. Term s<sub>2</sub> represents the random smooth slopes of state <italic>j</italic> at each time <italic>i</italic>, allowing a linear or nonlinear random effect to account for changes in the outcome. Terms s<sub>3</sub> to s<sub>8</sub> represent varying coefficient smooths specified by the tensor product interaction smoothing function, which, in addition, accounts for the presence of main effects in the interacting variables [<xref ref-type="bibr" rid="ref40">40</xref>]. For model-specific hyperparameter specification, “fREML” (“fast REML” computation) was used for smoothing parameter estimation, which, when used in conjunction with setting <italic>discrete</italic>=TRUE, discretizes covariates into smaller bins and substantially reduces computation time [<xref ref-type="bibr" rid="ref41">41</xref>]. Furthermore, the negative binomial distribution was used in the model by selecting <italic>family</italic>=“nb.”</p>
        <p>In terms of smooth-level hyperparameter specification, all smooth terms, aside from s<sub>2</sub>, were modeled with a thin plate regression spline (TPRS) basis function, which allows for linear or nonlinear relationships between the predictor and the outcome variable while also penalizing nonlinearity such that the data will only be modeled as nonlinear if the model fit is substantially better. In addition, modeling with a TPRS circumvents issues with knot placement [<xref ref-type="bibr" rid="ref42">42</xref>]. Term s<sub>2</sub> uses a factor smooth interaction basis function that fully accounts for random effects; provides a better fit when the number of grouping variables is high [<xref ref-type="bibr" rid="ref39">39</xref>], as in these analyses (ie, 50 states); and draws group-level smooth terms toward zero by only estimating 1 smoothing parameter across groups [<xref ref-type="bibr" rid="ref41">41</xref>]. Along with this, the group-level smoothers, s<sub>3</sub> to s<sub>8</sub>, use m=1, which penalizes the TPRS with the squared first derivative of the function, whereas s<sub>1</sub> and s<sub>2</sub> use m=2, penalizing the spline with the squared second derivative of the function. Using m=1 in the group-level smoothers reduces collinearity with the global smoother and group-specific terms (ie, s<sub>1</sub> and s<sub>2</sub>) [<xref ref-type="bibr" rid="ref41">41</xref>]. In addition, the smooth terms s<sub>3</sub> to s<sub>8</sub> use the default <italic>k</italic> value (<italic>k=</italic>5) in <italic>mgcv</italic>, which balances smooth fitting with computational time [<xref ref-type="bibr" rid="ref40">40</xref>]. However, <italic>k</italic> is set to 3 for the smooth terms s<sub>1</sub> and s<sub>2</sub> to allow for up to cubic trends to be modeled by the time and state random effects of time variables. Although it is optimal to choose a high <italic>k</italic> when computationally feasible, limiting <italic>k</italic> in this context restricts the nonlinear deviations in the time trends that can be explained by the state random effects such that these complex state-specific nonlinearities can be potentially accounted for by other sources.</p>
        <p>This study is interested in examining the associations among mask mandates, political party elected, and search term trajectory; therefore, emphasis is placed on the s<sub>3</sub> and s<sub>4</sub> terms. Term s<sub>3</sub> estimates the observed associations of the statewide mask mandate as a deviation from the state-specific counterfactual trend that would have occurred had there not been a statewide mask mandate implemented, and s<sub>4</sub> estimates the observed associations of Republican states with a statewide mask mandate as a deviation from the state-specific counterfactual trend that would have occurred in Democratic states with a statewide mask mandate. Accordingly, the model output from s<sub>3</sub> and s<sub>4</sub> is of particular interest.</p>
      </sec>
      <sec>
        <title>Model Assessment</title>
        <p>These analyses consisted of 38 negative binomial GAMMs, with each model corresponding to the volume of activity for 1 search term over time as the outcome. The results of the smoothing term estimation were of particular interest to assess any nonlinear associations captured by the predictor variables. As smooth terms estimate nonlinear trends in the data, the results of these models are not equivalent to a regression slope; rather, estimated df (EDF) are reported, where EDF=1 corresponds to a linear relationship between the predictor and outcome, 1&#60;EDF≤2 corresponds to a weak nonlinear relationship, and EDF&#62;2 corresponds to a strong nonlinear relationship [<xref ref-type="bibr" rid="ref43">43</xref>]. The <italic>bam</italic> function in <italic>mgcv</italic> performs a significance test and reports the <italic>P</italic> value for the EDF corresponding to each smooth term. Importantly, as this analysis consisted of 12 independent models for mental health search terms, results of variable significance needed correction for multiple comparisons. Accordingly, <italic>P</italic> values were adjusted by controlling the false discovery rate using the Benjamini-Hochberg procedure. The same procedure was used for the 17 independent not COVID-19–related and 9 independent COVID-19–related physical health search term models.</p>
        <p>To assess how well the models explained the variation in daily search term counts, the <italic>R</italic><sup>2</sup> value was reported. This <italic>R</italic><sup>2</sup> value corresponds to the conditional <italic>R</italic><sup>2</sup>, or the total variance in the outcome explained by both the fixed and random effects. Thus, to assess whether the random effects are driving model prediction as well as determine if the fixed effects (ie, mask mandate and political party elected) explain a considerable amount of the variation, the marginal <italic>R</italic><sup>2</sup>—the total variance explained by the fixed effects—was also reported. Given limitations in the ability to directly estimate the marginal <italic>R</italic><sup>2</sup> from models constructed using the <italic>mgcv</italic> package, the marginal <italic>R</italic><sup>2</sup> was estimated manually by rerunning each model without the s<sub>2</sub> random effect of time and reporting its <italic>R</italic><sup>2</sup> value.</p>
        <p>Note that, as MaskMandate<italic><sub>i,j</sub></italic> was coded as a “1” when a state had a mask mandate in effect and “0” when the mandate was not in effect or the state did not have a mandate, these analyses only make interpretations of the associations between mask mandates and search term trajectory <italic>after</italic> the implementation of mask mandates. In this manner, this study does not draw conclusions regarding changes in search behavior leading up to the mandate.</p>
      </sec>
      <sec>
        <title>Ethical Considerations</title>
        <p>This study was not considered human participant research as it used anonymous, publicly available web-based search data and, as such, was exempt from human participant approval.</p>
      </sec>
    </sec>
    <sec sec-type="results">
      <title>Results</title>
      <sec>
        <title>Mask Mandate Implementation and Statewide Demographic Information</title>
        <p><xref rid="figure1" ref-type="fig">Figure 1</xref> displays a comparative timeline including each of the 39 states that implemented a statewide mask mandate. Fewer Republican states had a mask mandate than Democratic states. Moreover, Republican states that did have a mandate were generally delayed in their implementation, and the mandates were implemented for a shorter period than in Democratic states. Indeed, mask mandates in Republican states were in effect for an average of approximately 206 (SD 89) days in comparison with 430 (SD 162) days in Democratic states. New Jersey was the first state to implement a statewide mask mandate on April 8, 2020. Note that these mask mandates reflect policies that were effective at the state level—some states (eg, Georgia) had mandates at the city or county level, but these mandates were not considered under this investigation. In addition, some states may have ended their initial mask mandate and reinstituted it; however, only the first statewide mask mandate was considered and, therefore, reflected in <xref rid="figure1" ref-type="fig">Figure 1</xref>. The exact dates of when each mask mandate was in effect, as well as other state-level information included in these analyses (ie, political party elected, COVID-19 cases and deaths, urbanization, and per capita income), can be found in Table S1 in <xref ref-type="supplementary-material" rid="app2">Multimedia Appendix 2</xref>.</p>
        <fig id="figure1" position="float">
          <label>Figure 1</label>
          <caption>
            <p>Statewide mask mandate implementation timeline. Colored bars represent the time during which a statewide mask mandate was in effect for a given state, indicated by its abbreviation. Data are reflective of the first statewide mask mandate implemented by each state—some states ended their original mandate and reinstituted it at a later date. AL: Alabama; AR: Arkansas; CA: California; CO: Colorado; CT: Connecticut; DE: Delaware; HI: Hawaii; IA: Iowa; IL: Illinois; IN: Indiana; KS: Kansas; KY: Kentucky; LA: Louisiana; MA: Massachusetts; MD: Maryland; ME: Maine; MI: Michigan; MN: Minnesota; MS: Mississippi; MT: Montana; NC: North Carolina; ND: North Dakota; NH: New Hampshire; NJ: New Jersey; NM: New Mexico; NV: Nevada; NY: New York; OH: Ohio; OR: Oregon; PA: Pennsylvania; RI: Rhode Island; TX: Texas; UT: Utah; VA: Virginia; VT: Vermont; WA: Washington; WI: Wisconsin; WV: West Virginia; WY: Wyoming.</p>
          </caption>
          <graphic xlink:href="jmir_v25i1e40308_fig1.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
      </sec>
      <sec>
        <title>Search Term Preprocessing</title>
        <p>The results of the missingness analyses can be found in Table S1 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>. After preprocessing the raw Google Trends data for the 19 aforementioned mental health search terms, 12 terms (“anxiety,” “depression,” “ocd,” “angry,” “afraid,” “restless,” “irritable,” “tense,” “tired,” “insomnia,” “suicidal,” and “suicide”) had &#60;5% of values missing for aggregated daily hit counts. In other words, throughout all days from March 24, 2020, to March 29, 2021, for each of the 50 states, &#60;5% (19/371) of days did not have a hit count associated with them for these terms. Consequently, data for these terms were included in the modeling portion of the analysis after performing zero imputation, as outlined in the <italic>Outcome Calculation and Imputation</italic> section. All other terms were dropped because of more extensive missingness that may have influenced the model results and comparisons. In addition, at the hourly level, all the 12 included terms had approximately 1% of values missing.</p>
        <p><xref rid="figure2" ref-type="fig">Figure 2</xref> shows the distribution of daily hit counts collapsed across all states for each of the 12 mental health search terms included in the modeling analysis. Distributions of the outcomes varied in central tendency and skewness, but in general, the data were nonnormal and overdispersed, suggesting appropriate use of a negative binomial model fit in GAMM analyses. Figures S1 and S2 in <xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref> plot the distributions of the daily hit counts collapsed across all states for the physical health terms both related and unrelated to COVID-19 included in modeling.</p>
        <p>After preprocessing the raw Google Trends data for the non–COVID-19 physical health terms, 17 terms (“allergic,” “angina,” “apnea,” “bleeding,” “blister,” “bruising,” “constipation,” “discharge,” “fracture,” “hemorrhage,” “incontinence,” “inflammation,” “itching,” “lesions,” “rash,” “spasms,” and “swelling”) had &#60;5% of values missing for daily aggregated hit counts. In addition, after preprocessing the raw Google Trends data for the COVID-19–related physical health terms, 9 terms (“bloating,” “congestion,” “coughing,” “diarrhea,” “dizzy,” “fainting,” “fever,” “strep,” and “stuffy”) had &#60;5% of values missing for daily aggregated hit counts. Accordingly, the 17 non–COVID-19 physical health terms and the 9 COVID-19–related physical health terms were zero-imputed and incorporated into subsequent modeling. Table S2 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref> displays the full results of the missingness analyses for physical health terms both related and unrelated to COVID-19.</p>
        <fig id="figure2" position="float">
          <label>Figure 2</label>
          <caption>
            <p>Distributions of daily hit counts for mental health search terms across all states. Each search term–based subplot is a histogram with a density estimate curve superimposed (in red) corresponding to the collection of all daily hit count values across all states for that term. The y-axis is normalized such that the highest value of both the histogram and the density curve is 1. OCD: obsessive-compulsive disorder.</p>
          </caption>
          <graphic xlink:href="jmir_v25i1e40308_fig2.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
      </sec>
      <sec>
        <title>Mask Mandates, Political Party Affiliation, and Mental Health Search Activity Models</title>
        <p>A GAMM model was run, in which the search volume of each of the 12 mental health search terms served as the outcome. The full summary of the model output can be obtained from the authors upon request; however, this analysis focused on the smooth terms that correspond to mask mandate and the interaction of mask mandate with political party elected, as outlined in the <italic>GAMM Approach</italic> section. The results for the smooth term corresponding to mask mandate (s<sub>3</sub>) can be found in <xref ref-type="table" rid="table1">Table 1</xref>. The search volume for 17% (2/12) of search terms, “anxiety” and “restless,” had significant nonlinear associations with the timing of mask mandates. Analysis of the 95% CI for the estimated change in search volume for “anxiety” revealed that the trend in search volume did not differ significantly from those when the mask mandate was first implemented as the CI contained 0 at all values. However, the trend in search volume for “restless” was found to be significant. As shown in <xref rid="figure3" ref-type="fig">Figure 3</xref>, the trend is characterized by a steady increase directly after the mask mandate was implemented, peaking at approximately 400 searches above the initial search volume at approximately 6 months after the mandate and leveling off shortly thereafter.</p>
        <p>The results for the smooth term corresponding to the interaction of mask mandate and political party affiliation (s<sub>4</sub>) can be found in <xref ref-type="table" rid="table1">Table 1</xref>. The search volume for 58% (7/12; “afraid,” “anxiety,” “insomnia,” “irritable,” “restless,” “suicide,” and “tense”) search terms had significant nonlinear associations with the timing of mask mandates for Republican states in comparison with Democratic states. <xref rid="figure4" ref-type="fig">Figure 4</xref> plots the associations among these search terms. Of these 7 search terms, 5 (71%; “afraid,” “insomnia,” “restless,” “suicide,” and “tense”) did not differ significantly from baseline (0 contained in the 95% CIs) and, thus, are not plotted in <xref rid="figure4" ref-type="fig">Figure 4</xref>. Of the remaining 2 terms, the search volume of “anxiety” decreased significantly after the mask mandate for Republican states relative to Democratic states, dropping to roughly 65 searches below baseline after 6 months. In addition, the search volume of “irritable” significantly increased after the mask mandate for Republican states relative to Democratic states, increasing to roughly 25 searches above baseline after 5 months before leveling off. In sum, although 58% (7/12) of the terms exhibited significant nonlinear associations with the timing of mask mandates for Republican states relative to Democratic states, only “anxiety” and “irritable” exhibited changes in volume that differed significantly from their respective baseline levels.</p>
        <p><xref rid="figure5" ref-type="fig">Figure 5</xref> displays the number of states with mask mandates relative to the date of mask mandate implementation, or when the mandates first became effective in each state. A total of 39 states had mask mandates initially, with 16 of these states being Republican. After 210 days, or roughly 7 months, 28 of these mandates were still in effect, with 9 of these mandates being in Republican states. In the context of this analysis, as the associations shown in <xref rid="figure3" ref-type="fig">Figures 3</xref> and <xref rid="figure4" ref-type="fig">4</xref> represent the difference between states with and without mask mandates and between Republican states with mandates and Democratic states with mandates, respectively, there were more states “driving” these associations earlier in time relative to mandate implementation than later in time. It is important to acknowledge the attrition of mandates over time as any significant changes in search volume that happened earlier in time relative to mandate implementation reflect changes that were common across a greater number of states, whereas any significant changes in search volume occurring later in time reflect changes that were common across fewer states. For instance, 210 days following the mandate, only the 9 Republican states with mask mandates were factored into the model that yielded the associations in <xref rid="figure4" ref-type="fig">Figure 4</xref> compared with 16 states at day 0.</p>
        <p><xref ref-type="table" rid="table1">Table 1</xref> shows the results of assessing the model fit, in which the marginal <italic>R</italic><sup>2</sup> and conditional <italic>R</italic><sup>2</sup> were calculated for each search term model. As indicated by the marginal <italic>R</italic><sup>2</sup> values, the fixed effects of the models accounted for roughly between 11% and 20% of the variance in search term volume across models. The conditional <italic>R</italic><sup>2</sup> values show that the combined fixed and random effects of the models explain roughly between 50% and 76% of the variance in search term volume. These values suggest that (1) the models explain a considerable portion of the variance in mental health search term volume and, (2) although the random effects may explain most of the variance in the outcome for each model, the fixed effects still explain a sizable portion of the variance in the outcome. This latter point provides confidence that the associations between mask mandate and political party elected revealed in <xref rid="figure3" ref-type="fig">Figures 3</xref> and <xref rid="figure4" ref-type="fig">4</xref> are unlikely to be owing to chance or random noise in the data.</p>
        <table-wrap position="float" id="table1">
          <label>Table 1</label>
          <caption>
            <p>Results from mental health search term generalized additive mixed models for mask mandate and for mask mandate and political party interaction terms<sup>a</sup>.</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="30"/>
            <col width="390"/>
            <col width="0"/>
            <col width="70"/>
            <col width="0"/>
            <col width="110"/>
            <col width="0"/>
            <col width="110"/>
            <col width="0"/>
            <col width="70"/>
            <col width="0"/>
            <col width="100"/>
            <col width="0"/>
            <col width="120"/>
            <thead>
              <tr valign="top">
                <td colspan="3">Search term and smooth term<sup>b</sup></td>
                <td colspan="2">EDF<sup>c</sup></td>
                <td colspan="2">Reference df<sup>d</sup></td>
                <td colspan="2"><italic>F</italic> statistic</td>
                <td colspan="2"><italic>P</italic> value</td>
                <td colspan="2">Marginal <italic>R</italic><sup>2</sup></td>
                <td>Conditional <italic>R</italic><sup>2</sup></td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td colspan="14">“<bold>anxiety”</bold></td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Mask mandate</td>
                <td colspan="2">0.005</td>
                <td colspan="2">3</td>
                <td colspan="2">1.181 × 10<sup>12</sup></td>
                <td colspan="2">.04</td>
                <td colspan="2">0.122</td>
                <td colspan="2">0.565</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Mask mandate × political party elected</td>
                <td colspan="2">1.917</td>
                <td colspan="2">3</td>
                <td colspan="2">1.234 × 10<sup>17</sup></td>
                <td colspan="2">.001</td>
                <td colspan="2">—<sup>e</sup></td>
                <td colspan="2">—</td>
              </tr>
              <tr valign="top">
                <td colspan="14">“<bold>depression”</bold></td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Mask mandate</td>
                <td colspan="2">2.678</td>
                <td colspan="2">3</td>
                <td colspan="2">5.541 × 10<sup>13</sup></td>
                <td colspan="2">.47</td>
                <td colspan="2">0.114</td>
                <td colspan="2">0.628</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Mask mandate × political party elected</td>
                <td colspan="2">1.296</td>
                <td colspan="2">4</td>
                <td colspan="2">7.583 × 10<sup>11</sup></td>
                <td colspan="2">.17</td>
                <td colspan="2">—</td>
                <td colspan="2">—</td>
              </tr>
              <tr valign="top">
                <td colspan="14">“<bold>ocd”</bold></td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Mask mandate</td>
                <td colspan="2">0.000</td>
                <td colspan="2">4</td>
                <td colspan="2">0.000</td>
                <td colspan="2">.32</td>
                <td colspan="2">0.160</td>
                <td colspan="2">0.668</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Mask mandate × political party elected</td>
                <td colspan="2">0.346</td>
                <td colspan="2">4</td>
                <td colspan="2">2.078</td>
                <td colspan="2">.20</td>
                <td colspan="2">—</td>
                <td colspan="2">—</td>
              </tr>
              <tr valign="top">
                <td colspan="14">“<bold>angry”</bold></td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Mask mandate</td>
                <td colspan="2">2.206</td>
                <td colspan="2">4</td>
                <td colspan="2">8.217 × 10<sup>2</sup></td>
                <td colspan="2">.21</td>
                <td colspan="2">0.196</td>
                <td colspan="2">0.747</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Mask mandate × political party elected</td>
                <td colspan="2">0.003</td>
                <td colspan="2">4</td>
                <td colspan="2">0.000</td>
                <td colspan="2">.99</td>
                <td colspan="2">—</td>
                <td colspan="2">—</td>
              </tr>
              <tr valign="top">
                <td colspan="14">“<bold>afraid”</bold></td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Mask mandate</td>
                <td colspan="2">0.000</td>
                <td colspan="2">4</td>
                <td colspan="2">39.448</td>
                <td colspan="2">.95</td>
                <td colspan="2">0.121</td>
                <td colspan="2">0.498</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Mask mandate × political party elected</td>
                <td colspan="2">3.021</td>
                <td colspan="2">4</td>
                <td colspan="2">5.374 × 10<sup>13</sup></td>
                <td colspan="2">&#60;.001</td>
                <td colspan="2">—</td>
                <td colspan="2">—</td>
              </tr>
              <tr valign="top">
                <td colspan="14">“<bold>restless”</bold></td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Mask mandate</td>
                <td colspan="2">2.897</td>
                <td colspan="2">3</td>
                <td colspan="2">5.487 × 10<sup>13</sup></td>
                <td colspan="2">&#60;.001</td>
                <td colspan="2">0.107</td>
                <td colspan="2">0.556</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Mask mandate × political party elected</td>
                <td colspan="2">3.450</td>
                <td colspan="2">4</td>
                <td colspan="2">1.688 × 10<sup>13</sup></td>
                <td colspan="2">.002</td>
                <td colspan="2">—</td>
                <td colspan="2">—</td>
              </tr>
              <tr valign="top">
                <td colspan="14">“<bold>irritable”</bold></td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Mask mandate</td>
                <td colspan="2">0.000</td>
                <td colspan="2">4</td>
                <td colspan="2">0.000</td>
                <td colspan="2">.07</td>
                <td colspan="2">0.155</td>
                <td colspan="2">0.677</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Mask mandate × political party elected</td>
                <td colspan="2">1.589</td>
                <td colspan="2">4</td>
                <td colspan="2">1.008 × 10<sup>3</sup></td>
                <td colspan="2">.003</td>
                <td colspan="2">—</td>
                <td colspan="2">—</td>
              </tr>
              <tr valign="top">
                <td colspan="14">“<bold>tense”</bold></td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Mask mandate</td>
                <td colspan="2">0.000</td>
                <td colspan="2">4</td>
                <td colspan="2">0.000</td>
                <td colspan="2">.06</td>
                <td colspan="2">0.120</td>
                <td colspan="2">0.531</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Mask mandate × political party elected</td>
                <td colspan="2">2.970</td>
                <td colspan="2">4</td>
                <td colspan="2">1.248 × 10<sup>3</sup></td>
                <td colspan="2">.003</td>
                <td colspan="2">—</td>
                <td colspan="2">—</td>
              </tr>
              <tr valign="top">
                <td colspan="14">“<bold>tired”</bold></td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Mask mandate</td>
                <td colspan="2">0.001</td>
                <td colspan="2">4</td>
                <td colspan="2">0.000</td>
                <td colspan="2">.32</td>
                <td colspan="2">0.174</td>
                <td colspan="2">0.758</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Mask mandate × political party elected</td>
                <td colspan="2">1.964</td>
                <td colspan="2">4</td>
                <td colspan="2">224.819</td>
                <td colspan="2">.37</td>
                <td colspan="2">—</td>
                <td colspan="2">—</td>
              </tr>
              <tr valign="top">
                <td colspan="14">“<bold>insomnia”</bold></td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Mask mandate</td>
                <td colspan="2">2.509</td>
                <td colspan="2">4</td>
                <td colspan="2">3.236 × 10<sup>11</sup></td>
                <td colspan="2">.06</td>
                <td colspan="2">0.120</td>
                <td colspan="2">0.703</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Mask mandate × political party elected</td>
                <td colspan="2">2.304</td>
                <td colspan="2">4</td>
                <td colspan="2">1.535 × 10<sup>11</sup></td>
                <td colspan="2">.02</td>
                <td colspan="2">—</td>
                <td colspan="2">—</td>
              </tr>
              <tr valign="top">
                <td colspan="14">“<bold>suicidal”</bold></td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Mask mandate</td>
                <td colspan="2">0.001</td>
                <td colspan="2">4</td>
                <td colspan="2">0.000</td>
                <td colspan="2">.32</td>
                <td colspan="2">0.152</td>
                <td colspan="2">0.612</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Mask mandate × political party elected</td>
                <td colspan="2">0.000</td>
                <td colspan="2">4</td>
                <td colspan="2">0.000</td>
                <td colspan="2">&#62;.99</td>
                <td colspan="2">—</td>
                <td colspan="2">—</td>
              </tr>
              <tr valign="top">
                <td colspan="14">“<bold>suicide”</bold></td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Mask mandate</td>
                <td colspan="2">0.007</td>
                <td colspan="2">4</td>
                <td colspan="2">0.002</td>
                <td colspan="2">.06</td>
                <td colspan="2">0.116</td>
                <td colspan="2">0.456</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Mask mandate × political party elected</td>
                <td colspan="2">2.333</td>
                <td colspan="2">4</td>
                <td colspan="2">145.630</td>
                <td colspan="2">.003</td>
                <td colspan="2">—</td>
                <td colspan="2">—</td>
              </tr>
            </tbody>
          </table>
          <table-wrap-foot>
            <fn id="table1fn1">
              <p><sup>a</sup>Numerical values were obtained from the output of the summary() function called on <italic>mgcv bam</italic> model objects in R (R Foundation for Statistical Computing). All <italic>P</italic> values were adjusted to correct for multiple hypothesis testing using the Benjamini-Hochberg method. Any <italic>P</italic> value &#60;.05 is considered to be statistically significant.</p>
            </fn>
            <fn id="table1fn2">
              <p><sup>b</sup>Significant values for the “mask mandate” smooth term (s<sub>3</sub>) represent the difference between what would have happened in a state with a mask mandate and what would have happened in the absence of the mandate, and significant values for the “mask mandate × political party elected” smooth term (s<sub>4</sub>) represent the difference between what would have happened in a Republican state with a mask mandate and what would have happened in a Democratic state with a mask mandate.</p>
            </fn>
            <fn id="table1fn3">
              <p><sup>c</sup>EDF: estimated df; model-estimated residual df, with 1 corresponding to a linear relationship with the time trend and EDF&#62;1 corresponding to a nonlinear relationship with the time trend.</p>
            </fn>
            <fn id="table1fn4">
              <p><sup>d</sup>Equal to the number of model data minus the model df.</p>
            </fn>
            <fn id="table1fn5">
              <p><sup>e</sup>The <italic>R</italic><sup>2</sup> values are for the model and are not specific to a given smooth term.</p>
            </fn>
          </table-wrap-foot>
        </table-wrap>
        <fig id="figure3" position="float">
          <label>Figure 3</label>
          <caption>
            <p>Significant changes in mental health search behavior related to mask mandates. This figure depicts overall changes in state-specific search term behavior relative to time (in days) since mask mandates going into effect. Only search terms with significant changes are plotted. Centering was performed by subtracting the value from day 0 for each term from its respective estimates; thus, changes in search term behavior in the figure are relative to the implementation date of the mask mandate. The 95% CIs are depicted with shading. A horizontal dashed line is drawn at y=0 to depict no change from baseline search volume. The x-axis indicates relative time since the beginning of a mask mandate on a state-by-state basis.</p>
          </caption>
          <graphic xlink:href="jmir_v25i1e40308_fig3.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
        <fig id="figure4" position="float">
          <label>Figure 4</label>
          <caption>
            <p>Significant changes in mental health search behavior related to mask mandate and political party interaction. This figure depicts overall changes in state-specific search term behavior relative to time (in days) since mask mandates going into effect. Only search terms with significant changes are plotted. Centering was performed by subtracting the value from day 0 for each term from its respective estimates; thus, changes in search term behavior in the figure are relative to the implementation date of the mask mandate. The 95% CIs are depicted with shading. A horizontal dashed line is drawn at y=0 to depict no change from baseline search volume. The x-axis indicates relative time since the beginning of a mask mandate on a state-by-state basis.</p>
          </caption>
          <graphic xlink:href="jmir_v25i1e40308_fig4.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
        <fig id="figure5" position="float">
          <label>Figure 5</label>
          <caption>
            <p>Number of states with mask mandates in effect relative to date of implementation. This figure depicts the number of states with mask mandates in effect after a given length of time since the mandate went into effect, with the purple line and shaded region corresponding to all states (both Republican and Democratic) and the red line and shaded region corresponding to only Republican states. The figure can be interpreted as follows: 39 states had mask mandates (with 16 of these being Republican states), but after 210 days, only 28 of these mandates were still in effect (with 9 of these in Republican states).</p>
          </caption>
          <graphic xlink:href="jmir_v25i1e40308_fig5.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
      </sec>
      <sec>
        <title>Mask Mandates, Political Party Affiliation, and Physical Health Search Activity Models</title>
        <p>Additional GAMMs were fit for physical health search terms to determine whether the associations between mask mandate and political party elected were unique to mental health–related search term activity. For the physical health terms not related to COVID-19, a total of 17 GAMMs were fit—one model with the search volume of each individual term as the outcome. In an identical manner to the mental health search terms, the analysis focused on the smooth terms that corresponded to mask mandate and the interaction of mask mandate with political party elected. The search volume of 24% (4/17) of the search terms—“allergic,” “bruising,” “constipation,” and “rash”—had significant nonlinear associations with the timing of mask mandates. Figure S1 in <xref ref-type="supplementary-material" rid="app4">Multimedia Appendix 4</xref> plots the associations among these search terms. Regarding these 4 terms, the search volume for “allergic” and “rash” did not deviate significantly from baseline at any point (0 in the 95% CI at all time points). However, the search volume for “constipation” increased slowly after the implementation of a mask mandate, peaking approximately 7 months following the mandate. The search volume for “bruising” initially decreased in the 4 months after implementation of a mask mandate, but the volume approached baseline levels in the 4th through 7th months following the mandate, still staying below baseline levels. In addition, the search volume for 12% (2/17) of terms, “constipation” and “fracture,” had significant nonlinear associations with the timing of mask mandates for Republican states in relation to Democratic states, plotted in Figure S1 in <xref ref-type="supplementary-material" rid="app5">Multimedia Appendix 5</xref>. The search volume for “fracture” did not deviate significantly from baseline at any point, but the search volume for “constipation” steadily decreased after the implementation of the mask mandate, ultimately becoming significantly different from baseline after 6 months.</p>
        <p>For the COVID-19–related physical health terms, 9 GAMMs were fit, with each model using the search volume of 1 of the 9 COVID-19–related physical health search terms as the outcome. The search volume of 22% (2/9) of search terms, “bloating” and “coughing,” had significant nonlinear associations with the timing of mask mandates, plotted in Figure S1 in <xref ref-type="supplementary-material" rid="app6">Multimedia Appendix 6</xref>. The search volume for “bloating” decreased steadily after the implementation of the mask mandate, whereas the search volume for “coughing” did not significantly deviate from baseline at any point and, thus, was not plotted. In addition, the search volume of 78% (7/9) of terms—“bloating,” “congestion,” “coughing,” “dizzy,” “fainting,” “fever,” and “strep”—had significant nonlinear associations with the timing of mask mandates for Republican states in relation to Democratic states. However, the search volume for <italic>none</italic> of these terms was significantly different from baseline levels, and thus, no terms were plotted for the associations with the timing of mask mandates for Republican states in relation to Democratic states.</p>
      </sec>
    </sec>
    <sec sec-type="discussion">
      <title>Discussion</title>
      <p>This analysis examined the associations between statewide mask mandates implemented to abate the spread of COVID-19 and changes in web-based mental health search behavior and whether these associations differed across political parties. Google Trends data from March 2020 to March 2021 were used in combination with GAMMs to investigate the associations among mask mandates, political party elected, and changes in mental health search volume. These data provided the framework for an intensive longitudinal analysis that offered quantitative insights into the short- and long-term influences of mask mandates on mental health, as well as an investigation of differences that exist in these associations with political party elected in a state-specific manner. The authors believe that this analysis is the first of its kind to directly examine the associations among mask mandates, political party elected, and changes in mental health activity throughout the COVID-19 pandemic. The results of the GAMMs indicated that searches for “restless” dramatically increased after the implementation of a mask mandate. In addition, Republican states saw an increase in search volume for “irritability” and a decrease in search volume for “anxiety” after statewide mask mandates relative to Democratic states. These associations likely reflect considerably large changes in anxiety-related search behavior in response to mask mandates among the population of the United States. However, most mental health search terms did not exhibit significant changes in search volume in relation to volume before mask mandate implementation (11/12, 92% of the terms) and in relation to volume before mask mandate implementation by political party affiliation (10/12, 83% of the terms).</p>
      <p>Although “restless,” “irritability,” and “anxiety” were the only search terms exhibiting significant changes in volume from when mask mandates were implemented, it is important to note that the GAMM results revealed that 2 mental health terms (“anxiety” and “restless”) had significant nonlinear associations with the timing of mask mandate implementation, and 7 terms (“afraid,” “anxiety,” “insomnia,” “irritable,” “restless,” “suicide,” and “tense”) had significant nonlinear associations with the timing of mandate implementation in Republican states relative to Democratic states (<xref ref-type="table" rid="table1">Table 1</xref>), all after correcting for multiple hypotheses. The main difference with these findings is that only “restless,” “anxiety,” and “irritable” also exhibited <italic>significant nonlinear changes from baseline search volume</italic>, as determined by the 95% CIs (<xref rid="figure3" ref-type="fig">Figures 3</xref> and <xref rid="figure4" ref-type="fig">4</xref>). The fact that many mental health terms exhibited nonlinear associations with the timing of mask mandate implementation is still an interesting finding as this provides insights into how these mental health symptoms fluctuate over time—particularly that these fluctuations are not linear.</p>
      <p>The search volume of 12% (3/26) of physical health search terms had significant nonlinear associations with the timing of mask mandates that deviated significantly from baseline, whereas the search volume of only 4% (1/26) of terms had significant nonlinear associations with the timing of mask mandates in Republican states relative to Democratic states that deviated significantly from baseline. Thus, these findings suggest that mask mandate and political party elected had more unique and significant nonlinear associations with mental health search activity than with physical health search activity. In addition, of the 26 total physical health search terms, only 1 (4%), “constipation,” exhibited a significant increase in search volume following mask mandates. Importantly, none of the COVID-19–related physical health terms exhibited increases in volume, suggesting that both mask mandate and political party elected were uniquely associated with greater changes in mental health symptoms. Furthermore, given that the only 3 mental health terms characterized by significant changes in search volume trajectory from baseline (“restless,” “anxiety,” and “irritable”) capture a unified, overarching psychological construct (anxiety), it is likely that these findings are not spurious but rather holistically reflect differences in anxiety-related search behavior following statewide mask mandates. This finding may be informative to leaders and policy makers in the event that pervasive, population-level mandates are ever again necessary as these results suggest that it may be particularly worthwhile to monitor anxiety-related symptoms among the population and provide additional support for these symptoms following mandate implementation. However, given that there were relative decreases in search volume for “anxiety” itself, future research may be needed to investigate the anxiety-related impacts of mask mandates more carefully (eg, at local levels) to better understand the anxiety-related support that should be provided.</p>
      <p>Despite increases in anxiety-related search behavior in relation to the timing of statewide mask mandates, there was no significant increase in searches for “anxiety” itself, and in fact, there was a significant decrease in searches for anxiety following mask mandates in Republican states compared with Democratic states. Other studies have found that Republicans were less concerned about catching COVID-19 relative to Democrats as well as less likely to adhere to masking guidelines than Democrats [<xref ref-type="bibr" rid="ref44">44</xref>,<xref ref-type="bibr" rid="ref45">45</xref>]. This Republican sentiment could be reflected in decreased searches for “anxiety” relative to Democrats as the pandemic progressed as these findings may indicate that Republicans were relatively less anxious about COVID-19 and masking as a means of preventing its spread. Along with this, considering that mask mandates can be viewed as restrictive [<xref ref-type="bibr" rid="ref18">18</xref>,<xref ref-type="bibr" rid="ref19">19</xref>], as well as research that has shown negative sentiment among Republicans toward masking throughout the pandemic [<xref ref-type="bibr" rid="ref46">46</xref>] and research suggesting greater Republican aversion to the enforcement of mask mandates relative to Democrats [<xref ref-type="bibr" rid="ref47">47</xref>], this may suggest that Republicans were more likely to feel irritated by mask mandates relative to Democrats, which in turn was reflected in a slight increase in search volume for “irritability” following mandate implementation. In summary, given the exploratory aims of this study, it is interesting to note that the search volume of “anxiety” and “irritability” exhibited differential relationships with mask mandates and political party elected, trends that aligned with existing evidence of political party in relation to masking. The differential changes in “anxiety” and “irritability” could be explained in part by the fact that “irritability” represents more specific emotional states of anger or annoyance within the broader construct of “anxiety,” which itself may reflect a wider array of behavioral responses.</p>
      <p>The most notable finding from these results was the significant increase in search volume for “restless” following mask mandate implementation (<xref rid="figure3" ref-type="fig">Figure 3</xref>). Searches for “restless” may have increased following a mandate as people were becoming more concerned with others adhering to the new guidelines as well as concerned about the fact that the implementation of a mask mandate may cause others to neglect other health measures such as physical distancing or hand hygiene [<xref ref-type="bibr" rid="ref48">48</xref>]. It is also possible that people were becoming more restless the longer the mandates were in effect, aligning with research showing increased restlessness as quarantine persisted early in the pandemic [<xref ref-type="bibr" rid="ref49">49</xref>]. Furthermore, it is possible that there was an increased search volume for “restless” because it was being searched in other contexts. For instance, there is evidence of increased restless leg syndrome—which itself is a nervous condition—because of social distancing measures during the pandemic [<xref ref-type="bibr" rid="ref50">50</xref>].</p>
      <p>Despite the significant changes in anxiety-related mental health searches, it is worth noting that most mental health terms did not exhibit significant changes in search volume from baseline relative to the timing of statewide mask mandates across all states, with 92% (11/12) of terms not having significant changes relative to baseline (<xref rid="figure3" ref-type="fig">Figure 3</xref>). Similarly, only 17% (2/12) of mental health terms exhibited significant changes from baseline search volume related to the timing of mask mandates in Republican states relative to Democratic states<italic>,</italic> which nevertheless aligns with other studies that have found differences in the mental response to the pandemic across political parties [<xref ref-type="bibr" rid="ref51">51</xref>]. Given that most associations were not significant, these analyses do not suggest that there is an overwhelming impact of mask mandates on population-level mental health–related search behavior in the United States. However, when considering why there were fewer significant changes in mental health search volume related to the timing of statewide mask mandates, it is important to note that just because there were no <italic>significant</italic> changes does not mean that mask mandates did not influence mental health search behavior. Owing to the varying time of implementation of statewide mask mandates (<xref rid="figure1" ref-type="fig">Figure 1</xref>) as well as other confounding factors not accounted for by these analyses, it is possible that this modeling framework could not decipher state-level associations between mask mandates and mental health searches, but a more fine-grained analysis of within-state search activity may reveal significant associations. Furthermore, these analyses examine associations at the US population level, and despite the efforts to account for covariates across states, there is still likely a large amount of heterogeneity within each state (ie, at the county or community level) in terms of the covariates examined (ie, political party elected, COVID-19 cases and deaths, urbanization, and per capita income). Therefore, the fact that these analyses were able to detect some significant population-level associations between mental health search volume and mask mandates is noteworthy as this likely speaks to the magnitude (ie, number of people experiencing changes in search behavior) of the associations at play. Thus, taking these findings together, policy makers at a statewide and local level should consider the anxiety-related impacts that restrictive orders such as mask mandates can cause, being prepared to offer the appropriate mental assistance when such guidelines are deemed necessary for the greater public good.</p>
      <p>This study provided an intensive longitudinal analysis of internet search data over roughly the first year of the pandemic in the United States, being the first known study to provide insights into the short- and long-term associations between mask mandates and mental health. Many different search terms were queried to account for a wide array of mental and physical health constructs. However, only search terms with sufficient completion of data were incorporated into the modeling portion of the analysis, which controlled for a variety of factors, including state-specific time associations and other factors known to influence mental health, such as political party affiliation, COVID-19 cases and deaths, urbanization, and per capita income. The resulting <italic>P</italic> values corresponding to smooth terms were adjusted to account for the multiple hypotheses under consideration, reducing the risk of type-1 error. Furthermore, the marginal and conditional <italic>R</italic><sup>2</sup> values for each search term model were reported to show that the fixed effects—namely, the terms corresponding to mask mandates and political party affiliation—explained a considerable portion of the variance in search term volume through time. Finally, physical health search terms were included as a means of comparison with mental health search terms. Taking this methodological approach in summary, this analytical approach was strong in that it accounted for other factors that may have influenced the main results of the mental health models, providing more confidence in these results. Nevertheless, it is impossible to have completely eliminated the possibility of spurious associations, but the several aforementioned measures were taken in an attempt to mitigate this likelihood.</p>
      <p>In light of the aforementioned strengths, this study also has limitations. Importantly, all search terms exhibited some level of missingness in that hourly search data were not available for a subset of time points in some states; however, when hit counts were aggregated at the daily level, as long as at least 1 hour was present, the day was considered complete, and the other hours were filled with zeros. Although most days had 24 hours of data available, the assumption that all missing data were owing to low search prevalence (ie, 0 hourly hits) may not have been the case at all times. The search terms extracted from Google Trends also may not have captured all contexts or uses of a word (eg, “anxiety” vs “anxious”) and, thus, may not completely capture public sentiment regarding a mental health construct. In addition, this analysis dichotomously coded political party affiliation based on the results of the 2020 presidential election (ie, “political party elected”). However, this may not have accurately reflected state political representations or true voter sentiment within a state. Future analyses may consider coding political party affiliation on a scale based on the proportion of voters aligning with a given party, but for this analysis, the dichotomous approach led to easier interpretation of the findings. Furthermore, although all mask mandates considered in these analyses were statewide, there was a level of heterogeneity in how mask mandates were implemented at the state level (eg, some were enforced when individuals were in public indoor spaces, whereas others were enforced anytime outside the home [<xref ref-type="bibr" rid="ref30">30</xref>]). Thus, this heterogeneity may not have been fully captured by considering all statewide mask mandates to be the same in terms of their potential mental impact. In addition, the urbanization data were collected from the 2010 US census and, thus, may not have accurately reflected present-day values. Finally, the modeling approach used did not allow for interpretations of search volume trends preceding the mask mandate. On this note, this study does not have any data available pertaining to the volume of mental health search behavior before the beginning of the pandemic and, thus, cannot account for seasonality and other potentially confounding variables related to time-series data in the analyses.</p>
      <p>Given the broad longitudinal scope of these analyses (ie, a year’s worth of search term data), there were increased odds of missingness because of low search prevalence or other data acquisition issues. Accordingly, future work may take interest in examining these data in discretized temporal bins without missingness. In this manner, terms that had to be dropped from this analysis could be included, potentially yielding additional insights into the trajectories of mental health search activity. Furthermore, future work may also consider investigating the associations among mental health, mask mandates, and political party elected using greater levels of resolution in the covariates incorporated into the model in this study (eg, within individual states or communities or subsetting regions by level of COVID-19 cases, urbanization, and per capita income). In addition, given that primarily anxiety-related search terms were revealed to have significant associations within this modeling framework, future work may consider specifically investigating the associations between anxiety-related behaviors and pervasive policies or political parties. Nevertheless, the broad, nationally representative, and longitudinal scope of these analyses provided a sound framework with which to reveal overarching changes in mental health via internet search activity and GAMMs.</p>
    </sec>
  </body>
  <back>
    <app-group>
      <supplementary-material id="app1">
        <label>Multimedia Appendix 1</label>
        <p>Analysis of missingness for mental health and physical health search terms.</p>
        <media xlink:href="jmir_v25i1e40308_app1.docx" xlink:title="DOCX File , 18 KB"/>
      </supplementary-material>
      <supplementary-material id="app2">
        <label>Multimedia Appendix 2</label>
        <p>State-level information incorporated into generalized additive mixed modeling.</p>
        <media xlink:href="jmir_v25i1e40308_app2.docx" xlink:title="DOCX File , 484 KB"/>
      </supplementary-material>
      <supplementary-material id="app3">
        <label>Multimedia Appendix 3</label>
        <p>Distributions of daily hit counts for all physical health search terms across all states.</p>
        <media xlink:href="jmir_v25i1e40308_app3.docx" xlink:title="DOCX File , 505 KB"/>
      </supplementary-material>
      <supplementary-material id="app4">
        <label>Multimedia Appendix 4</label>
        <p>Significant changes in physical health search behavior related to mask mandates.</p>
        <media xlink:href="jmir_v25i1e40308_app4.docx" xlink:title="DOCX File , 147 KB"/>
      </supplementary-material>
      <supplementary-material id="app5">
        <label>Multimedia Appendix 5</label>
        <p>Significant changes in physical health search behavior related to mask mandate and political party interaction.</p>
        <media xlink:href="jmir_v25i1e40308_app5.docx" xlink:title="DOCX File , 132 KB"/>
      </supplementary-material>
      <supplementary-material id="app6">
        <label>Multimedia Appendix 6</label>
        <p>Significant changes in COVID-19–related physical health search behavior related to mask mandates.</p>
        <media xlink:href="jmir_v25i1e40308_app6.docx" xlink:title="DOCX File , 133 KB"/>
      </supplementary-material>
    </app-group>
    <glossary>
      <title>Abbreviations</title>
      <def-list>
        <def-item>
          <term id="abb1">EDF</term>
          <def>
            <p>estimated df</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb2">GAMM</term>
          <def>
            <p>generalized additive mixed model</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb3">TPRS</term>
          <def>
            <p>thin plate regression spline</p>
          </def>
        </def-item>
      </def-list>
    </glossary>
    <ack>
      <p>This study was funded by an institutional grant from the National Institute on Drug Abuse (grant NIDA-5P30DA02992610).</p>
    </ack>
    <fn-group>
      <fn fn-type="con">
        <p>All authors made substantial contributions to the manuscript. The following reflects individual contributions per the nomenclature of the Contributor Roles Taxonomy: JAG was responsible for conceptualization, methodology, software, formal analysis, writing (original draft preparation and review and editing), and visualization. DL was responsible for methodology and writing (review and editing). GP was responsible for methodology and writing (review and editing). NCJ was responsible for methodology, formal analysis, and writing (review and editing).</p>
      </fn>
      <fn fn-type="conflict">
        <p>None declared.</p>
      </fn>
    </fn-group>
    <ref-list>
      <ref id="ref1">
        <label>1</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Islam</surname>
              <given-names>N</given-names>
            </name>
            <name name-style="western">
              <surname>Jdanov</surname>
              <given-names>DA</given-names>
            </name>
            <name name-style="western">
              <surname>Shkolnikov</surname>
              <given-names>VM</given-names>
            </name>
            <name name-style="western">
              <surname>Khunti</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Kawachi</surname>
              <given-names>I</given-names>
            </name>
            <name name-style="western">
              <surname>White</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Lewington</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Lacey</surname>
              <given-names>B</given-names>
            </name>
          </person-group>
          <article-title>Effects of COVID-19 pandemic on life expectancy and premature mortality in 2020: time series analysis in 37 countries</article-title>
          <source>BMJ</source>
          <year>2021</year>
          <month>11</month>
          <day>03</day>
          <volume>375</volume>
          <fpage>e066768</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="http://www.bmj.com/lookup/pmidlookup?view=long&#38;pmid=34732390"/>
          </comment>
          <pub-id pub-id-type="doi">10.1136/bmj-2021-066768</pub-id>
          <pub-id pub-id-type="medline">34732390</pub-id>
          <pub-id pub-id-type="pmcid">PMC8564739</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>Aslam</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Awan</surname>
              <given-names>TM</given-names>
            </name>
            <name name-style="western">
              <surname>Syed</surname>
              <given-names>JH</given-names>
            </name>
            <name name-style="western">
              <surname>Kashif</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Parveen</surname>
              <given-names>M</given-names>
            </name>
          </person-group>
          <article-title>Sentiments and emotions evoked by news headlines of coronavirus disease (COVID-19) outbreak</article-title>
          <source>Humanit Soc Sci Commun</source>
          <year>2020</year>
          <month>07</month>
          <day>08</day>
          <volume>7</volume>
          <issue>1</issue>
          <fpage>23</fpage>
          <pub-id pub-id-type="doi">10.1057/s41599-020-0523-3</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>Pakravan-Charvadeh</surname>
              <given-names>MR</given-names>
            </name>
            <name name-style="western">
              <surname>Mohammadi-Nasrabadi</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Gholamrezai</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Vatanparast</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Flora</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Nabavi-Pelesaraei</surname>
              <given-names>A</given-names>
            </name>
          </person-group>
          <article-title>The short-term effects of COVID-19 outbreak on dietary diversity and food security status of Iranian households (a case study in Tehran province)</article-title>
          <source>J Clean Prod</source>
          <year>2021</year>
          <month>01</month>
          <day>25</day>
          <volume>281</volume>
          <fpage>124537</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/33052173"/>
          </comment>
          <pub-id pub-id-type="doi">10.1016/j.jclepro.2020.124537</pub-id>
          <pub-id pub-id-type="medline">33052173</pub-id>
          <pub-id pub-id-type="pii">S0959-6526(20)34581-9</pub-id>
          <pub-id pub-id-type="pmcid">PMC7537655</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>Talevi</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Socci</surname>
              <given-names>V</given-names>
            </name>
            <name name-style="western">
              <surname>Carai</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Carnaghi</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Faleri</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Trebbi</surname>
              <given-names>E</given-names>
            </name>
            <name name-style="western">
              <surname>di Bernardo</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Capelli</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Pacitti</surname>
              <given-names>F</given-names>
            </name>
          </person-group>
          <article-title>Mental health outcomes of the COVID-19 pandemic</article-title>
          <source>Riv Psichiatr</source>
          <year>2020</year>
          <volume>55</volume>
          <issue>3</issue>
          <fpage>137</fpage>
          <lpage>44</lpage>
          <pub-id pub-id-type="doi">10.1708/3382.33569</pub-id>
          <pub-id pub-id-type="medline">32489190</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>Hossain</surname>
              <given-names>MM</given-names>
            </name>
            <name name-style="western">
              <surname>Sultana</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Purohit</surname>
              <given-names>N</given-names>
            </name>
          </person-group>
          <article-title>Mental health outcomes of quarantine and isolation for infection prevention: a systematic umbrella review of the global evidence</article-title>
          <source>Epidemiol Health</source>
          <year>2020</year>
          <volume>42</volume>
          <fpage>e2020038</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/32512661"/>
          </comment>
          <pub-id pub-id-type="doi">10.4178/epih.e2020038</pub-id>
          <pub-id pub-id-type="medline">32512661</pub-id>
          <pub-id pub-id-type="pii">epih.e2020038</pub-id>
          <pub-id pub-id-type="pmcid">PMC7644933</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>Pfefferbaum</surname>
              <given-names>B</given-names>
            </name>
            <name name-style="western">
              <surname>North</surname>
              <given-names>CS</given-names>
            </name>
          </person-group>
          <article-title>Mental health and the COVID-19 pandemic</article-title>
          <source>N Engl J Med</source>
          <year>2020</year>
          <month>08</month>
          <day>06</day>
          <volume>383</volume>
          <issue>6</issue>
          <fpage>510</fpage>
          <lpage>2</lpage>
          <pub-id pub-id-type="doi">10.1056/NEJMp2008017</pub-id>
          <pub-id pub-id-type="medline">32283003</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>Bourmistrova</surname>
              <given-names>NW</given-names>
            </name>
            <name name-style="western">
              <surname>Solomon</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Braude</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Strawbridge</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Carter</surname>
              <given-names>B</given-names>
            </name>
          </person-group>
          <article-title>Long-term effects of COVID-19 on mental health: a systematic review</article-title>
          <source>J Affect Disord</source>
          <year>2022</year>
          <month>02</month>
          <day>15</day>
          <volume>299</volume>
          <fpage>118</fpage>
          <lpage>25</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/34798148"/>
          </comment>
          <pub-id pub-id-type="doi">10.1016/j.jad.2021.11.031</pub-id>
          <pub-id pub-id-type="medline">34798148</pub-id>
          <pub-id pub-id-type="pii">S0165-0327(21)01253-2</pub-id>
          <pub-id pub-id-type="pmcid">PMC8758130</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>Veldhuis</surname>
              <given-names>CB</given-names>
            </name>
            <name name-style="western">
              <surname>Nesoff</surname>
              <given-names>ED</given-names>
            </name>
            <name name-style="western">
              <surname>McKowen</surname>
              <given-names>AL</given-names>
            </name>
            <name name-style="western">
              <surname>Rice</surname>
              <given-names>DR</given-names>
            </name>
            <name name-style="western">
              <surname>Ghoneima</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Wootton</surname>
              <given-names>AR</given-names>
            </name>
            <name name-style="western">
              <surname>Papautsky</surname>
              <given-names>EL</given-names>
            </name>
            <name name-style="western">
              <surname>Arigo</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Goldberg</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Anderson</surname>
              <given-names>JC</given-names>
            </name>
          </person-group>
          <article-title>Addressing the critical need for long-term mental health data during the COVID-19 pandemic: changes in mental health from April to September 2020</article-title>
          <source>Prev Med</source>
          <year>2021</year>
          <month>05</month>
          <volume>146</volume>
          <fpage>106465</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/33647353"/>
          </comment>
          <pub-id pub-id-type="doi">10.1016/j.ypmed.2021.106465</pub-id>
          <pub-id pub-id-type="medline">33647353</pub-id>
          <pub-id pub-id-type="pii">S0091-7435(21)00049-9</pub-id>
          <pub-id pub-id-type="pmcid">PMC8136863</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref9">
        <label>9</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Jacobson</surname>
              <given-names>NC</given-names>
            </name>
            <name name-style="western">
              <surname>Yom-Tov</surname>
              <given-names>E</given-names>
            </name>
            <name name-style="western">
              <surname>Lekkas</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Heinz</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Liu</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Barr</surname>
              <given-names>PJ</given-names>
            </name>
          </person-group>
          <article-title>Impact of online mental health screening tools on help-seeking, care receipt, and suicidal ideation and suicidal intent: evidence from internet search behavior in a large U.S. cohort</article-title>
          <source>J Psychiatr Res</source>
          <year>2022</year>
          <month>01</month>
          <volume>145</volume>
          <fpage>276</fpage>
          <lpage>83</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/33199054"/>
          </comment>
          <pub-id pub-id-type="doi">10.1016/j.jpsychires.2020.11.010</pub-id>
          <pub-id pub-id-type="medline">33199054</pub-id>
          <pub-id pub-id-type="pii">S0022-3956(20)31069-4</pub-id>
          <pub-id pub-id-type="pmcid">PMC8106691</pub-id>
        </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>Lekkas</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Gyorda</surname>
              <given-names>JA</given-names>
            </name>
            <name name-style="western">
              <surname>Price</surname>
              <given-names>GD</given-names>
            </name>
            <name name-style="western">
              <surname>Wortzman</surname>
              <given-names>Z</given-names>
            </name>
            <name name-style="western">
              <surname>Jacobson</surname>
              <given-names>NC</given-names>
            </name>
          </person-group>
          <article-title>Using the COVID-19 pandemic to assess the influence of news affect on online mental health-related search behavior across the United States: integrated sentiment analysis and the circumplex model of affect</article-title>
          <source>J Med Internet Res</source>
          <year>2022</year>
          <month>01</month>
          <day>27</day>
          <volume>24</volume>
          <issue>1</issue>
          <fpage>e32731</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.jmir.org/2022/1/e32731/"/>
          </comment>
          <pub-id pub-id-type="doi">10.2196/32731</pub-id>
          <pub-id pub-id-type="medline">34932494</pub-id>
          <pub-id pub-id-type="pii">v24i1e32731</pub-id>
          <pub-id pub-id-type="pmcid">PMC8805454</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>Pretorius</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Chambers</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Coyle</surname>
              <given-names>D</given-names>
            </name>
          </person-group>
          <article-title>Young people's online help-seeking and mental health difficulties: systematic narrative review</article-title>
          <source>J Med Internet Res</source>
          <year>2019</year>
          <month>11</month>
          <day>19</day>
          <volume>21</volume>
          <issue>11</issue>
          <fpage>e13873</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.jmir.org/2019/11/e13873/"/>
          </comment>
          <pub-id pub-id-type="doi">10.2196/13873</pub-id>
          <pub-id pub-id-type="medline">31742562</pub-id>
          <pub-id pub-id-type="pii">v21i11e13873</pub-id>
          <pub-id pub-id-type="pmcid">PMC6891826</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>Aboueid</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Meyer</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Wallace</surname>
              <given-names>JR</given-names>
            </name>
            <name name-style="western">
              <surname>Mahajan</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Chaurasia</surname>
              <given-names>A</given-names>
            </name>
          </person-group>
          <article-title>Young adults' perspectives on the use of symptom checkers for self-triage and self-diagnosis: qualitative study</article-title>
          <source>JMIR Public Health Surveill</source>
          <year>2021</year>
          <month>01</month>
          <day>06</day>
          <volume>7</volume>
          <issue>1</issue>
          <fpage>e22637</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://publichealth.jmir.org/2021/1/e22637/"/>
          </comment>
          <pub-id pub-id-type="doi">10.2196/22637</pub-id>
          <pub-id pub-id-type="medline">33404515</pub-id>
          <pub-id pub-id-type="pii">v7i1e22637</pub-id>
          <pub-id pub-id-type="pmcid">PMC7817365</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>Hamamura</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Chan</surname>
              <given-names>CS</given-names>
            </name>
          </person-group>
          <article-title>Anxious? Just Google it: social ecological factors of internet search records on anxiety</article-title>
          <source>Emotion</source>
          <year>2020</year>
          <month>12</month>
          <volume>20</volume>
          <issue>8</issue>
          <fpage>1475</fpage>
          <lpage>84</lpage>
          <pub-id pub-id-type="doi">10.1037/emo0000663</pub-id>
          <pub-id pub-id-type="medline">31414837</pub-id>
          <pub-id pub-id-type="pii">2019-47135-001</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>Bruckner</surname>
              <given-names>TA</given-names>
            </name>
            <name name-style="western">
              <surname>McClure</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Kim</surname>
              <given-names>Y</given-names>
            </name>
          </person-group>
          <article-title>Google searches for suicide and risk of suicide</article-title>
          <source>Psychiatr Serv</source>
          <year>2014</year>
          <month>02</month>
          <day>01</day>
          <volume>65</volume>
          <issue>2</issue>
          <fpage>271</fpage>
          <lpage>2</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/24492910"/>
          </comment>
          <pub-id pub-id-type="doi">10.1176/appi.ps.201300211</pub-id>
          <pub-id pub-id-type="medline">24492910</pub-id>
          <pub-id pub-id-type="pii">1818814</pub-id>
          <pub-id pub-id-type="pmcid">PMC4224516</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>Ayers</surname>
              <given-names>JW</given-names>
            </name>
            <name name-style="western">
              <surname>Leas</surname>
              <given-names>EC</given-names>
            </name>
            <name name-style="western">
              <surname>Johnson</surname>
              <given-names>DC</given-names>
            </name>
            <name name-style="western">
              <surname>Poliak</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Althouse</surname>
              <given-names>BM</given-names>
            </name>
            <name name-style="western">
              <surname>Dredze</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Nobles</surname>
              <given-names>AL</given-names>
            </name>
          </person-group>
          <article-title>Internet searches for acute anxiety during the early stages of the COVID-19 pandemic</article-title>
          <source>JAMA Intern Med</source>
          <year>2020</year>
          <month>12</month>
          <day>01</day>
          <volume>180</volume>
          <issue>12</issue>
          <fpage>1706</fpage>
          <lpage>7</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/32832984"/>
          </comment>
          <pub-id pub-id-type="doi">10.1001/jamainternmed.2020.3305</pub-id>
          <pub-id pub-id-type="medline">32832984</pub-id>
          <pub-id pub-id-type="pii">2769543</pub-id>
          <pub-id pub-id-type="pmcid">PMC7445624</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>Gianfredi</surname>
              <given-names>V</given-names>
            </name>
            <name name-style="western">
              <surname>Provenzano</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Santangelo</surname>
              <given-names>OE</given-names>
            </name>
          </person-group>
          <article-title>What can internet users' behaviours reveal about the mental health impacts of the COVID-19 pandemic? A systematic review</article-title>
          <source>Public Health</source>
          <year>2021</year>
          <month>09</month>
          <volume>198</volume>
          <fpage>44</fpage>
          <lpage>52</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/34352615"/>
          </comment>
          <pub-id pub-id-type="doi">10.1016/j.puhe.2021.06.024</pub-id>
          <pub-id pub-id-type="medline">34352615</pub-id>
          <pub-id pub-id-type="pii">S0033-3506(21)00258-4</pub-id>
          <pub-id pub-id-type="pmcid">PMC8328639</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>Saint</surname>
              <given-names>SA</given-names>
            </name>
            <name name-style="western">
              <surname>Moscovitch</surname>
              <given-names>DA</given-names>
            </name>
          </person-group>
          <article-title>Effects of mask-wearing on social anxiety: an exploratory review</article-title>
          <source>Anxiety Stress Coping</source>
          <year>2021</year>
          <month>09</month>
          <volume>34</volume>
          <issue>5</issue>
          <fpage>487</fpage>
          <lpage>502</lpage>
          <pub-id pub-id-type="doi">10.1080/10615806.2021.1929936</pub-id>
          <pub-id pub-id-type="medline">34074171</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref18">
        <label>18</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Palcu</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Schreier</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Janiszewski</surname>
              <given-names>C</given-names>
            </name>
          </person-group>
          <article-title>Facial mask personalization encourages facial mask wearing in times of COVID-19</article-title>
          <source>Sci Rep</source>
          <year>2022</year>
          <month>01</month>
          <day>18</day>
          <volume>12</volume>
          <issue>1</issue>
          <fpage>891</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://doi.org/10.1038/s41598-021-04681-y"/>
          </comment>
          <pub-id pub-id-type="doi">10.1038/s41598-021-04681-y</pub-id>
          <pub-id pub-id-type="medline">35042911</pub-id>
          <pub-id pub-id-type="pii">10.1038/s41598-021-04681-y</pub-id>
          <pub-id pub-id-type="pmcid">PMC8766589</pub-id>
        </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>Rains</surname>
              <given-names>SA</given-names>
            </name>
            <name name-style="western">
              <surname>Harber</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Warner</surname>
              <given-names>EL</given-names>
            </name>
            <name name-style="western">
              <surname>Leroy</surname>
              <given-names>G</given-names>
            </name>
          </person-group>
          <article-title>Public responses to COVID-19 mask mandates: examining pro and anti-Mask anger in tweets before and after state-level mandates</article-title>
          <source>Commun Monogr</source>
          <year>2022</year>
          <month>03</month>
          <day>06</day>
          <volume>89</volume>
          <issue>4</issue>
          <fpage>539</fpage>
          <lpage>57</lpage>
          <pub-id pub-id-type="doi">10.1080/03637751.2022.2043555</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>Young</surname>
              <given-names>DG</given-names>
            </name>
            <name name-style="western">
              <surname>Rasheed</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Bleakley</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Langbaum</surname>
              <given-names>JB</given-names>
            </name>
          </person-group>
          <article-title>The politics of mask-wearing: political preferences, reactance, and conflict aversion during COVID</article-title>
          <source>Soc Sci Med</source>
          <year>2022</year>
          <month>04</month>
          <volume>298</volume>
          <fpage>114836</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/35245756"/>
          </comment>
          <pub-id pub-id-type="doi">10.1016/j.socscimed.2022.114836</pub-id>
          <pub-id pub-id-type="medline">35245756</pub-id>
          <pub-id pub-id-type="pii">S0277-9536(22)00142-3</pub-id>
          <pub-id pub-id-type="pmcid">PMC8866197</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>Renström</surname>
              <given-names>EA</given-names>
            </name>
            <name name-style="western">
              <surname>Bäck</surname>
              <given-names>H</given-names>
            </name>
          </person-group>
          <article-title>Emotions during the COVID-19 pandemic: fear, anxiety, and anger as mediators between threats and policy support and political actions</article-title>
          <source>J Appl Soc Psychol</source>
          <year>2021</year>
          <month>08</month>
          <volume>51</volume>
          <issue>8</issue>
          <fpage>861</fpage>
          <lpage>77</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/34511637"/>
          </comment>
          <pub-id pub-id-type="doi">10.1111/jasp.12806</pub-id>
          <pub-id pub-id-type="medline">34511637</pub-id>
          <pub-id pub-id-type="pii">JASP12806</pub-id>
          <pub-id pub-id-type="pmcid">PMC8420191</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>Jacobson</surname>
              <given-names>NC</given-names>
            </name>
            <name name-style="western">
              <surname>Lekkas</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Price</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Heinz</surname>
              <given-names>MV</given-names>
            </name>
            <name name-style="western">
              <surname>Song</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>O'Malley</surname>
              <given-names>AJ</given-names>
            </name>
            <name name-style="western">
              <surname>Barr</surname>
              <given-names>PJ</given-names>
            </name>
          </person-group>
          <article-title>Flattening the mental health curve: COVID-19 stay-at-home orders are associated with alterations in mental health search behavior in the United States</article-title>
          <source>JMIR Ment Health</source>
          <year>2020</year>
          <month>06</month>
          <day>01</day>
          <volume>7</volume>
          <issue>6</issue>
          <fpage>e19347</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://mental.jmir.org/2020/6/e19347/"/>
          </comment>
          <pub-id pub-id-type="doi">10.2196/19347</pub-id>
          <pub-id pub-id-type="medline">32459186</pub-id>
          <pub-id pub-id-type="pii">v7i6e19347</pub-id>
          <pub-id pub-id-type="pmcid">PMC7265799</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref23">
        <label>23</label>
        <nlm-citation citation-type="web">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Radić</surname>
              <given-names>D</given-names>
            </name>
          </person-group>
          <article-title>Search Engine Statistics 2022: Market Share, Advertising, Revenue</article-title>
          <source>Serpwatch</source>
          <year>2022</year>
          <access-date>2022-05-25</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://serpwatch.io/blog/search-engine-statistics/">https://serpwatch.io/blog/search-engine-statistics/</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>Zhao</surname>
              <given-names>X</given-names>
            </name>
            <name name-style="western">
              <surname>Coxe</surname>
              <given-names>SJ</given-names>
            </name>
            <name name-style="western">
              <surname>Timmons</surname>
              <given-names>AC</given-names>
            </name>
            <name name-style="western">
              <surname>Frazier</surname>
              <given-names>SL</given-names>
            </name>
          </person-group>
          <article-title>Mental health information seeking online: a Google Trends analysis of ADHD</article-title>
          <source>Adm Policy Ment Health</source>
          <year>2022</year>
          <month>05</month>
          <volume>49</volume>
          <issue>3</issue>
          <fpage>357</fpage>
          <lpage>73</lpage>
          <pub-id pub-id-type="doi">10.1007/s10488-021-01168-w</pub-id>
          <pub-id pub-id-type="medline">34553276</pub-id>
          <pub-id pub-id-type="pii">10.1007/s10488-021-01168-w</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>Knipe</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Evans</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Marchant</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Gunnell</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>John</surname>
              <given-names>A</given-names>
            </name>
          </person-group>
          <article-title>Mapping population mental health concerns related to COVID-19 and the consequences of physical distancing: a Google Trends analysis</article-title>
          <source>Wellcome Open Res</source>
          <year>2020</year>
          <month>6</month>
          <day>10</day>
          <volume>5</volume>
          <fpage>82</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/32671230"/>
          </comment>
          <pub-id pub-id-type="doi">10.12688/wellcomeopenres.15870.2</pub-id>
          <pub-id pub-id-type="medline">32671230</pub-id>
          <pub-id pub-id-type="pmcid">PMC7331103</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref26">
        <label>26</label>
        <nlm-citation citation-type="web">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Massicotte</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Eddelbuettel</surname>
              <given-names>D</given-names>
            </name>
          </person-group>
          <article-title>gtrendsR: perform and display google trends queries. Version 1.5.1</article-title>
          <source>The Comprehensive R Archive Network</source>
          <year>2022</year>
          <month>5</month>
          <day>23</day>
          <access-date>2020-06-15</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://cran.r-project.org/web/packages/gtrendsR/gtrendsR.pdf">https://cran.r-project.org/web/packages/gtrendsR/gtrendsR.pdf</ext-link>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref27">
        <label>27</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Soreni</surname>
              <given-names>N</given-names>
            </name>
            <name name-style="western">
              <surname>Cameron</surname>
              <given-names>DH</given-names>
            </name>
            <name name-style="western">
              <surname>Streiner</surname>
              <given-names>DL</given-names>
            </name>
            <name name-style="western">
              <surname>Rowa</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>McCabe</surname>
              <given-names>RE</given-names>
            </name>
          </person-group>
          <article-title>Seasonality patterns of internet searches on mental health: exploratory infodemiology study</article-title>
          <source>JMIR Ment Health</source>
          <year>2019</year>
          <month>04</month>
          <day>24</day>
          <volume>6</volume>
          <issue>4</issue>
          <fpage>e12974</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://mental.jmir.org/2019/4/e12974/"/>
          </comment>
          <pub-id pub-id-type="doi">10.2196/12974</pub-id>
          <pub-id pub-id-type="medline">31017582</pub-id>
          <pub-id pub-id-type="pii">v6i4e12974</pub-id>
          <pub-id pub-id-type="pmcid">PMC6505370</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref28">
        <label>28</label>
        <nlm-citation citation-type="book">
          <person-group person-group-type="author">
            <collab>American Pain Society</collab>
          </person-group>
          <source>Diagnostic and Statistical Manual of Mental Disorders (DSM-5). 5th edition</source>
          <year>2013</year>
          <publisher-loc>Washington, DC, USA</publisher-loc>
          <publisher-name>American Psychiatric Association</publisher-name>
        </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>Fernandez</surname>
              <given-names>KC</given-names>
            </name>
            <name name-style="western">
              <surname>Fisher</surname>
              <given-names>AJ</given-names>
            </name>
            <name name-style="western">
              <surname>Chi</surname>
              <given-names>C</given-names>
            </name>
          </person-group>
          <article-title>Development and initial implementation of the Dynamic Assessment Treatment Algorithm (DATA)</article-title>
          <source>PLoS One</source>
          <year>2017</year>
          <month>6</month>
          <day>27</day>
          <volume>12</volume>
          <issue>6</issue>
          <fpage>e0178806</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://dx.plos.org/10.1371/journal.pone.0178806"/>
          </comment>
          <pub-id pub-id-type="doi">10.1371/journal.pone.0178806</pub-id>
          <pub-id pub-id-type="medline">28654667</pub-id>
          <pub-id pub-id-type="pii">PONE-D-16-02786</pub-id>
          <pub-id pub-id-type="pmcid">PMC5487014</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref30">
        <label>30</label>
        <nlm-citation citation-type="web">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Hubbard</surname>
              <given-names>K</given-names>
            </name>
          </person-group>
          <article-title>These states have Covid-19 mask mandates</article-title>
          <source>US News &#38; World Report</source>
          <year>2022</year>
          <month>3</month>
          <day>28</day>
          <access-date>2022-05-05</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.usnews.com/news/best-states/articles/these-are-the-states-with-mask-mandates">https://www.usnews.com/news/best-states/articles/these-are-the-states-with-mask-mandates</ext-link>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref31">
        <label>31</label>
        <nlm-citation citation-type="web">
          <article-title>2020 presidential election results</article-title>
          <source>CNN</source>
          <year>2020</year>
          <access-date>2022-05-05</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.cnn.com/election/2020/results/president">https://www.cnn.com/election/2020/results/president</ext-link>
          </comment>
        </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>Blanchflower</surname>
              <given-names>DG</given-names>
            </name>
            <name name-style="western">
              <surname>Bryson</surname>
              <given-names>A</given-names>
            </name>
          </person-group>
          <article-title>COVID and mental health in America</article-title>
          <source>PLoS One</source>
          <year>2022</year>
          <month>7</month>
          <day>22</day>
          <volume>17</volume>
          <issue>7</issue>
          <fpage>e0269855</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://dx.plos.org/10.1371/journal.pone.0269855"/>
          </comment>
          <pub-id pub-id-type="doi">10.1371/journal.pone.0269855</pub-id>
          <pub-id pub-id-type="medline">35867704</pub-id>
          <pub-id pub-id-type="pii">PONE-D-22-02066</pub-id>
          <pub-id pub-id-type="pmcid">PMC9307159</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>Simon</surname>
              <given-names>NM</given-names>
            </name>
            <name name-style="western">
              <surname>Saxe</surname>
              <given-names>GN</given-names>
            </name>
            <name name-style="western">
              <surname>Marmar</surname>
              <given-names>CR</given-names>
            </name>
          </person-group>
          <article-title>Mental health disorders related to COVID-19-related deaths</article-title>
          <source>JAMA</source>
          <year>2020</year>
          <month>10</month>
          <day>20</day>
          <volume>324</volume>
          <issue>15</issue>
          <fpage>1493</fpage>
          <lpage>4</lpage>
          <pub-id pub-id-type="doi">10.1001/jama.2020.19632</pub-id>
          <pub-id pub-id-type="medline">33044510</pub-id>
          <pub-id pub-id-type="pii">2771763</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref34">
        <label>34</label>
        <nlm-citation citation-type="web">
          <article-title>Coronavirus (COVID-19) Data in the United States</article-title>
          <source>GitHub</source>
          <year>2022</year>
          <access-date>2022-12-05</access-date>
          <publisher-loc>New York, NY, USA</publisher-loc>
          <publisher-name>The New York Times</publisher-name>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://github.com/nytimes/covid-19-data">https://github.com/nytimes/covid-19-data</ext-link>
          </comment>
        </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>Ventriglio</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Torales</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Castaldelli-Maia</surname>
              <given-names>JM</given-names>
            </name>
            <name name-style="western">
              <surname>De Berardis</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Bhugra</surname>
              <given-names>D</given-names>
            </name>
          </person-group>
          <article-title>Urbanization and emerging mental health issues</article-title>
          <source>CNS Spectr</source>
          <year>2021</year>
          <month>02</month>
          <volume>26</volume>
          <issue>1</issue>
          <fpage>43</fpage>
          <lpage>50</lpage>
          <pub-id pub-id-type="doi">10.1017/S1092852920001236</pub-id>
          <pub-id pub-id-type="medline">32248860</pub-id>
          <pub-id pub-id-type="pii">S1092852920001236</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>Hodgkinson</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Godoy</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Beers</surname>
              <given-names>LS</given-names>
            </name>
            <name name-style="western">
              <surname>Lewin</surname>
              <given-names>A</given-names>
            </name>
          </person-group>
          <article-title>Improving mental health access for low-income children and families in the primary care setting</article-title>
          <source>Pediatrics</source>
          <year>2017</year>
          <month>01</month>
          <volume>139</volume>
          <issue>1</issue>
          <fpage>e20151175</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/27965378"/>
          </comment>
          <pub-id pub-id-type="doi">10.1542/peds.2015-1175</pub-id>
          <pub-id pub-id-type="medline">27965378</pub-id>
          <pub-id pub-id-type="pii">peds.2015-1175</pub-id>
          <pub-id pub-id-type="pmcid">PMC5192088</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref37">
        <label>37</label>
        <nlm-citation citation-type="web">
          <article-title>Urban Percentage of the Population for States, Historical</article-title>
          <source>Iowa Community Indicators Program</source>
          <access-date>2022-05-05</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.icip.iastate.edu/tables/population/urban-pct-states">https://www.icip.iastate.edu/tables/population/urban-pct-states</ext-link>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref38">
        <label>38</label>
        <nlm-citation citation-type="web">
          <article-title>Regional Data: GDP and Personal Income</article-title>
          <source>US Bureau of Economic Analysis</source>
          <access-date>2022-05-05</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://apps.bea.gov/iTable/iTable.cfm?reqid=70&#38;step=1&#38;isuri=1&#38;acrdn=4#reqid=70&#38;step=1&#38;isuri=1&#38;acrdn=4">https://apps.bea.gov/iTable/iTable.cfm?reqid=70&#38;step=1&#38;isuri=1&#38;acrdn=4#reqid=70&#38;step=1&#38;isuri=1&#38;acrdn=4</ext-link>
          </comment>
        </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>McKeown</surname>
              <given-names>GJ</given-names>
            </name>
            <name name-style="western">
              <surname>Sneddon</surname>
              <given-names>I</given-names>
            </name>
          </person-group>
          <article-title>Modeling continuous self-report measures of perceived emotion using generalized additive mixed models</article-title>
          <source>Psychol Methods</source>
          <year>2014</year>
          <month>03</month>
          <volume>19</volume>
          <issue>1</issue>
          <fpage>155</fpage>
          <lpage>74</lpage>
          <pub-id pub-id-type="doi">10.1037/a0034282</pub-id>
          <pub-id pub-id-type="medline">24219542</pub-id>
          <pub-id pub-id-type="pii">2013-39658-001</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref40">
        <label>40</label>
        <nlm-citation citation-type="web">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Wood</surname>
              <given-names>S</given-names>
            </name>
          </person-group>
          <article-title>mgcv: Mixed GAM Computation Vehicle with GCV/AIC/REML smoothness estimation</article-title>
          <source>The Comprehensive R Archive Network</source>
          <year>2022</year>
          <month>10</month>
          <day>21</day>
          <access-date>2022-05-05</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://cran.r-project.org/web/packages/mgcv/mgcv.pdf">https://cran.r-project.org/web/packages/mgcv/mgcv.pdf</ext-link>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref41">
        <label>41</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Pedersen</surname>
              <given-names>EJ</given-names>
            </name>
            <name name-style="western">
              <surname>Miller</surname>
              <given-names>DL</given-names>
            </name>
            <name name-style="western">
              <surname>Simpson</surname>
              <given-names>GL</given-names>
            </name>
            <name name-style="western">
              <surname>Ross</surname>
              <given-names>N</given-names>
            </name>
          </person-group>
          <article-title>Hierarchical generalized additive models in ecology: an introduction with mgcv</article-title>
          <source>PeerJ</source>
          <year>2019</year>
          <month>5</month>
          <day>27</day>
          <volume>7</volume>
          <fpage>e6876</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/31179172"/>
          </comment>
          <pub-id pub-id-type="doi">10.7717/peerj.6876</pub-id>
          <pub-id pub-id-type="medline">31179172</pub-id>
          <pub-id pub-id-type="pii">6876</pub-id>
          <pub-id pub-id-type="pmcid">PMC6542350</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref42">
        <label>42</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Wood</surname>
              <given-names>SN</given-names>
            </name>
          </person-group>
          <article-title>Thin plate regression splines</article-title>
          <source>J R Stat Soc Series B Stat Methodol</source>
          <year>2003</year>
          <month>2</month>
          <volume>65</volume>
          <issue>1</issue>
          <fpage>95</fpage>
          <lpage>114</lpage>
          <pub-id pub-id-type="doi">10.1111/1467-9868.00374</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref43">
        <label>43</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Hunsicker</surname>
              <given-names>ME</given-names>
            </name>
            <name name-style="western">
              <surname>Kappel</surname>
              <given-names>CV</given-names>
            </name>
            <name name-style="western">
              <surname>Selkoe</surname>
              <given-names>KA</given-names>
            </name>
            <name name-style="western">
              <surname>Halpern</surname>
              <given-names>BS</given-names>
            </name>
            <name name-style="western">
              <surname>Scarborough</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Mease</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Amrhein</surname>
              <given-names>A</given-names>
            </name>
          </person-group>
          <article-title>Characterizing driver-response relationships in marine pelagic ecosystems for improved ocean management</article-title>
          <source>Ecol Appl</source>
          <year>2016</year>
          <month>04</month>
          <volume>26</volume>
          <issue>3</issue>
          <fpage>651</fpage>
          <lpage>63</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="http://hdl.handle.net/10044/1/33775"/>
          </comment>
          <pub-id pub-id-type="doi">10.1890/14-2200</pub-id>
          <pub-id pub-id-type="medline">27411240</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref44">
        <label>44</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Clinton</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Cohen</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Lapinski</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Trussler</surname>
              <given-names>M</given-names>
            </name>
          </person-group>
          <article-title>Partisan pandemic: how partisanship and public health concerns affect individuals' social mobility during COVID-19</article-title>
          <source>Sci Adv</source>
          <year>2021</year>
          <month>01</month>
          <volume>7</volume>
          <issue>2</issue>
          <fpage>eabd7204</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.science.org/doi/abs/10.1126/sciadv.abd7204?url_ver=Z39.88-2003&#38;rfr_id=ori:rid:crossref.org&#38;rfr_dat=cr_pub  0pubmed"/>
          </comment>
          <pub-id pub-id-type="doi">10.1126/sciadv.abd7204</pub-id>
          <pub-id pub-id-type="medline">33310734</pub-id>
          <pub-id pub-id-type="pii">sciadv.abd7204</pub-id>
          <pub-id pub-id-type="pmcid">PMC7787499</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref45">
        <label>45</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Halpern</surname>
              <given-names>L</given-names>
            </name>
          </person-group>
          <article-title>The politicization of COVID-19</article-title>
          <source>Am J Nurs</source>
          <year>2020</year>
          <month>11</month>
          <volume>120</volume>
          <issue>11</issue>
          <fpage>19</fpage>
          <lpage>20</lpage>
          <pub-id pub-id-type="doi">10.1097/01.NAJ.0000721912.74581.d7</pub-id>
          <pub-id pub-id-type="medline">33105216</pub-id>
          <pub-id pub-id-type="pii">00000446-202011000-00013</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref46">
        <label>46</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Yeung</surname>
              <given-names>N</given-names>
            </name>
            <name name-style="western">
              <surname>Lai</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Luo</surname>
              <given-names>J</given-names>
            </name>
          </person-group>
          <article-title>Face off: polarized public opinions on personal face mask usage during the COVID-19 pandemic</article-title>
          <source>Proceedings of the 2020 IEEE International Conference on Big Data</source>
          <year>2020</year>
          <conf-name>BigData '20</conf-name>
          <conf-date>December 10-13, 2020</conf-date>
          <conf-loc>Atlanta, GA, USA</conf-loc>
          <fpage>4802</fpage>
          <lpage>10</lpage>
          <pub-id pub-id-type="doi">10.1109/bigdata50022.2020.9378114</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref47">
        <label>47</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Lyons</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Fowler</surname>
              <given-names>L</given-names>
            </name>
          </person-group>
          <article-title>Is it still a mandate if we don’t enforce it? The politics of COVID-related mask mandates in conservative states</article-title>
          <source>State Local Gov Rev</source>
          <year>2021</year>
          <month>6</month>
          <volume>53</volume>
          <issue>2</issue>
          <fpage>106</fpage>
          <lpage>21</lpage>
          <pub-id pub-id-type="doi">10.1177/0160323x211035677</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref48">
        <label>48</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Howard</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Huang</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Li</surname>
              <given-names>Z</given-names>
            </name>
            <name name-style="western">
              <surname>Tufekci</surname>
              <given-names>Z</given-names>
            </name>
            <name name-style="western">
              <surname>Zdimal</surname>
              <given-names>V</given-names>
            </name>
            <name name-style="western">
              <surname>van der Westhuizen</surname>
              <given-names>HM</given-names>
            </name>
            <name name-style="western">
              <surname>von Delft</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Price</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Fridman</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Tang</surname>
              <given-names>LH</given-names>
            </name>
            <name name-style="western">
              <surname>Tang</surname>
              <given-names>V</given-names>
            </name>
            <name name-style="western">
              <surname>Watson</surname>
              <given-names>GL</given-names>
            </name>
            <name name-style="western">
              <surname>Bax</surname>
              <given-names>CE</given-names>
            </name>
            <name name-style="western">
              <surname>Shaikh</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Questier</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Hernandez</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Chu</surname>
              <given-names>LF</given-names>
            </name>
            <name name-style="western">
              <surname>Ramirez</surname>
              <given-names>CM</given-names>
            </name>
            <name name-style="western">
              <surname>Rimoin</surname>
              <given-names>AW</given-names>
            </name>
          </person-group>
          <article-title>An evidence review of face masks against COVID-19</article-title>
          <source>Proc Natl Acad Sci U S A</source>
          <year>2021</year>
          <month>01</month>
          <day>26</day>
          <volume>118</volume>
          <issue>4</issue>
          <fpage>e2014564118</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/33431650"/>
          </comment>
          <pub-id pub-id-type="doi">10.1073/pnas.2014564118</pub-id>
          <pub-id pub-id-type="medline">33431650</pub-id>
          <pub-id pub-id-type="pii">2014564118</pub-id>
          <pub-id pub-id-type="pmcid">PMC7848583</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref49">
        <label>49</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Imran</surname>
              <given-names>N</given-names>
            </name>
            <name name-style="western">
              <surname>Zeshan</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Pervaiz</surname>
              <given-names>Z</given-names>
            </name>
          </person-group>
          <source>Pak J Med Sci</source>
          <year>2020</year>
          <month>05</month>
          <volume>36</volume>
          <issue>COVID19-S4</issue>
          <fpage>S67</fpage>
          <lpage>72</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/32582317"/>
          </comment>
          <pub-id pub-id-type="doi">10.12669/pjms.36.COVID19-S4.2759</pub-id>
          <pub-id pub-id-type="medline">32582317</pub-id>
          <pub-id pub-id-type="pii">PJMS-36-S67</pub-id>
          <pub-id pub-id-type="pmcid">PMC7306970</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref50">
        <label>50</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Franco</surname>
              <given-names>B</given-names>
            </name>
            <name name-style="western">
              <surname>Morais</surname>
              <given-names>MA</given-names>
            </name>
            <name name-style="western">
              <surname>de Souza Holanda</surname>
              <given-names>AS</given-names>
            </name>
            <name name-style="western">
              <surname>Manconi</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>de Mello</surname>
              <given-names>MT</given-names>
            </name>
            <name name-style="western">
              <surname>Esteves</surname>
              <given-names>AM</given-names>
            </name>
          </person-group>
          <article-title>Impact of COVID-19 on the restless legs syndrome</article-title>
          <source>Sleep Sci</source>
          <year>2020</year>
          <volume>13</volume>
          <issue>3</issue>
          <fpage>186</fpage>
          <lpage>90</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/33381285"/>
          </comment>
          <pub-id pub-id-type="doi">10.5935/1984-0063.20200031</pub-id>
          <pub-id pub-id-type="medline">33381285</pub-id>
          <pub-id pub-id-type="pmcid">PMC7755267</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref51">
        <label>51</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Zhou</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>MacGeorge</surname>
              <given-names>EL</given-names>
            </name>
            <name name-style="western">
              <surname>Myrick</surname>
              <given-names>JG</given-names>
            </name>
          </person-group>
          <article-title>Mental health and its predictors during the early months of the COVID-19 pandemic experience in the United States</article-title>
          <source>Int J Environ Res Public Health</source>
          <year>2020</year>
          <month>08</month>
          <day>31</day>
          <volume>17</volume>
          <issue>17</issue>
          <fpage>6315</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.mdpi.com/resolver?pii=ijerph17176315"/>
          </comment>
          <pub-id pub-id-type="doi">10.3390/ijerph17176315</pub-id>
          <pub-id pub-id-type="medline">32877985</pub-id>
          <pub-id pub-id-type="pii">ijerph17176315</pub-id>
          <pub-id pub-id-type="pmcid">PMC7503583</pub-id>
        </nlm-citation>
      </ref>
    </ref-list>
  </back>
</article>
