<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//TaxonX//DTD Taxonomic Treatment Publishing DTD v0 20100105//EN" "https://populationandeconomics.pensoft.net/nlm/tax-treatment-NS0.dtd">
<article xmlns:tp="http://www.plazi.org/taxpub" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" article-type="research-article" dtd-version="3.0" xml:lang="en">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">85</journal-id>
      <journal-id journal-id-type="index">urn:lsid:arphahub.com:pub:60EFF674-5CBD-58AF-A00E-08B90DD582C9</journal-id>
      <journal-title-group>
        <journal-title xml:lang="en">Population and Economics</journal-title>
        <abbrev-journal-title xml:lang="en">POPECON</abbrev-journal-title>
      </journal-title-group>
      <issn pub-type="epub">2658-3798</issn>
      <publisher>
        <publisher-name>Population and Economics</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.3897/popecon.8.e119577</article-id>
      <article-id pub-id-type="publisher-id">119577</article-id>
      <article-categories>
        <subj-group subj-group-type="heading">
          <subject>Research Article</subject>
        </subj-group>
        <subj-group subj-group-type="scientific_subject">
          <subject>(C02) Mathematical Methods</subject>
          <subject>(F22) International Migration</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>﻿Migration nowcasting using Google Trends: cross-country application</article-title>
      </title-group>
      <contrib-group content-type="authors">
        <contrib contrib-type="author" corresp="yes">
          <name name-style="western">
            <surname>Bronitsky</surname>
            <given-names>Georgy T.</given-names>
          </name>
          <email xlink:type="simple">getibr@gmail.com</email>
          <uri content-type="orcid">https://orcid.org/0000-0001-5069-4467</uri>
          <xref ref-type="aff" rid="A1">1</xref>
        </contrib>
      </contrib-group>
      <aff id="A1">
        <label>1</label>
        <addr-line content-type="verbatim">HSE University, Moscow, 101000, Russia</addr-line>
        <institution>HSE University</institution>
        <addr-line content-type="city">Moscow</addr-line>
        <country>Russia</country>
      </aff>
      <author-notes>
        <fn fn-type="corresp">
          <p>Corresponding author: Georgy T. Bronitsky (<email xlink:type="simple">getibr@gmail.com</email>).</p>
        </fn>
        <fn fn-type="edited-by">
          <p>Academic editor: </p>
        </fn>
      </author-notes>
      <pub-date pub-type="collection">
        <year>2024</year>
      </pub-date>
      <pub-date pub-type="epub">
        <day>12</day>
        <month>09</month>
        <year>2024</year>
      </pub-date>
      <volume>8</volume>
      <issue>2</issue>
      <fpage>133</fpage>
      <lpage>154</lpage>
      <uri content-type="arpha" xlink:href="http://openbiodiv.net/D0B0AADC-CA8A-5564-A6F6-D035B35C1668">D0B0AADC-CA8A-5564-A6F6-D035B35C1668</uri>
      <uri content-type="zenodo_dep_id" xlink:href="https://zenodo.org/record/13761890">13761890</uri>
      <history>
        <date date-type="received">
          <day>26</day>
          <month>01</month>
          <year>2024</year>
        </date>
        <date date-type="accepted">
          <day>25</day>
          <month>03</month>
          <year>2024</year>
        </date>
      </history>
      <permissions>
        <copyright-statement>Georgy T. Bronitsky</copyright-statement>
        <license license-type="creative-commons-attribution" xlink:href="http://creativecommons.org/licenses/by/4.0/" xlink:type="simple">
          <license-p>This is an open access article distributed under the terms of the Creative Commons Attribution License (CC BY 4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.</license-p>
        </license>
      </permissions>
      <abstract>
        <label>﻿Abstract</label>
        <p>Analysis of migration flows is crucial for understanding and forecasting social and economic trends. This paper presents an algorithm for obtaining migration estimates with minimal time delay (nowcasting) using Google Trends Index (<abbrev xlink:title="Google Trends Index" id="ABBRID0EBC">GTI</abbrev>) search queries. The predictive power of the models is assessed across different periods, including one marked by the restrictions imposed due to the COVID-19 pandemic, which significantly impacted migration opportunities.</p>
        <p>The paper evaluates models for estimating migration from six different countries to Germany. The key findings are as follows: first, in periods free from external shocks, using a single search query such as «work in Germany» in the official language of the migration origin country, along with its 12-month lags in SARIMAX or distributed lag models, yields higher accuracy in migration estimates compared to SARIMA models.</p>
        <p>Second, during periods with external shocks, a multi-query distributed lag model, which incorporates additional search queries related to migration intentions, demonstrates superior predictive quality.</p>
        <p>Finally, the paper proposes an enhanced method for migration forecasting based on <abbrev xlink:title="Google Trends Index" id="ABBRID0EJC">GTI</abbrev> data. It highlights the importance of using a distributed lag model, which includes multiple <abbrev xlink:title="Google Trends Index" id="ABBRID0ENC">GTI</abbrev> time lags, rather than models with individual <abbrev xlink:title="Google Trends Index" id="ABBRID0ERC">GTI</abbrev> lags. Models employing <abbrev xlink:title="Google Trends Index" id="ABBRID0EVC">GTI</abbrev> with lags consistently show better predictive power than SARIMA models across all countries and time periods considered.</p>
      </abstract>
      <kwd-group>
        <label>Keywords</label>
        <kwd>big data</kwd>
        <kwd>forecasting</kwd>
        <kwd>Germany</kwd>
        <kwd>Google Trends</kwd>
        <kwd>international migration</kwd>
        <kwd>nowcasting</kwd>
        <kwd>SARIMA</kwd>
        <kwd>search queries</kwd>
      </kwd-group>
      <custom-meta-group>
        <custom-meta xlink:type="simple">
          <meta-name>JEL codes</meta-name>
          <meta-value>F22; J61; C53</meta-value>
        </custom-meta>
      </custom-meta-group>
    </article-meta>
  </front>
  <body>
    <sec sec-type="﻿Introduction" id="SECID0EKD">
      <title>﻿Introduction</title>
      <p>Migration significantly impacts demographic, economic, social, and other public policies in both destination and origin countries. However, migration processes are often influenced by external shocks such as pandemics, armed conflicts, and natural disasters. These shocks can undermine the reliability of migration forecasting and threaten the economic stability of states by accelerating the outflow of the working-age population. Timely analysis of migratory flows and migration intentions is essential for an effective policy response to emerging shocks, helping to mitigate economic risks for affected states. However, such analysis is challenging due to difficulties in data collection, delayed release of information, and the fragmentary nature of official statistics, which often capture only a limited range of migratory movements. The advancement of information technology and the rise of big data from Internet user activities have opened new avenues for research. This includes using alternative data sources to analyze various economic indicators with minimal time delay, a process known as nowcasting (<xref ref-type="bibr" rid="B15">Jun et al. 2018</xref>). For instance, researchers have begun estimating migratory flows by analyzing digital traces left by migrants on the internet (<xref ref-type="bibr" rid="B19">Tjaden 2021</xref>). Key data sources include social network activity, GPS tracking of SIM card locations, IP address geolocation, and search query statistics, such as the Google Trends Index (<abbrev xlink:title="Google Trends Index" id="ABBRID0EYD">GTI</abbrev>), which provides real-time information on search behavior.</p>
      <p>This paper aims to forecast international migration using Google Trends Index (<abbrev xlink:title="Google Trends Index" id="ABBRID0E5D">GTI</abbrev>) data and to test the applicability of distributed lag models, SARIMA, and SARIMAX for several countries and different forecasting periods. The predictive power of these models is assessed across periods marked by external shocks as well as periods without such disruptions.</p>
      <p>The migration modeling in this research builds on approaches previously applied by other authors (<xref ref-type="bibr" rid="B10">Fantazzini et al. 2021</xref>; Tsapenko &amp; Yurevich 2022; Bronitsky &amp; Vakulenko 2022) who utilized time series models (SARIMAX) with <abbrev xlink:title="Google Trends Index" id="ABBRID0EIE">GTI</abbrev> as exogenous variables, as well as on studies that employed distributed lag models (Bronitsky &amp; Vakulenko 2024). Specifically, this paper draws on <xref ref-type="bibr" rid="B21">Wanner’s (2021)</xref> work, which compares migration forecasting models based on <abbrev xlink:title="Google Trends Index" id="ABBRID0EQE">GTI</abbrev> data for estimating migration flows from various countries to Switzerland.</p>
      <p>This paper enhances existing methods, including those outlined by <xref ref-type="bibr" rid="B21">Wanner (2021)</xref>, by incorporating several <abbrev xlink:title="Google Trends Index" id="ABBRID0E1E">GTI</abbrev> lags into the model. Additionally, it presents an algorithm for collecting and processing <abbrev xlink:title="Google Trends Index" id="ABBRID0E5E">GTI</abbrev> data for migration estimation. The study tests single-query models with lags, using the example of the search query «work in Germany» in the migrant’s native language, as well as multi-query models with lags (Bronitsky &amp; Vakulenko 2024), which incorporate multiple migration-related search queries as explanatory variables. The paper concludes with recommendations for model selection in future research and summarizes the advantages and disadvantages of each model.</p>
      <p>To forecast migratory flows using monthly time series data, this study compares several models: the seasonal time series forecasting model SARIMA; the SARIMAX model, which includes exogenous variables (specifically <abbrev xlink:title="Google Trends Index" id="ABBRID0EEF">GTI</abbrev> data for the search query “work in Germany” and its lags from 1 to 12 months as explanatory variables); and a distributed lag model, a multiple regression model for migration where selected <abbrev xlink:title="Google Trends Index" id="ABBRID0EIF">GTI</abbrev> values and their corresponding time lags serve as explanatory factors.</p>
      <p>The accuracy metrics for these models are calculated using migration data from Poland, Italy, Romania, Spain, Bulgaria, and Russia to Germany. These countries were chosen because they showed the highest values for the indicator “arrivals of foreigners,” according to the monthly data from the German Statistical Office for the period 01/01/2011 to 01/06/2023</p>
      <p>The validation of the models was conducted over two distinct periods. The first period, 01/06/2020 to 01/06/2021, is associated with the shock caused by the COVID-19 pandemic, during which migration movements largely paused. The second period, 01/06/2021 to 01/06/2023, corresponds to the lifting of movement restrictions related to the pandemic. Additionally, starting in 2022, other migration-impacting shocks may have emerged due to the Special Military Operation launched by Russia.</p>
      <p>The paper is structured as follows. The second section provides a review of the literature on the use of Google Trends Index (<abbrev xlink:title="Google Trends Index" id="ABBRID0EQF">GTI</abbrev>) for forecasting various economic indicators, including migration, and examines models where <abbrev xlink:title="Google Trends Index" id="ABBRID0EUF">GTI</abbrev> data enhances predictive accuracy. The third section details the data and algorithm used to collect search queries for use in the models, compares the different models, and draws conclusions about the observed patterns. In the conclusion, the paper summarizes the strengths and weaknesses of the models under study, discusses their limitations, and offers suggestions for further research in this area.</p>
    </sec>
    <sec sec-type="﻿Literature review" id="SECID0EYF">
      <title>﻿Literature review</title>
      <p>With the advancement of information technology and the availability of big data on individuals’ internet activity, a new strand of research has emerged that estimates economic indicators by analyzing the digital traces left by economic agents (<xref ref-type="bibr" rid="B7">Cesare et al. 2018</xref>). This type of data allows not only for rapid estimations of current indicators but also for forecasting the dynamics of target metrics several periods into the future (<xref ref-type="bibr" rid="B21">Wanner 2021</xref>). In the context of migration, these methods are particularly effective, helping to reduce the time lag between migration events and the release of corresponding statistical data (<xref ref-type="bibr" rid="B19">Tjaden 2021</xref>). Researchers are increasingly using new types of exogenous data to accelerate migration estimates (nowcasting). These data sources include:</p>
      <list list-type="bullet">
        <list-item>
          <p>GPS coordinates of mobile devices (<xref ref-type="bibr" rid="B2">Bengtsson et al. 2011</xref>);
</p>
        </list-item>
        <list-item>
          <p>Social networks data (<xref ref-type="bibr" rid="B17">Kim et al. 2020</xref>);
</p>
        </list-item>
        <list-item>
          <p>IP addresses of devices (<xref ref-type="bibr" rid="B24">Zagheni and Weber 2012</xref>);
</p>
        </list-item>
        <list-item>
          <p>Search query statistics (<xref ref-type="bibr" rid="B15">Jun et al. 2018</xref>);
</p>
        </list-item>
        <list-item>
          <p>Other data sources (international flights data, news reports, etc.) (Gabriel et al. 2019).
</p>
        </list-item>
      </list>
      <p>However, some of these methods have been criticized (<xref ref-type="bibr" rid="B9">Chudinovskikh 2018</xref>) due to the difficulty of distinguishing between temporary and long-term migration. Other sources of migration data include surveys and databases, often compiled by private research agencies. However, these sources are not transparent in terms of methodology and are typically unsuitable for short-term projections.</p>
      <p>Google Trends Index (<abbrev xlink:title="Google Trends Index" id="ABBRID0ENH">GTI</abbrev>) has been widely used in academic research, offering new opportunities for studies in fields such as medicine, financial market analysis, and the forecasting of various economic indicators. One of the earliest studies in this area was conducted by <xref ref-type="bibr" rid="B13">Ginsberg et al. (2009)</xref>, which forecasted the spread of the flu using search queries. In the decade following that study, over 650 more research papers utilizing <abbrev xlink:title="Google Trends Index" id="ABBRID0EVH">GTI</abbrev> data were published (<xref ref-type="bibr" rid="B15">Jun et al. 2018</xref>). <abbrev xlink:title="Google Trends Index" id="ABBRID0E4H">GTI</abbrev> data was first used in migration-related research by <xref ref-type="bibr" rid="B8">Choi and Varian (2012)</xref> to analyze tourist migration flows from various countries to Hong Kong. Their study demonstrated that incorporating search queries with lags improved the model’s performance, likely because potential migrants often search for information about destination countries well in advance of their travel (<xref ref-type="bibr" rid="B4">Böhme et al. 2020</xref>; <xref ref-type="bibr" rid="B10">Fantazzini et al. 2021</xref>).</p>
      <p>In total, only 10 papers have used Google Trends Index (<abbrev xlink:title="Google Trends Index" id="ABBRID0EQAAC">GTI</abbrev>) data to study migration. Across these studies, the analysis typically follows a similar three-step algorithm for modeling migration based on search queries: first, building search query sets to collect the data; second, selecting the search queries to be included in migration models; and third, identifying the econometric models for migration estimations.</p>
      <p>When relying on <abbrev xlink:title="Google Trends Index" id="ABBRID0EWAAC">GTI</abbrev> for data collection, careful selection of search queries is crucial, as the chosen themes can significantly impact the predictive power of the model. Researchers studying migration often use queries related to visas, work, and housing in the native language of the migrant, combined with the name of the destination country. Some authors (<xref ref-type="bibr" rid="B4">Böhme et al. 2020</xref>; <xref ref-type="bibr" rid="B14">Golenvaux et al. 2020</xref>; <xref ref-type="bibr" rid="B21">Wanner 2021</xref>; <xref ref-type="bibr" rid="B10">Fantazzini et al. 2021</xref>; <xref ref-type="bibr" rid="B16">Jurić 2022</xref>; Tsapenko &amp; Yurevich 2022) have developed models based on specific search queries, such as «moving to [destination country],» «work in [destination country],» and «wage in [destination country],» with the queries selected by experts.</p>
      <p>Other researchers (Avramescu &amp; Wiśniowski 2021) have partially automated data collection by using the WordNet corpus (<xref ref-type="bibr" rid="B11">Fellbaum 2005</xref>) to identify synonyms of key search terms, moving towards a more algorithmic approach to formulating multiple queries. In some cases, researchers employ machine learning methods, particularly natural language processing (NLP), to compile groups of queries and compare their efficiency (Bronitsky &amp; Vakulenko 2022).</p>
      <p>The second step in migration analysis using Google Trends Index (<abbrev xlink:title="Google Trends Index" id="ABBRID0EWBAC">GTI</abbrev>) involves selecting specific search queries from the total set to be included in the model as factors. There are several approaches to this selection process. One method is expert-based, where the authors either select the search queries themselves or do not specify how the queries were chosen, sometimes using the entire set of search terms collected in the previous step (<xref ref-type="bibr" rid="B10">Fantazzini et al. 2021</xref>; Tsapenko &amp; Yurevich 2022).</p>
      <p>More commonly, search queries are selected based on their correlation with the dependent variable. For instance, some authors (<xref ref-type="bibr" rid="B23">Wladyka 2017</xref>; Avramescu &amp; Wiśniowski 2021) choose the queries with the highest correlation to the term «migration.» Additionally, some researchers advocate for an initial search clustering approach (Avramescu &amp; Wiśniowski 2021; Bronitsky &amp; Vakulenko 2024), where all search terms are grouped into clusters, and each cluster is then used as a variable in the model.</p>
      <p>It is worth examining migration estimation models using Google Trends Index (<abbrev xlink:title="Google Trends Index" id="ABBRID0EGCAC">GTI</abbrev>) in more detail. Typically, researchers rely on ARIMA models without <abbrev xlink:title="Google Trends Index" id="ABBRID0EKCAC">GTI</abbrev> data as baseline models. Another example of a commonly used model is the gravity migration estimation model (<xref ref-type="bibr" rid="B4">Böhme et al., 2020</xref>). One of the most frequently used models incorporating <abbrev xlink:title="Google Trends Index" id="ABBRID0ESCAC">GTI</abbrev> data is SARIMAX, where <abbrev xlink:title="Google Trends Index" id="ABBRID0EWCAC">GTI</abbrev> search queries are used as the exogenous variable X (<xref ref-type="bibr" rid="B10">Fantazzini et al. 2021</xref>; Avramescu 2021; Tsapenko &amp; Yurevich 2022; Bronitsky 2024). Other approaches include pair regressions and linear regressions (<xref ref-type="bibr" rid="B23">Wladyka 2017</xref>; <xref ref-type="bibr" rid="B21">Wanner 2021</xref>; <xref ref-type="bibr" rid="B16">Jurić 2022</xref>; Bronitsky &amp; Vakulenko 2024). For example, <xref ref-type="bibr" rid="B23">Wladyka (2017)</xref> estimates pair regression models in differences because the initial values are based on yearly time series. In such pair regressions used for migration estimations, the search queries themselves or their time lags serve as explanatory variables.</p>
      <p>Other authors (<xref ref-type="bibr" rid="B4">Böhme et al. 2020</xref>; <xref ref-type="bibr" rid="B14">Golenvaux et al. 2020</xref>; <xref ref-type="bibr" rid="B10">Fantazzini et al. 2021</xref>) also include search query lags in their models when estimating migration. Typically, researchers use <abbrev xlink:title="Google Trends Index" id="ABBRID0E3DAC">GTI</abbrev> data with a single period lag, either monthly or yearly, depending on the data frequency (<xref ref-type="bibr" rid="B4">Böhme et al. 2020</xref>; <xref ref-type="bibr" rid="B14">Golenvaux et al. 2020</xref>; <xref ref-type="bibr" rid="B10">Fantazzini et al. 2021</xref>). Some have further developed this approach by employing a multi-query model with lags, as seen in research estimating migration from Russia to Germany (Bronitsky &amp; Vakulenko 2024).</p>
      <p>Most often, the selected lags do not exceed one year. This is because, before migrating, individuals typically spend about a year preparing by obtaining visas, finding accommodation, and addressing other logistical needs (Benson-Rea &amp; Rawlinson 2003).</p>
      <p>Thus, the literature on migration forecasting using Google Trends Index (<abbrev xlink:title="Google Trends Index" id="ABBRID0EPEAC">GTI</abbrev>) data has not yet explored the comparative advantages of forecasting models applied to multiple countries, nor has it assessed the performance of models using single search queries versus those using multiple search queries with lags. This paper aims to review the approaches used by other authors and to demonstrate that models incorporating all lags from 1 to 12 months simultaneously are more efficient than models where each lag is added individually.</p>
    </sec>
    <sec sec-type="methods" id="SECID0ETEAC">
      <title>﻿Methodology and data</title>
      <p>To achieve the research objectives, the following steps will be undertaken: First, the methods for international migration forecasting will be compared and improved to ensure timely estimates ahead of the official release of statistics. Second, the forecasting models will be validated both during periods of external shocks and times without disturbances. The research focuses on forecasting migration for several countries.</p>
      <p>For comparability of results, the analysis will use data from similar sources for each pair of countries. Therefore, the study will utilize a single source of migration data—the German Federal Statistical Office—and apply a consistent approach to collecting Google Trends Index (<abbrev xlink:title="Google Trends Index" id="ABBRID0E1EAC">GTI</abbrev>) data on search queries, which will be detailed in a subsequent section.</p>
      <p>The monthly migration time series used for the analysis (Table <xref ref-type="table" rid="T3">A1</xref>) were obtained from the German Federal Statistical Office [Database of the Federal…, indicator 12711-0008]. Note that only yearly migration data is available online, published with a 3.5-month delay.<sup><xref ref-type="fn" rid="FN1">1</xref></sup></p>
      <p>The paper analyzes migration to Germany from six countries—Poland, Italy, Romania, Spain, Bulgaria, and Russia—that reported the highest numbers of ‘arrivals of foreigners’ (Figure <xref ref-type="fig" rid="F1">1</xref>) for the period from January 1, 2006, to June 1, 2023, according to German statistics. This approach is known as ‘mirror statistics’ (UN 1998), where migration data reported by the destination country is used as a more reliable source for understanding migration flows from specific origin countries.</p>
      <fig id="F1" position="float" orientation="portrait">
        <object-id content-type="arpha">46E6AABD-92B6-5866-8B97-6FAEF489AD0D</object-id>
        <label>Figure 1.</label>
        <caption>
          <p>Number of migrants (indicator ‘arrivals of foreigners’) in Germany, by country of origin, 2006-2022, persons. <italic>Source</italic>: German Federal Statistical Office data</p>
        </caption>
        <graphic xlink:href="populationandeconomics-08-e119577-g001.jpg" position="float" orientation="portrait" xlink:type="simple" id="oo_1131677.jpg">
          <uri content-type="original_file">https://binary.pensoft.net/fig/1131677</uri>
        </graphic>
      </fig>
      <p>International recommendations suggest that migration data exchange should rely on data collected by destination countries to provide more accurate estimates of outward migration flows for countries of origin (UNECE 2014). The migration data analyzed are based on the number of first-time residency registrations of individuals moving to Germany for permanent settlement. Further internal movements within Germany are not registered and thus are excluded from international migration statistics. Although some individuals may not register their departure, which could affect migration stock data accuracy, this does not impact the current analysis, which focuses solely on arrival data.</p>
      <p>Google Trends Index (<abbrev xlink:title="Google Trends Index" id="ABBRID0ERFAC">GTI</abbrev>) data on search queries are used as explanatory variable to make migration estimations and to forecast migration trends. <abbrev xlink:title="Google Trends Index" id="ABBRID0EVFAC">GTI</abbrev> data is open to public and available in real time. <abbrev xlink:title="Google Trends Index" id="ABBRID0EZFAC">GTI</abbrev> reflects the dynamics of search popularity <italic>S<sub>d</sub></italic><sub>, <italic>r</italic></sub> among users for specific keywords over time (d) within a particular region (r). However, the index <italic>S<sub>d</sub></italic><sub>, <italic>r</italic></sub> does not show the absolute number of queries for the chosen search term <italic>V<sub>d</sub></italic><sub>, <italic>r</italic></sub>, rather it shows the number of queries relative to all search queries in that region on that day <italic>T<sub>d</sub></italic><sub>, <italic>r</italic></sub>. Thus, the index <mml:math id="M1"><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi>d</mml:mi><mml:mo>,</mml:mo><mml:mi>r</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:msub><mml:mi>V</mml:mi><mml:mrow><mml:mi>d</mml:mi><mml:mo>,</mml:mo><mml:mi>r</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi>d</mml:mi><mml:mo>,</mml:mo><mml:mi>r</mml:mi></mml:mrow></mml:msub></mml:mfrac></mml:math> indicates the share of queries related to a specific search word relative to the total number of queries in the chosen geographic region at a given moment in time. The search popularity index values are collected for a migration origin country, and the language used in the search is the official language of that country. When using <abbrev xlink:title="Google Trends Index" id="ABBRID0EQHAC">GTI</abbrev> data for the analysis, it is important to consider the following aspects:</p>
      <p>1. The index reflects a normalized (to 100%) value within a determined period and theme, rather than actual number of searches on a selected query. This makes it problematic to compare several search queries because these are normalized by different maximum values. One way to address this issue is through the standardization of Google Trends data [<xref ref-type="bibr" rid="B10">Fantazzini et al. 2021</xref>] (1) which allows to compare indices for various search queries:</p>
      <p><mml:math id="M2"><mml:mi>Z</mml:mi><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mi>X</mml:mi><mml:mo>−</mml:mo><mml:mrow><mml:mover><mml:mi>X</mml:mi><mml:mo stretchy="false">¯</mml:mo></mml:mover></mml:mrow></mml:mrow><mml:msub><mml:mrow><mml:mover><mml:mi>σ</mml:mi><mml:mo stretchy="false">^</mml:mo></mml:mover></mml:mrow><mml:mi>X</mml:mi></mml:msub></mml:mfrac></mml:math>(1)</p>
      <p>where <mml:math id="M3"><mml:mrow><mml:mover><mml:mi>X</mml:mi><mml:mo stretchy="false">¯</mml:mo></mml:mover></mml:mrow><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mover><mml:mi>σ</mml:mi><mml:mo stretchy="false">^</mml:mo></mml:mover></mml:mrow><mml:mi>X</mml:mi></mml:msub></mml:math> are a mean value and a standard deviation of a random variable, respectively.</p>
      <p>2. Google introduced changes to its data collection algorithm on January 1, 2011; January 1, 2016; and January 1, 2022. These modifications have complicated the use of time series data for the entire available period, from January 1, 2004, to the present. The most significant change occurred on January 1, 2011, which affected the algorithm for determining query regions. This change rendered it impossible to combine data from periods before and after this modification. Therefore, this research recommends using Google Trends Index (<abbrev xlink:title="Google Trends Index" id="ABBRID0EFJAC">GTI</abbrev>) data collected after January 1, 2011.</p>
      <p>Alternatively, other data sources on search queries, such as Yandex Wordstat, could be used. Unlike Google Trends Index (<abbrev xlink:title="Google Trends Index" id="ABBRID0ELJAC">GTI</abbrev>), Yandex Wordstat provides search statistics in absolute numbers, which simplifies forecasting. However, a major drawback of Yandex Wordstat is the limited availability of monthly data, with time series currently available only from January 1, 2018. Additionally, Yandex Wordstat has a geographical bias, as Yandex is predominantly used within the Commonwealth of Independent States (CIS) and is less common outside this region. This limitation makes it challenging to apply the algorithms to international migration analysis. Nevertheless, as Yandex Wordstat builds a larger database of search queries, it could become a viable alternative to <abbrev xlink:title="Google Trends Index" id="ABBRID0EPJAC">GTI</abbrev> for estimating migration from the CIS.</p>
      <p>The next step is to determine the set of search queries to be used as explanatory factors in migration modeling. For estimating migration from Russia to Germany, a multi-query model was employed by <xref ref-type="bibr" rid="B6">Bronitsky and Vakulenko (2024)</xref>. This model included search terms related to themes such as ‘work in Germany,’ ‘study in Germany,’ ‘embassy of Germany,’ and their corresponding lags. The authors utilized linguistic tools and machine learning methods to select these search queries, taking into account the specific context of search behavior in Russia, including the requirement for Russian nationals to visit the German embassy before migration.</p>
      <p><xref ref-type="bibr" rid="B19">Tjaden (2021)</xref> also emphasized the importance of linguistic analysis, noting that search terms used by residents of Syria differ from those used by Canadians when seeking migration information. In this paper, only one search term in the language of the migration country is used— ‘work in Germany’—to simplify the analysis. While including the search term ‘embassy of Germany’ might also be relevant, most of the countries studied (with the exception of Russia) are European Union members, whose residents do not need to visit the German embassy for migration purposes.</p>
      <p>Below is the algorithm for collecting and processing the data, using Poland as an example:</p>
      <list list-type="order">
        <list-item>
          <p>It is necessary to define the official language in the country of migration origin (Polish) 
</p>
        </list-item>
        <list-item>
          <p>It is also important to translate the search query ‘work in Germany’ into Polish, so that to have a search query in the native language of migrants «Praca w Niemczech»`. 
</p>
        </list-item>
        <list-item>
          <p>Using Google Trends, it is possible to formulate an enquiry to extract the trend of search queries data for the terms «Praca w Niemczech» from 01/01/2011, till 01/11/2023. Also, URL can be formatted for this query to include necessary parameters. 
</p>
        </list-item>
        <list-item>
          <p>Additionally, it is possible to extract similar popular queries within the same theme. To do that, “leaders” is to be selected in the “similar queries” tab, and other queries used by migrants before or after the search ‘Praca w Niemczech’ will be displayed. From those search queries, only those related to the selected theme ‘work in Germany’ are to be selected. This approach allows one to overcome several challenges at a time: first, when a country has more than one official language, this algorithm will help identify all used transliterations of the search query; second, the linguistic component is considered, and the set of queries includes also slang terms used by potential migrants.
</p>
        </list-item>
        <list-item>
          <p>Before making use of GTI and before comparing GTI values for various queries, standardization of time series (1) is required, so that the data is rescaled, having a mean of zero and a standard deviation of one.  
</p>
        </list-item>
      </list>
      <p>Using the above algorithm, data for the search query ‘work in Germany’ was collected for the period January 1, 2021, to November 1, 2023, for the selected countries (Table <xref ref-type="table" rid="T4">A2</xref>). Depending on the country, a total of 1 to 6 search queries were collected. However, due to the increase in dimensionality, it is challenging to include all queries simultaneously in the models. Each query includes 12 lags in the model.</p>
      <p>Given the limited number of observations (155 observations from January 1, 2011) and the need to divide the data into test and control groups, the number of explanatory variables may exceed the number of observations. Analysis of the autocorrelation function (ACF) and partial autocorrelation function (PCAF) of the migration data, along with the standardized <abbrev xlink:title="Google Trends Index" id="ABBRID0EPKAC">GTI</abbrev> time series, revealed yearly seasonality. Due to detected nonstationarity (based on the Dickey-Fuller test), estimating the distributed lag model directly would be challenging. Therefore, both the dependent and explanatory variables are converted into seasonal differences with a 12-month period.</p>
      <p>Table <xref ref-type="table" rid="T4">A2</xref> displays the selected search queries (in italics) for this purpose. Some search queries show correlation values below 20%, and for Spain and Russia, the correlation is even negative. This may be attributed to the time lag associated with migration. To test this hypothesis, additional calculations were performed to measure the correlation between the migration time series (in seasonal differences) and the search query lags from 1 to 12 months. The results (Table <xref ref-type="table" rid="T5">A3</xref>) indicate that it is crucial to consider not only the correlation with current values but also the correlation with lagged values when collecting search queries. For example, for Spain, the correlation is 25-26% at the 6th, 9th, and 10th lags.</p>
      <p>The accuracy of the models is assessed by dividing the initial dataset into ‘test’ and ‘control’ samples. This methodological step is crucial for out-of-sample validation. The mean absolute percentage error (MAPE) and mean absolute error (MAE) are used for evaluation. In all evaluations, the test and control samples are mutually exclusive: the ‘test’ sample covers the period starting January 1, 2011, up to the beginning of the ‘control’ sample period.</p>
      <p>Model validation and migration flow forecasting are conducted using time series in seasonal differences. For comparing the results and assessing model interpretability, the original set of variables is used to evaluate forecast errors rather than seasonal differences in migration. Pairs of test and control time series are used corresponding to the 2nd and 3rd forecasting years, respectively. The initial pair of test and control time series is used to evaluate model performance over a 2-year forecast period: from June 1, 2021, to June 1, 2023, with the test sample covering the period from January 1, 2011, to June 1, 2021.</p>
      <p>It is important to note that, during the first period, most COVID-19 pandemic restrictions were lifted, so model performance is not significantly impacted by external shocks. The second pair of time series is used to investigate a 3-year forecast period from June 1, 2020, to June 1, 2023, with the corresponding test sample covering January 1, 2011, to June 1, 2020. At the beginning of this period, COVID-19 pandemic restrictions were still in place, leading to a decline in migration activity across all countries due to travel challenges. Analyzing this period allows for assessing how well the models perform amidst the shocks caused by the pandemic. The findings are generalized to other contexts involving external factors, such as armed conflicts and natural disasters.</p>
      <p>The third group pair consists of a 2-year sub-sample within the 3-year group from June 1, 2020, to June 1, 2022. This sub-sample is used to test the hypothesis that the accuracy of the forecast is more influenced by external shocks than by the length of the forecasting period.</p>
    </sec>
    <sec sec-type="﻿Migration forecasting models" id="SECID0EBLAC">
      <title>﻿Migration forecasting models</title>
      <p>This section describes the models used to forecast migration flows from various countries to Germany. It provides an algorithm for estimating these models and identifying the best parameters using information criteria (such as AIC). The author compares the predictive power of two models for 2-year and 3-year forecasting periods and determines which model is more suitable considering the impact of external disturbances. Additionally, using migration flow data from Russia to Germany, the author compares single-query models with multi-query models and evaluates the necessity of including multiple lags in the models.</p>
      <p>One model under study is a distributed lag model, where the ‘arrivals of foreigners’ from a particular country to Germany serve as the dependent variable. Time-series lag values from 1 to 12 months for the search query ‘work in Germany’ are used as explanatory variables. This approach accounts for the time lag between searching for information on the internet and the actual migration event. The lag values may vary across countries due to factors such as migration policy or logistical difficulties. The distributed lag model for variables in seasonal differences, with lags from 1 to 12 months, can be represented as follows:</p>
      <p><mml:math id="M4"><mml:msub><mml:mi>Y</mml:mi><mml:mi>t</mml:mi></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mo>−</mml:mo><mml:mn>12</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>β</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>+</mml:mo><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>l</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mn>12</mml:mn></mml:mrow></mml:munderover><mml:msub><mml:mi>β</mml:mi><mml:mi>l</mml:mi></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mo>−</mml:mo><mml:mi>l</mml:mi></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mo>−</mml:mo><mml:mn>12</mml:mn><mml:mo>−</mml:mo><mml:mi>l</mml:mi></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:msub><mml:mi>ε</mml:mi><mml:mi>t</mml:mi></mml:msub></mml:math> (2)</p>
      <p>where</p>
      <list list-type="bullet">
        <list-item>
          <p><italic>Y <sub>t</sub></italic>  - dependent variable, indicator ‘arrivals of foreigners’ in Germany
                </p>
        </list-item>
        <list-item>
          <p><italic>X <sub>t</sub></italic><sub>– <italic>l</italic></sub>  - explanatory variables (search query GTI with lags 
                    <italic>l</italic> = 1…12)
                </p>
        </list-item>
        <list-item>
          <p>ε
                     <sub><italic>t</italic></sub>  - regression errors, ε
                     <sub><italic>t</italic></sub> 
                     ~<italic>iid</italic> (0,σ
                    <sup>2</sup>) 
                </p>
        </list-item>
        <list-item>
          <p><italic>t</italic> = 1…
                    <italic>T</italic> - the year
                </p>
        </list-item>
      </list>
      <p>To determine the required number of time lags in the distributed lag model, an algorithm was developed testing all possible models including time lags from 1 to 12 months (a total of 8,192 models were estimated for each country). The best model was determined using the Akaike Information Criterion (AIC). When applying AIC to compare the models, it is necessary to use the same number of observations as was used for estimating the parameters of the model. For SARIMAX models, the AIC was also employed to determine the model parameters p, d, q, where p is the order of autoregression, d is the order of integration, q is the moving average order, and the parameter s=12 is chosen based on the Auto-Correlation Function (ACF). These parameters are also selected using the AIC by testing parameters on the ‘test’ group data. In the SARIMAX model, the exogenous variables include the search query itself and its time lags, which were determined for the distributed lag model. The best lags identified were not explored further due to the larger number of model parameters to be tested and limited computing capabilities.</p>
      <p>The paper compares various models for forecasting migration flows, including comparisons with SARIMA models that do not use <abbrev xlink:title="Google Trends Index" id="ABBRID0EGOAC">GTI</abbrev> search queries data. The following models are considered:</p>
      <list list-type="order">
        <list-item>
          <p>SARIMA: Seasonal Autoregressive Integrated Moving Average. This model includes a seasonal component based on the ACF analysis, which indicates seasonality trends at 12-month intervals. SARIMA is used to forecast migration flows without incorporating exogenous data.
</p>
        </list-item>
        <list-item>
          <p>SARIMAX: A variant of SARIMA that incorporates exogenous variables. In this model, GTI data and its lags from 1 to 12 months are included as explanatory variables to enhance the forecasting of migration flows.
</p>
        </list-item>
        <list-item>
          <p>Distributed Lag Model: A multiple regression model where the number of migrants is the dependent variable. GTI values and their corresponding lags from 1 to 12 months serve as explanatory variables in this model.
</p>
        </list-item>
      </list>
      <p>Besides the models based on the single query “work in Germany,” a multi-query model incorporating several search queries linked to different themes was used for comparison (see Table <xref ref-type="table" rid="T6">A4</xref>). Due to the limited number of observations in the test sample, the Principal Component Analysis (PCA) dimensionality reduction technique was applied to manage the different search themes (“studying,” “work,” “embassy”) (Bronitsky &amp; Vakulenko 2024).</p>
      <p>The multi-query model includes three PCA vectors corresponding to these three themes and their time lags from 1 to 12 months, resulting in a total of 35 variables. This approach is more time-consuming as it involves working with many search queries, which could also be determined using Natural Language Processing (NLP) methods and machine learning techniques. Additionally, it requires an analysis of the linguistic peculiarities of searching for information in the Russian language on the internet.</p>
      <p>In this paper, a simplified approach to data collection for multiple countries is applied. However, using migration flow data from Russia to Germany, the paper compares the predictive power of the one-query model with the multi-query model. The distributed lag model (2) for the multi-query approach, which includes multiple search queries (after PCA reduction) and their corresponding lags, can be written as follows:</p>
      <p><mml:math id="M5"><mml:msub><mml:mi>Y</mml:mi><mml:mi>t</mml:mi></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mo>−</mml:mo><mml:mn>12</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>β</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>+</mml:mo><mml:munder><mml:mo>∑</mml:mo><mml:mi>k</mml:mi></mml:munder><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>l</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mn>12</mml:mn></mml:mrow></mml:munderover><mml:msub><mml:mi>β</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>l</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>−</mml:mo><mml:mi>l</mml:mi></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>−</mml:mo><mml:mn>12</mml:mn><mml:mo>−</mml:mo><mml:mi>l</mml:mi></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:msub><mml:mi>ε</mml:mi><mml:mi>t</mml:mi></mml:msub></mml:math> (3)</p>
      <p>where</p>
      <list list-type="bullet">
        <list-item>
          <p><italic>Y <sub>t</sub></italic>  - a dependent variable, indicator ‘arrivals of foreigners’ in Germany 
                </p>
        </list-item>
        <list-item>
          <p><italic>X</italic><sub>1</sub>…
                    <italic>X <sub>k</sub></italic>  – explanatory variables (PCA reductions of GTI search queries with lags)
                </p>
        </list-item>
      </list>
      <p>Using the above method, the author estimated three types of models (a distributed lag model, SARIMAX, and SARIMA) for six countries. As a baseline, averaging predictions were considered. However, these estimations for most of the countries under study were less convincing compared to SARIMA models and thus are not included in the comparison. For both the 2-year and 3-year forecasting periods, model parameter estimations and prediction accuracy metrics (MAPE, MAE) were calculated separately (see Table <xref ref-type="table" rid="T2">2</xref>).</p>
      <p>Figures <xref ref-type="fig" rid="F2">2–7</xref> present the forecasting results of the distributed lag models and SARIMAX for the 2-year control period (refer to Table <xref ref-type="table" rid="T1">1</xref> and <xref ref-type="table" rid="T7">A5</xref>). To test the hypothesis that the predictive accuracy of the model could be influenced by the length of the forecasting interval, validation metrics were also calculated for models with 2-year forecasting periods, both with and without external shocks. The evaluation of models with a 3-year forecasting period is not included in the paper because the results did not significantly differ from those of the 2-year forecasting period models.</p>
      <p>The analysis of the results demonstrates that incorporating Google Trends Index (<abbrev xlink:title="Google Trends Index" id="ABBRID0ECCAE">GTI</abbrev>) data into migration estimations enhances the predictive power of the models (Table <xref ref-type="table" rid="T2">2</xref>). For instance, the distributed lag model yielded lower forecasting errors for four countries, and the SARIMAX model showed improved performance for all six countries when using out-of-sample data compared to the SARIMA models for the 2-year forecasting period. These results indicate that utilizing <abbrev xlink:title="Google Trends Index" id="ABBRID0EKCAE">GTI</abbrev> as an exogenous variable significantly improves migration forecasts.</p>
      <p>When comparing SARIMA models for 2-year and 3-year forecasting periods, it was observed that the predictive accuracy deteriorates across all countries when the forecasting interval overlaps with the COVID-19 pandemic (Table <xref ref-type="table" rid="T2">2</xref>). This decline in performance could be attributed to trends in the time series or the lack of exogenous data to account for the external shocks caused by the pandemic. However, other factors might also contribute to the reduced accuracy over longer forecasting periods.</p>
      <p>To further investigate this, the author validated the models for 2-year forecasting periods (01/06/2021 – 01/06/2023, and 01/06/2020 – 01/06/2022) with and without considering external shocks (Table <xref ref-type="table" rid="T8">A6</xref>). The results remained consistent with the previous findings: SARIMA models exhibited weakened predictive power during periods affected by shocks, while models incorporating exogenous variables, such as <abbrev xlink:title="Google Trends Index" id="ABBRID0E1CAE">GTI</abbrev>, demonstrated comparatively better accuracy.</p>
      <table-wrap id="T1" position="float" orientation="portrait">
        <label>Table 1.</label>
        <caption>
          <p>Evaluation of distributed lag models (2) for a 2-year control period</p>
        </caption>
        <table id="TID0ETGAG" rules="all">
          <tbody>
            <tr>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1" style="color: #6e0f13">
                <bold>Lag, Month</bold>
              </td>
              <td rowspan="1" colspan="1" style="color: #6e0f13">
                <bold>Poland</bold>
              </td>
              <td rowspan="1" colspan="1" style="color: #6e0f13">
                <bold>Italy</bold>
              </td>
              <td rowspan="1" colspan="1" style="color: #6e0f13">
                <bold>Romania</bold>
              </td>
              <td rowspan="1" colspan="1" style="color: #6e0f13">
                <bold>Spain</bold>
              </td>
              <td rowspan="1" colspan="1" style="color: #6e0f13">
                <bold>Bulgaria</bold>
              </td>
              <td rowspan="1" colspan="1" style="color: #6e0f13">
                <bold>Russia</bold>
              </td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Constant</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1">-521.53*** (158.1)</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1">967.73*** (301.78)</td>
              <td rowspan="1" colspan="1">-35.11 (46.65)</td>
              <td rowspan="1" colspan="1">413.33*** (103.36)</td>
              <td rowspan="1" colspan="1">-105.37 (68.41)</td>
            </tr>
            <tr>
              <td rowspan="13" colspan="1"><abbrev xlink:title="Google Trends Index" id="ABBRID0EEDAG">GTI</abbrev> for ‘work in Germany’</td>
              <td rowspan="1" colspan="1">0</td>
              <td rowspan="1" colspan="1">863.55*** (285.8)</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1">1 489.25*** (471.77)</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1">485.81*** (147.45)</td>
              <td rowspan="1" colspan="1"/>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">1</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">2</td>
              <td rowspan="1" colspan="1">502.82* (307.42)</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1">592.14*** (148.07)</td>
              <td rowspan="1" colspan="1"/>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">3</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">4</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1">264.80** (119.62)</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">5</td>
              <td rowspan="1" colspan="1">426.61 (293.97)</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">6</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">7</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1">184.40 (140.45)</td>
              <td rowspan="1" colspan="1"/>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">8</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1">306.58*** (156.9)</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1">163.31 (108.46)</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1">-180.54** (86.14)</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">9</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1">193.46* (104.02)</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">10</td>
              <td rowspan="1" colspan="1">603.75** (237.36)</td>
              <td rowspan="1" colspan="1">375.62*** (153.2)</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1">186.55* (98.47)</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">11</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">12</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1">957.20** (447.19)</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Number of observations</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1">102</td>
              <td rowspan="1" colspan="1">102</td>
              <td rowspan="1" colspan="1">102</td>
              <td rowspan="1" colspan="1">102</td>
              <td rowspan="1" colspan="1">102</td>
              <td rowspan="1" colspan="1">102</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">AIC</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1">1 791</td>
              <td rowspan="1" colspan="1">1 661</td>
              <td rowspan="1" colspan="1">1 922</td>
              <td rowspan="1" colspan="1">1 517</td>
              <td rowspan="1" colspan="1">1 687</td>
              <td rowspan="1" colspan="1">1 619</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">BIC</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1">1 804</td>
              <td rowspan="1" colspan="1">1 669</td>
              <td rowspan="1" colspan="1">1 930</td>
              <td rowspan="1" colspan="1">1 530</td>
              <td rowspan="1" colspan="1">1 697</td>
              <td rowspan="1" colspan="1">1 624</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">R<sup>2</sup></td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1">0.29</td>
              <td rowspan="1" colspan="1">0.39</td>
              <td rowspan="1" colspan="1">0.10</td>
              <td rowspan="1" colspan="1">0.14</td>
              <td rowspan="1" colspan="1">0.26</td>
              <td rowspan="1" colspan="1">0.04</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">F-statistics</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1">9.92***</td>
              <td rowspan="1" colspan="1">31.9***</td>
              <td rowspan="1" colspan="1">5.67***</td>
              <td rowspan="1" colspan="1">4.09***</td>
              <td rowspan="1" colspan="1">11.3***</td>
              <td rowspan="1" colspan="1">4.39**</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Average lag (95% confidence interval in brackets)</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1">6.2 [2.9;9.4]</td>
              <td rowspan="1" colspan="1">8.8 [8.1;9.8]</td>
              <td rowspan="1" colspan="1">12.0</td>
              <td rowspan="1" colspan="1">7.1 [4.9;9.1]</td>
              <td rowspan="1" colspan="1">2.65 [2.01;4.4]</td>
              <td rowspan="1" colspan="1">8.0</td>
            </tr>
          </tbody>
        </table>
        <table-wrap-foot>
          <fn>
            <p>Source: author’s calculations Note: Significance of the model coefficients: *** p &lt;0.01, ** p &lt;0.05, * p &lt;0.1. Standard errors are shown in the brackets.</p>
          </fn>
        </table-wrap-foot>
      </table-wrap>
      <fig id="F2" position="float" orientation="portrait">
        <object-id content-type="arpha">50FB336A-33FD-572C-82E8-9110A3964710</object-id>
        <label>Figures 2–7.</label>
        <caption>
          <p>Estimates of migration flows from different countries to Germany, using the distributed lag model for 2-year and 3-year forecasting periods</p>
        </caption>
        <graphic xlink:href="populationandeconomics-08-e119577-g002.jpg" position="float" orientation="portrait" xlink:type="simple" id="oo_1131678.jpg">
          <uri content-type="original_file">https://binary.pensoft.net/fig/1131678</uri>
        </graphic>
      </fig>
      <fig id="F3" position="float" orientation="portrait">
        <object-id content-type="arpha">E2C19D69-B036-5758-8F0B-5E9042060315</object-id>
        <label>Figure 8.</label>
        <caption>
          <p>Estimates of migration flows from Russia to Germany using a ‘multi-query’ distributed lag model for a 3-year forecasting period. <italic>Source</italic>: author’s estimates based on German Federal Statistical Office data</p>
        </caption>
        <graphic xlink:href="populationandeconomics-08-e119577-g003.jpg" position="float" orientation="portrait" xlink:type="simple" id="oo_1131679.jpg">
          <uri content-type="original_file">https://binary.pensoft.net/fig/1131679</uri>
        </graphic>
      </fig>
      <table-wrap id="T2" position="float" orientation="portrait">
        <label>Table 2.</label>
        <caption>
          <p>Evaluation metrics of the models estimating migration from various countries to Germany, 2-year and 3-year forecasting periods</p>
        </caption>
        <table id="TID0EJ6AG" rules="all">
          <tbody>
            <tr>
              <td rowspan="3" colspan="1" style="color: #6e0f13">
                <bold>Country</bold>
              </td>
              <td rowspan="1" colspan="6" style="color: #6e0f13">
                <bold>Evaluation metrics MAPE (MAE) of the models using the test sample</bold>
              </td>
            </tr>
            <tr>
              <td rowspan="1" colspan="2" style="color: #6e0f13">
                <bold>Distributed lag model</bold>
              </td>
              <td rowspan="1" colspan="2" style="color: #6e0f13">
                <bold>SARIMAX</bold>
              </td>
              <td rowspan="1" colspan="2" style="color: #6e0f13">
                <bold>SARIMA</bold>
              </td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1" style="color: #6e0f13">
                <bold>2 years</bold>
              </td>
              <td rowspan="1" colspan="1" style="color: #6e0f13">
                <bold>3 years</bold>
              </td>
              <td rowspan="1" colspan="1" style="color: #6e0f13">
                <bold>2 years</bold>
              </td>
              <td rowspan="1" colspan="1" style="color: #6e0f13">
                <bold>3 years</bold>
              </td>
              <td rowspan="1" colspan="1" style="color: #6e0f13">
                <bold>2 years</bold>
              </td>
              <td rowspan="1" colspan="1" style="color: #6e0f13">
                <bold>3 years</bold>
              </td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Poland</td>
              <td rowspan="1" colspan="1">0.18 (1 466.5)</td>
              <td rowspan="1" colspan="1">
                <bold>0.22 (1 817.7)</bold>
              </td>
              <td rowspan="1" colspan="1">0.08 (638.3)</td>
              <td rowspan="1" colspan="1">0.67 (5376.1)</td>
              <td rowspan="1" colspan="1">0.29 (2386.2)</td>
              <td rowspan="1" colspan="1">0.48 (3 866.6)</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Italy</td>
              <td rowspan="1" colspan="1">
                <bold>0.13 (479.7)</bold>
              </td>
              <td rowspan="1" colspan="1">
                <bold>0.23 (708.6)</bold>
              </td>
              <td rowspan="1" colspan="1">0.17 (616.6)</td>
              <td rowspan="1" colspan="1">0.48 (1 700.5)</td>
              <td rowspan="1" colspan="1">0.20 (688.3)</td>
              <td rowspan="1" colspan="1">0.65 (2 260.6)</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Romania</td>
              <td rowspan="1" colspan="1">
                <bold>0.11 (1 782.6)</bold>
              </td>
              <td rowspan="1" colspan="1">
                <bold>0.15 (2 427.3)</bold>
              </td>
              <td rowspan="1" colspan="1">0.11 (1 844.9)</td>
              <td rowspan="1" colspan="1">0.52 (8 255.1)</td>
              <td rowspan="1" colspan="1">0.14 (2 320.7)</td>
              <td rowspan="1" colspan="1">0.47 (7 454.8)</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Spain</td>
              <td rowspan="1" colspan="1">0.12 (304.8)</td>
              <td rowspan="1" colspan="1">
                <bold>0.19 (376.7)</bold>
              </td>
              <td rowspan="1" colspan="1">
                <bold>0.08 (178.3)</bold>
              </td>
              <td rowspan="1" colspan="1">0.65 (1 304.9)</td>
              <td rowspan="1" colspan="1">0.09 (184.4)</td>
              <td rowspan="1" colspan="1">0.70 (1 405.7)</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Bulgaria</td>
              <td rowspan="1" colspan="1">0.13 (723.5)</td>
              <td rowspan="1" colspan="1">
                <bold>0.16 (946.9)</bold>
              </td>
              <td rowspan="1" colspan="1">
                <bold>0.09 (518.1)</bold>
              </td>
              <td rowspan="1" colspan="1">0.18 (1 111.6)</td>
              <td rowspan="1" colspan="1">0.10 (574.2)</td>
              <td rowspan="1" colspan="1">0.16 (952.7)</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Russia, one-query model</td>
              <td rowspan="1" colspan="1">
                <bold>0.38 (826.5)</bold>
              </td>
              <td rowspan="1" colspan="1">
                <bold>0.42 (706.7)</bold>
              </td>
              <td rowspan="1" colspan="1">0.45 (953.4)</td>
              <td rowspan="1" colspan="1">0.42 (909.7)</td>
              <td rowspan="2" colspan="1">0.79 (1 258.7)</td>
              <td rowspan="2" colspan="1">0.79 (1 300.2)</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Russia, multi-query model</td>
              <td rowspan="1" colspan="1">
                <bold>0.22 (436.9)</bold>
              </td>
              <td rowspan="1" colspan="1">
                <bold>0.21 (355.1)</bold>
              </td>
              <td rowspan="1" colspan="1">-</td>
              <td rowspan="1" colspan="1">-</td>
            </tr>
          </tbody>
        </table>
        <table-wrap-foot>
          <fn>
            <p>Source: author’s calculations Note. MAE values are provided in brackets and represent the accuracy of each model based on out-of-sample data. The best-performing models for both 2-year and 3-year forecasting periods are highlighted in bold.</p>
          </fn>
        </table-wrap-foot>
      </table-wrap>
      <p>Regarding the 3-year forecasting period, the distributed lag model outperforms both SARIMAX and SARIMA models for all countries. This result underscores the significance of incorporating external factors when estimating and forecasting migration, particularly during periods of disruption. However, it is important to note that the distributed lag models exhibit reduced accuracy when the forecasting period includes intervals affected by the COVID-19 pandemic.</p>
      <p>For the distributed lag model (2), the contribution of each lag can be calculated using the average time lag <italic>L<sub>k</sub></italic> for each country separately:</p>
      <p><mml:math id="M6"><mml:msub><mml:mi>L</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>l</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mn>12</mml:mn></mml:mrow></mml:munderover><mml:mi>l</mml:mi><mml:msubsup><mml:mi>β</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>l</mml:mi></mml:mrow><mml:mn>2</mml:mn></mml:msubsup><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>l</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mn>12</mml:mn></mml:mrow></mml:munderover><mml:msubsup><mml:mi>β</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>l</mml:mi></mml:mrow><mml:mn>2</mml:mn></mml:msubsup></mml:math> (4)</p>
      <p>A large average lag indicates that the migration event occurs with a considerable delay relative to the moment of the information search. Since the average lag is a random variable, its confidence interval is estimated using Monte Carlo simulation. <xref ref-type="bibr" rid="B21">Wanner (2021)</xref> analyzed 12 separate models for each country, each using only one lag (e.g., models with the first lag, second lag, etc.). This paper compares these single-lag models with models incorporating multiple lags simultaneously (distributed lag models). According to the AIC criterion and predictive accuracy metrics, distributed lag models demonstrate higher predictive power for five out of six countries.</p>
      <p>The calculations revealed that the average lags exceeded 6 months for five countries, thereby supporting the hypothesis that including lagged <abbrev xlink:title="Google Trends Index" id="ABBRID0EZEAE">GTI</abbrev> values in migration analysis is beneficial. In contrast, Bulgaria exhibits a significantly shorter average lag (2.65 months), which may be linked to the country’s migration policy and the stronger migration intentions of its working-age population, leading to quicker migration decisions.</p>
      <p>In the estimations of migration from Russia to Germany, the model coefficients are negative (Table <xref ref-type="table" rid="T1">1</xref>). This observation may be due to two factors: first, migration flows from Russia to Germany have been decreasing (except during the shock period associated with the Special Military Operation), while search queries have decreased at a slower rate; second, the search queries (and their lags) show poor correlation with migration data (Table <xref ref-type="table" rid="T5">A3</xref>). This suggests that the search term might not be very effective and that incorporating related themes could improve the model.</p>
      <p>For instance, a multi-query model, which includes multiple search themes, demonstrates significantly better predictive accuracy compared to a single-query model with just ‘work in Germany’ and its lags (Figures <xref ref-type="fig" rid="F2">7</xref>–<xref ref-type="fig" rid="F3">8</xref>). The multi-query model also performs better during periods of shocks, including the pandemic. It is the only model that shows improved predictive accuracy when shocks are factored into the forecasting period. Notably, while the model forecasted an increase in migration flows following the launch of the Special Military Operation, the actual migration flows exceeded these predictions. One hypothesis for this discrepancy is that the average lag decreases during shock periods (i.e., prospective migrants make migration decisions more quickly after searching for information online) compared to quieter periods without shocks.</p>
    </sec>
    <sec sec-type="﻿Conclusion" id="SECID0ERFAE">
      <title>﻿Conclusion</title>
      <p>The paper explores international migration forecasting models that provide estimates without the delays typical of official statistical sources. The study evaluates model performance with and without Google Trends Index (<abbrev xlink:title="Google Trends Index" id="ABBRID0EXFAE">GTI</abbrev>) data, specifically using the search query ‘work in Germany’. The analysis focuses on migration flows from six countries to Germany, assessing forecasting accuracy for both 2-year and 3-year periods. The latter period is particularly noted for its association with external shocks, such as the COVID-19 pandemic’s impact on migration.</p>
      <p>The author compares two types of models—one-query and multi-query models—using data on migration from Russia to Germany (Bronitsky &amp; Vakulenko 2024). Unlike <xref ref-type="bibr" rid="B21">Wanner (2021)</xref>, this study incorporates <abbrev xlink:title="Google Trends Index" id="ABBRID0EBGAE">GTI</abbrev> lags ranging from 1 to 12 months simultaneously and introduces an algorithm for selecting search queries in the migrant’s native language.</p>
      <p>The results indicate that incorporating <abbrev xlink:title="Google Trends Index" id="ABBRID0EHGAE">GTI</abbrev> and <abbrev xlink:title="Google Trends Index" id="ABBRID0ELGAE">GTI</abbrev> lags as explanatory variables enhances the predictive power of migration models. During periods without external shocks, SARIMAX models and distributed lag models perform similarly and outperform SARIMA models across all studied countries. However, during periods affected by external shocks, such as the COVID-19 pandemic, the distributed lag model demonstrates superior predictive accuracy.</p>
      <p>Specifically, for forecasting migration from Russia, the multi-query models provide estimates that are twice as accurate as those from one-query models over a 3-year period. Additionally, for five out of six countries, the distributed lag model, which includes multiple lags simultaneously, proves to be more effective than models that use only a single lag.</p>
      <p>The paper outlines a comprehensive algorithm for collecting, preparing, and utilizing <abbrev xlink:title="Google Trends Index" id="ABBRID0ESGAE">GTI</abbrev> data for migration forecasting. Based on the results, the author recommends employing a one-query model with lags of 1 to 12 months to enhance the predictive power of SARIMA models across all countries studied. For the most accurate estimates, particularly during periods of external shocks, the paper suggests using a multi-query model. This approach should be tailored to the specific language and migration policies of the country under study to optimize forecasting accuracy.</p>
      <p>The methods described in this paper have several limitations worth noting:</p>
      <list list-type="order">
        <list-item>
          <p>Lack of Granularity in Migration Reasons: The analysis focuses on overall migration flows without distinguishing between different reasons for migration (e.g., study, work, refuge).
</p>
        </list-item>
        <list-item>
          <p>Internet Usage Bias: GTI data is biased towards migrants who use the internet for information searches. This may not account for populations in countries where Google is not widely used (e.g., China).
</p>
        </list-item>
        <list-item>
          <p>Single Search Query Limitation: The study relies on a single search query - ‘work in Germany’. Including additional search terms, such as ‘embassy of Germany’, could enhance the model’s accuracy, especially for countries without a visa-free regime with Germany.
</p>
        </list-item>
        <list-item>
          <p>Lag Depth Assumptions: The models assume that the optimal lag length is consistent across different periods. However, during external shocks, such as crises, migration decisions might be made more quickly, suggesting the need for shorter lags.
</p>
        </list-item>
      </list>
      <p>Future research could address these limitations by incorporating methods to handle external shocks in one-query models. Potential approaches include introducing dummy variables for shock periods or incorporating a variable to measure the rate of change in trends compared to previous periods to test for asymmetric effects of shocks.</p>
    </sec>
    <sec sec-type="﻿Funding" id="SECID0E5GAE">
      <title>﻿Funding</title>
      <p>The study was conducted under the Programme of fundamental research of the National Research University Higher School of Economics in 2024.</p>
    </sec>
  </body>
  <back>
    <ack>
      <title>﻿Acknowledgements</title>
      <p>The author is grateful to his scientific supervisor Vakulenko E. S. for valuable comments and recommendations.</p>
    </ack>
    <ref-list>
      <title>﻿List of references</title>
      <ref id="B1">
        <mixed-citation xlink:type="simple"><person-group><name name-style="western"><surname>Avramescu</surname><given-names>A</given-names></name><name name-style="western"><surname>Wiśniowski</surname><given-names>A</given-names></name></person-group> (<year>2021</year>) Now-casting Romanian migration into the United Kingdom by using Google Search engine data. Demographic Research (45): 1219–54. <ext-link xlink:href="10.4054/DemRes.2021.45.40" ext-link-type="doi" xlink:type="simple">https://doi.org/10.4054/DemRes.2021.45.40</ext-link></mixed-citation>
      </ref>
      <ref id="B2">
        <mixed-citation xlink:type="simple"><person-group><name name-style="western"><surname>Bengtsson</surname><given-names>L</given-names></name><name name-style="western"><surname>Lu</surname><given-names>X</given-names></name><name name-style="western"><surname>Thorson</surname><given-names>A</given-names></name><name name-style="western"><surname>Garfield</surname><given-names>R</given-names></name><name name-style="western"><surname>von</surname><given-names>Schreeb J</given-names></name></person-group> (<year>2011</year>) Improved Response to Disasters and Outbreaks by Tracking Population Movements with Mobile Phone Network Data: A Post-Earthquake Geospatial Study in Haiti. PLoS Medicine 8(8). <ext-link xlink:href="10.1371/journal.pmed.1001083" ext-link-type="doi" xlink:type="simple">https://doi.org/10.1371/journal.pmed.1001083</ext-link>.</mixed-citation>
      </ref>
      <ref id="B3">
        <mixed-citation xlink:type="simple"><person-group><name name-style="western"><surname>Benson-Rea</surname><given-names>M</given-names></name><name name-style="western"><surname>Rawlinson</surname><given-names>S</given-names></name></person-group> (<year>2003</year>) <article-title>Highly skilled and business migrants: Information processes and settlement outcomes.</article-title><source>International Migration</source><volume>41</volume>(<issue>2</issue>): <fpage>59</fpage>–<lpage>79</lpage>. <ext-link xlink:href="10.1111/1468-2435.00235" ext-link-type="doi" xlink:type="simple">https://doi.org/10.1111/1468-2435.00235</ext-link>.</mixed-citation>
      </ref>
      <ref id="B4">
        <mixed-citation xlink:type="simple"><person-group><name name-style="western"><surname>Böhme</surname><given-names>MH</given-names></name><name name-style="western"><surname>Gröger</surname><given-names>A</given-names></name><name name-style="western"><surname>Stöhr</surname><given-names>T</given-names></name></person-group> (<year>2020</year>) Searching for a better life: Predicting international migration with online search keywords. Journal of Development Economics 142: 102347. <ext-link xlink:href="10.1016/j.jdeveco.2019.04.002" ext-link-type="doi" xlink:type="simple">https://doi.org/10.1016/j.jdeveco.2019.04.002</ext-link></mixed-citation>
      </ref>
      <ref id="B5">
        <mixed-citation xlink:type="simple"><person-group><name name-style="western"><surname>Bronitsky</surname><given-names>G</given-names></name><name name-style="western"><surname>Vakulenko</surname><given-names>E</given-names></name></person-group> (<year>2022</year>) <article-title>Using Google trends for external migration prediction.</article-title><source>Demographic Review</source><volume>9</volume>(<issue>3</issue>): <fpage>75</fpage>–<lpage>92</lpage>. <ext-link xlink:href="10.17323/demreview.v9i3.16471" ext-link-type="doi" xlink:type="simple">https://doi.org/10.17323/demreview.v9i3.16471</ext-link> (in Russian)</mixed-citation>
      </ref>
      <ref id="B6">
        <mixed-citation xlink:type="simple"><person-group><name name-style="western"><surname>Bronitsky</surname><given-names>G</given-names></name><name name-style="western"><surname>Vakulenko</surname><given-names>E</given-names></name></person-group> (<year>2024</year>) Using Google Trends to forecast migration from Russia: Search query aggregation and accounting for lag structure. Applied econometrics (73): 78-101. <ext-link xlink:href="10.22394/1993-7601-2024-73-78-101" ext-link-type="doi" xlink:type="simple">https://doi.org/10.22394/1993-7601-2024-73-78-101</ext-link> (in Russian)</mixed-citation>
      </ref>
      <ref id="B7">
        <mixed-citation xlink:type="simple"><person-group><name name-style="western"><surname>Cesare</surname><given-names>N</given-names></name><name name-style="western"><surname>Lee</surname><given-names>H</given-names></name><name name-style="western"><surname>McCormick</surname><given-names>T</given-names></name><name name-style="western"><surname>Spiro</surname><given-names>E</given-names></name><name name-style="western"><surname>Zagheni</surname><given-names>E</given-names></name></person-group> (<year>2018</year>) <article-title>Promises and Pitfalls of Using Digital Traces for Demographic Research.</article-title><source>Demography</source><volume>55</volume>(<issue>5</issue>): <fpage>1979</fpage>–<lpage>99</lpage>. <ext-link xlink:href="10.1007/s13524-018-0715-2" ext-link-type="doi" xlink:type="simple">https://dx.doi.org/10.1007/s13524-018-0715-2</ext-link></mixed-citation>
      </ref>
      <ref id="B8">
        <mixed-citation xlink:type="simple"><person-group><name name-style="western"><surname>Choi</surname><given-names>H</given-names></name><name name-style="western"><surname>Varian</surname><given-names>H</given-names></name></person-group> (<year>2012</year>) Predicting the present with Google Trends. Economic record (88): 2–9. <ext-link xlink:href="10.5018/economics-ejournal.ja.2018-34" ext-link-type="doi" xlink:type="simple">https://doi.org/10.5018/economics-ejournal.ja.2018-34</ext-link></mixed-citation>
      </ref>
      <ref id="B9">
        <mixed-citation xlink:type="simple"><person-group><name name-style="western"><surname>Chudinovskikh</surname><given-names>O</given-names></name></person-group> (<year>2018</year>) Big data and statistics of migration. Voprosy statistiki 25(2): 48-56. URL: <ext-link xlink:href="https://voprstat.elpub.ru/jour/article/view/629" ext-link-type="uri" xlink:type="simple">https://voprstat.elpub.ru/jour/article/view/629</ext-link> (in Russian)</mixed-citation>
      </ref>
      <ref id="B10">
        <mixed-citation xlink:type="simple"><person-group><name name-style="western"><surname>Fantazzini</surname><given-names>D</given-names></name><name name-style="western"><surname>Pushchelenko</surname><given-names>J</given-names></name><name name-style="western"><surname>Mironenkov</surname><given-names>A</given-names></name><name name-style="western"><surname>Kurbatskii</surname><given-names>A</given-names></name></person-group> (<year>2021</year>) <article-title>Forecasting internal migration in Russia using Google Trends: evidence from Moscow and Saint Petersburg.</article-title><source>Forecasting</source><volume>3</volume>(<issue>4</issue>): <fpage>774</fpage>–<lpage>803</lpage>. <ext-link xlink:href="10.3390/forecast3040048" ext-link-type="doi" xlink:type="simple">https://doi.org/10.3390/forecast3040048</ext-link></mixed-citation>
      </ref>
      <ref id="B11">
        <mixed-citation xlink:type="simple"><person-group><name name-style="western"><surname>Fellbaum</surname><given-names>С</given-names></name></person-group> (<year>2005</year>) WordNet and wordnets. In: Brown, Keith et al. (eds.) Encyclopedia of Language and Linguistics, Second Edition. Elsevier, Oxford, 665–70.</mixed-citation>
      </ref>
      <ref id="B12">
        <mixed-citation xlink:type="simple"><person-group><name name-style="western"><surname>Gabrielli</surname><given-names>L</given-names></name><name name-style="western"><surname>Deutschmann</surname><given-names>E</given-names></name><name name-style="western"><surname>Natale</surname><given-names>F</given-names></name><name name-style="western"><surname>Recchi</surname><given-names>E</given-names></name><name name-style="western"><surname>Vespe</surname><given-names>M</given-names></name></person-group> (<year>2019</year>) <article-title>Dissecting global air traffic data to discern different types and trends of transnational human mobility.</article-title><source>EPJ Data Science</source><volume>8</volume>(<issue>1</issue>): <fpage>26</fpage>. <ext-link xlink:href="10.1140/epjds/s13688-019-0204-x" ext-link-type="doi" xlink:type="simple">https://doi.org/10.1140/epjds/s13688-019-0204-x</ext-link></mixed-citation>
      </ref>
      <ref id="B13">
        <mixed-citation xlink:type="simple"><person-group><name name-style="western"><surname>Ginsberg</surname><given-names>J</given-names></name><name name-style="western"><surname>Mohebbi</surname><given-names>M</given-names></name><name name-style="western"><surname>Patel</surname><given-names>R</given-names></name><name name-style="western"><surname>Brammer</surname><given-names>L</given-names></name><name name-style="western"><surname>Smolinski</surname><given-names>M</given-names></name><name name-style="western"><surname>Brilliant</surname><given-names>L</given-names></name></person-group> (<year>2009</year>) Detecting Influenza Epidemics Using Search Engine Query Data. Nature (457): 1012–14. <ext-link xlink:href="10.1038/nature07634" ext-link-type="doi" xlink:type="simple">https://doi.org/10.1038/nature07634</ext-link></mixed-citation>
      </ref>
      <ref id="B14">
        <mixed-citation xlink:type="simple"><person-group><name name-style="western"><surname>Golenvaux</surname><given-names>N</given-names></name><name name-style="western"><surname>Alvarez</surname><given-names>PG</given-names></name><name name-style="western"><surname>Kiossou</surname><given-names>HS</given-names></name><name name-style="western"><surname>Schaus</surname><given-names>P</given-names></name></person-group> (<year>2020</year>) An LSTM approach to Forecast Migration using Google Trends. <ext-link xlink:href="10.48550/arXiv.2005.09902" ext-link-type="doi" xlink:type="simple">https://doi.org/10.48550/arXiv.2005.09902</ext-link></mixed-citation>
      </ref>
      <ref id="B15">
        <mixed-citation xlink:type="simple"><person-group><name name-style="western"><surname>Jun</surname><given-names>SP</given-names></name><name name-style="western"><surname>Yoo</surname><given-names>HS</given-names></name><name name-style="western"><surname>Choi</surname><given-names>S</given-names></name></person-group> (<year>2018</year>) Ten years of research change using Google Trends: From the perspective of big data utilizations and applications. Technological forecasting and social change (130): 69–87. <ext-link xlink:href="10.1016/j.techfore.2017.11.009" ext-link-type="doi" xlink:type="simple">https://doi.org/10.1016/j.techfore.2017.11.009</ext-link></mixed-citation>
      </ref>
      <ref id="B16">
        <mixed-citation xlink:type="simple"><person-group><name name-style="western"><surname>Jurić</surname><given-names>T</given-names></name></person-group> (<year>2022</year>) <article-title>Facebook and Google as an Empirical Basis for the Development of a Method for Monitoring External Migration of Croatian Citizens.</article-title><source>Ekonomski pregled</source><volume>73</volume>(<issue>2</issue>): <fpage>186</fpage>–<lpage>214</lpage>. <ext-link xlink:href="10.32910/ep.73.2.2" ext-link-type="doi" xlink:type="simple">https://doi.org/10.32910/ep.73.2.2</ext-link></mixed-citation>
      </ref>
      <ref id="B17">
        <mixed-citation xlink:type="simple"><person-group><name name-style="western"><surname>Kim</surname><given-names>J</given-names></name><name name-style="western"><surname>Sîrbu</surname><given-names>A</given-names></name><name name-style="western"><surname>Giannotti</surname><given-names>F</given-names></name><name name-style="western"><surname>Gabrielli</surname><given-names>L</given-names></name></person-group> (<year>2020</year>) Digital Footprints of International Migration on Twitter: 274–86. <ext-link xlink:href="10.1007/978-3-030-44584-3_22" ext-link-type="doi" xlink:type="simple">https://doi.org/10.1007/978-3-030-44584-3_22</ext-link></mixed-citation>
      </ref>
      <ref id="B18">
        <mixed-citation xlink:type="simple"><person-group><name name-style="western"><surname>Martín</surname><given-names>Y</given-names></name><name name-style="western"><surname>Cutter</surname><given-names>SL</given-names></name><name name-style="western"><surname>Li</surname><given-names>Z</given-names></name><name name-style="western"><surname>Emrich</surname><given-names>CT</given-names></name><name name-style="western"><surname>Mitchell</surname><given-names>JT</given-names></name></person-group> (<year>2020</year>) <article-title>Using geotagged tweets to track population movements to and from Puerto Rico after hurricane Maria.</article-title><source>Population and Environment</source><volume>42</volume>: <fpage>4</fpage>–<lpage>27</lpage>. <ext-link xlink:href="10.1007/s11111-020-00338-6" ext-link-type="doi" xlink:type="simple">https://doi.org/10.1007/s11111-020-00338-6</ext-link></mixed-citation>
      </ref>
      <ref id="B19">
        <mixed-citation xlink:type="simple"><person-group><name name-style="western"><surname>Tjaden</surname><given-names>J</given-names></name></person-group> (<year>2021</year>) <article-title>Measuring migration 2.0: A review of digital data sources.</article-title><source>Comparative Migration Studies</source><volume>9</volume>(<issue>1</issue>): <fpage>59</fpage>. <ext-link xlink:href="10.1186/s40878-021-00273-x" ext-link-type="doi" xlink:type="simple">https://doi.org/10.1186/s40878-021-00273-x</ext-link></mixed-citation>
      </ref>
      <ref id="B20">
        <mixed-citation xlink:type="simple"><person-group><name name-style="western"><surname>Tsapenko</surname><given-names>I</given-names></name><name name-style="western"><surname>Yurevich</surname><given-names>M</given-names></name></person-group> (<year>2022</year>) <article-title>Nowcasting migration using statistics of online queries.</article-title><source>Economic and Social Changes: Facts, Trends, Forecast</source><volume>15</volume>(<issue>1</issue>): <fpage>74</fpage>–<lpage>89</lpage>. <ext-link xlink:href="10.15838/esc.2022.1.79.4" ext-link-type="doi" xlink:type="simple">https://doi.org/10.15838/esc.2022.1.79.4</ext-link> (in Russian)</mixed-citation>
      </ref>
      <ref id="B21">
        <mixed-citation xlink:type="simple"><person-group><name name-style="western"><surname>Wanner</surname><given-names>P</given-names></name></person-group> (<year>2021</year>) How well can we estimate immigration trends using Google data? Quality &amp; Quantity 55(4): 1181–202. <ext-link xlink:href="10.1007/s11135-020-01047-w" ext-link-type="doi" xlink:type="simple">https://doi.org/10.1007/s11135-020-01047-w</ext-link></mixed-citation>
      </ref>
      <ref id="B22">
        <mixed-citation xlink:type="simple"><person-group><name name-style="western"><surname>Williams</surname><given-names>NE</given-names></name><name name-style="western"><surname>Thomas</surname><given-names>TA</given-names></name><name name-style="western"><surname>Dunbar</surname><given-names>M</given-names></name><name name-style="western"><surname>Eagle</surname><given-names>N</given-names></name><name name-style="western"><surname>Dobra</surname><given-names>A</given-names></name></person-group> (<year>2015</year>) <article-title>Measures of human mobility using mobile phone records enhanced with GIS Data.</article-title><source>PLoS ONE</source><volume>10</volume>(<issue>7</issue>): <fpage>1</fpage>–<lpage>16</lpage>. <ext-link xlink:href="10.1371/journal.pone.0133630" ext-link-type="doi" xlink:type="simple">http://doi.org/10.1371/journal.pone.0133630</ext-link></mixed-citation>
      </ref>
      <ref id="B23">
        <mixed-citation xlink:type="simple"><person-group><name name-style="western"><surname>Wladyka</surname><given-names>D</given-names></name></person-group> (<year>2017</year>) <article-title>Queries to Google Search as predictors of migration flows from Latin America to Spain.</article-title><source>Journal of Population and Social Studies [JPSS]</source><volume>25</volume>(<issue>4</issue>): <fpage>312</fpage>–<lpage>27</lpage>. <ext-link xlink:href="10.25133/JPSSv25n4.002" ext-link-type="doi" xlink:type="simple">https://doi.org/10.25133/JPSSv25n4.002</ext-link></mixed-citation>
      </ref>
      <ref id="B24">
        <mixed-citation xlink:type="simple"><person-group><name name-style="western"><surname>Zagheni</surname><given-names>E</given-names></name><name name-style="western"><surname>Weber</surname><given-names>I</given-names></name></person-group> (<year>2012</year>) You are where you E-mail: Using E-mail data to estimate international migration rates / Proceedings of the 3rd Annual ACM Web Science Conference, WebSci’12. <ext-link xlink:href="10.1145/2380718.2380764" ext-link-type="doi" xlink:type="simple">https://doi.org/10.1145/2380718.2380764</ext-link></mixed-citation>
      </ref>
    </ref-list>
    <sec sec-type="﻿Other sources of information" id="SECID0EV4AE">
      <title>﻿Other sources of information</title>
      <p>Database of the Federal Statistical Office of Germany. URL: <ext-link xlink:href="https://www-genesis.destatis.de/genesis/online?operation=sprachwechsel&amp;language=en" ext-link-type="uri" xlink:type="simple">https://www-genesis.destatis.de/genesis/online?operation=sprachwechsel&amp;language=en</ext-link></p>
      <p>Google Trends Index. URL: <ext-link xlink:href="https://trends.google.ru/trends" ext-link-type="uri" xlink:type="simple">https://trends.google.ru/trends</ext-link></p>
      <p>UN (1998) Recommendations on Statistics of International Migration. Statistical Papers, No. 58, Rev.1. Department of Economic and Social Affairs, United Nations, New York. URL: <ext-link xlink:href="https://unstats.un.org/unsd/publication/seriesm/seriesm_58rev1e.pdf" ext-link-type="uri" xlink:type="simple">https://unstats.un.org/unsd/publication/seriesm/seriesm_58rev1e.pdf</ext-link></p>
      <p>UNECE (2014) Dual citizenship trends and their implication for the collection of migration statistics. Conference of European Statisticians. Work Session on Migration Statistics. URL: <ext-link xlink:href="https://unece.org/fileadmin/DAM/stats/documents/ece/ces/ge.10/2014/mtg1/WP_10_UNECE.pdf" ext-link-type="uri" xlink:type="simple">https://unece.org/fileadmin/DAM/stats/documents/ece/ces/ge.10/2014/mtg1/WP_10_UNECE.pdf</ext-link></p>
    </sec>
    <sec sec-type="﻿Appendix" id="SECID0ER5AE">
      <title>﻿Appendix</title>
      <table-wrap id="T3" position="float" orientation="portrait">
        <label>Table A1.</label>
        <caption>
          <p>Descriptive statistics of data on migration to Germany, by countries of origin, based on the indicator ‘arrivals of foreigners’, 2006-2023<sup>1</sup></p>
        </caption>
        <table id="TID0EPKBG" rules="all">
          <tbody>
            <tr>
              <th rowspan="1" colspan="1"/>
              <th rowspan="1" colspan="1" style="color: #6e0f13">Country</th>
              <th rowspan="1" colspan="1" style="color: #6e0f13">Number of observations</th>
              <th rowspan="1" colspan="1" style="color: #6e0f13">Min</th>
              <th rowspan="1" colspan="1" style="color: #6e0f13">Max</th>
              <th rowspan="1" colspan="1" style="color: #6e0f13">Std</th>
              <th rowspan="1" colspan="1" style="color: #6e0f13">Mean</th>
            </tr>
            <tr>
              <td rowspan="7" colspan="1">Europe</td>
              <td rowspan="1" colspan="1">Belgium</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">-</td>
              <td rowspan="1" colspan="1">571</td>
              <td rowspan="1" colspan="1">101</td>
              <td rowspan="1" colspan="1">283</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Bulgaria</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">380</td>
              <td rowspan="1" colspan="1">9 153</td>
              <td rowspan="1" colspan="1">2 213</td>
              <td rowspan="1" colspan="1">4 854</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">France</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">522</td>
              <td rowspan="1" colspan="1">2 840</td>
              <td rowspan="1" colspan="1">524</td>
              <td rowspan="1" colspan="1">1 267</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Greece</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">-</td>
              <td rowspan="1" colspan="1">3 959</td>
              <td rowspan="1" colspan="1">888</td>
              <td rowspan="1" colspan="1">1 872</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Italy</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">904</td>
              <td rowspan="1" colspan="1">8 124</td>
              <td rowspan="1" colspan="1">1 764</td>
              <td rowspan="1" colspan="1">3 680</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Croatia</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">381</td>
              <td rowspan="1" colspan="1">6 911</td>
              <td rowspan="1" colspan="1">1 627</td>
              <td rowspan="1" colspan="1">2 304</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Malta</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">-</td>
              <td rowspan="1" colspan="1">83</td>
              <td rowspan="1" colspan="1">12</td>
              <td rowspan="1" colspan="1">12</td>
            </tr>
            <tr>
              <td rowspan="17" colspan="1">Europe</td>
              <td rowspan="1" colspan="1">Netherlands</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">562</td>
              <td rowspan="1" colspan="1">1 362</td>
              <td rowspan="1" colspan="1">149</td>
              <td rowspan="1" colspan="1">880</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Austria</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">542</td>
              <td rowspan="1" colspan="1">2 164</td>
              <td rowspan="1" colspan="1">239</td>
              <td rowspan="1" colspan="1">985</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Poland</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">4 060</td>
              <td rowspan="1" colspan="1">22 557</td>
              <td rowspan="1" colspan="1">3 971</td>
              <td rowspan="1" colspan="1">11 835</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Portugal</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">221</td>
              <td rowspan="1" colspan="1">1 410</td>
              <td rowspan="1" colspan="1">240</td>
              <td rowspan="1" colspan="1">679</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Romania</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">976</td>
              <td rowspan="1" colspan="1">24 341</td>
              <td rowspan="1" colspan="1">6 634</td>
              <td rowspan="1" colspan="1">12 285</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Sweden</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">-</td>
              <td rowspan="1" colspan="1">688</td>
              <td rowspan="1" colspan="1">97</td>
              <td rowspan="1" colspan="1">254</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Slovakia</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">-</td>
              <td rowspan="1" colspan="1">1 789</td>
              <td rowspan="1" colspan="1">297</td>
              <td rowspan="1" colspan="1">933</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Spain</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">-</td>
              <td rowspan="1" colspan="1">5 598</td>
              <td rowspan="1" colspan="1">1 012</td>
              <td rowspan="1" colspan="1">1 805</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Czeck Republic</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">236</td>
              <td rowspan="1" colspan="1">1 588</td>
              <td rowspan="1" colspan="1">253</td>
              <td rowspan="1" colspan="1">786</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Hungary</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">957</td>
              <td rowspan="1" colspan="1">6 349</td>
              <td rowspan="1" colspan="1">1 268</td>
              <td rowspan="1" colspan="1">3 128</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Bosnia and Herzegovina</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">-</td>
              <td rowspan="1" colspan="1">2 732</td>
              <td rowspan="1" colspan="1">695</td>
              <td rowspan="1" colspan="1">1 316</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">North Macedonia</td>
              <td rowspan="1" colspan="1">18</td>
              <td rowspan="1" colspan="1">-</td>
              <td rowspan="1" colspan="1">2 628</td>
              <td rowspan="1" colspan="1">472</td>
              <td rowspan="1" colspan="1">119</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Russian Federation</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">305</td>
              <td rowspan="1" colspan="1">3 692</td>
              <td rowspan="1" colspan="1">574</td>
              <td rowspan="1" colspan="1">1 461</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Switzerland</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">190</td>
              <td rowspan="1" colspan="1">945</td>
              <td rowspan="1" colspan="1">149</td>
              <td rowspan="1" colspan="1">468</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Serbia</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">-</td>
              <td rowspan="1" colspan="1">5 342</td>
              <td rowspan="1" colspan="1">1 022</td>
              <td rowspan="1" colspan="1">1 837</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Turkey</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">1 063</td>
              <td rowspan="1" colspan="1">9 751</td>
              <td rowspan="1" colspan="1">1 457</td>
              <td rowspan="1" colspan="1">2 983</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Great Britain</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">-</td>
              <td rowspan="1" colspan="1">2 094</td>
              <td rowspan="1" colspan="1">390</td>
              <td rowspan="1" colspan="1">975</td>
            </tr>
            <tr>
              <td rowspan="5" colspan="1">Asia</td>
              <td rowspan="1" colspan="1">Lebanon</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">-</td>
              <td rowspan="1" colspan="1">2 087</td>
              <td rowspan="1" colspan="1">246</td>
              <td rowspan="1" colspan="1">340</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Pakistan</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">97</td>
              <td rowspan="1" colspan="1">4 400</td>
              <td rowspan="1" colspan="1">552</td>
              <td rowspan="1" colspan="1">531</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Philippines</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">57</td>
              <td rowspan="1" colspan="1">839</td>
              <td rowspan="1" colspan="1">146</td>
              <td rowspan="1" colspan="1">212</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Syria</td>
              <td rowspan="1" colspan="1">74</td>
              <td rowspan="1" colspan="1">-</td>
              <td rowspan="1" colspan="1">9 960</td>
              <td rowspan="1" colspan="1">1 879</td>
              <td rowspan="1" colspan="1">838</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Vietnam</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">-</td>
              <td rowspan="1" colspan="1">1 131</td>
              <td rowspan="1" colspan="1">175</td>
              <td rowspan="1" colspan="1">419</td>
            </tr>
            <tr>
              <td rowspan="6" colspan="1">Africa</td>
              <td rowspan="1" colspan="1">Еgypt</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">97</td>
              <td rowspan="1" colspan="1">1 445</td>
              <td rowspan="1" colspan="1">255</td>
              <td rowspan="1" colspan="1">379</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Algeria</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">-</td>
              <td rowspan="1" colspan="1">1 757</td>
              <td rowspan="1" colspan="1">229</td>
              <td rowspan="1" colspan="1">243</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Marocco</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">161</td>
              <td rowspan="1" colspan="1">2 182</td>
              <td rowspan="1" colspan="1">258</td>
              <td rowspan="1" colspan="1">463</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Nigeria</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">-</td>
              <td rowspan="1" colspan="1">1 317</td>
              <td rowspan="1" colspan="1">276</td>
              <td rowspan="1" colspan="1">340</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Somali</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">-</td>
              <td rowspan="1" colspan="1">1 178</td>
              <td rowspan="1" colspan="1">254</td>
              <td rowspan="1" colspan="1">207</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Tunisia</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">94</td>
              <td rowspan="1" colspan="1">929</td>
              <td rowspan="1" colspan="1">182</td>
              <td rowspan="1" colspan="1">335</td>
            </tr>
            <tr>
              <td rowspan="4" colspan="1">America</td>
              <td rowspan="1" colspan="1">Brazil</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">286</td>
              <td rowspan="1" colspan="1">1 896</td>
              <td rowspan="1" colspan="1">313</td>
              <td rowspan="1" colspan="1">701</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Columbia</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">54</td>
              <td rowspan="1" colspan="1">651</td>
              <td rowspan="1" colspan="1">136</td>
              <td rowspan="1" colspan="1">229</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Venezuela</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">-</td>
              <td rowspan="1" colspan="1">399</td>
              <td rowspan="1" colspan="1">72</td>
              <td rowspan="1" colspan="1">84</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">USA</td>
              <td rowspan="1" colspan="1">209</td>
              <td rowspan="1" colspan="1">-</td>
              <td rowspan="1" colspan="1">3 808</td>
              <td rowspan="1" colspan="1">778</td>
              <td rowspan="1" colspan="1">1 583</td>
            </tr>
          </tbody>
        </table>
        <table-wrap-foot>
          <fn>
            <p><sup>1</sup> The table includes only those countries for which the number of foreigners’ arrivals in Germany was over 200 per month in the period 01/01/2023-01/06/2023. Source: data from German Federal Statistical Office (2006-2023)</p>
          </fn>
        </table-wrap-foot>
      </table-wrap>
      <table-wrap id="T4" position="float" orientation="portrait">
        <label>Table A2.</label>
        <caption>
          <p>Descriptive statistics of the standardized <abbrev xlink:title="Google Trends Index" id="ABBRID0EKZBG">GTI</abbrev> values used for estimating migration to Germany in 2013-2023</p>
        </caption>
        <table id="TID0EUOAI" rules="all">
          <tbody>
            <tr>
              <td rowspan="1" colspan="1" style="color: #6e0f13">
                <bold>Country</bold>
              </td>
              <td rowspan="1" colspan="1" style="color: #6e0f13">
                <bold>Search query</bold>
              </td>
              <td rowspan="1" colspan="1" style="color: #6e0f13">
                <bold>Min</bold>
              </td>
              <td rowspan="1" colspan="1" style="color: #6e0f13">
                <bold>Max</bold>
              </td>
              <td rowspan="1" colspan="1" style="color: #6e0f13">
                <bold>Correlation with migration in seasonal differences</bold>
              </td>
            </tr>
            <tr>
              <td rowspan="2" colspan="1">Poland</td>
              <td rowspan="1" colspan="1">Praca w Niemczech</td>
              <td rowspan="1" colspan="1">-1.10</td>
              <td rowspan="1" colspan="1">4.60</td>
              <td rowspan="1" colspan="1">0.38</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Niemcy praca</td>
              <td rowspan="1" colspan="1">-2.01</td>
              <td rowspan="1" colspan="1">3.57</td>
              <td rowspan="1" colspan="1">0.47</td>
            </tr>
            <tr>
              <td rowspan="3" colspan="1">Italy</td>
              <td rowspan="1" colspan="1">Lavorare in Germania</td>
              <td rowspan="1" colspan="1">-1.14</td>
              <td rowspan="1" colspan="1">3.62</td>
              <td rowspan="1" colspan="1">0.38</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Lavoro in Germania</td>
              <td rowspan="1" colspan="1">-1.14</td>
              <td rowspan="1" colspan="1">3.57</td>
              <td rowspan="1" colspan="1">0.39</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Lavoro Germania</td>
              <td rowspan="1" colspan="1">-1.13</td>
              <td rowspan="1" colspan="1">3.65</td>
              <td rowspan="1" colspan="1">0.38</td>
            </tr>
            <tr>
              <td rowspan="3" colspan="1">Romania</td>
              <td rowspan="1" colspan="1">Munca in Germania</td>
              <td rowspan="1" colspan="1">-1.36</td>
              <td rowspan="1" colspan="1">3.45</td>
              <td rowspan="1" colspan="1">0.01</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Locuri munca Germania</td>
              <td rowspan="1" colspan="1">-1.70</td>
              <td rowspan="1" colspan="1">4.11</td>
              <td rowspan="1" colspan="1">0.21</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Locuri de munca in Germania</td>
              <td rowspan="1" colspan="1">-1.26</td>
              <td rowspan="1" colspan="1">3.85</td>
              <td rowspan="1" colspan="1">0.13</td>
            </tr>
            <tr>
              <td rowspan="5" colspan="1">Spain</td>
              <td rowspan="1" colspan="1">Trabajar en Alemania</td>
              <td rowspan="1" colspan="1">-0.74</td>
              <td rowspan="1" colspan="1">6.87</td>
              <td rowspan="1" colspan="1">-0.10</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Trabajo Alemania</td>
              <td rowspan="1" colspan="1">-0.65</td>
              <td rowspan="1" colspan="1">6.98</td>
              <td rowspan="1" colspan="1">-0.15</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Trabajo en Alemania</td>
              <td rowspan="1" colspan="1">-0.73</td>
              <td rowspan="1" colspan="1">6.72</td>
              <td rowspan="1" colspan="1">-0.12</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Ofertas trabajo Alemania</td>
              <td rowspan="1" colspan="1">-0.83</td>
              <td rowspan="1" colspan="1">7.05</td>
              <td rowspan="1" colspan="1">0.01</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Como trabajar en Alemania</td>
              <td rowspan="1" colspan="1">-0.89</td>
              <td rowspan="1" colspan="1">6.50</td>
              <td rowspan="1" colspan="1">-0.01</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Bulgaria</td>
              <td rowspan="1" colspan="1">Work in Germany</td>
              <td rowspan="1" colspan="1">-1.70</td>
              <td rowspan="1" colspan="1">2.91</td>
              <td rowspan="1" colspan="1">0.34</td>
            </tr>
            <tr>
              <td rowspan="2" colspan="1">Russia</td>
              <td rowspan="1" colspan="1">Work in Germany vacancies</td>
              <td rowspan="1" colspan="1">-1.29</td>
              <td rowspan="1" colspan="1">5.87</td>
              <td rowspan="1" colspan="1">-0.10</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Work in Germany</td>
              <td rowspan="1" colspan="1">-1.12</td>
              <td rowspan="1" colspan="1">5.58</td>
              <td rowspan="1" colspan="1">-0.04</td>
            </tr>
          </tbody>
        </table>
        <table-wrap-foot>
          <fn>
            <p>Source: author’s calculations based on Google Trends Index data (2013-2023) Note: In total, there are 155 observations over time. The indices have been standardized to have a mean of zero and a standard deviation of one, and therefore are not included in the table. Search queries presented in italics indicate those with the highest correlation with the ‘arrivals of foreigners’ indicator in Germany from the respective country.</p>
          </fn>
        </table-wrap-foot>
      </table-wrap>
      <table-wrap id="T5" position="float" orientation="portrait">
        <label>Table A3.</label>
        <caption>
          <p>Correlation of migration data from selected countries to Germany with search query data and lags (from 1 to 12 months, in brackets) for the period 01/01/2013 – 06/01/2023. Migration and search query data are analyzed in seasonal differences with a 12-month period</p>
        </caption>
        <table id="TID0EC2AI" rules="all">
          <tbody>
            <tr>
              <th rowspan="1" colspan="1"/>
              <th rowspan="1" colspan="1" style="color: #6e0f13">Lag, Month</th>
              <th rowspan="1" colspan="1" style="color: #6e0f13">Poland (<italic>Niemcy praca</italic>)</th>
              <th rowspan="1" colspan="1" style="color: #6e0f13">Italy (<italic>Lavoro in Germania</italic>)</th>
              <th rowspan="1" colspan="1" style="color: #6e0f13">Romania (<italic>Locuri munca Germania</italic>)</th>
              <th rowspan="1" colspan="1" style="color: #6e0f13">Spain (<italic>Ofertas trabajo Alemania</italic>)</th>
              <th rowspan="1" colspan="1" style="color: #6e0f13">Bulgaria (<italic>Work in Germany</italic>)</th>
              <th rowspan="1" colspan="1" style="color: #6e0f13">Russia (<italic>Work in Germany</italic>)</th>
            </tr>
            <tr>
              <td rowspan="4" colspan="1"><abbrev xlink:title="Google Trends Index" id="ABBRID0E6DAI">GTI</abbrev> ”work in Germany” in the language of the migration origin country</td>
              <td rowspan="1" colspan="1">0</td>
              <td rowspan="1" colspan="1">0.47</td>
              <td rowspan="1" colspan="1">0.39</td>
              <td rowspan="1" colspan="1">0.21</td>
              <td rowspan="1" colspan="1">0.01</td>
              <td rowspan="1" colspan="1">0.34</td>
              <td rowspan="1" colspan="1">-0.04</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">1</td>
              <td rowspan="1" colspan="1">0.36</td>
              <td rowspan="1" colspan="1">0.43</td>
              <td rowspan="1" colspan="1">0.18</td>
              <td rowspan="1" colspan="1">0.14</td>
              <td rowspan="1" colspan="1">0.36</td>
              <td rowspan="1" colspan="1">-0.07</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">2</td>
              <td rowspan="1" colspan="1">0.39</td>
              <td rowspan="1" colspan="1">0.47</td>
              <td rowspan="1" colspan="1">0.12</td>
              <td rowspan="1" colspan="1">0.14</td>
              <td rowspan="1" colspan="1">0.38</td>
              <td rowspan="1" colspan="1">-0.03</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">3</td>
              <td rowspan="1" colspan="1">0.29</td>
              <td rowspan="1" colspan="1">0.46</td>
              <td rowspan="1" colspan="1">0.02</td>
              <td rowspan="1" colspan="1">0.07</td>
              <td rowspan="1" colspan="1">0.25</td>
              <td rowspan="1" colspan="1">-0.05</td>
            </tr>
            <tr>
              <td rowspan="9" colspan="1"><abbrev xlink:title="Google Trends Index" id="ABBRID0E6GAI">GTI</abbrev> ”work in Germany” in the language of the migration origin country</td>
              <td rowspan="1" colspan="1">4</td>
              <td rowspan="1" colspan="1">0.32</td>
              <td rowspan="1" colspan="1">0.48</td>
              <td rowspan="1" colspan="1">-0.02</td>
              <td rowspan="1" colspan="1">0.02</td>
              <td rowspan="1" colspan="1">0.17</td>
              <td rowspan="1" colspan="1">0.01</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">5</td>
              <td rowspan="1" colspan="1">0.31</td>
              <td rowspan="1" colspan="1">0.51</td>
              <td rowspan="1" colspan="1">-0.02</td>
              <td rowspan="1" colspan="1">0.19</td>
              <td rowspan="1" colspan="1">0.08</td>
              <td rowspan="1" colspan="1">0.01</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">6</td>
              <td rowspan="1" colspan="1">0.25</td>
              <td rowspan="1" colspan="1">0.53</td>
              <td rowspan="1" colspan="1">-0.01</td>
              <td rowspan="1" colspan="1">0.27</td>
              <td rowspan="1" colspan="1">0.10</td>
              <td rowspan="1" colspan="1">-0.10</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">7</td>
              <td rowspan="1" colspan="1">0.16</td>
              <td rowspan="1" colspan="1">0.54</td>
              <td rowspan="1" colspan="1">0.01</td>
              <td rowspan="1" colspan="1">0.17</td>
              <td rowspan="1" colspan="1">0.13</td>
              <td rowspan="1" colspan="1">-0.11</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">8</td>
              <td rowspan="1" colspan="1">0.14</td>
              <td rowspan="1" colspan="1">0.57</td>
              <td rowspan="1" colspan="1">0.09</td>
              <td rowspan="1" colspan="1">0.20</td>
              <td rowspan="1" colspan="1">0.08</td>
              <td rowspan="1" colspan="1">-0.09</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">9</td>
              <td rowspan="1" colspan="1">0.12</td>
              <td rowspan="1" colspan="1">0.55</td>
              <td rowspan="1" colspan="1">0.16</td>
              <td rowspan="1" colspan="1">0.26</td>
              <td rowspan="1" colspan="1">0.07</td>
              <td rowspan="1" colspan="1">-0.05</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">10</td>
              <td rowspan="1" colspan="1">0.08</td>
              <td rowspan="1" colspan="1">0.55</td>
              <td rowspan="1" colspan="1">0.12</td>
              <td rowspan="1" colspan="1">0.24</td>
              <td rowspan="1" colspan="1">0.08</td>
              <td rowspan="1" colspan="1">-0.07</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">11</td>
              <td rowspan="1" colspan="1">0.02</td>
              <td rowspan="1" colspan="1">0.54</td>
              <td rowspan="1" colspan="1">0.07</td>
              <td rowspan="1" colspan="1">0.01</td>
              <td rowspan="1" colspan="1">0.10</td>
              <td rowspan="1" colspan="1">-0.17</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">12</td>
              <td rowspan="1" colspan="1">-0.14</td>
              <td rowspan="1" colspan="1">0.55</td>
              <td rowspan="1" colspan="1">0.08</td>
              <td rowspan="1" colspan="1">-0.05</td>
              <td rowspan="1" colspan="1">-0.01</td>
              <td rowspan="1" colspan="1">-0.19</td>
            </tr>
          </tbody>
        </table>
        <table-wrap-foot>
          <fn>
            <p>Source: author’s calculations based on Google Trends Index data (2013-2023)</p>
          </fn>
        </table-wrap-foot>
      </table-wrap>
      <table-wrap id="T6" position="float" orientation="portrait">
        <label>Table A4.</label>
        <caption>
          <p>Descriptive statistics of variables used for estimating migration from Russia to Germany, a multi-query model (<xref ref-type="bibr" rid="B6">Bronitsky and Vakulenko 2024</xref>), 2021-2022</p>
        </caption>
        <table id="TID0EBLBI" rules="all">
          <tbody>
            <tr>
              <td rowspan="2" colspan="1"/>
              <td rowspan="1" colspan="3" style="color: #6e0f13">
                <bold>Standardized <abbrev xlink:title="Google Trends Index" id="ABBRID0EHOAI">GTI</abbrev> values</bold>
              </td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1" style="color: #6e0f13">
                <bold>Variable</bold>
              </td>
              <td rowspan="1" colspan="1" style="color: #6e0f13">
                <bold>Min</bold>
              </td>
              <td rowspan="1" colspan="1" style="color: #6e0f13">
                <bold>Max</bold>
              </td>
            </tr>
            <tr>
              <td rowspan="6" colspan="1">Work</td>
              <td rowspan="1" colspan="1">Work in Germany for Russians</td>
              <td rowspan="1" colspan="1">–1.16</td>
              <td rowspan="1" colspan="1">4.76</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Work in Germany</td>
              <td rowspan="1" colspan="1">–1.90</td>
              <td rowspan="1" colspan="1">4.66</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Work in Germany vacancies</td>
              <td rowspan="1" colspan="1">–0.80</td>
              <td rowspan="1" colspan="1">4.77</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Work in Germany without the knowledge of German</td>
              <td rowspan="1" colspan="1">–0.55</td>
              <td rowspan="1" colspan="1">5.90</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">work in Germany for Russians vacancies</td>
              <td rowspan="1" colspan="1">–0.39</td>
              <td rowspan="1" colspan="1">6.68</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Relocation to Germany</td>
              <td rowspan="1" colspan="1">–0.40</td>
              <td rowspan="1" colspan="1">6.69</td>
            </tr>
            <tr>
              <td rowspan="2" colspan="1">Study</td>
              <td rowspan="1" colspan="1">Study in Germany</td>
              <td rowspan="1" colspan="1">–1.15</td>
              <td rowspan="1" colspan="1">5.17</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">visa to study in Germany</td>
              <td rowspan="1" colspan="1">–1.05</td>
              <td rowspan="1" colspan="1">4.72</td>
            </tr>
            <tr>
              <td rowspan="6" colspan="1">Embassy</td>
              <td rowspan="1" colspan="1">Embassy of Germany</td>
              <td rowspan="1" colspan="1">–0.79</td>
              <td rowspan="1" colspan="1">3.73</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Embassy of Germany in Moscow</td>
              <td rowspan="1" colspan="1">–0.97</td>
              <td rowspan="1" colspan="1">4.33</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Shengen visa to Germany</td>
              <td rowspan="1" colspan="1">–1.39</td>
              <td rowspan="1" colspan="1">4.27</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Embassy of Russia in Germany</td>
              <td rowspan="1" colspan="1">–1.06</td>
              <td rowspan="1" colspan="1">4.13</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">How to get citizenship of Germany</td>
              <td rowspan="1" colspan="1">–1.91</td>
              <td rowspan="1" colspan="1">3.18</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Visa centre of Germany</td>
              <td rowspan="1" colspan="1">–1.24</td>
              <td rowspan="1" colspan="1">3.55</td>
            </tr>
          </tbody>
        </table>
        <table-wrap-foot>
          <fn>
            <p>Source: author’s calculations based on Google Trends Index data (2013-2023) Note: The table does not include 22 search queries from the category ‘others’.</p>
          </fn>
        </table-wrap-foot>
      </table-wrap>
      <table-wrap id="T7" position="float" orientation="portrait">
        <label>Table A5.</label>
        <caption>
          <p>Validation of SARIMAX models for 2-year control period</p>
        </caption>
        <table id="TID0EKUBI" rules="all">
          <tbody>
            <tr>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1" style="color: #6e0f13">
                <bold>lag, month</bold>
              </td>
              <td rowspan="1" colspan="1" style="color: #6e0f13">
                <bold>Poland</bold>
              </td>
              <td rowspan="1" colspan="1" style="color: #6e0f13">
                <bold>Italy</bold>
              </td>
              <td rowspan="1" colspan="1" style="color: #6e0f13">
                <bold>Romania</bold>
              </td>
              <td rowspan="1" colspan="1" style="color: #6e0f13">
                <bold>Spain</bold>
              </td>
              <td rowspan="1" colspan="1" style="color: #6e0f13">
                <bold>Bulgaria</bold>
              </td>
              <td rowspan="1" colspan="1" style="color: #6e0f13">
                <bold>Russia</bold>
              </td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="6">Specification of the model SARIMAX(p, d, q)x(P, D, Q, S)</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1">(1, 1, 1)x (0, 1, 1, 12)</td>
              <td rowspan="1" colspan="1">(1, 1, 1)x (0, 1, 1, 12)</td>
              <td rowspan="1" colspan="1">(1, 1, 1)x (0, 1, 1, 12)</td>
              <td rowspan="1" colspan="1">(0, 1, 1)x (0, 1, 1, 12)</td>
              <td rowspan="1" colspan="1">(1, 1, 1)x (0, 1, 1, 12)</td>
              <td rowspan="1" colspan="1">(1, 1, 1)x (0, 1, 1, 12)</td>
            </tr>
            <tr>
              <td rowspan="13" colspan="1"><abbrev xlink:title="Google Trends Index" id="ABBRID0EYXAI">GTI</abbrev> ‘work in Germany’</td>
              <td rowspan="1" colspan="1">0</td>
              <td rowspan="1" colspan="1">1 187.5*** (287.66)</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1">1 343.5*** (408.77)</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1">414.50** (167.34)</td>
              <td rowspan="1" colspan="1"/>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">1</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">2</td>
              <td rowspan="1" colspan="1">555.29 (340.25)</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1">265.34** (131.96)</td>
              <td rowspan="1" colspan="1"/>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">3</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">4</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1">-187.42** (94.46)</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">5</td>
              <td rowspan="1" colspan="1">618.99*** (236.81)</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">6</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">7</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1">-1.21 (147.45)</td>
              <td rowspan="1" colspan="1"/>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">8</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1">291.67** (138.59)</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1">16.47 (106.12)</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1">- 55.52 (35.96)</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">9</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1">-41.92 (100.58)</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">10</td>
              <td rowspan="1" colspan="1">274.13 (279.53)</td>
              <td rowspan="1" colspan="1">153.32 (178.92)</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1">13.40 (79.98)</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">11</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">12</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1">281.14 (460.67)</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1"/>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Number of observations</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1">114</td>
              <td rowspan="1" colspan="1">114</td>
              <td rowspan="1" colspan="1">114</td>
              <td rowspan="1" colspan="1">114</td>
              <td rowspan="1" colspan="1">114</td>
              <td rowspan="1" colspan="1">114</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">AIC</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1">1 746</td>
              <td rowspan="1" colspan="1">1 569</td>
              <td rowspan="1" colspan="1">1 834</td>
              <td rowspan="1" colspan="1">1 451</td>
              <td rowspan="1" colspan="1">1 620</td>
              <td rowspan="1" colspan="1">1 438</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">BIC</td>
              <td rowspan="1" colspan="1"/>
              <td rowspan="1" colspan="1">1 767</td>
              <td rowspan="1" colspan="1">1 575</td>
              <td rowspan="1" colspan="1">1 840</td>
              <td rowspan="1" colspan="1">1 469</td>
              <td rowspan="1" colspan="1">1 638</td>
              <td rowspan="1" colspan="1">1 444</td>
            </tr>
          </tbody>
        </table>
        <table-wrap-foot>
          <fn>
            <p>Source: author’s calculations Note: Significance of the model coefficients: *** p &lt;0.01, ** p &lt;0.05, * p &lt;0.1. Standard errors are shown in brackets.</p>
          </fn>
        </table-wrap-foot>
      </table-wrap>
      <table-wrap id="T8" position="float" orientation="portrait">
        <label>Table A6.</label>
        <caption>
          <p>Predictive accuracy of the distributed lag models for 2-year control periods (01.06.2021 – 01.06.2023 and 01.06.2020 – 01.06.2022).</p>
        </caption>
        <table id="TID0EWICI" rules="all">
          <tbody>
            <tr>
              <td rowspan="3" colspan="1" style="color: #6e0f13">
                <bold>Country</bold>
              </td>
              <td rowspan="1" colspan="6" style="color: #6e0f13">
                <bold>Evaluation metrics of the models MAPE (MAE) based on the test sample</bold>
              </td>
            </tr>
            <tr>
              <td rowspan="1" colspan="2" style="color: #6e0f13">
                <bold>Distributed lag model</bold>
              </td>
              <td rowspan="1" colspan="2" style="color: #6e0f13">
                <bold>SARIMAX</bold>
              </td>
              <td rowspan="1" colspan="2" style="color: #6e0f13">
                <bold>SARIMA</bold>
              </td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1" style="color: #6e0f13">
                <bold>2021-2023</bold>
              </td>
              <td rowspan="1" colspan="1" style="color: #6e0f13">
                <bold>2020-2022</bold>
              </td>
              <td rowspan="1" colspan="1" style="color: #6e0f13">
                <bold>2021-2023</bold>
              </td>
              <td rowspan="1" colspan="1" style="color: #6e0f13">
                <bold>2020-2022</bold>
              </td>
              <td rowspan="1" colspan="1" style="color: #6e0f13">
                <bold>2021–2023</bold>
              </td>
              <td rowspan="1" colspan="1" style="color: #6e0f13">
                <bold>2020-2022</bold>
              </td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Poland</td>
              <td rowspan="1" colspan="1">0.18 (1 466.5)</td>
              <td rowspan="1" colspan="1">0.28 (2 178.5)</td>
              <td rowspan="1" colspan="1">0.08 (638.3)</td>
              <td rowspan="1" colspan="1">0.59 (4 570.4)</td>
              <td rowspan="1" colspan="1">0.29 (2 386.2)</td>
              <td rowspan="1" colspan="1">0.34 (2 549.7)</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Italy</td>
              <td rowspan="1" colspan="1">0.13 (479.7)</td>
              <td rowspan="1" colspan="1">0.30 (904.9)</td>
              <td rowspan="1" colspan="1">0.17 (616.6)</td>
              <td rowspan="1" colspan="1">0.37 (1 274.6)</td>
              <td rowspan="1" colspan="1">0.20 (688.3)</td>
              <td rowspan="1" colspan="1">0.49 (1 666.4)</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Romania</td>
              <td rowspan="1" colspan="1">0.11 (1 782.6)</td>
              <td rowspan="1" colspan="1">0.16 (2 534.7)</td>
              <td rowspan="1" colspan="1">0.11 (1 844.9)</td>
              <td rowspan="1" colspan="1">0.41 (6 492.3)</td>
              <td rowspan="1" colspan="1">0.14 (2 320.7)</td>
              <td rowspan="1" colspan="1">0.36 (5 667.9)</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Spain</td>
              <td rowspan="1" colspan="1">0.12 (304.8)</td>
              <td rowspan="1" colspan="1">0.25 (487.9)</td>
              <td rowspan="1" colspan="1">0.08 (178.3)</td>
              <td rowspan="1" colspan="1">0.55 (1 083.4)</td>
              <td rowspan="1" colspan="1">0.09 (184.4)</td>
              <td rowspan="1" colspan="1">0.59 (1 158.1)</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Bulgaria</td>
              <td rowspan="1" colspan="1">0.13 (723.5)</td>
              <td rowspan="1" colspan="1">0.16 (994.8)</td>
              <td rowspan="1" colspan="1">0.09 (518.1)</td>
              <td rowspan="1" colspan="1">0.18 (1 134.7)</td>
              <td rowspan="1" colspan="1">0.10 (574.2)</td>
              <td rowspan="1" colspan="1">0.16 (1 005.3)</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Russia, one-query model</td>
              <td rowspan="1" colspan="1">0.38 (826.5)</td>
              <td rowspan="1" colspan="1">0.52 (555.4)</td>
              <td rowspan="1" colspan="1">0.45 (953.4)</td>
              <td rowspan="1" colspan="1">0.63 (748.5)</td>
              <td rowspan="2" colspan="1">0.79 (1 258.7)</td>
              <td rowspan="2" colspan="1">0.66 (778.7)</td>
            </tr>
            <tr>
              <td rowspan="1" colspan="1">Russia, multi-query model</td>
              <td rowspan="1" colspan="1">0.22 (436.9)</td>
              <td rowspan="1" colspan="1">0.17 (184.1)</td>
              <td rowspan="1" colspan="1">-</td>
              <td rowspan="1" colspan="1">-</td>
            </tr>
          </tbody>
        </table>
        <table-wrap-foot>
          <fn>
            <p>Source: author’s calculations</p>
          </fn>
        </table-wrap-foot>
      </table-wrap>
    </sec>
    <sec sec-type="﻿Information about the author" id="sec1">
      <title>﻿Information about the author</title>
      <p>Bronitsky Georgy Timurovich - Research Intern in the Laboratory for Macro-Structural Modeling of the Russian Economy, HSE University Moscow, 101000, Russia. Email: <ext-link xlink:href="mailto:getibr@gmail.com" ext-link-type="uri" xlink:type="simple">getibr@gmail.com</ext-link></p>
    </sec>
    <fn-group>
      <fn id="FN1">
        <p>Description of the data collection methodology is available at https://www-genesis.destatis.de/genesis/online, code 12711.</p>
      </fn>
      <fn id="FN2">
        <p>Testing the hypothesis about the adequacy of regression. The main hypothesis is the following: the selected set of independent variables has no linear effect on the dependent variable.</p>
      </fn>
      <fn id="FN3">
        <p>When only one lag is included in the model, the value of the average lag (3) is not a random variable, so the confidence interval for it cannot be calculated.</p>
      </fn>
    </fn-group>
  </back>
</article>
