<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing with OASIS Tables v3.0 20080202//EN" "journalpub-oasis3.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:oasis="http://docs.oasis-open.org/ns/oasis-exchange/table" xml:lang="en" dtd-version="3.0" article-type="research-article">
  <front>
    <journal-meta><journal-id journal-id-type="publisher">NHESS</journal-id><journal-title-group>
    <journal-title>Natural Hazards and Earth System Sciences</journal-title>
    <abbrev-journal-title abbrev-type="publisher">NHESS</abbrev-journal-title><abbrev-journal-title abbrev-type="nlm-ta">Nat. Hazards Earth Syst. Sci.</abbrev-journal-title>
  </journal-title-group><issn pub-type="epub">1684-9981</issn><publisher>
    <publisher-name>Copernicus Publications</publisher-name>
    <publisher-loc>Göttingen, Germany</publisher-loc>
  </publisher></journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.5194/nhess-22-1931-2022</article-id><title-group><article-title>Hidden-state modeling of a cross-section of geoelectric time series data can provide reliable intermediate-term probabilistic<?xmltex \hack{\break}?> earthquake forecasting in Taiwan</article-title><alt-title>HMM forecasting of earthquakes in Taiwan</alt-title>
      </title-group><?xmltex \runningtitle{HMM forecasting of earthquakes in Taiwan}?><?xmltex \runningauthor{H. Wen et al.}?>
      <contrib-group>
        <contrib contrib-type="author" corresp="yes" rid="aff1">
          <name><surname>Wen</surname><given-names>Haoyu</given-names></name>
          <email>s160049@e.ntu.edu.sg</email>
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff2">
          <name><surname>Chen</surname><given-names>Hong-Jia</given-names></name>
          
        <ext-link>https://orcid.org/0000-0003-0328-008X</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff2 aff3">
          <name><surname>Chen</surname><given-names>Chien-Chih</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Ciamarra</surname><given-names>Massimo Pica</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Cheong</surname><given-names>Siew Ann</given-names></name>
          
        </contrib>
        <aff id="aff1"><label>1</label><institution>Division of Physics and Applied Physics, School of Physical and
Mathematical Sciences, <?xmltex \hack{\break}?>Nanyang Technological University, 21 Nanyang Link,
637371, Singapore</institution>
        </aff>
        <aff id="aff2"><label>2</label><institution>Department of Earth Sciences, National Central University, Taoyuan
32001, Taiwan</institution>
        </aff>
        <aff id="aff3"><label>3</label><institution>Earthquake-Disaster &amp; Risk Evaluation and Management Center,
National Central University, Taoyuan 32001, Taiwan</institution>
        </aff>
      </contrib-group>
      <author-notes><corresp id="corr1">Haoyu Wen (s160049@e.ntu.edu.sg)</corresp></author-notes><pub-date><day>9</day><month>June</month><year>2022</year></pub-date>
      
      <volume>22</volume>
      <issue>6</issue>
      <fpage>1931</fpage><lpage>1954</lpage>
      <history>
        <date date-type="received"><day>6</day><month>December</month><year>2021</year></date>
           <date date-type="rev-request"><day>4</day><month>January</month><year>2022</year></date>
           <date date-type="accepted"><day>7</day><month>May</month><year>2022</year></date>
      </history>
      <permissions>
        <copyright-statement>Copyright: © 2022 Haoyu Wen et al.</copyright-statement>
        <copyright-year>2022</copyright-year>
      <license license-type="open-access"><license-p>This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this licence, visit <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link></license-p></license></permissions><self-uri xlink:href="https://nhess.copernicus.org/articles/nhess-22-1931-2022.html">This article is available from https://nhess.copernicus.org/articles/nhess-22-1931-2022.html</self-uri><self-uri xlink:href="https://nhess.copernicus.org/articles/nhess-22-1931-2022.pdf">The full text article is available as a PDF file from https://nhess.copernicus.org/articles/nhess-22-1931-2022.pdf</self-uri>
      <abstract><title>Abstract</title>

      <p id="d1e132">Geoelectric time series (TS) have long been studied for their
potential for probabilistic earthquake forecasting, and a recent model
(GEMSTIP) directly used the skewness and kurtosis of geoelectric TS to
provide times of increased probability (TIPs) for earthquakes for several
months in the future. We followed up on this work by applying the hidden Markov
model (HMM) to the correlation, variance, skewness, and kurtosis TSs to
identify two hidden states (HSs) with different distributions of these
statistical indexes. More importantly, we tested whether these HSs could
separate time periods into times of higher/lower earthquake probabilities.
Using 0.5 Hz geoelectric TS data from 20 stations across Taiwan over 7 years, we first computed the statistical index TSs and then applied the
Baum–Welch algorithm with multiple random initializations to obtain a
well-converged HMM and its HS TS for each station. We then divided the map
of Taiwan into a 16-by-16 grid map and quantified the forecasting skill,
i.e., how well the HS TS could separate times of higher/lower earthquake
probabilities in each cell in terms of a <italic>discrimination power</italic> measure that we defined. Next, we
compare the discrimination power of empirical HS TSs against those of 400 simulated HS TSs and then
organized the statistical significance values from this cellular-level
hypothesis testing of the forecasting skill obtained into grid maps of
<italic>discrimination reliability</italic>. Having found such significance values to be high for many grid cells for
all stations, we proceeded with a statistical hypothesis test of the
forecasting skill at the global level to find high statistical significance
across large parts of the hyperparameter spaces of most stations. We
therefore concluded that geoelectric TSs indeed contain earthquake-related
information and the HMM approach is capable of extracting this
information for earthquake forecasting.</p>
  </abstract>
    </article-meta>
  </front>
<body>
      

<sec id="Ch1.S1" sec-type="intro">
  <label>1</label><title>Introduction</title>
      <p id="d1e150">Earthquakes (EQs) are one of the most destructive natural hazards that can
befall us, with the potential to take many human lives and cause serious
damage to economies and environments. It is imperative for us to work
towards better forecasting/prediction capabilities against EQs, to inform
pre-EQ evacuation and post-EQ relief, as well as expediting critical
reinforcement works for selected buildings and infrastructures. To achieve
this goal, the scientific community has done much work discovering
precursors and models that are useful for the forecasting/prediction of EQs.</p>
      <p id="d1e153">First, let us clarify that in the seismological community, the terms
“prediction” and “forecast” are often used interchangeably
(Kagan, 1997; Ismail-Zadeh, 2013). When they are distinguished, the
term prediction emphasizes the issuing of an <italic>alarm</italic> with high accuracy and
reliability indicating the time, location, and magnitude of the next large
EQ  (Geller et al., 1997), whereas the term forecast is a statement
about the probability of EQs within the specified spatial–temporal window
(Ismail-Zadeh, 2013). Till this day, it is extremely<?pagebreak page1932?> difficult to
make accurate and specific EQ predictions (Geller et al., 1997).
However, the forecasting of EQs is a far more tractable task: a method that
performs better than random guesses (the null hypothesis) is recognized as
having <italic>predictive power </italic>or <italic>predictive skill</italic> (prediction and forecast used as synonyms here)  (Kagan,
1997). In this paper, we will also use the two terms interchangeably.</p>
      <p id="d1e165">If we categorize EQ forecasting methods according to their timescales, we
can organize them into three categories: long-term (decades ahead),
intermediate-term (a few years ahead), and short-term (days or a few months
ahead)  (Peresan et al., 2005; Kanamori, 2003). EQ forecasting at
different timescales serves different purposes. For a region of interest,
long-term EQ forecasting aims to estimate the probabilities of large EQs in
the next decades or more. In most past studies, the primary input data were from
the historical EQ catalog, which allowed statistical modeling of the
occurrence times of large- and medium-sized EQs  (Kagan and Jackson, 1994;
Sykes, 1996; Papazachos et al., 1987; Papadimitriou, 1993; Papazachos et
al., 1997), assuming that EQs' occurrences in the same spatial area follow a
Poisson process of a relatively constant rate. One such example is the
probabilistic seismic hazard assessment (PSHA) first established by Cornell
in 1968  (Cornell, 1968). This became a popular method for long-term
seismic hazard assessment implemented in many countries  (Tavakoli and
Ghafory-Ashtiany, 1999; Petersen, 1996; Meletti et al., 2008; Vilanova and
Fonseca, 2007; Nath and Thingbaijam, 2012; Wang et al., 2016). In this
method, we take into account both historical EQ catalog information and ground motion characteristics for the modeling of energy attenuation
over spatial distances, thus providing a map of seismic hazard rates that
varies across location for the next 50 years. Long-term EQ forecasting such
as PSHA can be valuable for location-specific seismic risk evaluation,
thereby providing guidelines or criteria for local construction projects.
For example, a building that is expected to last 100 years must be able to
withstand 10 large EQs of the magnitude that occurs once every 10 years
locally. What long-term EQ forecasting cannot do is tell people
how to do things differently at any time.</p>
      <p id="d1e168">For intermediate-term EQ forecasting, the aim is to detect deviations of EQ
rates from their long-term values to assess increased probabilities of EQs
within the next 1 to 10 years. For example, if a region usually has a
magnitude 6 EQ every 10 years and 15 years have passed without one, the
region would be in a state of increased probability. A famous example of
intermediate-term EQ forecasting is the M8 algorithm  (Kossobokov et
al., 2002; Peresan et al., 2005; Keilis-Borok, 1996), developed by  Healy
et al. (1992). The M8 algorithm used the EQ catalog as input and returned
as output the time of increased probability (TIP) for EQs of magnitude 7.5
and above for the next 1 year. Another example is the CN algorithm
(Peresan et al., 2005; Keilis-Borok, 1996) developed by Keilis-Borok
and Rotwain (1990), which also took the EQ catalog as input to produce as
output the TIP for strong EQs (defined specifically for different regions)
within the next half year to a few years. In the literature, we also found the
self-organizing spinodal (SOS) model  (Chen, 2003; Rundle et al., 2000),
which used the increased activity of medium-sized EQs as precursors to large
EQs that could occur within the next several years or decades. Finally, one
of the more successful methods at this timescale is pattern informatics
(Nanjo et al., 2006), which was demonstrated to be effective at
predicting <inline-formula><mml:math id="M1" display="inline"><mml:mrow><mml:mi>M</mml:mi><mml:mo>≥</mml:mo><mml:mn mathvariant="normal">5</mml:mn></mml:mrow></mml:math></inline-formula> EQs in Japan between 2000 and 2009. Intermediate-term EQ
forecasting can, for example, help local authorities prioritize inspections
and reinforcements of old buildings over the construction of new ones.</p>
      <p id="d1e184">Short-term EQ forecasting uses a variety of methods to forecast the time,
place, and magnitude of a specific large EQ. Here we commonly find methods
using the EQ catalog as input data and apply machine learning approaches
(Asim et al., 2017; Reyes et al., 2013), as well as hidden Markov model
(HMM) approaches   (Yip et al., 2018; Chambers et al., 2012). For
example, in  Chambers et al. (2012) an HMM was trained to track the
waiting time between EQs with magnitudes above 4 in southern California and
western Nevada   (Yip et al., 2018), giving EQ forecasts for up to 10 d in the future. Apart from using EQ catalog data, there are an increasing
variety of methods using other data inputs, such as the widely used seismic
electric signals (SESs)  (Uyeda et al., 2000; Varotsos et al., 2002, 2013,  2017; Varotsos and Lazaridou, 1991;
Varotsos et al., 1993), to look for EQ precursors in the form of abnormal
changes to the geoelectric potential. In addition to looking for specific
SES-type precursors, we also found papers using methods such as artificial
neural networks (ANNs) (Moustra et al., 2011), Fisher information
(Telesca et al., 2005a, 2009;), and multi-fractal
analysis  (Telesca et al., 2005b) directly on geoelectric time series
(TS) data to make short-term EQ forecasting. Other data that can be used
include the combination of geoelectric and magnetic data  (Kamiyama et
al., 2016; Sarlis, 2018), GPS crustal movements   (Kamiyama et al., 2016;
Wang and Bebbington, 2013), electromagnetics of the atmosphere (Hayakawa
and Hobara, 2010), and lithosphere dynamics (Shebalin et al., 2006).
Short-term EQ forecasting can guide emergency responses such as evacuations
and preemptive relief efforts, although it is usually not reliable
enough based on our current level of understanding.</p>
      <p id="d1e187">Among all these precursors, our recent research interest has been in the
potential use of geoelectric TSs for EQ forecasting  (Chen and Chen, 2016;
Chen et al., 2020; Jiang et al., 2020; Telesca et al., 2014; Chen et al.,
2017). In 2016 and 2017, Chen and his colleagues (Chen and Chen, 2016;
Chen et al., 2017) analyzed the data of 20 geoelectric stations in Taiwan
(Fig. 1) and studied the association between skewness and kurtosis of the
geoelectric data and <inline-formula><mml:math id="M2" display="inline"><mml:mrow><mml:msub><mml:mi>M</mml:mi><mml:mi mathvariant="normal">L</mml:mi></mml:msub><mml:mo>≥</mml:mo></mml:mrow></mml:math></inline-formula> 5 EQs, where <inline-formula><mml:math id="M3" display="inline"><mml:mrow><mml:msub><mml:mi>M</mml:mi><mml:mi mathvariant="normal">L</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the Richter
magnitude scale. Through statistical analyses, they found significant
correlations between geoelectric anomalies and these large EQs. They then
developed an EQ forecasting algorithm named GEMSTIP to<?pagebreak page1933?> extract TIPs for
future EQs. TIPs were identified through differences in the distributions of
skewness and kurtosis from those found during normal periods. Moreover,
Jiang et al. (2020) investigated the geoelectric signals before, during,
and after EQs by the shifting correlation method and found that the lateral
and vertical electrical resistivity variation and subsurface conductors
might amplify SESs, which agreed with the findings by Sarlis et
al. (1999) and Huang and Lin (2010).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F1"><?xmltex \currentcnt{1}?><?xmltex \def\figurename{Figure}?><label>Figure 1</label><caption><p id="d1e216">Map of the spatial distributions of seismicity and geoelectric
stations (green triangles) in Taiwan. In this figure, past EQs with
<inline-formula><mml:math id="M4" display="inline"><mml:mrow><mml:msub><mml:mi>M</mml:mi><mml:mi>L</mml:mi></mml:msub><mml:mo>≥</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:math></inline-formula> are shown as light blue dots and
past EQs with <inline-formula><mml:math id="M5" display="inline"><mml:mrow><mml:msub><mml:mi>M</mml:mi><mml:mi>L</mml:mi></mml:msub><mml:mo>≥</mml:mo><mml:mn mathvariant="normal">6</mml:mn></mml:mrow></mml:math></inline-formula> are shown as red
stars.</p></caption>
        <?xmltex \igopts{width=199.169291pt}?><graphic xlink:href="https://nhess.copernicus.org/articles/22/1931/2022/nhess-22-1931-2022-f01.png"/>

      </fig>

      <p id="d1e255">Inspired by these findings, in this paper we wanted to take a closer look at
the relationship between the EQ times and statistical indexes of geoelectric
TSs, namely correlation (<inline-formula><mml:math id="M6" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula>), variance (<inline-formula><mml:math id="M7" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula>), skewness (<inline-formula><mml:math id="M8" display="inline"><mml:mi>S</mml:mi></mml:math></inline-formula>), and kurtosis
(<inline-formula><mml:math id="M9" display="inline"><mml:mi>K</mml:mi></mml:math></inline-formula>). During initial explorations, we computed the TSs of these indexes
(see Sect. 2.2 for computation details) on geoelectric TSs given by the 20
stations over the 7-year period of January 2012–December 2018 (see Sect. 2.1 for
data details). We then aggregated the distribution of the indexes' values
within different time-to-failure (TTF, i.e., time remaining to the next
EQ) intervals. In Fig. 2, we show the normalized frequency distributions of
<inline-formula><mml:math id="M10" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M11" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M12" display="inline"><mml:mi>S</mml:mi></mml:math></inline-formula>, and <inline-formula><mml:math id="M13" display="inline"><mml:mi>K</mml:mi></mml:math></inline-formula> computed from the KAOH station at different TTFs (using
0.9 d intervals) for <inline-formula><mml:math id="M14" display="inline"><mml:mrow><mml:msub><mml:mi>M</mml:mi><mml:mi mathvariant="normal">L</mml:mi></mml:msub><mml:mo>≥</mml:mo><mml:mn mathvariant="normal">4</mml:mn></mml:mrow></mml:math></inline-formula> EQs within 2<inline-formula><mml:math id="M15" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> longitude and latitude
of the KAOH station. In this figure, we see bands of darker-colored pixels
across the TTFs. Specifically, for <inline-formula><mml:math id="M16" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M17" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula>, and <inline-formula><mml:math id="M18" display="inline"><mml:mi>S</mml:mi></mml:math></inline-formula>, there are sudden
shifts in the average position of the bands, suggesting that there are two
regimes (short TTFs and long TTFs) where the geoelectric fields show
qualitatively different behaviors. For all statistical indexes, we find the
darkest pixels concentrated in the long-TTF regime, whereas in the short-TTF
regime, the pixels show a lower variability in their intensities. We suspect
that this second phenomenon is the result of fewer samples at longer TTFs.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F2" specific-use="star"><?xmltex \currentcnt{2}?><?xmltex \def\figurename{Figure}?><label>Figure 2</label><caption><p id="d1e363">Heatmaps of normalized probability density functions of
<inline-formula><mml:math id="M19" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula>,   <inline-formula><mml:math id="M20" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula>,  <inline-formula><mml:math id="M21" display="inline"><mml:mi>S</mml:mi></mml:math></inline-formula>, and <inline-formula><mml:math id="M22" display="inline"><mml:mi>K</mml:mi></mml:math></inline-formula> at different
times to failure (TTFs), for the east–west component of the geoelectric TS.
The TTFs are computed using <inline-formula><mml:math id="M23" display="inline"><mml:mrow><mml:msub><mml:mi>M</mml:mi><mml:mi>L</mml:mi></mml:msub><mml:mo>≥</mml:mo><mml:mn mathvariant="normal">4</mml:mn></mml:mrow></mml:math></inline-formula> EQs
within 2<inline-formula><mml:math id="M24" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> longitude and latitude of the KAOH station.</p></caption>
        <?xmltex \igopts{width=497.923228pt}?><graphic xlink:href="https://nhess.copernicus.org/articles/22/1931/2022/nhess-22-1931-2022-f02.png"/>

      </fig>

      <p id="d1e426">To overcome this problem, which is created by superimposing the index TSs of
different lengths between EQs, we decided to discover such regimes directly
from the geoelectric TSs by using HMMs. The HMM is well known for being
data-driven, enabling us to search for and use more general statistical features
beyond limited templates that we currently know  (Beyreuther and
Wassermann, 2008). Additionally, its explicit incorporation of the time
dimension into the model is a distinct advantage for providing holistic and
time-sensitive representations, especially in the application of EQ
forecasting (Beyreuther and Wassermann, 2008). In our HMM, we defined two
hidden states (HSs) as the high-level representations of geoelectricity,
featuring unique distributions of <inline-formula><mml:math id="M25" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M26" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M27" display="inline"><mml:mi>S</mml:mi></mml:math></inline-formula>, and <inline-formula><mml:math id="M28" display="inline"><mml:mi>K</mml:mi></mml:math></inline-formula>. Here we chose to use
only two, instead of more, HSs because
two-state HMMs have already been
successfully applied to model regimes with different EQ frequencies using EQ
catalogs as the only inputs  (Yip et al., 2018; Chambers et al., 2012).
Thereafter, for each monitoring station, we obtained the TS of posterior HS
probability, or HS TS, using the TSs of <inline-formula><mml:math id="M29" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M30" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M31" display="inline"><mml:mi>S</mml:mi></mml:math></inline-formula>, and <inline-formula><mml:math id="M32" display="inline"><mml:mi>K</mml:mi></mml:math></inline-formula> and the
Baum–Welch algorithm (BWA). We then partitioned the time periods under study
according to the HS TSs and investigated whether these HS TSs that are
obtained purely from geoelectric data can separate time periods of high
versus low EQ (<inline-formula><mml:math id="M33" display="inline"><mml:mrow><mml:msub><mml:mi>M</mml:mi><mml:mi mathvariant="normal">L</mml:mi></mml:msub><mml:mo>≥</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:math></inline-formula>) probabilities, with high statistical
confidence.</p>
      <p id="d1e501">The goal of this investigation is to decide whether the hidden Markov modeling of
geoelectric TSs could provide features (i.e., HS TSs) of true forecasting
skill for intermediate-term EQ forecasting. Therefore, we are more concerned
with statistical significance than with evaluating the exact forecasting
accuracy or with the forecasting of specific EQs. In this regard, we also note
that the same HMM approach described in this paper can be applied to many
other geophysical high-frequency time series data, such as geomagnetic or
GPS ground movement data, even though we only used geoelectric data as the
input of the HMM, to show that the underlying seismic dynamics is indeed
clearly separable into distinct regimes of higher versus lower seismic
activities (as supported by   Yip et al., 2018; Chambers et al., 2012).</p>
      <p id="d1e504">For the sake of our readers, we organize our “Data and methods” in Sect. 2,
“Results and discussions” in Sect. 3, and Conclusions in Sect. 4. In Sect. 2,
we provide information on the EQ catalog; the geoelectric TSs; and how we
pre-processed the latter and subsequently computed the index TSs of <inline-formula><mml:math id="M34" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula>,
<inline-formula><mml:math id="M35" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M36" display="inline"><mml:mi>S</mml:mi></mml:math></inline-formula>, and <inline-formula><mml:math id="M37" display="inline"><mml:mi>K</mml:mi></mml:math></inline-formula> from them. We then explain how an HMM and the Baum–Welch algorithm works, before applying them to our problem. We also explain why we
did not estimate individual HMMs from the index TSs of <inline-formula><mml:math id="M38" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M39" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M40" display="inline"><mml:mi>S</mml:mi></mml:math></inline-formula>, and <inline-formula><mml:math id="M41" display="inline"><mml:mi>K</mml:mi></mml:math></inline-formula>
but one HMM for each station from an observation TS aggregating <inline-formula><mml:math id="M42" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M43" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula>,
<inline-formula><mml:math id="M44" display="inline"><mml:mi>S</mml:mi></mml:math></inline-formula>, and <inline-formula><mml:math id="M45" display="inline"><mml:mi>K</mml:mi></mml:math></inline-formula> through <inline-formula><mml:math id="M46" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula>-means clustering. At the end of this section, we present
our procedures for<?pagebreak page1934?> quantifying how informative the HSs are against EQ
activities, by defining and analyzing EQ grid maps, EQ frequencies, and EQ
frequency ratios (<inline-formula><mml:math id="M47" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">F</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>). In Sect. 3, we first used the <inline-formula><mml:math id="M48" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">F</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> grid map
of 1 of the 20 stations to illustrate how we can compare a discrimination
power (<inline-formula><mml:math id="M49" display="inline"><mml:mi>D</mml:mi></mml:math></inline-formula>) grid map against 400 simulated grid maps of <inline-formula><mml:math id="M50" display="inline"><mml:mi>D</mml:mi></mml:math></inline-formula> to obtain the
discrimination reliability (<inline-formula><mml:math id="M51" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) grid map, which comprises cellular-level
statistical significances that the HSs are useful for EQ forecasting. We
then performed significance tests to verify that the HSs' forecasting power
is also significant at the global level, using a metric of the global
confidence level (GCL) that we defined. To end Sect. 3, we explored how
robust the GCL values are across the hyperparameter space and clarified
how we chose the optimal hyperparameters for each station. Finally, we
conclude in Sect. 4.</p>
</sec>
<sec id="Ch1.S2">
  <label>2</label><title>Data and methods</title>
<sec id="Ch1.S2.SS1">
  <label>2.1</label><title>Data description</title>
      <p id="d1e663">The 1 Hz geoelectric TSs data used in this paper were provided by the 20
monitoring stations located across Taiwan (see Fig. 1), which are
collectively named the Geoelectric Monitoring System (GEMS). The spacing between
stations is generally 50 km. The geoelectric data here are the
self-potential data, which are the natural electric potential differences in
the earth, measured by dipoles placed 1–4 km apart within each station.
Each station can output two sets of high-frequency geoelectric TSs,
measuring separately the NS direction and the EW direction. Depending on the
spatial constraints of some stations, the azimuths of the dipoles might
deviate from the exact NS or EW directions by 10–40<inline-formula><mml:math id="M52" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>. For the
purpose of this study, we used the geoelectric TSs provided by GEMS with
the same time span as the EQ catalog data, which is from January 2012 to
December 2018. We downsampled the data to 0.5 Hz and used these in
subsequent analyses.</p>
      <p id="d1e675">The HMMs that we will show in Sect. 3 partitioned the 20 geoelectric TSs
into two HSs, distinguished by the local statistics of their geoelectric
fields. We believe these HSs can also exhibit different seismicity within
their time durations. To check this, we used EQ catalog data compiled by the
Central Weather Bureau (CWB), in charge of monitoring EQs in the region of
Taiwan  (Shin et al., 2013). The CWB seismic network is highly dense and
provides an abundant set of waveform data. Due to the considerable EQs recorded,
the seismotectonics of Taiwan is well depicted, showing the complicated
subduction between the Philippine<?pagebreak page1935?> Sea and Eurasian plates
(Kuo-Chen et al., 2012; Yi-Ben, 1986). Despite
the dense seismic network, the EQ catalog was shown to be incomplete at
small magnitudes due to the detection threshold of seismic instruments and
the coverage of networks  (Fischer and Bachura, 2014; Nanjo et al., 2010;
Rydelek and Sacks, 1989). In Taiwan, the completeness magnitude (<inline-formula><mml:math id="M53" display="inline"><mml:mrow><mml:msub><mml:mi>M</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, defined as
the lowest magnitude above which all EQs are reliably detected, is
approximately between 2 and 3  (Chen et al., 2012; Mignan et al., 2011).
Chen et al. (2012) showed the temporal variation in <inline-formula><mml:math id="M54" display="inline"><mml:mrow><mml:msub><mml:mi>M</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, while
Mignan et al. (2011) provided the spatial information of that. In this
study, for a conservative estimate, we took the completeness magnitude of
3 and analyzed EQs with <inline-formula><mml:math id="M55" display="inline"><mml:mrow><mml:msub><mml:mi>M</mml:mi><mml:mi mathvariant="normal">L</mml:mi></mml:msub><mml:mo>≥</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:math></inline-formula>, during the period from January 2012 to
December 2018 in the area of 119.5–122.5<inline-formula><mml:math id="M56" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> E and
21.5–25.5<inline-formula><mml:math id="M57" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> N, as shown in Fig. 1, in which the locations of
strong events with <inline-formula><mml:math id="M58" display="inline"><mml:mrow><mml:msub><mml:mi>M</mml:mi><mml:mi mathvariant="normal">L</mml:mi></mml:msub><mml:mo>≥</mml:mo><mml:mn mathvariant="normal">6</mml:mn></mml:mrow></mml:math></inline-formula> are marked. Some of these events were
destructive. For instance, at 03:57 on 6 February 2016 (UTC<inline-formula><mml:math id="M59" display="inline"><mml:mo>+</mml:mo></mml:math></inline-formula>8), an
<inline-formula><mml:math id="M60" display="inline"><mml:mrow><mml:msub><mml:mi>M</mml:mi><mml:mi mathvariant="normal">L</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> 6.6 EQ occurred in the southern part of Taiwan (22.92<inline-formula><mml:math id="M61" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> N, 120.54<inline-formula><mml:math id="M62" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> E). This event struck at a depth of around 14.6 km
(Chen
et al., 2017; Lee et al., 2016; Pan et al., 2019). Such a comparatively
shallow depth caused more intensities on the surface and resulted in
widespread damage which included 117 deaths and over 500 wounded.</p>
      <p id="d1e787">In the latest update of the GEMSTIP model,  Chen et al. (2021) found
that by applying a specific bandpass filter to the geoelectric TS, the model
became better at anticipating EQs using the skewness and kurtosis TSs. The
filter they used is the third-order Butterworth bandpass filter with lower and
higher cutoff frequencies of <inline-formula><mml:math id="M63" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">4.0</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>  and
<inline-formula><mml:math id="M64" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1.75</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> Hz respectively. These lower and upper cutoff
frequencies were determined by
Chen et al. (2021) to give the optimal signal-to-noise ratio.</p>
      <p id="d1e832">Similarly to the GEMSTIP model, our hidden Markov modeling also searched for EQ-related
information in skewness and kurtosis TSs computed from the geoelectric TS;
we conveniently utilized the insight from  Chen et al. (2021) and
applied the same Butterworth filter to our geoelectric TS data before
computing the index TSs. This filter was applied using the scipy.signal (v1.4.1) package in Python (v3.6.5), with
instructions from the SciPy Cookbook (2012), which also demonstrated a
clear working example of the Butterworth bandpass filter that readers can
refer to.</p>
</sec>
<sec id="Ch1.S2.SS2">
  <label>2.2</label><?xmltex \opttitle{Computation of index TSs of $C$, $V$, ${S}$, and ${K}$}?><title>Computation of index TSs of <inline-formula><mml:math id="M65" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M66" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M67" display="inline"><mml:mi>S</mml:mi></mml:math></inline-formula>, and <inline-formula><mml:math id="M68" display="inline"><mml:mi>K</mml:mi></mml:math></inline-formula></title>
      <p id="d1e871">For each station, there are two geoelectric TSs (NS and EW) of frequency
0.5 Hz. Each geoelectric TS will produce four statistical index TSs (<inline-formula><mml:math id="M69" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M70" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula>,
<inline-formula><mml:math id="M71" display="inline"><mml:mi>S</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M72" display="inline"><mml:mi>K</mml:mi></mml:math></inline-formula>). For each station, we therefore obtained up to eight index TSs, four for
each direction (NS and EW). Starting from the 0.5 Hz geoelectric TS, we
computed one index point for every non-overlapping time window of length
<inline-formula><mml:math id="M73" display="inline"><mml:mrow><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> geoelectric TS data points. Later in Sect. 3.5, we will discuss in
detail how we chose the optimal <inline-formula><mml:math id="M74" display="inline"><mml:mrow><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> individually for each station in the
parameter space that we tested: {0.02, 0.03, 0.04, 0.05, 0.1,
0.2, 0.25} (d). As can be noticed from Fig. 12, 11 out of 20 stations'
optimal choice was <inline-formula><mml:math id="M75" display="inline"><mml:mrow><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.02</mml:mn></mml:mrow></mml:math></inline-formula> or <inline-formula><mml:math id="M76" display="inline"><mml:mrow><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.03</mml:mn></mml:mrow></mml:math></inline-formula> d, which we suppose
can be a good compromise between timely monitoring of state shifts and
updating at a comfortable frequency for the human decision makers. Potential
decisions that such an update frequency may enable include the forward
deployment of relief materials such as backup generators, portable water
treatment units, tents, medical supplies, and refresher training of emergency
response teams, as well as administrative prioritizing of re-certification
works for buildings and structures in regions where more EQs are expected
soon.</p>
      <p id="d1e955">Next, we present the definitions for each index. Within each time window,
let us write the geoelectric field as <inline-formula><mml:math id="M77" display="inline"><mml:mrow><mml:msub><mml:mfenced open="{" close="}"><mml:mrow><mml:msub><mml:mi>X</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mrow><mml:mi>n</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. The correlation <inline-formula><mml:math id="M78" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula> that we used in
this paper is the lag-1 Pearson autocorrelation of <inline-formula><mml:math id="M79" display="inline"><mml:mrow><mml:msub><mml:mfenced open="{" close="}"><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>X</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mrow><mml:mi>n</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, which is the
<italic>difference sequence</italic> of <inline-formula><mml:math id="M80" display="inline"><mml:mrow><mml:msub><mml:mfenced close="}" open="{"><mml:mrow><mml:msub><mml:mi>X</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mrow><mml:mi>n</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. Mathematically,
            <disp-formula id="Ch1.E1" content-type="numbered"><label>1</label><mml:math id="M81" display="block"><mml:mrow><?xmltex \hack{\hbox\bgroup\fontsize{9.5}{9.5}\selectfont$\displaystyle}?><mml:mi>C</mml:mi><mml:mfenced open="(" close=")"><mml:mfenced close="}" open="{"><mml:mrow><mml:msub><mml:mi>X</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mfenced><mml:mo>=</mml:mo><mml:mi>A</mml:mi><mml:mi>C</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mfenced open="(" close=")"><mml:mfenced close="}" open="{"><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mfenced><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi mathvariant="double-struck">E</mml:mi><mml:mfenced open="[" close="]"><mml:mrow><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi>D</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi>D</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced></mml:mrow><mml:mrow><mml:msubsup><mml:mi mathvariant="italic">σ</mml:mi><mml:mi mathvariant="normal">D</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msubsup></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><?xmltex \hack{$\egroup}?></mml:mrow></mml:math></disp-formula>
          where <inline-formula><mml:math id="M82" display="inline"><mml:mi>E</mml:mi></mml:math></inline-formula> is the expectation, <inline-formula><mml:math id="M83" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi>D</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the mean of <inline-formula><mml:math id="M84" display="inline"><mml:mrow><mml:msub><mml:mfenced open="{" close="}"><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mrow><mml:mi>n</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, and <inline-formula><mml:math id="M85" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">σ</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the standard
deviation of <inline-formula><mml:math id="M86" display="inline"><mml:mrow><mml:msub><mml:mfenced close="}" open="{"><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mrow><mml:mi>n</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. The
range of <inline-formula><mml:math id="M87" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula> is [<inline-formula><mml:math id="M88" display="inline"><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>], and <inline-formula><mml:math id="M89" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula> measures how fast the TS relaxes back
to the equilibrium. If <inline-formula><mml:math id="M90" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula> is close to <inline-formula><mml:math id="M91" display="inline"><mml:mn mathvariant="normal">1</mml:mn></mml:math></inline-formula>, <inline-formula><mml:math id="M92" display="inline"><mml:mi>X</mml:mi></mml:math></inline-formula> tends to increase or
decrease persistently; if <inline-formula><mml:math id="M93" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula> is around 0, <inline-formula><mml:math id="M94" display="inline"><mml:mi>X</mml:mi></mml:math></inline-formula> is equivalent to
random walks; and if <inline-formula><mml:math id="M95" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula> is close to <inline-formula><mml:math id="M96" display="inline"><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>, every increase in <inline-formula><mml:math id="M97" display="inline"><mml:mi>X</mml:mi></mml:math></inline-formula> would tend
to be followed by a similar decrease.</p>
      <p id="d1e1364">The variance <inline-formula><mml:math id="M98" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> of <inline-formula><mml:math id="M99" display="inline"><mml:mrow><mml:msub><mml:mfenced open="{" close="}"><mml:mrow><mml:msub><mml:mi>X</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mrow><mml:mi>n</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is
the sequence's second standard central moment. It is a positive number that
measures how drastically the values in the sequence are different from each
other, with higher values indicating higher difference. It is defined as
            <disp-formula id="Ch1.E2" content-type="numbered"><label>2</label><mml:math id="M100" display="block"><mml:mrow><mml:mi>V</mml:mi><mml:mfenced close=")" open="("><mml:mfenced close="}" open="{"><mml:mrow><mml:msub><mml:mi>X</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mfenced><mml:mo>=</mml:mo><mml:mi mathvariant="double-struck">E</mml:mi><mml:mfenced close="]" open="["><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>X</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi>X</mml:mi></mml:msub><mml:msup><mml:mo>)</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          where <inline-formula><mml:math id="M101" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi>X</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the mean of <inline-formula><mml:math id="M102" display="inline"><mml:mrow><mml:msub><mml:mfenced close="}" open="{"><mml:mrow><mml:msub><mml:mi>X</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mrow><mml:mi>n</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. Additionally, we observed astronomically extreme values in the <inline-formula><mml:math id="M103" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula>
TSs for most stations, which were caused by unknown technical errors, and we
therefore considered them outliers that have to be removed for consistent
data quality. We discuss how we removed them in detail in  Supplement Sect. S1. From here onwards, the <inline-formula><mml:math id="M104" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> TSs will always refer to
those after the outlier-removal process.</p>
      <p id="d1e1508">The skewness <inline-formula><mml:math id="M105" display="inline"><mml:mi>S</mml:mi></mml:math></inline-formula> of <inline-formula><mml:math id="M106" display="inline"><mml:mrow><mml:msub><mml:mfenced open="{" close="}"><mml:mrow><mml:msub><mml:mi>X</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mrow><mml:mi>n</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, or
the sequence's third standard central moment, is defined as
            <disp-formula id="Ch1.E3" content-type="numbered"><label>3</label><mml:math id="M107" display="block"><mml:mrow><mml:mi>S</mml:mi><mml:mfenced open="(" close=")"><mml:mfenced open="{" close="}"><mml:mrow><mml:msub><mml:mi>X</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mfenced><mml:mo>=</mml:mo><mml:mi mathvariant="double-struck">E</mml:mi><mml:mfenced close="]" open="["><mml:mrow><mml:msup><mml:mfenced open="(" close=")"><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>X</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi>X</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi mathvariant="italic">σ</mml:mi><mml:mi>X</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          where <inline-formula><mml:math id="M108" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">σ</mml:mi><mml:mi>X</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the standard deviation of <inline-formula><mml:math id="M109" display="inline"><mml:mrow><mml:msub><mml:mfenced close="}" open="{"><mml:mrow><mml:msub><mml:mi>X</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mrow><mml:mi>n</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. It is a real number measuring how
asymmetric the distribution of <inline-formula><mml:math id="M110" display="inline"><mml:mrow><mml:msub><mml:mfenced close="}" open="{"><mml:mrow><mml:msub><mml:mi>X</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mrow><mml:mi>n</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is about the mean. For a perfectly symmetric distribution such as
the normal distribution, the skewness is<?pagebreak page1936?> 0. A positive skewness means the
distribution has a longer tail to the right, and a negative skewness means
the distribution has a longer tail to the left.</p>
      <p id="d1e1675">The kurtosis <inline-formula><mml:math id="M111" display="inline"><mml:mi>K</mml:mi></mml:math></inline-formula> of <inline-formula><mml:math id="M112" display="inline"><mml:mrow><mml:msub><mml:mfenced open="{" close="}"><mml:mrow><mml:msub><mml:mi>X</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mrow><mml:mi>n</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, or
the sequence's fourth standard central moment, is defined as
            <disp-formula id="Ch1.E4" content-type="numbered"><label>4</label><mml:math id="M113" display="block"><mml:mrow><mml:mi>K</mml:mi><mml:mfenced close=")" open="("><mml:mfenced close="}" open="{"><mml:mrow><mml:msub><mml:mi>X</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mfenced><mml:mo>=</mml:mo><mml:mi mathvariant="double-struck">E</mml:mi><mml:mfenced open="[" close="]"><mml:mrow><mml:msup><mml:mfenced close=")" open="("><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>X</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi>X</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi mathvariant="italic">σ</mml:mi><mml:mi>X</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mn mathvariant="normal">4</mml:mn></mml:msup></mml:mrow></mml:mfenced><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
          It is a real number measuring how frequently extreme values (values very far
from the mean) appear in the distribution. The higher the number, the more
frequently extreme values can be found. As a reference, the kurtosis of the
normal distribution is <inline-formula><mml:math id="M114" display="inline"><mml:mrow><mml:mi>K</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:math></inline-formula>. If <inline-formula><mml:math id="M115" display="inline"><mml:mrow><mml:mi>K</mml:mi><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:math></inline-formula>, we say that the distribution is
<italic>leptokurtic</italic>, meaning the distribution has fatter tails and more frequent extreme values
compared to the normal distribution. If <inline-formula><mml:math id="M116" display="inline"><mml:mrow><mml:mi>K</mml:mi><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:math></inline-formula>, the distribution is said to
be <italic>platykurtic</italic>, meaning the distribution has thinner tails and extreme values appear
less frequently compared to the normal distribution.</p>
</sec>
<sec id="Ch1.S2.SS3">
  <label>2.3</label><title>Estimation of the HMM using the Baum–Welch algorithm</title>
      <p id="d1e1817">A Markov model is a stochastic model that can be used to describe a system
whose future state <inline-formula><mml:math id="M117" display="inline"><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is drawn from a set of <inline-formula><mml:math id="M118" display="inline"><mml:mi>L</mml:mi></mml:math></inline-formula> states <inline-formula><mml:math id="M119" display="inline"><mml:mrow><mml:msub><mml:mfenced close="}" open="{"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mi>l</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mrow><mml:mi>l</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:mi>L</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> with probabilities <inline-formula><mml:math id="M120" display="inline"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>←</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>P</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mi mathvariant="normal">|</mml:mi><mml:msub><mml:mi>s</mml:mi><mml:mi>t</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula>
conditioned by its current state <inline-formula><mml:math id="M121" display="inline"><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mi>t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. The probabilities <inline-formula><mml:math id="M122" display="inline"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>←</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> can be organized into a transition matrix <inline-formula><mml:math id="M123" display="inline"><mml:mi mathvariant="bold">A</mml:mi></mml:math></inline-formula>, where
<inline-formula><mml:math id="M124" display="inline"><mml:mrow><mml:mi mathvariant="bold">A</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>←</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. The HMM is an extension of
the Markov model, with the additional property that the system state <inline-formula><mml:math id="M125" display="inline"><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mi>t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>
is not explicitly known, hence the word “hidden” in the name. Instead,
what can be observed from an HMM at any time <inline-formula><mml:math id="M126" display="inline"><mml:mi>t</mml:mi></mml:math></inline-formula> is an observable <inline-formula><mml:math id="M127" display="inline"><mml:mrow><mml:msub><mml:mi>o</mml:mi><mml:mi>t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>
drawn from a size-<inline-formula><mml:math id="M128" display="inline"><mml:mi>Q</mml:mi></mml:math></inline-formula> observable set <inline-formula><mml:math id="M129" display="inline"><mml:mrow><mml:msub><mml:mfenced close="}" open="{"><mml:mrow><mml:msub><mml:mi>O</mml:mi><mml:mi>q</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mrow><mml:mi>q</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:mi>Q</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. Just as in a Markov model, the future
state <inline-formula><mml:math id="M130" display="inline"><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> of an HMM is drawn from the set <inline-formula><mml:math id="M131" display="inline"><mml:mrow><mml:msub><mml:mfenced open="{" close="}"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mi>l</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mrow><mml:mi>l</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:mi>L</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> with probabilities <inline-formula><mml:math id="M132" display="inline"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>←</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>
(similarly conditioned by the current state <inline-formula><mml:math id="M133" display="inline"><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mi>t</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> taken from the
transition matrix <inline-formula><mml:math id="M134" display="inline"><mml:mi mathvariant="bold">A</mml:mi></mml:math></inline-formula>. At time <inline-formula><mml:math id="M135" display="inline"><mml:mi>t</mml:mi></mml:math></inline-formula>, the observable <inline-formula><mml:math id="M136" display="inline"><mml:mrow><mml:msub><mml:mi>o</mml:mi><mml:mi>t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is
emitted with a probability <inline-formula><mml:math id="M137" display="inline"><mml:mrow><mml:mi>P</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi>o</mml:mi><mml:mi>t</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>O</mml:mi><mml:mi>q</mml:mi></mml:msub><mml:mi mathvariant="normal">|</mml:mi><mml:msub><mml:mi>s</mml:mi><mml:mi>t</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi>l</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> that depends on
which HS <inline-formula><mml:math id="M138" display="inline"><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mi>t</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi>l</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> the system is in. These probabilities can be
organized into an <inline-formula><mml:math id="M139" display="inline"><mml:mrow><mml:mi>L</mml:mi><mml:mo>×</mml:mo><mml:mi>Q</mml:mi></mml:mrow></mml:math></inline-formula> emission matrix <inline-formula><mml:math id="M140" display="inline"><mml:mi mathvariant="bold">B</mml:mi></mml:math></inline-formula>, where
<inline-formula><mml:math id="M141" display="inline"><mml:mrow><mml:mi mathvariant="bold">B</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:mi>l</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:mi>P</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi>o</mml:mi><mml:mi>t</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>O</mml:mi><mml:mi>q</mml:mi></mml:msub><mml:mi mathvariant="normal">|</mml:mi><mml:msub><mml:mi>s</mml:mi><mml:mi>t</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi>l</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>.
Additionally, we call the HS probability distributions at the initial time <inline-formula><mml:math id="M142" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">π</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mfenced close="]" open="["><mml:mrow><mml:mi>P</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:mfenced><mml:mo>,</mml:mo><mml:mi>P</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:mfenced><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:mi>P</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mi>L</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mspace width="0.125em" linebreak="nobreak"/></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula>. With this, we have
fully specified the HMM: the sets of HSs <inline-formula><mml:math id="M143" display="inline"><mml:mrow><mml:msub><mml:mfenced open="{" close="}"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mi>l</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mrow><mml:mi>l</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:mi>L</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and observations <inline-formula><mml:math id="M144" display="inline"><mml:mrow><mml:msub><mml:mfenced close="}" open="{"><mml:mrow><mml:msub><mml:mi>O</mml:mi><mml:mi>q</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mrow><mml:mi>q</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:mi>Q</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> as well as the model parameters that are
collectively called <inline-formula><mml:math id="M145" display="inline"><mml:mrow><mml:mi mathvariant="italic">λ</mml:mi><mml:mo>=</mml:mo><mml:mfenced close=")" open="("><mml:mrow><mml:mi mathvariant="bold">A</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="bold">B</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">π</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula>.</p>
      <p id="d1e2415">In common real-world applications of the HMM, the question is to estimate the
probability distributions of the HS TS given the observation TS and the
model parameter, namely <inline-formula><mml:math id="M146" display="inline"><mml:mrow><mml:mi>P</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>t</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi>l</mml:mi></mml:msub><mml:mi mathvariant="normal">|</mml:mi><mml:msub><mml:mfenced close="}" open="{"><mml:mrow><mml:msub><mml:mi>o</mml:mi><mml:mi>t</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:mi>T</mml:mi></mml:mrow></mml:msub><mml:mi mathvariant="italic">λ</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>. More often than not, the model
parameter <inline-formula><mml:math id="M147" display="inline"><mml:mi mathvariant="italic">λ</mml:mi></mml:math></inline-formula> is unknown and has to be simultaneously estimated as
well. One of the most common ways to do this is the Baum–Welch algorithm
(BWA)  (Zhang et al., 2014; Oudelha and Ainon, 2010; Yang et al., 1995;
Bilmes, 1998), which belongs to the family of expectation maximization
methods  (Bilmes, 1998). Starting from randomly initialized model
parameters <inline-formula><mml:math id="M148" display="inline"><mml:mi mathvariant="italic">λ</mml:mi></mml:math></inline-formula>, the algorithm runs recursively to maximize the
likelihood of the model given the observation TS. When the algorithm
converges, we will obtain a set of estimated model parameters
<inline-formula><mml:math id="M149" display="inline"><mml:mrow><mml:mover accent="true"><mml:mi mathvariant="italic">λ</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mo>=</mml:mo><mml:mfenced open="(" close=")"><mml:mrow><mml:mover accent="true"><mml:mi mathvariant="bold">A</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mover accent="true"><mml:mi mathvariant="bold">B</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:msub><mml:mover accent="true"><mml:mi mathvariant="bold-italic">π</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula>, as well as a posterior probability <inline-formula><mml:math id="M150" display="inline"><mml:mrow><mml:mi>P</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>t</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi>l</mml:mi></mml:msub><mml:mi mathvariant="normal">|</mml:mi><mml:msub><mml:mfenced close="}" open="{"><mml:mrow><mml:msub><mml:mi>o</mml:mi><mml:mi>t</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:mi>T</mml:mi></mml:mrow></mml:msub><mml:mover accent="true"><mml:mi mathvariant="italic">λ</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> TS. We include more
details on the BWA in Sect. 2.5. Additionally, for readers who want an
intuitive demonstration of how the HMM and BWA work, we have included a simulation
of a simple HMM and its BWA application in Sect. S2.</p>
      <p id="d1e2574">HMMs are traditionally applied in fields such as speech recognition
(Palaz et al., 2019; Novoa et al., 2018; Chavan and Sable, 2013;
Abdel-Hamid and Jiang, 2013), bioinformatics, and anomaly detection  (Qiao
et al., 2002; Joshi and Phoha, 2005; Cho and Park, 2003). It has also been
used for short-term EQ forecasting, using observations from EQ catalogs
(Yip et al., 2018; Chambers et al., 2012; Ebel et al., 2007), as well as
GPS measurements of ground deformations  (Wang and Bebbington, 2013). To
the best of our knowledge, there is no past HMM study on geoelectric TSs for
EQ forecasting. In this paper, we argue that the HMM is an objective tool
because the HSs were estimated only from the geoelectric TSs and thereafter
validated against the EQ catalog. We believe this statistical procedure
limits the bias that we could introduce into our prediction model when we
optimized the model. This will be even clearer by the end of Sect. 2.5 where
we summarize the entire procedure.</p>
</sec>
<sec id="Ch1.S2.SS4">
  <label>2.4</label><title>Hidden Markov modeling and inputs to the BWA</title>
      <p id="d1e2585">In the context of this study, we assume for simplicity two seismicity states
of the earth crust beneath each station. These are our HSs <inline-formula><mml:math id="M151" display="inline"><mml:mrow><mml:mfenced open="{" close="}"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula> since they cannot be directly observed. What we can observe
directly are the geoelectric TSs for each station. Our goal is to
reconstruct the HS TSs so that the distributions of indexes (<inline-formula><mml:math id="M152" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M153" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M154" display="inline"><mml:mi>S</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M155" display="inline"><mml:mi>K</mml:mi></mml:math></inline-formula>)
of the geoelectric TSs in <inline-formula><mml:math id="M156" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M157" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> are as different as possible.
To do this, we computed four index TSs each for NS and EW geoelectric fields
using the procedure described in Sect. 2.2 and organized them into a TS of
8-dimensional feature vectors <inline-formula><mml:math id="M158" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">F</mml:mi><mml:mi>t</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi mathvariant="normal">NS</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>V</mml:mi><mml:mrow><mml:mi mathvariant="normal">NS</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi mathvariant="normal">NS</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mi mathvariant="normal">NS</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi mathvariant="normal">EW</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>V</mml:mi><mml:mrow><mml:mi mathvariant="normal">EW</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi mathvariant="normal">EW</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mi mathvariant="normal">EW</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula>.
The values of each of the indexes are continuously distributed, but the
standard BWA requires discrete observations <inline-formula><mml:math id="M159" display="inline"><mml:mrow><mml:msub><mml:mfenced open="{" close="}"><mml:mrow><mml:msub><mml:mi>O</mml:mi><mml:mi>q</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mrow><mml:mi>q</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:mi>Q</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> as input. In this section, we discuss
possible ways to convert <inline-formula><mml:math id="M160" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">F</mml:mi><mml:mi>t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> into discrete observations for the
BWA and why we chose one particular method for implementation.</p>
      <p id="d1e2811">One way to do so would be to model each component of <inline-formula><mml:math id="M161" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">F</mml:mi><mml:mi>t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> as
samples drawn from known distributions, such as a normal distribution or a
gamma distribution. Unfortunately, as we can see from Fig. 3 (introduced in
the next paragraph), none of the known distributions fit the empirical data
well. Alternatively, we can discretize the components of <inline-formula><mml:math id="M162" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">F</mml:mi><mml:mi>t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> by
binning them. In other words, we represent the distribution<?pagebreak page1937?> of each
component with a histogram, with a specific choice of the number of bins (50
for example). This will effectively convert the continuous values of each
component of <inline-formula><mml:math id="M163" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">F</mml:mi><mml:mi>t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> into discrete values, such as integer labels
from 1 to 50 if we use 50 bins. Let us write the discretized
<inline-formula><mml:math id="M164" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">F</mml:mi><mml:mi>t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> as <inline-formula><mml:math id="M165" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mover accent="true"><mml:mi mathvariant="bold-italic">F</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mi>t</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mover accent="true"><mml:mi>C</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mrow><mml:mi mathvariant="normal">NS</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mover accent="true"><mml:mover accent="true"><mml:mi>V</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mrow><mml:mi mathvariant="normal">NS</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mover accent="true"><mml:mover accent="true"><mml:mi>S</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mrow><mml:mi mathvariant="normal">NS</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mover accent="true"><mml:mover accent="true"><mml:mi>K</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mrow><mml:mi mathvariant="normal">NS</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mover accent="true"><mml:mover accent="true"><mml:mi>C</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mrow><mml:mi mathvariant="normal">EW</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mover accent="true"><mml:mover accent="true"><mml:mi>V</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mrow><mml:mi mathvariant="normal">EW</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mover accent="true"><mml:mover accent="true"><mml:mi>S</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mrow><mml:mi mathvariant="normal">EW</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msub><mml:mover accent="true"><mml:mover accent="true"><mml:mi>K</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mrow><mml:mi mathvariant="normal">EW</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula>.</p>
      <p id="d1e3023">If we do this for the TSs of individual components, such as the TS of
<inline-formula><mml:math id="M166" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mover accent="true"><mml:mi>C</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mrow><mml:mi mathvariant="normal">NS</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, and use them as inputs for the BWA, we will
obtain one HS TS for each of the eight components. In Fig. 3, we show (a) the
estimated emission matrix <inline-formula><mml:math id="M167" display="inline"><mml:mover accent="true"><mml:mi>B</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover></mml:math></inline-formula> in Fig. 3a, c, e, and g and (b) the posterior probability TSs in Fig. 3b, d, f, and h for four components:
<inline-formula><mml:math id="M168" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mover accent="true"><mml:mi>C</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mrow><mml:mi mathvariant="normal">NS</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M169" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mover accent="true"><mml:mi>V</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mrow><mml:mi mathvariant="normal">NS</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>,
<inline-formula><mml:math id="M170" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mover accent="true"><mml:mi>S</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mrow><mml:mi mathvariant="normal">NS</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, and <inline-formula><mml:math id="M171" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mover accent="true"><mml:mi>K</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mrow><mml:mi mathvariant="normal">NS</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> of the KAOH
station. These posterior probability TSs are different, which is not what we
desire. Therefore, instead of this, we would like to use all eight components in
<inline-formula><mml:math id="M172" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mover accent="true"><mml:mi mathvariant="bold-italic">F</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mi>t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> as a single input to the BWA to obtain a
single HS TS for each station.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F3" specific-use="star"><?xmltex \currentcnt{3}?><?xmltex \def\figurename{Figure}?><label>Figure 3</label><caption><p id="d1e3167">The output of BWA: the emission probability or the probability
mass functions, as well as their posterior HS probability TSs, for
<inline-formula><mml:math id="M173" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mover accent="true"><mml:mi>C</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mrow><mml:mi mathvariant="normal">NS</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> <bold>(a, b)</bold>,
<inline-formula><mml:math id="M174" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mover accent="true"><mml:mi>V</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mrow><mml:mi mathvariant="normal">NS</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> <bold>(c, d)</bold>,
<inline-formula><mml:math id="M175" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mover accent="true"><mml:mi>S</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mrow><mml:mi mathvariant="normal">NS</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> <bold>(e, f)</bold>, and
<inline-formula><mml:math id="M176" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mover accent="true"><mml:mi>K</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mrow><mml:mi mathvariant="normal">NS</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> <bold>(g, h)</bold>,
using KAOH's geoelectric TS data with 50 bins.</p></caption>
          <?xmltex \igopts{width=497.923228pt}?><graphic xlink:href="https://nhess.copernicus.org/articles/22/1931/2022/nhess-22-1931-2022-f03.png"/>

        </fig>

      <p id="d1e3277">The BWA has no problem dealing with high-dimensional problems, provided the
inputs are discrete. However, this method would work well only if the
overall number of possible observations is small. If we use 50 bins for each
of the eight indexes, there would be <inline-formula><mml:math id="M177" display="inline"><mml:mrow><mml:mi>D</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">50</mml:mn><mml:mn mathvariant="normal">8</mml:mn></mml:msup><mml:mo>≈</mml:mo><mml:mn mathvariant="normal">3.91</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">13</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> possible observations, meaning the emission matrix would be of
dimensions <inline-formula><mml:math id="M178" display="inline"><mml:mrow><mml:mn mathvariant="normal">3.91</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">13</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> by 2. Reducing the number of bins to just
10 for each index, we still have <inline-formula><mml:math id="M179" display="inline"><mml:mrow><mml:mi>D</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">8</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> possible observations. This
latter space is still too large for the BWA to search through exhaustively
in a reasonable amount of time, even though we feel 10 bins for each index
may already be too coarse and likely to miss subtle details. Furthermore,
with so many possible observations, we expect the emission probabilities to
be significantly different from 0 only for a very small subset of the <inline-formula><mml:math id="M180" display="inline"><mml:mi>D</mml:mi></mml:math></inline-formula>
possible observations.</p>
      <p id="d1e3343">We do not know  a priori what the elements of this very small subset are. They may
occur as isolated points in the search space, or they may occur in groups of
closely spaced points. In the continuous feature space, each of these groups
of observations represents a cluster of similar feature vectors. To
determine the number of such clusters and where they occur in the
8-dimensional continuous feature space, we mapped similar feature vectors to
the same label using the <inline-formula><mml:math id="M181" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula>-means clustering algorithm (Gupta et al.,
2010; Wen et al., 2006; Dash et al., 2011), which is commonly used for
discretizing continuous vectors such as <inline-formula><mml:math id="M182" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">F</mml:mi><mml:mi>t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. We chose to use
the <inline-formula><mml:math id="M183" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula>-means clustering for discretizing <inline-formula><mml:math id="M184" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">F</mml:mi><mml:mi>t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> because of its low
computational cost as well as its reliability in grouping similar feature
vectors in the feature space. In so doing, we created a discrete feature
space with reasonable size as high-level labels of different geoelectric
dynamics. The mathematical details of <inline-formula><mml:math id="M185" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula>-means clustering can be found in
Sect. S3.</p>
      <p id="d1e3389">The indexes <inline-formula><mml:math id="M186" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi mathvariant="normal">NS</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M187" display="inline"><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mrow><mml:mi mathvariant="normal">NS</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M188" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi mathvariant="normal">NS</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, and <inline-formula><mml:math id="M189" display="inline"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mi mathvariant="normal">NS</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> have highly
disparate dynamic ranges and should not be directly combined into a feature
vector. Therefore, before the clustering, we first standardized our indexes
by dividing them by their respective standard deviations. The purpose of
this step is to ensure the weights associated with each index during the
<inline-formula><mml:math id="M190" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula>-means clustering are equal so as not to bias our search for features with
high dynamic range. Mathematically, the feature vector of standardized
indexes at time <inline-formula><mml:math id="M191" display="inline"><mml:mi>t</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M192" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="bold-italic">F</mml:mi><mml:mi>t</mml:mi><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula>, can be written as
            <disp-formula id="Ch1.E5" content-type="numbered"><label>5</label><mml:math id="M193" display="block"><mml:mtable class="split" rowspacing="0.2ex" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:msubsup><mml:mi mathvariant="bold-italic">F</mml:mi><mml:mi>t</mml:mi><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mo>=</mml:mo><mml:mfenced open="[" close=""><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi mathvariant="normal">NS</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi mathvariant="italic">σ</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi mathvariant="normal">NS</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mrow><mml:mi mathvariant="normal">NS</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi mathvariant="italic">σ</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mrow><mml:mi mathvariant="normal">NS</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi mathvariant="normal">NS</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi mathvariant="italic">σ</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi mathvariant="normal">NS</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mi mathvariant="normal">NS</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi mathvariant="italic">σ</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mi mathvariant="normal">NS</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mfenced close="]" open=""><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi mathvariant="normal">EW</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi mathvariant="italic">σ</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi mathvariant="normal">EW</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mrow><mml:mi mathvariant="normal">EW</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi mathvariant="italic">σ</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mrow><mml:mi mathvariant="normal">EW</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi mathvariant="normal">EW</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi mathvariant="italic">σ</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi mathvariant="normal">EW</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mi mathvariant="normal">EW</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi mathvariant="italic">σ</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mi mathvariant="normal">EW</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:mfenced><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
          We then implemented <inline-formula><mml:math id="M194" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula>-means clustering using the scikit-learn package (v0.23.1) in
Python (v3.6.5), on the sequence of feature vectors <inline-formula><mml:math id="M195" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="bold-italic">F</mml:mi><mml:mi>t</mml:mi><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula> covering
the time period from January 2012 to December 2018. The choice of the
<italic>number of clusters</italic> <inline-formula><mml:math id="M196" display="inline"><mml:mi>Q</mml:mi></mml:math></inline-formula> was determined as part of the hyperparameter optimization, described in
Sect. 3.5. In this way, we matched each <inline-formula><mml:math id="M197" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="bold-italic">F</mml:mi><mml:mi>t</mml:mi><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula> to a discrete
label <inline-formula><mml:math id="M198" display="inline"><mml:mrow><mml:msub><mml:mi>o</mml:mi><mml:mi>t</mml:mi></mml:msub><mml:mo>→</mml:mo><mml:msub><mml:mi>O</mml:mi><mml:mi>q</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (where <inline-formula><mml:math id="M199" display="inline"><mml:mi>q</mml:mi></mml:math></inline-formula> is an integer from <inline-formula><mml:math id="M200" display="inline"><mml:mn mathvariant="normal">1</mml:mn></mml:math></inline-formula> to <inline-formula><mml:math id="M201" display="inline"><mml:mrow><mml:mi>Q</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> to obtain
the TS of discrete observations <inline-formula><mml:math id="M202" display="inline"><mml:mrow><mml:mfenced open="{" close="}"><mml:mrow><mml:msub><mml:mi>o</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>o</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>o</mml:mi><mml:mi>t</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>o</mml:mi><mml:mi>T</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula> for each station as its input to the BWA.</p>
</sec>
<sec id="Ch1.S2.SS5">
  <label>2.5</label><title>Implementation of BWA</title>
      <p id="d1e3890">In this section, we describe how we implemented the BWA to obtain one HS TS
for each station. We start by describing how we initialized and iterated the
BWA, as well as how we dealt with local optima in the BWA results by using
multiple initializations.</p>
      <p id="d1e3893">The first step of the BWA is to initialize the HMM parameters <inline-formula><mml:math id="M203" display="inline"><mml:mrow><mml:mfenced close=")" open="("><mml:mrow><mml:mi mathvariant="bold">A</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="bold">B</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="bold-italic">π</mml:mi></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula>. Since we had no prior
knowledge on the model parameters, we initialized parameters <inline-formula><mml:math id="M204" display="inline"><mml:mrow><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi mathvariant="bold">A</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="bold">B</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">π</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula> randomly. After this, we iterated BWA's expectation maximization
steps 30 times, starting with iteration index <inline-formula><mml:math id="M205" display="inline"><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>. Each iteration
comprises the forward procedure, the backward procedure, and the update.
In  Sect. S4, we present the mathematical details of
how the forward procedure, the backward procedure, and the update are performed.</p>
      <p id="d1e3953">As the iteration goes, the BWA improves the likelihood of observing the
input observation TS <inline-formula><mml:math id="M206" display="inline"><mml:mrow><mml:msub><mml:mi>o</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>o</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>o</mml:mi><mml:mi>T</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> given the model
parameters <inline-formula><mml:math id="M207" display="inline"><mml:mrow><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi mathvariant="bold">A</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="bold">B</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">π</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula>, which converges when the improvements on the posterior probability
<inline-formula><mml:math id="M208" display="inline"><mml:mrow><mml:mi>P</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi>o</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>o</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>o</mml:mi><mml:mi>T</mml:mi></mml:msub><mml:mi mathvariant="normal">|</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi mathvariant="bold">A</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="bold">B</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">π</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> become minimal. In practice, we found that 30 iterations were long
enough for most models to converge. We therefore obtained the estimated
model parameters <inline-formula><mml:math id="M209" display="inline"><mml:mrow><mml:mfenced close=")" open="("><mml:mrow><mml:mover accent="true"><mml:mi mathvariant="bold">A</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mover accent="true"><mml:mi mathvariant="bold">B</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mover accent="true"><mml:mi mathvariant="bold-italic">π</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi mathvariant="bold">A</mml:mi><mml:mn mathvariant="normal">30</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="bold">B</mml:mi><mml:mn mathvariant="normal">30</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">π</mml:mi><mml:mn mathvariant="normal">30</mml:mn></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula>, as well as the posterior probability TS of <inline-formula><mml:math id="M210" display="inline"><mml:mrow><mml:mi mathvariant="bold-italic">P</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>t</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi>l</mml:mi></mml:msub><mml:mi mathvariant="normal">|</mml:mi><mml:msub><mml:mi>o</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>o</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>o</mml:mi><mml:mi>T</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mover accent="true"><mml:mi mathvariant="bold">A</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mover accent="true"><mml:mi mathvariant="bold">B</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mover accent="true"><mml:mi mathvariant="bold-italic">π</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> for both HSs and all <inline-formula><mml:math id="M211" display="inline"><mml:mi>t</mml:mi></mml:math></inline-formula> values, which we
write in short form as <inline-formula><mml:math id="M212" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">P</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mfenced close=")" open="("><mml:mrow><mml:mi>P</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:mfenced><mml:mo>,</mml:mo><mml:mi>P</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:mfenced><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:mi>P</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mi>T</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M213" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">P</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mfenced open="(" close=")"><mml:mrow><mml:mi>P</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:mfenced><mml:mo>,</mml:mo><mml:mi>P</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:mfenced><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:mi>P</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mi>T</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula>. Here, we noted that BWA assigns the indexing of HSs
randomly; therefore, the <inline-formula><mml:math id="M214" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> of one station is not guaranteed to be
equivalent to the <inline-formula><mml:math id="M215" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> of another station.</p>
      <?pagebreak page1938?><p id="d1e4364">We cannot simply do the above BWA estimation once to obtain <inline-formula><mml:math id="M216" display="inline"><mml:mrow><mml:mfenced close=")" open="("><mml:mrow><mml:mover accent="true"><mml:mi mathvariant="bold">A</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mover accent="true"><mml:mi mathvariant="bold">B</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mover accent="true"><mml:mi mathvariant="bold-italic">π</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula> because the BWA converges to
local optima instead of the global optimum in the model parameter space
(Bilmes, 1998; Yang et al., 2017; Larue et al., 2011). Also, the initial
parameters have a significant influence on the local optimum where the BWA
converges. In order to obtain a global optimum result within a reasonable
computation time, we ran 15 BWA estimations in parallel for each station,
with different random initial parameters. For each station, we then chose
the model with the highest model score given by <inline-formula><mml:math id="M217" display="inline"><mml:mrow><mml:mi>P</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi>o</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>o</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>o</mml:mi><mml:mi>T</mml:mi></mml:msub><mml:mi mathvariant="normal">|</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:mover accent="true"><mml:mi mathvariant="bold">A</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mover accent="true"><mml:mi mathvariant="bold">B</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mover accent="true"><mml:mi mathvariant="bold-italic">π</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula> for subsequent analysis. Later in Fig. 4a, we also show
all 15 HMMs to demonstrate how consistent the converged models are. We can
write the posterior probability TS of this model as
<inline-formula><mml:math id="M218" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="bold-italic">P</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mo mathsize="2.0em">(</mml:mo><mml:mi>P</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M219" display="inline"><mml:mrow><mml:mi>P</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:mfenced><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:mi>P</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mi>T</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:mfenced><mml:mi mathvariant="normal">|</mml:mi><mml:msub><mml:mi>o</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>o</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>o</mml:mi><mml:mi>T</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M220" display="inline"><mml:mrow><mml:mfenced open="(" close=")"><mml:mrow><mml:mover accent="true"><mml:mi mathvariant="bold">A</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mover accent="true"><mml:mi mathvariant="bold">B</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mover accent="true"><mml:mi mathvariant="bold-italic">π</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover></mml:mrow></mml:mfenced><mml:mo mathsize="2.0em">)</mml:mo></mml:mrow></mml:math></inline-formula>.</p>
      <p id="d1e4584">For each initial condition, the BWA randomly assigns one HS to be <inline-formula><mml:math id="M221" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>
and the other to be <inline-formula><mml:math id="M222" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>. To show all 15 HMMs simultaneously in Fig. 4a, we need to standardize <inline-formula><mml:math id="M223" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M224" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> across all HMMs. For this
purpose, we set <inline-formula><mml:math id="M225" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="bold-italic">P</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> as the “standard”. For the
remaining 14 posterior probabilities <inline-formula><mml:math id="M226" display="inline"><mml:mrow><mml:msub><mml:mfenced close="}" open="{"><mml:mrow><mml:msubsup><mml:mi mathvariant="bold-italic">P</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mi>i</mml:mi></mml:msubsup></mml:mrow></mml:mfenced><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">15</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, we
checked their expected absolute difference, EAD <inline-formula><mml:math id="M227" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> mean<inline-formula><mml:math id="M228" display="inline"><mml:mrow><mml:mfenced open="(" close=")"><mml:mrow><mml:mi mathvariant="normal">|</mml:mi><mml:msub><mml:mover accent="true"><mml:mi mathvariant="bold-italic">P</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>-</mml:mo><mml:msubsup><mml:mi mathvariant="bold-italic">P</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mi>i</mml:mi></mml:msubsup><mml:mo mathvariant="italic">}</mml:mo></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula>, from
<inline-formula><mml:math id="M229" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="bold-italic">P</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, whose value ranges from 0 to <inline-formula><mml:math id="M230" display="inline"><mml:mn mathvariant="normal">1</mml:mn></mml:math></inline-formula>. If EAD <inline-formula><mml:math id="M231" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula> <inline-formula><mml:math id="M232" display="inline"><mml:mn mathvariant="normal">0.5</mml:mn></mml:math></inline-formula>,
<inline-formula><mml:math id="M233" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="bold-italic">P</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mi>i</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> is more similar to
<inline-formula><mml:math id="M234" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="bold-italic">P</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> than to <inline-formula><mml:math id="M235" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="bold-italic">P</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, and we proceed to
swap the HS indexing for the <inline-formula><mml:math id="M236" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula>th HMM by assigning
<inline-formula><mml:math id="M237" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="bold-italic">P</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mi>i</mml:mi></mml:msubsup><mml:mo>(</mml:mo><mml:mi mathvariant="normal">new</mml:mi><mml:mo>)</mml:mo><mml:mo>≡</mml:mo><mml:msubsup><mml:mi mathvariant="bold-italic">P</mml:mi><mml:mn mathvariant="normal">2</mml:mn><mml:mi>i</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> and
<inline-formula><mml:math id="M238" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="bold-italic">P</mml:mi><mml:mn mathvariant="normal">2</mml:mn><mml:mi>i</mml:mi></mml:msubsup><mml:mo>(</mml:mo><mml:mi mathvariant="normal">new</mml:mi><mml:mo>)</mml:mo><mml:mo>≡</mml:mo><mml:msubsup><mml:mi mathvariant="bold-italic">P</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mi>i</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula>. Otherwise,
<inline-formula><mml:math id="M239" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="bold-italic">P</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mi>i</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> corresponds to the same HS as
<inline-formula><mml:math id="M240" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="bold-italic">P</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, and we leave its HS indexing unchanged. In this
way, we standardized all 15 models so that their <inline-formula><mml:math id="M241" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">P</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>
can be visualized together in Fig. 4a, with the
<inline-formula><mml:math id="M242" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="bold-italic">P</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> TSs sorted by their model scores <inline-formula><mml:math id="M243" display="inline"><mml:mrow><mml:mi>P</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi>o</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>o</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>o</mml:mi><mml:mi>T</mml:mi></mml:msub><mml:mi mathvariant="normal">|</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:mover accent="true"><mml:mi mathvariant="bold">A</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mover accent="true"><mml:mi mathvariant="bold">B</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mover accent="true"><mml:mi mathvariant="bold-italic">π</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula> and the optimal model in the first row. In Fig. 4b, we
show the actual posterior probability TS of this optimal model. The figures
of 15 HMMs for all 20 stations are included in  Sect. S5.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F4" specific-use="star"><?xmltex \currentcnt{4}?><?xmltex \def\figurename{Figure}?><label>Figure 4</label><caption><p id="d1e4964">The step-by-step data visualization for CHCH. <bold>(a)</bold> A heatmap of the 15 HMMs' posterior probability TSs for
<inline-formula><mml:math id="M244" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, sorted by model score from highest to lowest. The
posterior probabilities for the last 4 HMMs are messy because the BWA
estimations do not converge; <bold>(b)</bold> the optimal model's posterior HS
probability TS for <inline-formula><mml:math id="M245" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M246" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="bold-italic">P</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>
(obtained using optimal hyperparameters: <inline-formula><mml:math id="M247" display="inline"><mml:mrow><mml:mfenced open="[" close="]"><mml:mrow><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mi>Q</mml:mi></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:mfenced open="[" close="]"><mml:mrow><mml:mn mathvariant="normal">0.02</mml:mn><mml:mfenced open="(" close=")"><mml:mi mathvariant="normal">d</mml:mi></mml:mfenced><mml:mo>,</mml:mo><mml:mn mathvariant="normal">30</mml:mn></mml:mrow></mml:mfenced><mml:mo mathsize="1.1em">)</mml:mo></mml:mrow></mml:math></inline-formula>.</p></caption>
          <?xmltex \igopts{width=497.923228pt}?><graphic xlink:href="https://nhess.copernicus.org/articles/22/1931/2022/nhess-22-1931-2022-f04.png"/>

        </fig>

      <p id="d1e5048">We summarize the procedures used to obtain <inline-formula><mml:math id="M248" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="bold-italic">P</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>,
starting from a pair of geoelectric TSs for each GEMS station in the form of
a flowchart in Fig. 5. It is noteworthy that the full procedure contains
essentially only two hyperparameters: <inline-formula><mml:math id="M249" display="inline"><mml:mi>Q</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M250" display="inline"><mml:mrow><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. The figures shown in
the “Results and discussions” section use the optimal hyperparameters, whose
identification procedure will be discussed in detail later in Sect. 3.5.
Additionally, for each station's optimal HMM, we plotted the distribution of
indexes (<inline-formula><mml:math id="M251" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M252" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M253" display="inline"><mml:mi>S</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M254" display="inline"><mml:mi>K</mml:mi></mml:math></inline-formula>) at both HSs in  Sect. S6.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F5" specific-use="star"><?xmltex \currentcnt{5}?><?xmltex \def\figurename{Figure}?><label>Figure 5</label><caption><p id="d1e5114">Flowchart summarizing the procedures of obtaining the optimal
posterior probability TS <inline-formula><mml:math id="M255" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="bold-italic">P</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> from the data of one GEMS
station.</p></caption>
          <?xmltex \igopts{width=369.885827pt}?><graphic xlink:href="https://nhess.copernicus.org/articles/22/1931/2022/nhess-22-1931-2022-f05.png"/>

        </fig>

</sec>
<sec id="Ch1.S2.SS6">
  <label>2.6</label><title>EQ grid map, EQ frequency, and EQ frequency ratio</title>
      <p id="d1e5145">Up to this point, we did not incorporate any EQ catalog information into
<inline-formula><mml:math id="M256" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="bold-italic">P</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> for each station. Unlike many past EQ studies
looking for specific precursory features within the geoelectric data, we
made no specific assumptions regarding what these EQ precursors might look
like. Instead, we let the BWA search for specific precursory features within
the 8-dimensional feature space.</p>
      <?pagebreak page1939?><p id="d1e5162"><?xmltex \hack{\newpage}?>After the hidden Markov modeling, we then checked locally whether <inline-formula><mml:math id="M257" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M258" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>
would effectively partition time periods with significantly lower EQ
probabilities from those with significantly higher EQ probabilities. We
think of one HS as a <italic>passive</italic> state (with significantly lower EQ probabilities) and
the other HS as an <italic>active</italic> state (with significantly higher EQ probabilities), but
we cannot call the former <inline-formula><mml:math id="M259" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> and the latter <inline-formula><mml:math id="M260" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> because we have not
yet standardized these HS labels across the 20 stations. To do so, we need
to match the HS TS of each station to the EQ catalog to determine the EQ
frequencies of <inline-formula><mml:math id="M261" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M262" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> for this station and use <inline-formula><mml:math id="M263" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> and
<inline-formula><mml:math id="M264" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> as the HS labels of the active and passive states respectively
(relabeling when necessary). In the remainder of this section, we describe
in detail how this is done.</p>
      <p id="d1e5261">For each GEMS station we started from <inline-formula><mml:math id="M265" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="bold-italic">P</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> and
classified time periods across the 7 years as belonging to two sets <inline-formula><mml:math id="M266" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>
and <inline-formula><mml:math id="M267" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>. The time point <inline-formula><mml:math id="M268" display="inline"><mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> was assigned to <inline-formula><mml:math id="M269" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> if
<inline-formula><mml:math id="M270" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:mfenced><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">0.5</mml:mn></mml:mrow></mml:math></inline-formula> and to <inline-formula><mml:math id="M271" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> if
<inline-formula><mml:math id="M272" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:mfenced><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">0.5</mml:mn></mml:mrow></mml:math></inline-formula>. After this is done, we checked
how EQs are distributed between <inline-formula><mml:math id="M273" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M274" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> for different regions
across Taiwan. For this task, we first made a 16-by-16 grid map of Taiwan
so that EQs within the same grid cell <inline-formula><mml:math id="M275" display="inline"><mml:mrow><mml:mfenced close=")" open="("><mml:mrow><mml:mi>i</mml:mi><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi>i</mml:mi><mml:mi>y</mml:mi></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula>, for <inline-formula><mml:math id="M276" display="inline"><mml:mrow><mml:mi>i</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:math></inline-formula>
and <inline-formula><mml:math id="M277" display="inline"><mml:mrow><mml:mi>i</mml:mi><mml:mi>y</mml:mi></mml:mrow></mml:math></inline-formula> in <inline-formula><mml:math id="M278" display="inline"><mml:mrow><mml:mfenced open="{" close="}"><mml:mrow><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">15</mml:mn></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula>, are grouped together
(see Fig. 6).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F6" specific-use="star"><?xmltex \currentcnt{6}?><?xmltex \def\figurename{Figure}?><label>Figure 6</label><caption><p id="d1e5479">A sample EQ grid map with 16 by 16 divisions, in which each cell
measures
<inline-formula><mml:math id="M279" display="inline"><mml:mrow><mml:mn mathvariant="normal">0.3330</mml:mn><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> (longitude) by <inline-formula><mml:math id="M280" display="inline"><mml:mrow><mml:mn mathvariant="normal">0.3418</mml:mn><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> (latitude).
All EQs of <inline-formula><mml:math id="M281" display="inline"><mml:mrow><mml:msub><mml:mi>M</mml:mi><mml:mi>L</mml:mi></mml:msub><mml:mo>≥</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:math></inline-formula> are labeled with blue
circles, with the radius of each circle being proportional to the natural
exponential of the EQ's magnitude.</p></caption>
          <?xmltex \igopts{width=426.791339pt}?><graphic xlink:href="https://nhess.copernicus.org/articles/22/1931/2022/nhess-22-1931-2022-f06.png"/>

        </fig>

      <?pagebreak page1940?><p id="d1e5527">For each grid cell <inline-formula><mml:math id="M282" display="inline"><mml:mrow><mml:mfenced close=")" open="("><mml:mrow><mml:mi>i</mml:mi><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi>i</mml:mi><mml:mi>y</mml:mi></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula>, we defined the <italic>EQ frequencies</italic> for HSs
<inline-formula><mml:math id="M283" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M284" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> as
            <disp-formula id="Ch1.E6" content-type="numbered"><label>6</label><mml:math id="M285" display="block"><mml:mrow><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:mi mathvariant="normal">EQ</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow><mml:mrow><mml:mfenced close="|" open="|"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:mi mathvariant="normal">EQ</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow><mml:mrow><mml:mfenced close="|" open="|"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          where <inline-formula><mml:math id="M286" display="inline"><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> is the number of EQs occurring within <inline-formula><mml:math id="M287" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M288" display="inline"><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> is the
number of EQs occurring within <inline-formula><mml:math id="M289" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M290" display="inline"><mml:mrow><mml:mfenced open="|" close="|"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula> is the total
duration of <inline-formula><mml:math id="M291" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> time periods, and <inline-formula><mml:math id="M292" display="inline"><mml:mrow><mml:mfenced open="|" close="|"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula> is the total
duration of <inline-formula><mml:math id="M293" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> time periods. From Fig. 6, we see that the spatial
distribution of EQs is highly heterogeneous, so we may find a grid cell with
about 10 EQs but also another grid cell with about 1000 EQs. This tells us
that we should not directly compare the EQ frequencies but should instead
compare the <italic>EQ frequency ratio</italic>, defined as
            <disp-formula id="Ch1.E7" content-type="numbered"><label>7</label><mml:math id="M294" display="block"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">F</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:mi mathvariant="normal">EQ</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:mi mathvariant="normal">EQ</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:mi mathvariant="normal">EQ</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
          For any cell containing at least one EQ, the range of its <inline-formula><mml:math id="M295" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">F</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is
<inline-formula><mml:math id="M296" display="inline"><mml:mrow><mml:mo>[</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>]</mml:mo></mml:mrow></mml:math></inline-formula>. Intuitively, any cell with <inline-formula><mml:math id="M297" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">F</mml:mi></mml:msub><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">0.5</mml:mn></mml:mrow></mml:math></inline-formula> is a region having lower EQ
frequency in <inline-formula><mml:math id="M298" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> compared to <inline-formula><mml:math id="M299" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>; and any cell with <inline-formula><mml:math id="M300" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">F</mml:mi></mml:msub><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">0.5</mml:mn></mml:mrow></mml:math></inline-formula> is a
region having a higher EQ frequency in <inline-formula><mml:math id="M301" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> compared to <inline-formula><mml:math id="M302" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>. For
example, for a cell with <inline-formula><mml:math id="M303" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">F</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.2</mml:mn></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M304" display="inline"><mml:mrow><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:mi mathvariant="normal">EQ</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is only one-quarter of
<inline-formula><mml:math id="M305" display="inline"><mml:mrow><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:mi mathvariant="normal">EQ</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. The <inline-formula><mml:math id="M306" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">F</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> value quantifies how one HS has a higher or lower EQ
frequency than the other. In Sect. 3, we will present how we deep dived into
the spatial–temporal correlations between HS TSs (<inline-formula><mml:math id="M307" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="bold-italic">P</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>)
and EQ activities for all 20 stations, starting from 20 grid maps of <inline-formula><mml:math id="M308" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">F</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>
values.</p>
</sec>
</sec>
<sec id="Ch1.S3">
  <label>3</label><title>Results and discussions</title>
      <p id="d1e5983">In this section, we present the results obtained for all 20 stations, as
well as additional treatments that we felt were<?pagebreak page1941?> necessary to investigate
whether the HS TSs have significant forecasting power for EQs.</p>
<sec id="Ch1.S3.SS1">
  <label>3.1</label><?xmltex \opttitle{EQ frequency ratio (${R}_{{\mathrm{F}}}$) grid maps}?><title>EQ frequency ratio (<inline-formula><mml:math id="M309" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">F</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) grid maps</title>
      <p id="d1e6005">Once we obtained the <inline-formula><mml:math id="M310" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="bold-italic">P</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> TS for each station, the
natural first step of our analysis was to examine the <inline-formula><mml:math id="M311" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">F</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> values for all
cells in the 16-by-16 grid map. We show this procedure for the CHCH station in
Fig. 7, where we visualize the grid maps for <inline-formula><mml:math id="M312" display="inline"><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M313" display="inline"><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> in Fig. 7a and b respectively to clearly show how many EQs occurred during
<inline-formula><mml:math id="M314" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M315" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>. The resulting <inline-formula><mml:math id="M316" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">F</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> grid map is shown in Fig. 7c,
where there are cells with values close to <inline-formula><mml:math id="M317" display="inline"><mml:mn mathvariant="normal">0.5</mml:mn></mml:math></inline-formula> (white-color cells) and
cells with values far from <inline-formula><mml:math id="M318" display="inline"><mml:mn mathvariant="normal">0.5</mml:mn></mml:math></inline-formula> (red for close to 0, green for close to 1).
White-color cells are regions whose EQ activities are weakly correlated with
the HSs since the time periods of <inline-formula><mml:math id="M319" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M320" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> are not very
different in terms of EQ frequency; whereas red/green cells are regions with
significantly lower/higher EQ frequencies in <inline-formula><mml:math id="M321" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F7" specific-use="star"><?xmltex \currentcnt{7}?><?xmltex \def\figurename{Figure}?><label>Figure 7</label><caption><p id="d1e6139">The step-by-step data visualization for CHCH, showing <bold>(a)</bold>
the grid map with the number of <inline-formula><mml:math id="M322" display="inline"><mml:mrow><mml:msub><mml:mi>M</mml:mi><mml:mi>L</mml:mi></mml:msub><mml:mo>≥</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:math></inline-formula>
EQs during <inline-formula><mml:math id="M323" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>'s time periods,
<inline-formula><mml:math id="M324" display="inline"><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>; <bold>(b)</bold> the grid map with the number of
<inline-formula><mml:math id="M325" display="inline"><mml:mrow><mml:msub><mml:mi>M</mml:mi><mml:mi>L</mml:mi></mml:msub><mml:mo>≥</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:math></inline-formula> EQs during
<inline-formula><mml:math id="M326" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>'s time periods, <inline-formula><mml:math id="M327" display="inline"><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>; and <bold>(c)</bold> the grid map with the EQ frequency ratio, <inline-formula><mml:math id="M328" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi>F</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mo>×</mml:mo><mml:mn mathvariant="normal">0.01</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>. Results were obtained using optimal hyperparameters:
<inline-formula><mml:math id="M329" display="inline"><mml:mrow><mml:mfenced close="]" open="["><mml:mrow><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mi>Q</mml:mi></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:mfenced close="]" open="["><mml:mrow><mml:mn mathvariant="normal">0.02</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mfenced open="(" close=")"><mml:mi mathvariant="normal">d</mml:mi></mml:mfenced><mml:mo>,</mml:mo><mml:mn mathvariant="normal">30</mml:mn></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula>.</p></caption>
          <?xmltex \igopts{width=497.923228pt}?><graphic xlink:href="https://nhess.copernicus.org/articles/22/1931/2022/nhess-22-1931-2022-f07.png"/>

        </fig>

      <p id="d1e6282">As can be seen in Fig. 7c, for different regions the HS with higher EQ
activities can be either <inline-formula><mml:math id="M330" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> or <inline-formula><mml:math id="M331" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>. This is true not only for the CHCH
station but also for all 20 stations, whose <inline-formula><mml:math id="M332" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">F</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> grid maps are shown in
Fig. 8. Although there is no consistent pattern of any state corresponding
to higher EQ activities globally, we see in Fig. 8 that there are regions
whose <inline-formula><mml:math id="M333" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">F</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> values are far from <inline-formula><mml:math id="M334" display="inline"><mml:mn mathvariant="normal">0.5</mml:mn></mml:math></inline-formula> across many stations. This means
that statistically speaking, one of the HSs has higher EQ activities than
the other. In fact, if the active HS has a lot more EQs than the passive HS,
it is also likely that the active HS covers most of the larger EQs (e.g.,
<inline-formula><mml:math id="M335" display="inline"><mml:mrow><mml:mi>M</mml:mi><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">5</mml:mn></mml:mrow></mml:math></inline-formula>), which is a good attribute for potential EQ forecasting applications.
This phenomenon is shown in   Sect. S7, where we
visualized the EQ frequency distributions across different magnitudes for
both HSs for three selected cells with the most EQ events.</p>

      <?xmltex \floatpos{p}?><fig id="Ch1.F8" specific-use="star"><?xmltex \currentcnt{8}?><?xmltex \def\figurename{Figure}?><label>Figure 8</label><caption><p id="d1e6352">The grid maps of EQ frequency ratio <inline-formula><mml:math id="M336" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">F</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mo>×</mml:mo><mml:mn mathvariant="normal">0.01</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> for 20 stations (obtained using optimal
hyperparameters individually specified for each station in Fig. 12).</p></caption>
          <?xmltex \igopts{width=497.923228pt}?><graphic xlink:href="https://nhess.copernicus.org/articles/22/1931/2022/nhess-22-1931-2022-f08.png"/>

        </fig>

      <p id="d1e6380">All in all, the findings in this section are important, but we cannot
directly decide whether <inline-formula><mml:math id="M337" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> or <inline-formula><mml:math id="M338" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> is the proxy for increased EQ
probabilities because neither can be associated consistently with the
active or the passive state. Instead, we should understand <inline-formula><mml:math id="M339" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> and
<inline-formula><mml:math id="M340" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> as two high-level, fuzzy labels for tectonic dynamics related to EQ
activities in different regions. There can be elements such as rock and soil
formations, the underground water system, and fault lines, forming a complex
dynamical system that influences where and when EQs become active. Concrete mapping between EQ activities and specific elements of the complex
dynamical system would be very difficult, as this would involve
high-resolution subterranean surveys. Nevertheless, we can still measure how
well <inline-formula><mml:math id="M341" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M342" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> can partition the time periods so that one HS can
have significantly more EQs than the other. To show this more clearly, we
created grid maps of <italic>discrimination power</italic> <inline-formula><mml:math id="M343" display="inline"><mml:mi>D</mml:mi></mml:math></inline-formula> and present them in the next section.</p><?xmltex \hack{\newpage}?>
</sec>
<sec id="Ch1.S3.SS2">
  <label>3.2</label><?xmltex \opttitle{Discrimination power (${D})$ grid maps}?><title>Discrimination power (<inline-formula><mml:math id="M344" display="inline"><mml:mrow><mml:mi>D</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> grid maps</title>
      <p id="d1e6480">We defined the discrimination power <inline-formula><mml:math id="M345" display="inline"><mml:mi>D</mml:mi></mml:math></inline-formula> for each cell as
            <disp-formula id="Ch1.E8" content-type="numbered"><label>8</label><mml:math id="M346" display="block"><mml:mrow><mml:mi>D</mml:mi><mml:mo>=</mml:mo><mml:mfenced open="|" close="|"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">F</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.5</mml:mn></mml:mrow></mml:mfenced><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
          The value of <inline-formula><mml:math id="M347" display="inline"><mml:mi>D</mml:mi></mml:math></inline-formula> ranges from 0 to <inline-formula><mml:math id="M348" display="inline"><mml:mn mathvariant="normal">0.5</mml:mn></mml:math></inline-formula>, with <inline-formula><mml:math id="M349" display="inline"><mml:mn mathvariant="normal">0.5</mml:mn></mml:math></inline-formula> being the most
discriminative since all EQs are found in one HS and 0 being the least
discriminative since EQ frequencies are identical between the two HSs. We
show the grid maps of <inline-formula><mml:math id="M350" display="inline"><mml:mi>D</mml:mi></mml:math></inline-formula> for 20 stations in Fig. 9, which are easier to
interpret compared to the grid maps in Fig. 8 where we had to use two
different colors. Intuitively, for a region with <inline-formula><mml:math id="M351" display="inline"><mml:mrow><mml:mi>D</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.25</mml:mn></mml:mrow></mml:math></inline-formula> (not uncommon),
one of its HSs would have an EQ frequency 3 times that of the other HS.
It can be noted that cells around the edge of the map tend to have very high
<inline-formula><mml:math id="M352" display="inline"><mml:mi>D</mml:mi></mml:math></inline-formula> values because there are very few EQ events in these cells. This is not
a problem as we will take the number of EQs into account later in Sect. 3.3.</p>

      <?xmltex \floatpos{p}?><fig id="Ch1.F9" specific-use="star"><?xmltex \currentcnt{9}?><?xmltex \def\figurename{Figure}?><label>Figure 9</label><caption><p id="d1e6563">The grid map of discrimination power <inline-formula><mml:math id="M353" display="inline"><mml:mrow><mml:mi>D</mml:mi><mml:mo>(</mml:mo><mml:mo>×</mml:mo><mml:mn mathvariant="normal">0.01</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> for 20 stations (obtained using optimal hyperparameters
individually specified for each station in Fig. 12).</p></caption>
          <?xmltex \igopts{width=497.923228pt}?><graphic xlink:href="https://nhess.copernicus.org/articles/22/1931/2022/nhess-22-1931-2022-f09.png"/>

        </fig>

      <p id="d1e6588">In some cells, we find <inline-formula><mml:math id="M354" display="inline"><mml:mi>D</mml:mi></mml:math></inline-formula> values close to 0.5, which seems to suggest that
the seismicity associated with <inline-formula><mml:math id="M355" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> is very different from that
associated with <inline-formula><mml:math id="M356" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>. However, looking at Fig. 9, we see large variations
in <inline-formula><mml:math id="M357" display="inline"><mml:mi>D</mml:mi></mml:math></inline-formula> values across the cells and more importantly among some neighboring
cells. We therefore wonder whether regions with high <inline-formula><mml:math id="M358" display="inline"><mml:mi>D</mml:mi></mml:math></inline-formula> values are
statistically significant or the products of random temporal clustering of
EQs  (Dieterich, 1994; Frohlich, 1987; Holbrook et al., 2006; Batac and
Kantz, 2014). For example, if all EQs in a cell occurred within a single day
in the 7-year period, any random assignment of HSs would produce the highest
<inline-formula><mml:math id="M359" display="inline"><mml:mi>D</mml:mi></mml:math></inline-formula> value of <inline-formula><mml:math id="M360" display="inline"><mml:mn mathvariant="normal">0.5</mml:mn></mml:math></inline-formula>. To address this concern, we investigated the
significance of the grid maps of <inline-formula><mml:math id="M361" display="inline"><mml:mi>D</mml:mi></mml:math></inline-formula> through statistical tests in the next
section.</p>
</sec>
<sec id="Ch1.S3.SS3">
  <label>3.3</label><title>Cellular-level significance tests of the forecasting power</title>
      <?pagebreak page1942?><p id="d1e6664">Since we had the optimal HMMs for the 20 stations, we can test cellular
statistical significance levels indicating that their HSs can indeed separate time
periods of higher/lower EQ probabilities, using <inline-formula><mml:math id="M362" display="inline"><mml:mi>D</mml:mi></mml:math></inline-formula> grid maps shown in Fig. 9. Specifically, for each grid cell and an empirical HS TS we carried out
statistical hypothesis testing using the following null hypothesis: any
random HS TS would achieve the same or higher performance (in terms of the <inline-formula><mml:math id="M363" display="inline"><mml:mi>D</mml:mi></mml:math></inline-formula>
value). To create random HS TSs for the hypothesis testing, we chose to
directly simulate the HMM using the same model parameters <inline-formula><mml:math id="M364" display="inline"><mml:mrow><mml:mfenced open="(" close=")"><mml:mrow><mml:mover accent="true"><mml:mi mathvariant="bold">A</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mover accent="true"><mml:mi mathvariant="bold">B</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mover accent="true"><mml:mi mathvariant="bold-italic">π</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula> as the empirical HMM of the
corresponding station. For each hypothesis test of an empirical HS TS
(actual HS TS obtained for each station), we created 400 simulated HS TSs,
which were then used to create 400 grid maps of the discrimination power
<inline-formula><mml:math id="M365" display="inline"><mml:mi>D</mml:mi></mml:math></inline-formula>. In Fig. 10, we show the empirical HS TSs alongside a random sample of
10 simulated HS TSs for YULI, SHRL, CHCH, and SIHU to illustrate the
simulated counterparts. After this, in each cell, we had one empirical value
of <inline-formula><mml:math id="M366" display="inline"><mml:mi>D</mml:mi></mml:math></inline-formula> that we can compare against a distribution of 400 simulated values of
<inline-formula><mml:math id="M367" display="inline"><mml:mi>D</mml:mi></mml:math></inline-formula>. This allows us to compute for each cell the probability that its
empirical <inline-formula><mml:math id="M368" display="inline"><mml:mi>D</mml:mi></mml:math></inline-formula> value is higher than its simulated counterparts. We named this
quantity the <italic>discrimination reliability</italic> <inline-formula><mml:math id="M369" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, defined for each cell in the grid map as
            <disp-formula id="Ch1.E9" content-type="numbered"><label>9</label><mml:math id="M370" display="block"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>(</mml:mo><mml:mtext>no. simulated</mml:mtext><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi>D</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mo>&lt;</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mtext>empirical</mml:mtext><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi>D</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mn mathvariant="normal">400</mml:mn></mml:mfrac></mml:mstyle><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
          In the language of statistical hypothesis testing, the <inline-formula><mml:math id="M371" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> value for the test
is given by <inline-formula><mml:math id="M372" display="inline"><mml:mrow><mml:mi>p</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. The value of <inline-formula><mml:math id="M373" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> ranges from 0 to <inline-formula><mml:math id="M374" display="inline"><mml:mn mathvariant="normal">1</mml:mn></mml:math></inline-formula>. If
<inline-formula><mml:math id="M375" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is close to <inline-formula><mml:math id="M376" display="inline"><mml:mn mathvariant="normal">1</mml:mn></mml:math></inline-formula>, we are confident that the discrimination power of
the empirical HS TS is statistically significantly high; otherwise, we have
no such confidence.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F10" specific-use="star"><?xmltex \currentcnt{10}?><?xmltex \def\figurename{Figure}?><label>Figure 10</label><caption><p id="d1e6854">The empirical HS TS and 10 simulated HS TSs, for the stations <bold>(a)</bold> YULI, <bold>(b)</bold> SHRL, <bold>(c)</bold> CHCH, and <bold>(d)</bold> SIHU. The simulated HS TSs have HS
transition frequencies and HS total durations similar to the empirical HS
TS but have none of the temporal correlations in the empirical HS TS.
Results are obtained using optimal hyperparameters individually specified
for each station in Fig. 12.</p></caption>
          <?xmltex \igopts{width=497.923228pt}?><graphic xlink:href="https://nhess.copernicus.org/articles/22/1931/2022/nhess-22-1931-2022-f10.png"/>

        </fig>

      <p id="d1e6875">In Fig. 11, we show the grid maps of <inline-formula><mml:math id="M377" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> values (as percentages) for all
20 stations. Dark-red cells are regions with <inline-formula><mml:math id="M378" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> close to <inline-formula><mml:math id="M379" display="inline"><mml:mn mathvariant="normal">1</mml:mn></mml:math></inline-formula>, and
white and pink cells are regions with <inline-formula><mml:math id="M380" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> close to 0. From these grid maps,
we can better appreciate the utility of HS TSs across the grid map since
the <inline-formula><mml:math id="M381" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> value is a statistical significance measure of the HS–EQ
correlation, unlike the discrimination power <inline-formula><mml:math id="M382" display="inline"><mml:mi>D</mml:mi></mml:math></inline-formula>. To explain this, let us
take the example of LIOQ (upper left of Fig. 11), whose physical
location is marked by the blue star within a dark-red grid cell of
<inline-formula><mml:math id="M383" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.992</mml:mn></mml:mrow></mml:math></inline-formula>. This means that the empirical HS TS performs better than
random guesses (i.e., simulated HS TSs) at separating time periods of
low/high EQ frequencies, with a statistical significance of <inline-formula><mml:math id="M384" display="inline"><mml:mrow><mml:mi>p</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.008</mml:mn></mml:mrow></mml:math></inline-formula>. This
means that it is improbable for a simulated HS TS to have such a high <inline-formula><mml:math id="M385" display="inline"><mml:mi>D</mml:mi></mml:math></inline-formula>,
and therefore the empirical HS TS is unlikely to be a product of random
chance. This is a very strong demonstration of the mutual information
between the HS TS obtained from geoelectric TS and the EQ catalog that was
not used to train the HMM.</p>
      <p id="d1e6972">In the proximity of the LIOQ station located within <inline-formula><mml:math id="M386" display="inline"><mml:mn mathvariant="normal">22.55</mml:mn></mml:math></inline-formula>–<inline-formula><mml:math id="M387" display="inline"><mml:mn mathvariant="normal">23.58</mml:mn></mml:math></inline-formula><inline-formula><mml:math id="M388" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> N, we can see a clear pattern of cells with <inline-formula><mml:math id="M389" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub><mml:mo>≥</mml:mo><mml:mn mathvariant="normal">0.9</mml:mn></mml:mrow></mml:math></inline-formula> (dark-red
color), while <inline-formula><mml:math id="M390" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub><mml:mo>≥</mml:mo><mml:mn mathvariant="normal">0.9</mml:mn></mml:mrow></mml:math></inline-formula> occasionally for most cells outside this
general region. This pattern suggests the geoelectric information from LIOQ is approximately local. This is consistent with the logical
requirement for a direct/indirect structural relation between LIOQ and
region X, such as being close to the same subterranean fault line, for the
information at LIOQ to be useful for region X. As a corollary,
information given by LIOQ is less likely to be useful for faraway
regions as they are less likely to have such structural relations with LIOQ. In application scenarios, this means that the state of EQ
probabilities of region X can be estimated using stations closer to the
region. Last but not least, it is also worth mentioning that most cells at
the edge of the map seldom have high <inline-formula><mml:math id="M391" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> values. This is consistent with
the fact that these cells typically have very few EQ events to provide high
statistical significance.</p>

      <?xmltex \floatpos{p}?><fig id="Ch1.F11" specific-use="star"><?xmltex \currentcnt{11}?><?xmltex \def\figurename{Figure}?><label>Figure 11</label><caption><p id="d1e7040">The grid map of discrimination reliability
<inline-formula><mml:math id="M392" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi>D</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mo>×</mml:mo><mml:mn mathvariant="normal">0.01</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> for 20 stations (obtained
using optimal hyperparameters individually specified for each station in
Fig. 12).</p></caption>
          <?xmltex \igopts{width=398.338583pt}?><graphic xlink:href="https://nhess.copernicus.org/articles/22/1931/2022/nhess-22-1931-2022-f11.png"/>

        </fig>

      <?pagebreak page1945?><p id="d1e7068">Based on our discoveries regarding the HS–EQ correlations so far, we claim that the
HS TSs can provide usable EQ forecasts for real-world applications. We
understand that for all EQ forecasting, whether short-, medium-, or
long-term, we must specify (a) a time window, (b) a space window, and (c) the magnitudes of EQs expected. We shall next explain how the HS TSs can be
useful for EQ forecasting from these three aspects. (a) Let us consider an
HMM that started out in the passive state, where EQs of all magnitudes are
less frequent compared with the active state. In most stations that we
tested, we noticed that once an active state has persisted for a few weeks,
it is unlikely to switch back to the passive state until a few months have
elapsed. This minimum lifetime found in historical data can be used as a
prediction time window. Based on this timescale, we can say that our HMM
can be useful for short- to medium-term EQ forecasting, depending on
the station of interest. (b) Next, let us consider the grid cells covering
Taiwan. For a given grid cell, it may be satisfactory (<inline-formula><mml:math id="M393" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> being
high enough) for a list of stations. The more stations in this list becoming
persistently active, the more likely large EQs within this grid cell should
occur. This is the spatial window we work with for making predictions. (c) Finally, let us describe how our HMM can help in assessing the magnitudes
of EQs expected. To answer this question, we can examine the distribution of
EQ frequencies across magnitudes 3.0 to 6.0 for both active states and
passive states (in Sect. S7). It turns out that for a
given grid cell with high <inline-formula><mml:math id="M394" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, the active state has proportionally more
EQs than the passive state across all magnitudes. Therefore, we expect EQs
of all magnitudes to be more frequent in a positive prediction.</p>
      <p id="d1e7093">For grid cells with high <inline-formula><mml:math id="M395" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, the corresponding HS TS alone is
sufficient to make intermediate-term EQ forecasts. However, we also have
grid cells where none of the 20 stations provide a sufficiently high <inline-formula><mml:math id="M396" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>
value for intermediate-term EQ forecasting on their own. These HS TSs could
still be useful if we combine all 20 HS TSs as input features for
higher-level forecasting algorithms trained individually for each grid cell.
For example, for any region (grid cell), if we want to decide whether it
currently belongs to the active regime or the passive regime, an algorithm
uses the input from all 20 stations to decide the “local” HS for the given
grid cell. This high-level algorithm can for example comprise weight-based model
averaging  (Marzocchi et al., 2012) or decision trees  (Asim et al.,
2016). Additionally, the value of <inline-formula><mml:math id="M397" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> can be helpful for the algorithm
to decide how to weigh the information given by all 20 stations. For
example, we can consider only stations with <inline-formula><mml:math id="M398" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub><mml:mo>≥</mml:mo><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi mathvariant="normal">D</mml:mi><mml:mi mathvariant="normal">_</mml:mi><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> at the given grid cell. The user-defined threshold
<inline-formula><mml:math id="M399" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi mathvariant="normal">D</mml:mi><mml:mi mathvariant="normal">_</mml:mi><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> can take on constant values (e.g., 0.9) across
the grid map or be location specific, such as being lower (e.g., 0.8) for
grid cells where few of the 20 stations have <inline-formula><mml:math id="M400" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub><mml:mo>≥</mml:mo><mml:mn mathvariant="normal">0.9</mml:mn></mml:mrow></mml:math></inline-formula>. We hope to
explore this in future work.</p>
      <?pagebreak page1947?><p id="d1e7184">Due to the nature of our HSs, we cannot use them to forecast specific EQs or
issue evacuation alarms. What the HSs can do, however, is to provide
information with forecasting skill to decision makers, in regions where the
HS switched from the passive state to the active state convincingly (i.e., the observed active state is persistent and not a temporary fluctuation), to
take courses of action that can lower the potential damage with minimal
costs. For example, in the passive state, the building inspection authority
can prioritize inspection and the issuing of safety permits to new projects
over re-inspections of old buildings. With the arrival of an active state
that might last a few months to a few years, local authorities would have
the incentive to clear up pending re-inspection works so that fewer old
buildings are exposed to potential EQ damage. Other than the re-inspection
of old buildings, local authorities could also increase the frequency of
safety education and drills to vulnerable groups such as students and
construction workers to reduce potential injuries or fatalities due to
panic or lack of understanding. Additionally, disaster relief services may
use the HS's information to re-deploy the stockpile of relief materials, such
as food, clothing, tents, and first-aid kits, whenever necessary. In doing
so, the stockpile of relief materials can be brought closer to high-risk
regions within a convincing active state to be distributed to victims more
cost-effectively after a major EQ.</p>
</sec>
<sec id="Ch1.S3.SS4">
  <label>3.4</label><title>Global-level significance tests of the forecasting power</title>
      <p id="d1e7196">From Fig. 11 alone, we have demonstrated the HS TSs are able to separate
time periods of low/high EQ probabilities for regions (cells in the grid
map) with high <inline-formula><mml:math id="M401" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> values. While the forecasting power of HS TSs in each
of these cells is statistically significant, the more critical among us may
wonder whether some of these cells can be significant purely by chance, even
though there is in reality no persistent correlation between EQs and HSs.
For example, any simulated HS TS in Fig. 10 would have at least a few cells
with high <inline-formula><mml:math id="M402" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> values. Therefore, in this next section, we will answer
the question of whether these HS TSs indeed contain useful information
about EQs or whether the number of “significant” cells can be explained by a random
null model where the EQs and HSs are mutually uninformative because we test
a large number of cells assuming that they are statistically independent.</p>
      <p id="d1e7221">In order to answer this question, we need to define a performance metric
that can quantify the performance of each station with a single value,
instead of a grid map of <inline-formula><mml:math id="M403" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> values. We start by assuming that all
stations have zero forecasting skill, but as a result of our statistical
test, some cells may still end up with high <inline-formula><mml:math id="M404" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> by chance. A truly
informative station should have significantly more cells with high <inline-formula><mml:math id="M405" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>
than random guesses. Taking the number of EQs into consideration, we
further propose that a truly informative station should have significantly
higher EQ counts located in high-performing cells. On the grid map, let us
define cells with <inline-formula><mml:math id="M406" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub><mml:mo>≥</mml:mo><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi mathvariant="normal">D</mml:mi><mml:mi mathvariant="normal">_</mml:mi><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> as <italic>satisfactory</italic> cells and the
rest as <italic>unsatisfactory</italic> cells, where <inline-formula><mml:math id="M407" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi mathvariant="normal">D</mml:mi><mml:mi mathvariant="normal">_</mml:mi><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is the user-defined
threshold that determines how high the <inline-formula><mml:math id="M408" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> should be in order to be
considered “high-performing”. As mentioned earlier, it is possible to work
out schemes that allow for a regionally acceptable <inline-formula><mml:math id="M409" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi mathvariant="normal">D</mml:mi><mml:mi mathvariant="normal">_</mml:mi><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>.
Here for simplicity let us consider a scheme with a uniform
<inline-formula><mml:math id="M410" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi mathvariant="normal">D</mml:mi><mml:mi mathvariant="normal">_</mml:mi><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> across all cells in the grid map. With this
setting we can proceed to define the single-value performance metric for
each station, as the <italic>ratio of EQs in satisfactory cells</italic>, or <inline-formula><mml:math id="M411" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">EQS</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, as
            <disp-formula id="Ch1.E10" content-type="numbered"><label>10</label><mml:math id="M412" display="block"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">EQS</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mo>∑</mml:mo><mml:mrow><mml:mi mathvariant="normal">satisfactory</mml:mi><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi mathvariant="normal">cells</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>N</mml:mi><mml:mi mathvariant="normal">EQ</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mo>∑</mml:mo><mml:mrow><mml:mi mathvariant="normal">all</mml:mi><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi mathvariant="normal">cells</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>N</mml:mi><mml:mi mathvariant="normal">EQ</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          where <inline-formula><mml:math id="M413" display="inline"><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi mathvariant="normal">EQ</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the number of EQs in each cell. This ratio of EQs in satisfactory cells takes on values
<inline-formula><mml:math id="M414" display="inline"><mml:mrow><mml:mn mathvariant="normal">0</mml:mn><mml:mo>≤</mml:mo><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">EQS</mml:mi></mml:msub><mml:mo>≤</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>. Intuitively, if <inline-formula><mml:math id="M415" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">EQS</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.4</mml:mn></mml:mrow></mml:math></inline-formula>, it means that given the
<inline-formula><mml:math id="M416" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi mathvariant="normal">D</mml:mi><mml:mi mathvariant="normal">_</mml:mi><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> value, <inline-formula><mml:math id="M417" display="inline"><mml:mrow><mml:mn mathvariant="normal">40</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="italic">%</mml:mi></mml:mrow></mml:math></inline-formula> of all EQs are located within
satisfactory cells and are therefore “forecasted” by the station to the
level required by the user (i.e., <inline-formula><mml:math id="M418" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi mathvariant="normal">D</mml:mi><mml:mi mathvariant="normal">_</mml:mi><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>. Therefore, to
show that a station has more forecasting power than random guesses, we
proceed to test a given station against the null hypothesis that a random
guess (simulated HS TS) can have the same <inline-formula><mml:math id="M419" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">EQS</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> as the
empirical HS TS or higher.</p>
      <p id="d1e7510">We carried out this hypothesis test station by station by first computing
the <inline-formula><mml:math id="M420" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">EQS</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> values of a station's empirical HS TS as well as of 400 HS TSs
simulated using the HMM parameters for the given station. We then defined
the <italic>global confidence level</italic> as
            <disp-formula id="Ch1.E11" content-type="numbered"><label>11</label><mml:math id="M421" display="block"><mml:mrow><mml:mi mathvariant="normal">GCL</mml:mi><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>(</mml:mo><mml:mtext>no. simulated</mml:mtext><mml:mspace linebreak="nobreak" width="0.25em"/><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">EQS</mml:mi></mml:msub><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mo>&lt;</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">empirical</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">EQS</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mn mathvariant="normal">400</mml:mn></mml:mfrac></mml:mstyle><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
          Similarly to the <inline-formula><mml:math id="M422" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> value for the cellular-level hypothesis test, the <inline-formula><mml:math id="M423" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> value
for this global-level hypothesis test is given by <inline-formula><mml:math id="M424" display="inline"><mml:mrow><mml:mi>p</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>-</mml:mo><mml:mi mathvariant="normal">GCL</mml:mi></mml:mrow></mml:math></inline-formula>, where the GCL
range is <inline-formula><mml:math id="M425" display="inline"><mml:mrow><mml:mo>[</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>]</mml:mo></mml:mrow></mml:math></inline-formula>, and gives the probability that the empirical HS TSs
have higher <inline-formula><mml:math id="M426" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">EQS</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> values than their simulated counterparts. For example, if a
station has GCL <inline-formula><mml:math id="M427" display="inline"><mml:mrow><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.99</mml:mn></mml:mrow></mml:math></inline-formula>, we can say that given the specified
<inline-formula><mml:math id="M428" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi mathvariant="normal">D</mml:mi><mml:mi mathvariant="normal">_</mml:mi><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, we are 99 % confident that the empirical HS TS
yields a higher <inline-formula><mml:math id="M429" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">EQS</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> than its simulated counterparts.</p>
      <p id="d1e7663">In Fig. 12, we show the results of our global-level significance tests, for
a choice of <inline-formula><mml:math id="M430" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi mathvariant="normal">D</mml:mi><mml:mi mathvariant="normal">_</mml:mi><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.95</mml:mn></mml:mrow></mml:math></inline-formula>, in the form of histograms of
the 400 simulated <inline-formula><mml:math id="M431" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">EQS</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> values compared against the empirical <inline-formula><mml:math id="M432" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">EQS</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>
values. Except for the LIOQ and LISH stations, we can see from Fig. 12 that all
the other stations have GCL values close to 1. This tells us that the
empirical <inline-formula><mml:math id="M433" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">EQS</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> values of the 18 stations are statistically significant.
We also observed that for <inline-formula><mml:math id="M434" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi mathvariant="normal">D</mml:mi><mml:mi mathvariant="normal">_</mml:mi><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.95</mml:mn></mml:mrow></mml:math></inline-formula>, the simulated
<inline-formula><mml:math id="M435" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">EQS</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> values are mostly around (or below) 0.05, meaning that only 5 %
of EQs are located in satisfactory cells by chance. In contrast, the
empirical <inline-formula><mml:math id="M436" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">EQS</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> values are mostly above 0.2, except for TOCH, LIOQ,
PULI, HERM, and LISH. These findings suggest the HS TSs'
EQ forecasting utility to be significant at the global level.</p>
      <p id="d1e7763">Last but not least, the histograms for each station in Fig. 12 are created
with individually optimized hyperparameters, namely <inline-formula><mml:math id="M437" display="inline"><mml:mrow><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (length of time
window to compute indexes <inline-formula><mml:math id="M438" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M439" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M440" display="inline"><mml:mi>S</mml:mi></mml:math></inline-formula>, and <inline-formula><mml:math id="M441" display="inline"><mml:mi>K</mml:mi></mml:math></inline-formula>, in days) and <inline-formula><mml:math id="M442" display="inline"><mml:mi>Q</mml:mi></mml:math></inline-formula> (number
of clusters for the <inline-formula><mml:math id="M443" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula>-means clustering). The optimal hyperparameter values
for each station are indicated in the titles for each station. Let us
discuss the details of this optimization process in the next section.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F12" specific-use="star"><?xmltex \currentcnt{12}?><?xmltex \def\figurename{Figure}?><label>Figure 12</label><caption><p id="d1e7822">Histograms (blue) of 400 simulated <inline-formula><mml:math id="M444" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">EQS</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>
values compared against the empirical <inline-formula><mml:math id="M445" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">EQS</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (vertical red line) for 20 stations and <inline-formula><mml:math id="M446" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi>D</mml:mi><mml:mi mathvariant="italic">_</mml:mi><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.95</mml:mn></mml:mrow></mml:math></inline-formula>, with the <inline-formula><mml:math id="M447" display="inline"><mml:mi mathvariant="normal">GCL</mml:mi></mml:math></inline-formula> values in the
legends. The hyperparameters of
<inline-formula><mml:math id="M448" display="inline"><mml:mrow><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M449" display="inline"><mml:mi>Q</mml:mi></mml:math></inline-formula> optimized for each
station are shown in each subplot's titles.</p></caption>
          <?xmltex \igopts{width=497.923228pt}?><graphic xlink:href="https://nhess.copernicus.org/articles/22/1931/2022/nhess-22-1931-2022-f12.png"/>

        </fig>

</sec>
<sec id="Ch1.S3.SS5">
  <label>3.5</label><title>Significance levels across the hyperparameter space</title>
      <?pagebreak page1948?><p id="d1e7907">Typically, a forecasting model's performance may be sensitive to our choice
of hyperparameters. If possible, we would like to choose hyperparameters
that make the model the most predictive. If there were too many
hyperparameters, this optimization would be challenging in the
high-dimensional search space. Fortunately, there are only two
hyperparameters needed to obtain the HS TS: <inline-formula><mml:math id="M450" display="inline"><mml:mrow><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M451" display="inline"><mml:mi>Q</mml:mi></mml:math></inline-formula>. In this section, we
show how the model performance (GCL) will vary across the tested
hyperparameter space, as well as how we chose the hyperparameters
<inline-formula><mml:math id="M452" display="inline"><mml:mrow><mml:mo>[</mml:mo><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mi>Q</mml:mi><mml:mo>]</mml:mo></mml:mrow></mml:math></inline-formula>, for each station. Due to the high computational cost to test
each combination of <inline-formula><mml:math id="M453" display="inline"><mml:mrow><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M454" display="inline"><mml:mi>Q</mml:mi></mml:math></inline-formula> (about 40 min per station on a desktop with
4 GHz quad-core i7 processors, 16 GB of RAM, running macOS Mojave 10.14.6),
we performed a coarse grid search over 28 points in the parameter space,
consisting of seven different <inline-formula><mml:math id="M455" display="inline"><mml:mrow><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> values: <inline-formula><mml:math id="M456" display="inline"><mml:mrow><mml:mo mathvariant="italic">{</mml:mo><mml:mn mathvariant="normal">0.02</mml:mn><mml:mo>,</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mn mathvariant="normal">0.03</mml:mn><mml:mo>,</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mn mathvariant="normal">0.04</mml:mn><mml:mo>,</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mn mathvariant="normal">0.05</mml:mn><mml:mo>,</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mn mathvariant="normal">0.1</mml:mn><mml:mo>,</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mn mathvariant="normal">0.2</mml:mn><mml:mo>,</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mn mathvariant="normal">0.25</mml:mn><mml:mo mathvariant="italic">}</mml:mo></mml:mrow></mml:math></inline-formula> d (or {28.8, 43.2, 57.6, 72, 144, 288, 360} min)
and four different <inline-formula><mml:math id="M457" display="inline"><mml:mi>Q</mml:mi></mml:math></inline-formula> values <inline-formula><mml:math id="M458" display="inline"><mml:mrow><mml:mo mathvariant="italic">{</mml:mo><mml:mn mathvariant="normal">30</mml:mn><mml:mo>,</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mn mathvariant="normal">40</mml:mn><mml:mo>,</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mn mathvariant="normal">60</mml:mn><mml:mo>,</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mn mathvariant="normal">80</mml:mn><mml:mo mathvariant="italic">}</mml:mo></mml:mrow></mml:math></inline-formula>. We decided on this
search space based on our experience during the model development stage. For
real-world applications, where more computational resources can be invested,
this hyperparameter optimization can be carried out over a larger and finer grid,
in which case better results can be expected.</p>
      <p id="d1e8055">For each choice of station and hyperparameter, we followed the same
procedure of computing 1 <inline-formula><mml:math id="M459" display="inline"><mml:mo>+</mml:mo></mml:math></inline-formula> 400 <inline-formula><mml:math id="M460" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">EQS</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> values, as well as the resulting
GCL value. In Figs. 13 and 14, we show the 20 heatmaps of <inline-formula><mml:math id="M461" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">EQS</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and
GCL across the hyperparameter space respectively for <inline-formula><mml:math id="M462" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi mathvariant="normal">D</mml:mi><mml:mi mathvariant="normal">_</mml:mi><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.95</mml:mn></mml:mrow></mml:math></inline-formula>. The results shown in Fig. 14 are more intuitive, where we found
that for many stations, the GCL values approach <inline-formula><mml:math id="M463" display="inline"><mml:mn mathvariant="normal">1</mml:mn></mml:math></inline-formula> across broad regions
of the hyperparameter space. This can for example be the full hyperparameter
space for the YULI station or a patch within the hyperparameter space for the KUOL
station. There is just one station (LISH) with poor GCL values everywhere
in the hyperparameter space, indicating that there might be exclusive
factors that severely limit LISH's forecasting power. For the other
19 stations, the GCL values are close to 1 across either a large area of
the parameter space or almost the entire parameter space (e.g., YULI, WANL,
ENAN, DABA). This result is compelling and is exactly what we needed for
our goal: to demonstrate the forecasting skill of the HS TS, which does not depend on highly optimized hyperparameters but is valid over a broad range of hyperparameters.</p>

      <?xmltex \floatpos{p}?><fig id="Ch1.F13" specific-use="star"><?xmltex \currentcnt{13}?><?xmltex \def\figurename{Figure}?><label>Figure 13</label><caption><p id="d1e8116">Heatmaps of <inline-formula><mml:math id="M464" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">EQS</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> values for all 20
stations across tested hyperparameter space, given
<inline-formula><mml:math id="M465" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi>D</mml:mi><mml:mi mathvariant="italic">_</mml:mi><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.95</mml:mn></mml:mrow></mml:math></inline-formula>.</p></caption>
          <?xmltex \igopts{width=497.923228pt}?><graphic xlink:href="https://nhess.copernicus.org/articles/22/1931/2022/nhess-22-1931-2022-f13.png"/>

        </fig>

      <?xmltex \floatpos{p}?><fig id="Ch1.F14" specific-use="star"><?xmltex \currentcnt{14}?><?xmltex \def\figurename{Figure}?><label>Figure 14</label><caption><p id="d1e8159">Heatmaps of <inline-formula><mml:math id="M466" display="inline"><mml:mi mathvariant="normal">GCL</mml:mi></mml:math></inline-formula> values for all 20 stations across
tested hyperparameter space, given <inline-formula><mml:math id="M467" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi>D</mml:mi><mml:mi mathvariant="italic">_</mml:mi><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.95</mml:mn></mml:mrow></mml:math></inline-formula>.</p></caption>
          <?xmltex \igopts{width=497.923228pt}?><graphic xlink:href="https://nhess.copernicus.org/articles/22/1931/2022/nhess-22-1931-2022-f14.png"/>

        </fig>

      <?pagebreak page1950?><p id="d1e8195">To wrap up this section, let us describe how to select the optimal
hyperparameter for each station. We did this in two steps: first, we
selected the hyperparameters with the highest GCL values (1 for many
stations); next, in case of ties, we chose the hyperparameter with the
highest <inline-formula><mml:math id="M468" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">EQS</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> as the winner. For example, for the WANL station in Fig. 14,
there are many cells with GCL <inline-formula><mml:math id="M469" display="inline"><mml:mrow><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>. We therefore proceeded to check the
heatmap for WANL in Fig. 13 and identified the hyperparameter
combination <inline-formula><mml:math id="M470" display="inline"><mml:mrow><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.03</mml:mn></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M471" display="inline"><mml:mrow><mml:mi>Q</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">80</mml:mn></mml:mrow></mml:math></inline-formula> as optimal since it has the highest
<inline-formula><mml:math id="M472" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">EQS</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> value. Using this selection procedure, we identified the optimal
hyperparameter for each station and used these individually optimal
hyperparameters to create Figs. 7 to 12. This selection procedure could also
be adapted for real-world applications, when more historical data and
computational power are available, to provide even better model
performances.</p>
</sec>
</sec>
<sec id="Ch1.S4" sec-type="conclusions">
  <label>4</label><title>Conclusions</title>
      <p id="d1e8266">EQ forecasting is an important research topic because of the potential
devastation EQs can cause. As has been pointed out by many past studies, there is a
correlation between features within geoelectric TSs and large individual
EQs. In those studies, different features of geoelectric TSs were explored
for their use of EQ forecasting, among which the GEMSTIP model was the first
one to directly use statistic index TSs of geoelectric TSs to produce TIPs
for EQ forecasting. Inspired by this, we took a second look at the
relationship between these statistic indexes and the timing of EQs and
found that there is an abrupt shift in the indexes' distribution along
the TTF axis. This suggests that there are at least two distinct
geoelectric regimes, which can be modeled and identified using a two-state
HMM. This finding is further backed by the knowledge that there can be
drastic tectonic configuration changes before and after a large EQ, one
important aspect of which being the telluric changes identified in the
region around the epicenter of the EQ (Sornette and Sornette, 1990;
Tong-En et al., 1999; Orihara et al., 2012; Kinoshita et al., 1989; Nomikos
et al., 1997). Therefore, should there be two higher-level tectonic regimes
featuring higher/lower EQ frequencies, we would expect to also find two
matching geoelectric regimes with contrasting statistical properties, which
can be of good utility for EQ forecasting.</p>
      <p id="d1e8269">Specifically, we modeled the earth crust system as having two HSs
identifiable with distinctive geoelectric features encoded by eight index TSs
from each station. To obtain the HMM for each station, we needed to run the
BWA, which is most convenient to use with a discrete observation TS input.
Therefore, we used <inline-formula><mml:math id="M473" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula>-means clustering to convert the continuous TS of
8-dimensional index vectors into a discrete observation TS and subsequently
obtained a converged HMM for each station. We then investigated whether
these HS TSs provide informative partitions of EQs, i.e., whether one of the HSs can
be interpreted as a passive state with less frequent EQs and the other
one as an active state with more frequent EQs. For this task, we defined the
EQ frequency ratio (<inline-formula><mml:math id="M474" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">F</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, which is the frequency of EQs in one of the HSs divided by the
total frequency of the EQs. Using <inline-formula><mml:math id="M475" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">F</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> we further defined the
discrimination power (<inline-formula><mml:math id="M476" display="inline"><mml:mrow><mml:mi>D</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> to measure how different one HS is from the other HS in terms of
the EQ frequency. We then plotted 16-by-16 grid maps of <inline-formula><mml:math id="M477" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">F</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M478" display="inline"><mml:mi>D</mml:mi></mml:math></inline-formula> for
all 20 stations and tested the statistical significance of <inline-formula><mml:math id="M479" display="inline"><mml:mi>D</mml:mi></mml:math></inline-formula> in each
cell by comparing the empirical value against the distribution of <inline-formula><mml:math id="M480" display="inline"><mml:mi>D</mml:mi></mml:math></inline-formula> from
400 simulated HS TSs to end up with the grid maps of discrimination reliability (<inline-formula><mml:math id="M481" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> for all 20
stations. To further investigate the statistical significance level at the
global scale, we defined <inline-formula><mml:math id="M482" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">EQS</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> to measure the percentage of total EQs
located within satisfactory cells, i.e., cells having <inline-formula><mml:math id="M483" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub><mml:mo>≥</mml:mo><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi mathvariant="normal">D</mml:mi><mml:mi mathvariant="normal">_</mml:mi><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> for a user-specified <inline-formula><mml:math id="M484" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi mathvariant="normal">D</mml:mi><mml:mi mathvariant="normal">_</mml:mi><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>
value. This <inline-formula><mml:math id="M485" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi mathvariant="normal">D</mml:mi><mml:mi mathvariant="normal">_</mml:mi><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> value can be easily customized for
different cells, but in this paper, we used a constant <inline-formula><mml:math id="M486" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi mathvariant="normal">D</mml:mi><mml:mi mathvariant="normal">_</mml:mi><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> value across the grid map for demonstration. By comparing the
<inline-formula><mml:math id="M487" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">EQS</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> value of the empirical model against those of 400 simulated
models, we obtained one global significance value for each station, namely
the global confidence level (GCL). This tells us how confident we can be that information
contained in the empirical HS TSs can be used for EQ forecasting.</p>
      <p id="d1e8453">Finally, we showed how we optimized the GCL values through a grid search
in the 2-dimensional hyperparameter space and obtained the optimal
combination of <inline-formula><mml:math id="M488" display="inline"><mml:mrow><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M489" display="inline"><mml:mi>Q</mml:mi></mml:math></inline-formula> individually for each station. As a result, among
the 20 stations with optimized hyperparameters, there are 19 stations with
GCL <inline-formula><mml:math id="M490" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula> <inline-formula><mml:math id="M491" display="inline"><mml:mn mathvariant="normal">0.95</mml:mn></mml:math></inline-formula>, 15 of which have GCL <inline-formula><mml:math id="M492" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula> <inline-formula><mml:math id="M493" display="inline"><mml:mn mathvariant="normal">0.99</mml:mn></mml:math></inline-formula>. Additionally, the confidence
levels are also robust across the hyperparameter space for most stations.
Based on these positive results, the hidden Markov modeling of the index
TSs computed from geoelectric TSs is indeed a viable way to extract
information that can be useful for EQ forecasting.</p>
      <p id="d1e8503">To the best of our knowledge, while there have been previous applications of
HMMs for earthquake forecasting, this paper is the first to demonstrate the
ability to do so with statistical confidence. As discussed in greater detail
in Sect. 3.3, in real-world scenarios, the HS TSs can be useful for
intermediate-term EQ forecasting either directly (for high-<inline-formula><mml:math id="M494" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> cells) or
as input features for higher-level algorithms that take information from all
20 stations (for low-<inline-formula><mml:math id="M495" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> cells). Beyond our demonstration of extracting
EQ-related information from geoelectric TSs, the HMM approach described in
this paper can also be explored on other high-frequency geophysical data,
such as those from geomagnetic, geochemical, hydrological, and GPS
measurements, for EQ forecasting.</p>
      <p id="d1e8529">At this point, we would like to address the issue of out-of-sample testing
(or cross-validation) to support the validity of our model. There are two
ways to do this: (1) split a long time series into a training data set to
calibrate the model and a testing data set to validate the model and (2) use whatever time series data are available to calibrate the model before
collecting more data to validate the model. If the model is statistically
stationary (its parameters do not change with time), both approaches are
acceptable. However, many would agree that an out-of-sample test with
freshly collected data<?pagebreak page1951?> (approach 2) is more impressive, especially if it
is performed in real time. We would certainly like to try this and are writing a
grant application to fund such a validation study. For this paper, however,
we were not even able to use approach 1 because our geoelectric time
series are not long enough. This is especially so if we require that (a) the
validation data are always temporally <italic>after</italic> the training data and (b) the
validation data are also intermediate term for intermediate-term EQ
forecasting. These two requirements cannot be fulfilled using our limited
7-year data if we want to have a significant number of
validations (e.g., 10 times) to produce confident claims. Therefore, in this paper, we
limited our scope to demonstrating that our model has <italic>forecasting skill</italic>, without quantifying
its <italic>exact forecasting accuracy</italic>. We argue that we have indeed achieved this, without the use of
out-of-sample testing, because in Sect. 3.5, we showed the forecasting skill is statistically significant regardless of the choice of the hyperparameters, for 19 out of the
20 stations that we tested. Furthermore, the statistical hypothesis test has
the advantage of giving rigorous <inline-formula><mml:math id="M496" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> values with moderate computation cost,
through simulating the HMM for multiple null-hypothesis tests.</p>
</sec>

      
      </body>
    <back><notes notes-type="codeavailability"><title>Code availability</title>

      <p id="d1e8553">The Python codes that we used to produce the results in this paper can be
downloaded at GitHub: <uri>https://github.com/wenhy1111/HMM_Geoelectric_EQ</uri>  (last access: 3 June 2022; <ext-link xlink:href="https://doi.org/10.5281/zenodo.6598498" ext-link-type="DOI">10.5281/zenodo.6598498</ext-link>, Wen, 2022).</p>
  </notes><notes notes-type="dataavailability"><title>Data availability</title>

      <p id="d1e8565">The data set of the index TSs for 20 stations computed using various time
windows <inline-formula><mml:math id="M497" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is available in a repository and can be accessed
via a DOI link: <ext-link xlink:href="https://doi.org/10.21979/N9/JSUTCD" ext-link-type="DOI">10.21979/N9/JSUTCD</ext-link> (Cheong, 2021). For the
0.5 Hz geoelectric TS data for 20 stations, the data are available on request
by contacting Hong-Jia Chen (redhouse6341@gmail.com) or
Chien-Chih Chen (chienchih.chen@g.ncu.edu.tw). The EQ catalogue
data are owned by a third party, the Central Weather Bureau in Taiwan.</p>
  </notes><app-group>
        <supplementary-material position="anchor"><p id="d1e8586">The supplement related to this article is available online at: <inline-supplementary-material xlink:href="https://doi.org/10.5194/nhess-22-1931-2022-supplement" xlink:title="pdf">https://doi.org/10.5194/nhess-22-1931-2022-supplement</inline-supplementary-material>.</p></supplementary-material>
        </app-group><notes notes-type="authorcontribution"><title>Author contributions</title>

      <p id="d1e8595">SAC and CCC came up with the research
motivation; HJC and HW processed the data; SAC and HW analyzed the results;
SAC, HW, and HJC drafted the manuscript; all co-authors read the manuscript
and suggested revisions.</p>
  </notes><notes notes-type="competinginterests"><title>Competing interests</title>

      <p id="d1e8601">The contact author has declared that neither they nor their co-authors have any competing interests.</p>
  </notes><notes notes-type="disclaimer"><title>Disclaimer</title>

      <p id="d1e8607">Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.</p>
  </notes><notes notes-type="financialsupport"><title>Financial support</title>

      <p id="d1e8613">Chien-Chih Chen has been supported by the Ministry of Science and Technology (Taiwan, grant no. MOST 110-2634-F-008-008) and the Department of Earth Sciences and the Earthquake-Disaster &amp; Risk Evaluation and Management Center (E-DREaM) at the National Central University (Taiwan).</p>
  </notes><notes notes-type="reviewstatement"><title>Review statement</title>

      <p id="d1e8619">This paper was edited by Filippos Vallianatos and reviewed by two anonymous referees.</p>
  </notes><ref-list>
    <title>References</title>

      <ref id="bib1.bib1"><label>1</label><?label 1?><mixed-citation>Abdel-Hamid, O. and Jiang, H.: Fast speaker adaptation of hybrid NN/HMM
model for speech recognition based on discriminative learning of speaker
code, 2013 IEEE International Conference on Acoustics, Speech and Signal
Processing, 7942–7946, <ext-link xlink:href="https://doi.org/10.1109/ICASSP.2013.6639211" ext-link-type="DOI">10.1109/ICASSP.2013.6639211</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bib2"><label>2</label><?label 1?><mixed-citation>
Asim, K., Martínez-Álvarez, F., Basit, A., and Iqbal, T.:
Earthquake magnitude prediction in Hindukush region using machine learning
techniques, Nat. Hazards, 85, 471–486, 2017.</mixed-citation></ref>
      <ref id="bib1.bib3"><label>3</label><?label 1?><mixed-citation>Asim, K. M., Idris, A., Martínez-Álvarez, F., and Iqbal, T.: Short
term earthquake prediction in Hindukush region using tree based ensemble
learning, 2016 International conference on frontiers of information
technology (FIT), 365–370,  <ext-link xlink:href="https://doi.org/10.1109/FIT.2016.073" ext-link-type="DOI">10.1109/FIT.2016.073</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bib4"><label>4</label><?label 1?><mixed-citation>Batac, R. C. and Kantz, H.: Observing spatio-temporal clustering and separation using interevent distributions of regional earthquakes, Nonlin. Processes Geophys., 21, 735–744, <ext-link xlink:href="https://doi.org/10.5194/npg-21-735-2014" ext-link-type="DOI">10.5194/npg-21-735-2014</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bib5"><label>5</label><?label 1?><mixed-citation>
Beyreuther, M. and Wassermann, J.: Continuous earthquake detection and
classification using discrete Hidden Markov Models, Geophys. J.
Int., 175, 1055–1066, 2008.</mixed-citation></ref>
      <ref id="bib1.bib6"><label>6</label><?label 1?><mixed-citation>Bilmes, J. A.: A gentle tutorial of the EM algorithm and its application to
parameter estimation for Gaussian mixture and hidden Markov models,
International Computer Science Institute, 4, p. 126, <uri>https://www.semanticscholar.org/paper/A-gentle-tutorial-of-the-em-algorithm-and-its-to-Bilmes/3a5fa1ea14cea5e55e4e1f844f78332fccefa285</uri> (last access: 30 May 2022), 1998.</mixed-citation></ref>
      <ref id="bib1.bib7"><label>7</label><?label 1?><mixed-citation>
Chambers, D. W., Baglivo, J. A., Ebel, J. E., and Kafka, A. L.: Earthquake
forecasting using hidden Markov models, Pure  Appl. Geophys., 169,
625–639, 2012.</mixed-citation></ref>
      <ref id="bib1.bib8"><label>8</label><?label 1?><mixed-citation>
Chavan, R. S. and Sable, G. S.: An overview of speech recognition using HMM,
International Journal of Computer Science and Mobile Computing, 2, 233–238,
2013.</mixed-citation></ref>
      <ref id="bib1.bib9"><label>9</label><?label 1?><mixed-citation>Cheong, S. A.: Hidden-State Modelling of a Cross-section of Geoelectric Time Series Data Can Provide Reliable Intermediate-term Probabilistic Earthquake Forecasting in Taiwan (V1), DR-NTU [data set], <ext-link xlink:href="https://doi.org/10.21979/N9/JSUTCD" ext-link-type="DOI">10.21979/N9/JSUTCD</ext-link>, 2021.</mixed-citation></ref>
      <ref id="bib1.bib10"><label>10</label><?label 1?><mixed-citation>
Chen, C.-C.: Accelerating seismicity of moderate-size earthquakes before the
1999 Chi-Chi, Taiwan, earthquake: Testing time-prediction of the
self-organizing spinodal model of earthquakes, Geophys. J.
Int., 155, F1–F5, 2003.</mixed-citation></ref>
      <ref id="bib1.bib11"><label>11</label><?label 1?><mixed-citation>
Chen, H.-J. and Chen, C.-C.: Testing the correlations between anomalies of
statistical indexes of the geoelectric system and earthquakes, Nat.
Hazards, 84, 877–895, 2016.</mixed-citation></ref>
      <ref id="bib1.bib12"><label>12</label><?label 1?><mixed-citation>
Chen, H.-J., Chen, C.-C., Ouillon, G., and Sornette, D.: Using skewness and
kurtosis of geoelectric fields to forecast the 2016/2/6, ML6. 6 Meinong,
Taiwan Earthquake, Terrestrial, Atmospheric and Oceanic Sciences, 28,
745–761, 2017.</mixed-citation></ref>
      <ref id="bib1.bib13"><label>13</label><?label 1?><mixed-citation>
Chen, H.-J., Chen, C.-C., Ouillon, G., and Sornette, D.: A paradigm for
developing earthquake probability forecasts based on geoelectric data, The
European Physical Journal Special Topics, 230, 381–407, 2021.</mixed-citation></ref>
      <ref id="bib1.bib14"><label>14</label><?label 1?><mixed-citation>Chen, H.-J., Chen, C.-C., Tseng, C.-Y., and Wang, J.-H.: Effect of tidal triggering on seismicity in Taiwan revealed by the empirical mode decomposition method, Nat. Hazards Earth Syst. Sci., 12, 2193–2202, <ext-link xlink:href="https://doi.org/10.5194/nhess-12-2193-2012" ext-link-type="DOI">10.5194/nhess-12-2193-2012</ext-link>, 2012.</mixed-citation></ref>
      <ref id="bib1.bib15"><label>15</label><?label 1?><mixed-citation>Chen, H. J., Ye, Z. K., Chiu, C. Y., Telesca, L., Chen, C. C., and Chang, W.
L.: Self-potential ambient noise and spectral relationship with
urbanization, seismicity, and strain rate revealed via the Taiwan
Geoelectric Monitoring Network, J. Geophys. Res.-Sol.
Ea., 125, e2019JB018196, <ext-link xlink:href="https://doi.org/10.1029/2019JB018196" ext-link-type="DOI">10.1029/2019JB018196</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bib16"><label>16</label><?label 1?><mixed-citation>
Cho, S.-B. and Park, H.-J.: Efficient anomaly detection by modeling
privilege flows using hidden Markov model, computers &amp; security, 22,
45-55, 2003.</mixed-citation></ref>
      <ref id="bib1.bib17"><label>17</label><?label 1?><mixed-citation>
Cornell, C. A.: Engineering seismic risk analysis, B.
Seismol. Soc. Am., 58, 1583–1606, 1968.</mixed-citation></ref>
      <ref id="bib1.bib18"><label>18</label><?label 1?><mixed-citation>
Dash, R., Paramguru, R. L., and Dash, R.: Comparative analysis of supervised
and unsupervised discretization techniques, International Journal of
Advances in Science and Technology, 2, 29–37, 2011.</mixed-citation></ref>
      <ref id="bib1.bib19"><label>19</label><?label 1?><mixed-citation>
Dieterich, J.: A constitutive law for rate of earthquake production and its
application to earthquake clustering, J. Geophys. Res.-Sol.
Ea., 99, 2601–2618, 1994.</mixed-citation></ref>
      <ref id="bib1.bib20"><label>20</label><?label 1?><mixed-citation>
Ebel, J. E., Chambers, D. W., Kafka, A. L., and Baglivo, J. A.:
Non-Poissonian earthquake clustering and the hidden Markov model as bases
for earthquake forecasting in California, Seismol. Res. Lett.,
78, 57–65, 2007.</mixed-citation></ref>
      <ref id="bib1.bib21"><label>21</label><?label 1?><mixed-citation>
Fischer, T. and Bachura, M.: Detection capability of seismic network based
on noise analysis and magnitude of completeness, J. Seismol., 18,
137–150, 2014.</mixed-citation></ref>
      <ref id="bib1.bib22"><label>22</label><?label 1?><mixed-citation>
Frohlich, C.: Aftershocks and temporal clustering of deep earthquakes,
J. Geophys. Res.-Sol. Ea., 92, 13944–13956, 1987.</mixed-citation></ref>
      <ref id="bib1.bib23"><label>23</label><?label 1?><mixed-citation>
Geller, R. J., Jackson, D. D., Kagan, Y. Y., and Mulargia, F.: Earthquakes
cannot be predicted, Science, 275, 1616–1616, 1997.</mixed-citation></ref>
      <ref id="bib1.bib24"><label>24</label><?label 1?><mixed-citation>
Gupta, A., Mehrotra, K. G., and Mohan, C.: A clustering-based discretization
for supervised learning, Stat. Probabil. Lett., 80, 816–824,
2010.</mixed-citation></ref>
      <ref id="bib1.bib25"><label>25</label><?label 1?><mixed-citation>
Hayakawa, M. and Hobara, Y.: Current status of seismo-electromagnetics for
short-term earthquake prediction, Geomatics, Natural Hazards and Risk, 1,
115–155, 2010.</mixed-citation></ref>
      <ref id="bib1.bib26"><label>26</label><?label 1?><mixed-citation>
Healy, J. H., Kossobokov, V. G., and Dewey, J. W.: A test to evaluate the earthquake prediction algorithm, M8, 92(401), US Geological Survey, 1992.</mixed-citation></ref>
      <ref id="bib1.bib27"><label>27</label><?label 1?><mixed-citation>
Holbrook, J., Autin, W. J., Rittenour, T. M., Marshak, S., and Goble, R. J.:
Stratigraphic evidence for millennial-scale temporal clustering of
earthquakes on a continental-interior fault: Holocene Mississippi River
floodplain deposits, New Madrid seismic zone, USA, Tectonophysics, 420,
431–454, 2006.</mixed-citation></ref>
      <ref id="bib1.bib28"><label>28</label><?label 1?><mixed-citation>
Huang, Q. and Lin, Y.: Selectivity of seismic electric signal (SES) of the
2000 Izu earthquake swarm: a 3D FEM numerical simulation model, P.
Jpn. Acad. B-Phys., 86, 257–264, 2010.</mixed-citation></ref>
      <ref id="bib1.bib29"><label>29</label><?label 1?><mixed-citation>Ismail-Zadeh, A. T.: Earthquake Prediction and Forecasting, in: Encyclopedia
of Natural Hazards, edited by: Bobrowsky, P. T., Springer Netherlands,
Dordrecht, 225–231, <ext-link xlink:href="https://doi.org/10.1007/978-1-4020-4399-4_106" ext-link-type="DOI">10.1007/978-1-4020-4399-4_106</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bib30"><label>30</label><?label 1?><mixed-citation>
Jiang, F., Chen, X., Chen, C.-C., and Chen, H.-J.: Relationship between
seismic electric signals and tectonics derived from dense geoelectric
observations in Taiwan, Pure Appl. Geophys., 177, 441–454, 2020.</mixed-citation></ref>
      <ref id="bib1.bib31"><label>31</label><?label 1?><mixed-citation>
Joshi, S. S. and Phoha, V. V.: Investigating hidden Markov models
capabilities in anomaly detection, Proceedings of the 43rd annual Southeast
regional conference-Volume 1, 98–103, 2005.</mixed-citation></ref>
      <ref id="bib1.bib32"><label>32</label><?label 1?><mixed-citation>
Kagan, Y. and Jackson, D.: Long-term probabilistic forecasting of
earthquakes, J. Geophys. Res.-Sol. Ea., 99, 13685–13700,
1994.</mixed-citation></ref>
      <ref id="bib1.bib33"><label>33</label><?label 1?><mixed-citation>
Kagan, Y. Y.: Are earthquakes predictable?, Geophys. J.
Int., 131, 505–525, 1997.</mixed-citation></ref>
      <ref id="bib1.bib34"><label>34</label><?label 1?><mixed-citation>
Kamiyama, M., Sugito, M., Kuse, M., Schekotov, A., and Hayakawa, M.: On the
precursors to the 2011 Tohoku earthquake: crustal movements and
electromagnetic signatures, Geomatics, Natural Hazards and Risk, 7, 471–492,
2016.</mixed-citation></ref>
      <ref id="bib1.bib35"><label>35</label><?label 1?><mixed-citation>Kanamori, H.: Earthquake prediction: An overview, International Geophysics Series, Academic Press, 81, 1205–1216, <ext-link xlink:href="https://doi.org/10.1016/S0074-6142(03)80186-9" ext-link-type="DOI">10.1016/S0074-6142(03)80186-9</ext-link>, 2003</mixed-citation></ref>
      <ref id="bib1.bib36"><label>36</label><?label 1?><mixed-citation>
Keilis-Borok, V. I.: Intermediate-term earthquake prediction, P.
Natl. Acad. Sci. USA, 93, 3748–3755, 1996.</mixed-citation></ref>
      <ref id="bib1.bib37"><label>37</label><?label 1?><mixed-citation>
Keilis-Borok, V. I. and Rotwain, I.: Diagnosis of time of increased
probability of strong earthquakes in different regions of the world:
algorithm CN, Phys. Earth  Planet. Int., 61, 57–72, 1990.</mixed-citation></ref>
      <ref id="bib1.bib38"><label>38</label><?label 1?><mixed-citation>Kinoshita, M., Uyeshima, M., and Uyeda, S.: Earthquake Prediction Research
by Means of Telluric Potential Monitoring: Progress Report No. 1:
Installation of Monitoring Network,  Bulletin of the Earthquake Research Institute,
University of Tokyo, 64, <uri>https://repository.dl.itc.u-tokyo.ac.jp/?action=repository_action_common_download&amp;item_id=32803&amp;item_no=1&amp;attribute_id=19&amp;file_no=1</uri> (last access: 30 May 2022), 255–311, 1989.</mixed-citation></ref>
      <ref id="bib1.bib39"><label>39</label><?label 1?><mixed-citation>
Kossobokov, V., Romashkova, L., Panza, G., and Peresan, A.: Stabilizing
intermediate-term medium-range earthquake predictions, Journal of Seismology
and Earthquake Engineering, 4, 11–19, 2002.</mixed-citation></ref>
      <ref id="bib1.bib40"><label>40</label><?label 1?><mixed-citation>Kuo-Chen, H., Wu, F. T., and Roecker, S. W.: Three-dimensional P velocity
structures of the lithosphere beneath Taiwan from the analysis of TAIGER and
related seismic data sets, J. Geophys. Res.-Sol. Ea.,
117,  B06306, <ext-link xlink:href="https://doi.org/10.1029/2011JB009108" ext-link-type="DOI">10.1029/2011JB009108</ext-link>, 2012.</mixed-citation></ref>
      <ref id="bib1.bib41"><label>41</label><?label 1?><mixed-citation>Larue, P., Jallon, P., and Rivet, B.: Modified k-mean clustering method of
HMM states for initialization of Baum-Welch training algorithm, 2011 19th
European Signal Processing Conference,   Barcelona, Spain, 29 August–2 September 2011, <uri>https://hal.archives-ouvertes.fr/hal-00620012</uri> (last access: 30 May 2022), 951–955, 2011.</mixed-citation></ref>
      <ref id="bib1.bib42"><label>42</label><?label 1?><mixed-citation>
Lee, S. J., Yeh, T. Y., and Lin, Y. Y.: Anomalously large ground motion in the 2016 ML 6.6 Meinong, Taiwan, earthquake: A synergy effect of source rupture and site amplification, Seismol. Res. Lett., 87, 1319–1326, 2016.</mixed-citation></ref>
      <?pagebreak page1953?><ref id="bib1.bib43"><label>43</label><?label 1?><mixed-citation>
Marzocchi, W., Zechar, J. D., and Jordan, T. H.: Bayesian forecast
evaluation and ensemble earthquake forecasting, B.
Seismol. Soc. Am., 102, 2574–2584, 2012.</mixed-citation></ref>
      <ref id="bib1.bib44"><label>44</label><?label 1?><mixed-citation>
Meletti, C., Galadini, F., Valensise, G., Stucchi, M., Basili, R., Barba,
S., Vannucci, G., and Boschi, E.: A seismic source zone model for the
seismic hazard assessment of the Italian territory, Tectonophysics, 450,
85–108, 2008.</mixed-citation></ref>
      <ref id="bib1.bib45"><label>45</label><?label 1?><mixed-citation>
Mignan, A., Werner, M., Wiemer, S., Chen, C.-C., and Wu, Y.-M.: Bayesian
estimation of the spatially varying completeness magnitude of earthquake
catalogs, B. Seismol. Soc. Am., 101, 1371–1385,
2011.</mixed-citation></ref>
      <ref id="bib1.bib46"><label>46</label><?label 1?><mixed-citation>
Moustra, M., Avraamides, M., and Christodoulou, C.: Artificial neural
networks for earthquake prediction using time series magnitude data or
seismic electric signals, Expert Syst. Appl., 38, 15032–15039,
2011.</mixed-citation></ref>
      <ref id="bib1.bib47"><label>47</label><?label 1?><mixed-citation>Nanjo, K., Rundle, J., Holliday, J., and Turcotte, D.: Pattern informatics
and its application for optimal forecasting of large earthquakes in Japan,
in: Computational Earthquake Physics: Simulations, Analysis and
Infrastructure, Part II, edited by: Yin, Xc., Mora, P., Donnellan, A., and Matsu’ura, M., Springer, 2417–2432, <ext-link xlink:href="https://doi.org/10.1007/978-3-7643-8131-8_12" ext-link-type="DOI">10.1007/978-3-7643-8131-8_12</ext-link>, 2006.</mixed-citation></ref>
      <ref id="bib1.bib48"><label>48</label><?label 1?><mixed-citation>
Nanjo, K., Ishibe, T., Tsuruoka, H., Schorlemmer, D., Ishigaki, Y., and
Hirata, N.: Analysis of the completeness magnitude and seismic network
coverage of Japan, B. Seismol. Soc. Am., 100,
3261–3268, 2010.</mixed-citation></ref>
      <ref id="bib1.bib49"><label>49</label><?label 1?><mixed-citation>
Nath, S. and Thingbaijam, K.: Probabilistic seismic hazard assessment of
India, Seismol. Res. Lett., 83, 135–149, 2012.</mixed-citation></ref>
      <ref id="bib1.bib50"><label>50</label><?label 1?><mixed-citation>Nomikos, K., Vallianatos, F., Kaliakatsos, I., Sideris, E., and Bakatsakis,
M.: The latest aspects of telluric and electromagnetic variations associated
with shallow and intermediate depth earthquakes in the South Aegean, Ann.
Geophys., 40, 2, <ext-link xlink:href="https://doi.org/10.4401/ag-3919" ext-link-type="DOI">10.4401/ag-3919</ext-link>, 1997.</mixed-citation></ref>
      <ref id="bib1.bib51"><label>51</label><?label 1?><mixed-citation>Novoa, J., Wuth, J., Escudero, J. P., Fredes, J., Mahu, R., and Yoma, N. B.:
DNN-HMM based automatic speech recognition for HRI scenarios, Proceedings of
the 2018 ACM/IEEE International Conference on Human-Robot Interaction,
150–159, <ext-link xlink:href="https://doi.org/10.1145/3171221.3171280" ext-link-type="DOI">10.1145/3171221.3171280</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bib52"><label>52</label><?label 1?><mixed-citation>
Orihara, Y., Kamogawa, M., Nagao, T., and Uyeda, S.: Preseismic anomalous
telluric current signals observed in Kozu-shima Island, Japan, P.
Natl. Acad. Sci. USA, 109, 19125-19128, 2012.</mixed-citation></ref>
      <ref id="bib1.bib53"><label>53</label><?label 1?><mixed-citation>Oudelha, M. and Ainon, R. N.: HMM parameters estimation using hybrid
Baum-Welch genetic algorithm, 2010 International Symposium on Information
Technology, 542–545, <ext-link xlink:href="https://doi.org/10.1109/ITSIM.2010.5561388" ext-link-type="DOI">10.1109/ITSIM.2010.5561388</ext-link>, 2010.</mixed-citation></ref>
      <ref id="bib1.bib54"><label>54</label><?label 1?><mixed-citation>
Palaz, D., Magimai-Doss, M., and Collobert, R.: End-to-end acoustic modeling
using convolutional neural networks for HMM-based automatic speech
recognition, Speech Commun., 108, 15–32, 2019.</mixed-citation></ref>
      <ref id="bib1.bib55"><label>55</label><?label 1?><mixed-citation>
Pan, S.-T., Cheng, Y.-Y., Wu, C.-L., Chang, R. H., Chiu, C., Foo, N.-P., Chen, P.-T., Wang, T.-Y., Chen, L.-H., and Chen, C.-J.: Association of injury pattern and entrapment location inside damaged buildings in the 2016 Taiwan earthquake, J. Formos. Med. Assoc., 118, 311–323, 2019.</mixed-citation></ref>
      <ref id="bib1.bib56"><label>56</label><?label 1?><mixed-citation>Papadimitriou, E. E.: Long-term earthquake prediction along the western
coast of South and Central America based on a time predictable model, in:
Shallow Subduction Zones: Seismicity, Mechanics and Seismic Potential Part
1, edited by: Dmowska, R. and Ekström, G., Springer, 301–316, <ext-link xlink:href="https://doi.org/10.1007/978-3-0348-5846-5_6" ext-link-type="DOI">10.1007/978-3-0348-5846-5_6</ext-link>, 1993.</mixed-citation></ref>
      <ref id="bib1.bib57"><label>57</label><?label 1?><mixed-citation>
Papazachos, B., Papadimitriou, E., Karakaisis, G., and Panagiotopoulos, D.:
Long-term earthquake prediction in the circum-Pacific convergent belt, Pure
Appl. Geophys., 149, 173–217, 1997.</mixed-citation></ref>
      <ref id="bib1.bib58"><label>58</label><?label 1?><mixed-citation>
Papazachos, B., Papadimitriou, E., Kiratzi, A., Papaioannou, C. A., and
Karakaisis, G.: Probabilities of occurrence of large earthquakes in the
Aegean and surrounding area during the period 1986–2006, Pure Appl.
Geophys., 125, 597–612, 1987.</mixed-citation></ref>
      <ref id="bib1.bib59"><label>59</label><?label 1?><mixed-citation>
Peresan, A., Kossobokov, V., Romashkova, L., and Panza, G.:
Intermediate-term middle-range earthquake predictions in Italy: a review,
Earth-Sci. Rev., 69, 97–132, 2005.</mixed-citation></ref>
      <ref id="bib1.bib60"><label>60</label><?label 1?><mixed-citation>Petersen, M. D.: Probabilistic seismic hazard assessment for the state of California, California Department of Conservation Division of Mines and Geology, 96–706, <ext-link xlink:href="https://doi.org/10.3133/ofr96706" ext-link-type="DOI">10.3133/ofr96706</ext-link>, 1996.</mixed-citation></ref>
      <ref id="bib1.bib61"><label>61</label><?label 1?><mixed-citation>
Qiao, Y., Xin, X., Bin, Y., and Ge, S.: Anomaly intrusion detection method
based on HMM, Electron. Lett., 38, 663–664, 2002.</mixed-citation></ref>
      <ref id="bib1.bib62"><label>62</label><?label 1?><mixed-citation>
Reyes, J., Morales-Esteban, A., and Martínez-Álvarez, F.: Neural
networks to predict earthquakes in Chile, Appl. Soft Comput., 13,
1314–1328, 2013.</mixed-citation></ref>
      <ref id="bib1.bib63"><label>63</label><?label 1?><mixed-citation>Rundle, J. B., Klein, W., Turcotte, D. L., and Malamud, B. D.: Precursory
seismic activation and critical-point phenomena, in: Microscopic and
Macroscopic Simulation: Towards Predictive Modelling of the Earthquake
Process, edited by: Mora, P., Matsu’ura, M., Madariaga, R., and Minster, J. B., Springer, 2165–2182, <ext-link xlink:href="https://doi.org/10.1007/978-3-0348-7695-7_19" ext-link-type="DOI">10.1007/978-3-0348-7695-7_19</ext-link>, 2000.</mixed-citation></ref>
      <ref id="bib1.bib64"><label>64</label><?label 1?><mixed-citation>
Rydelek, P. A. and Sacks, I. S.: Testing the completeness of earthquake
catalogues and the hypothesis of self-similarity, Nature, 337, 251–253,
1989.</mixed-citation></ref>
      <ref id="bib1.bib65"><label>65</label><?label 1?><mixed-citation>
Sarlis, N., Lazaridou, M., Kapiris, P., and Varotsos, P.: Numerical model of
the selectivity effect and the ÄV/L criterion, Geophys. Res.
Lett., 26, 3245–3248, 1999.</mixed-citation></ref>
      <ref id="bib1.bib66"><label>66</label><?label 1?><mixed-citation>Sarlis, N. V.: Statistical Significance of Earth's Electric and Magnetic
Field Variations Preceding Earthquakes in Greece and Japan Revisited,
Entropy, 20, 561, <ext-link xlink:href="https://doi.org/10.3390/e20080561" ext-link-type="DOI">10.3390/e20080561</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bib67"><label>67</label><?label 1?><mixed-citation>SciPy Cookbook: Butterworth Bandpass: <uri>https://scipy-cookbook.readthedocs.io/items/ButterworthBandpass.html</uri> (last access: 23 April 2021),  2012.</mixed-citation></ref>
      <ref id="bib1.bib68"><label>68</label><?label 1?><mixed-citation>
Shebalin, P., Keilis-Borok, V., Gabrielov, A., Zaliapin, I., and Turcotte,
D.: Short-term earthquake prediction by reverse analysis of lithosphere
dynamics, Tectonophysics, 413, 63–75, 2006.</mixed-citation></ref>
      <ref id="bib1.bib69"><label>69</label><?label 1?><mixed-citation>Shin, T.-C., Chang, C.-H., Pu, H.-C., Hsiao-Wei, L., and Leu, P.-L.: The
geophysical database management system in Taiwan, TAO: Terrestrial,
Atmos. Ocean. Sci., 24, T51A–2454, <ext-link xlink:href="https://doi.org/10.3319/TAO.2012.09.20.01(T)" ext-link-type="DOI">10.3319/TAO.2012.09.20.01(T)</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bib70"><label>70</label><?label 1?><mixed-citation>
Sornette, A. and Sornette, D.: Earthquake rupture as a critical point:
Consequences for telluric precursors, Tectonophysics, 179, 327–334, 1990.</mixed-citation></ref>
      <ref id="bib1.bib71"><label>71</label><?label 1?><mixed-citation>
Sykes, L. R.: Intermediate-and long-term earthquake prediction, P. Natl. Acad. Sci. USA, 93, 3732-3739, 1996.</mixed-citation></ref>
      <ref id="bib1.bib72"><label>72</label><?label 1?><mixed-citation>Tavakoli, B. and Ghafory-Ashtiany, M.: Seismic hazard assessment of Iran, Ann. Geophys., 42, 6,  <ext-link xlink:href="https://doi.org/10.4401/ag-3781" ext-link-type="DOI">10.4401/ag-3781</ext-link>, 1999.</mixed-citation></ref>
      <ref id="bib1.bib73"><label>73</label><?label 1?><mixed-citation>Telesca, L., Lapenna, V., and Lovallo, M.: Fisher Information Analysis of earthquake-related geoelectrical signals, Nat. Hazards Earth Syst. Sci., 5, 561–564, <ext-link xlink:href="https://doi.org/10.5194/nhess-5-561-2005" ext-link-type="DOI">10.5194/nhess-5-561-2005</ext-link>, 2005a.</mixed-citation></ref>
      <?pagebreak page1954?><ref id="bib1.bib74"><label>74</label><?label 1?><mixed-citation>Telesca, L., Lapenna, V., and Macchiato, M.: Multifractal fluctuations in
earthquake-related geoelectrical signals, New J. Phys., 7, 214, <ext-link xlink:href="https://doi.org/10.1088/1367-2630/7/1/214" ext-link-type="DOI">10.1088/1367-2630/7/1/214</ext-link>,
2005b.</mixed-citation></ref>
      <ref id="bib1.bib75"><label>75</label><?label 1?><mixed-citation>
Telesca, L., Lovallo, M., Ramirez-Rojas, A., and Angulo-Brown, F.: A
nonlinear strategy to reveal seismic precursory signatures in
earthquake-related self-potential signals, Physica A, 388, 2036–2040, 2009.</mixed-citation></ref>
      <ref id="bib1.bib76"><label>76</label><?label 1?><mixed-citation>
Telesca, L., Lovallo, M., Romano, G., Konstantinou, K. I., Hsu, H.-L., and
Chen, C.-c.: Using the informational Fisher–Shannon method to investigate
the influence of long-term deformation processes on geoelectrical signals:
An example from the Taiwan orogeny, Physica A, 414, 340–351, 2014.</mixed-citation></ref>
      <ref id="bib1.bib77"><label>77</label><?label 1?><mixed-citation>
Tong-En, M., Ji-Lou, X., Yan-Qiong, W., and Shu-Zhi, Y.: The variation characteristics of the telluric field in the process of earthquake, Chinese J. Geophys., 42, 520–528, 1999.</mixed-citation></ref>
      <ref id="bib1.bib78"><label>78</label><?label 1?><mixed-citation>
Uyeda, S., Nagao, T., Orihara, Y., Yamaguchi, T., and Takahashi, I.:
Geoelectric potential changes: Possible precursors to earthquakes in Japan,
P. Natl. Acad. Sci. USA, 97, 4561–4566, 2000.</mixed-citation></ref>
      <ref id="bib1.bib79"><label>79</label><?label 1?><mixed-citation>
Varotsos, P. and Lazaridou, M.: Latest aspects of earthquake prediction in
Greece based on seismic electric signals, Tectonophysics, 188, 321–347,
1991.</mixed-citation></ref>
      <ref id="bib1.bib80"><label>80</label><?label 1?><mixed-citation>
Varotsos, P., Alexopoulos, K., and Lazaridou, M.: Latest aspects of
earthquake prediction in Greece based on seismic electric signals, II,
Tectonophysics, 224, 1–37, 1993.</mixed-citation></ref>
      <ref id="bib1.bib81"><label>81</label><?label 1?><mixed-citation>Varotsos, P., Sarlis, N., and Skordas, E.: Long-range correlations in the
electric signals that precede rupture, Phys. Rev. E, 66, 011902, <ext-link xlink:href="https://doi.org/10.1103/PhysRevE.66.011902" ext-link-type="DOI">10.1103/PhysRevE.66.011902</ext-link>, 2002.</mixed-citation></ref>
      <ref id="bib1.bib82"><label>82</label><?label 1?><mixed-citation>
Varotsos, P., Sarlis, N., Skordas, E., and Lazaridou, M.: Seismic Electric
Signals: An additional fact showing their physical interconnection with
seismicity, Tectonophysics, 589, 116–125, 2013.</mixed-citation></ref>
      <ref id="bib1.bib83"><label>83</label><?label 1?><mixed-citation>Varotsos, P. A., Sarlis, N. V., and Skordas, E. S.: Identifying the
occurrence time of an impending major earthquake: a review, Earthquake
Science, 30, 209–218, 2017.
 </mixed-citation></ref><?xmltex \hack{\newpage}?>
      <ref id="bib1.bib84"><label>84</label><?label 1?><mixed-citation>
Vilanova, S. P. and Fonseca, J. F.: Probabilistic seismic-hazard assessment
for Portugal, B. Seismol. Soc. Am., 97,
1702–1717, 2007.</mixed-citation></ref>
      <ref id="bib1.bib85"><label>85</label><?label 1?><mixed-citation>
Wang, T. and Bebbington, M.: Identifying anomalous signals in GPS data using
HMMs: An increased likelihood of earthquakes?, Comput. Stat.
Data An., 58, 27–44, 2013.</mixed-citation></ref>
      <ref id="bib1.bib86"><label>86</label><?label 1?><mixed-citation>
Wang, Y.-J., Chan, C.-H., Lee, Y.-T., Ma, K.-F., Shyu, J. B. H., Rau, R.-J.,
and Cheng, C.-T.: Probabilistic seismic hazard assessment for Taiwan, Terr.
Atmos. Ocean. Sci., 27, 325–340, 2016.</mixed-citation></ref>
      <ref id="bib1.bib87"><label>87</label><?label 1?><mixed-citation>Wen, H.: HMM_Geoelectric_EQ (v1.0), Zenodo [code], <ext-link xlink:href="https://doi.org/10.5281/zenodo.6598498" ext-link-type="DOI">10.5281/zenodo.6598498</ext-link>, 2022.</mixed-citation></ref>
      <ref id="bib1.bib88"><label>88</label><?label 1?><mixed-citation>
Wen, F., Chen, Z.-h., Zhuo, R., and Zhou, G.-m.: Reinforcement learning
method of continuous state adaptively discretized based on K-means
clustering, Control and Decision, 21, 143, 2006.</mixed-citation></ref>
      <ref id="bib1.bib89"><label>89</label><?label 1?><mixed-citation>
Yang, F., Balakrishnan, S., and Wainwright, M. J.: Statistical and
computational guarantees for the Baum-Welch algorithm, J.
Mach. Learn. Res., 18, 4528–4580, 2017.</mixed-citation></ref>
      <ref id="bib1.bib90"><label>90</label><?label 1?><mixed-citation>
Yang, L., Widjaja, B., and Prasad, R.: Application of hidden Markov models
for signature verification, Pattern Recogn., 28, 161–170, 1995.</mixed-citation></ref>
      <ref id="bib1.bib91"><label>91</label><?label 1?><mixed-citation>
Yi-Ben, T.: Seismotectonics of Taiwan, Tectonophysics, 125, 17–37, 1986.</mixed-citation></ref>
      <ref id="bib1.bib92"><label>92</label><?label 1?><mixed-citation>
Yip, C. F., Ng, W. L., and Yau, C. Y.: A hidden Markov model for earthquake
prediction, Stoch. Env. Res. Risk A., 32,
1415–1434, 2018.</mixed-citation></ref>
      <ref id="bib1.bib93"><label>93</label><?label 1?><mixed-citation>Zhang, Y., Zhao, D., and Liu, J.: The application of baum-welch algorithm in
multistep attack,  Sci. World J., 2014, 374260,  <ext-link xlink:href="https://doi.org/10.1155/2014/374260" ext-link-type="DOI">10.1155/2014/374260</ext-link>, 2014.</mixed-citation></ref>

  </ref-list></back>
    <!--<article-title-html>Hidden-state modeling of a cross-section of geoelectric time series data can provide reliable intermediate-term probabilistic earthquake forecasting in Taiwan</article-title-html>
<abstract-html/>
<ref-html id="bib1.bib1"><label>1</label><mixed-citation>
      
Abdel-Hamid, O. and Jiang, H.: Fast speaker adaptation of hybrid NN/HMM
model for speech recognition based on discriminative learning of speaker
code, 2013 IEEE International Conference on Acoustics, Speech and Signal
Processing, 7942–7946, <a href="https://doi.org/10.1109/ICASSP.2013.6639211" target="_blank">https://doi.org/10.1109/ICASSP.2013.6639211</a>, 2013.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib2"><label>2</label><mixed-citation>
      
Asim, K., Martínez-Álvarez, F., Basit, A., and Iqbal, T.:
Earthquake magnitude prediction in Hindukush region using machine learning
techniques, Nat. Hazards, 85, 471–486, 2017.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib3"><label>3</label><mixed-citation>
      
Asim, K. M., Idris, A., Martínez-Álvarez, F., and Iqbal, T.: Short
term earthquake prediction in Hindukush region using tree based ensemble
learning, 2016 International conference on frontiers of information
technology (FIT), 365–370,  <a href="https://doi.org/10.1109/FIT.2016.073" target="_blank">https://doi.org/10.1109/FIT.2016.073</a>, 2016.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib4"><label>4</label><mixed-citation>
      
Batac, R. C. and Kantz, H.: Observing spatio-temporal clustering and separation using interevent distributions of regional earthquakes, Nonlin. Processes Geophys., 21, 735–744, <a href="https://doi.org/10.5194/npg-21-735-2014" target="_blank">https://doi.org/10.5194/npg-21-735-2014</a>, 2014.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib5"><label>5</label><mixed-citation>
      
Beyreuther, M. and Wassermann, J.: Continuous earthquake detection and
classification using discrete Hidden Markov Models, Geophys. J.
Int., 175, 1055–1066, 2008.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib6"><label>6</label><mixed-citation>
      
Bilmes, J. A.: A gentle tutorial of the EM algorithm and its application to
parameter estimation for Gaussian mixture and hidden Markov models,
International Computer Science Institute, 4, p. 126, <a href="https://www.semanticscholar.org/paper/A-gentle-tutorial-of-the-em-algorithm-and-its-to-Bilmes/3a5fa1ea14cea5e55e4e1f844f78332fccefa285" target="_blank"/> (last access: 30 May 2022), 1998.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib7"><label>7</label><mixed-citation>
      
Chambers, D. W., Baglivo, J. A., Ebel, J. E., and Kafka, A. L.: Earthquake
forecasting using hidden Markov models, Pure  Appl. Geophys., 169,
625–639, 2012.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib8"><label>8</label><mixed-citation>
      
Chavan, R. S. and Sable, G. S.: An overview of speech recognition using HMM,
International Journal of Computer Science and Mobile Computing, 2, 233–238,
2013.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib9"><label>9</label><mixed-citation>
      
Cheong, S. A.: Hidden-State Modelling of a Cross-section of Geoelectric Time Series Data Can Provide Reliable Intermediate-term Probabilistic Earthquake Forecasting in Taiwan (V1), DR-NTU [data set], <a href="https://doi.org/10.21979/N9/JSUTCD" target="_blank">https://doi.org/10.21979/N9/JSUTCD</a>, 2021.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib10"><label>10</label><mixed-citation>
      
Chen, C.-C.: Accelerating seismicity of moderate-size earthquakes before the
1999 Chi-Chi, Taiwan, earthquake: Testing time-prediction of the
self-organizing spinodal model of earthquakes, Geophys. J.
Int., 155, F1–F5, 2003.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib11"><label>11</label><mixed-citation>
      
Chen, H.-J. and Chen, C.-C.: Testing the correlations between anomalies of
statistical indexes of the geoelectric system and earthquakes, Nat.
Hazards, 84, 877–895, 2016.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib12"><label>12</label><mixed-citation>
      
Chen, H.-J., Chen, C.-C., Ouillon, G., and Sornette, D.: Using skewness and
kurtosis of geoelectric fields to forecast the 2016/2/6, ML6. 6 Meinong,
Taiwan Earthquake, Terrestrial, Atmospheric and Oceanic Sciences, 28,
745–761, 2017.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib13"><label>13</label><mixed-citation>
      
Chen, H.-J., Chen, C.-C., Ouillon, G., and Sornette, D.: A paradigm for
developing earthquake probability forecasts based on geoelectric data, The
European Physical Journal Special Topics, 230, 381–407, 2021.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib14"><label>14</label><mixed-citation>
      
Chen, H.-J., Chen, C.-C., Tseng, C.-Y., and Wang, J.-H.: Effect of tidal triggering on seismicity in Taiwan revealed by the empirical mode decomposition method, Nat. Hazards Earth Syst. Sci., 12, 2193–2202, <a href="https://doi.org/10.5194/nhess-12-2193-2012" target="_blank">https://doi.org/10.5194/nhess-12-2193-2012</a>, 2012.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib15"><label>15</label><mixed-citation>
      
Chen, H. J., Ye, Z. K., Chiu, C. Y., Telesca, L., Chen, C. C., and Chang, W.
L.: Self-potential ambient noise and spectral relationship with
urbanization, seismicity, and strain rate revealed via the Taiwan
Geoelectric Monitoring Network, J. Geophys. Res.-Sol.
Ea., 125, e2019JB018196, <a href="https://doi.org/10.1029/2019JB018196" target="_blank">https://doi.org/10.1029/2019JB018196</a>, 2020.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib16"><label>16</label><mixed-citation>
      
Cho, S.-B. and Park, H.-J.: Efficient anomaly detection by modeling
privilege flows using hidden Markov model, computers &amp; security, 22,
45-55, 2003.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib17"><label>17</label><mixed-citation>
      
Cornell, C. A.: Engineering seismic risk analysis, B.
Seismol. Soc. Am., 58, 1583–1606, 1968.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib18"><label>18</label><mixed-citation>
      
Dash, R., Paramguru, R. L., and Dash, R.: Comparative analysis of supervised
and unsupervised discretization techniques, International Journal of
Advances in Science and Technology, 2, 29–37, 2011.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib19"><label>19</label><mixed-citation>
      
Dieterich, J.: A constitutive law for rate of earthquake production and its
application to earthquake clustering, J. Geophys. Res.-Sol.
Ea., 99, 2601–2618, 1994.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib20"><label>20</label><mixed-citation>
      
Ebel, J. E., Chambers, D. W., Kafka, A. L., and Baglivo, J. A.:
Non-Poissonian earthquake clustering and the hidden Markov model as bases
for earthquake forecasting in California, Seismol. Res. Lett.,
78, 57–65, 2007.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib21"><label>21</label><mixed-citation>
      
Fischer, T. and Bachura, M.: Detection capability of seismic network based
on noise analysis and magnitude of completeness, J. Seismol., 18,
137–150, 2014.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib22"><label>22</label><mixed-citation>
      
Frohlich, C.: Aftershocks and temporal clustering of deep earthquakes,
J. Geophys. Res.-Sol. Ea., 92, 13944–13956, 1987.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib23"><label>23</label><mixed-citation>
      
Geller, R. J., Jackson, D. D., Kagan, Y. Y., and Mulargia, F.: Earthquakes
cannot be predicted, Science, 275, 1616–1616, 1997.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib24"><label>24</label><mixed-citation>
      
Gupta, A., Mehrotra, K. G., and Mohan, C.: A clustering-based discretization
for supervised learning, Stat. Probabil. Lett., 80, 816–824,
2010.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib25"><label>25</label><mixed-citation>
      
Hayakawa, M. and Hobara, Y.: Current status of seismo-electromagnetics for
short-term earthquake prediction, Geomatics, Natural Hazards and Risk, 1,
115–155, 2010.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib26"><label>26</label><mixed-citation>
      
Healy, J. H., Kossobokov, V. G., and Dewey, J. W.: A test to evaluate the earthquake prediction algorithm, M8, 92(401), US Geological Survey, 1992.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib27"><label>27</label><mixed-citation>
      
Holbrook, J., Autin, W. J., Rittenour, T. M., Marshak, S., and Goble, R. J.:
Stratigraphic evidence for millennial-scale temporal clustering of
earthquakes on a continental-interior fault: Holocene Mississippi River
floodplain deposits, New Madrid seismic zone, USA, Tectonophysics, 420,
431–454, 2006.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib28"><label>28</label><mixed-citation>
      
Huang, Q. and Lin, Y.: Selectivity of seismic electric signal (SES) of the
2000 Izu earthquake swarm: a 3D FEM numerical simulation model, P.
Jpn. Acad. B-Phys., 86, 257–264, 2010.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib29"><label>29</label><mixed-citation>
      
Ismail-Zadeh, A. T.: Earthquake Prediction and Forecasting, in: Encyclopedia
of Natural Hazards, edited by: Bobrowsky, P. T., Springer Netherlands,
Dordrecht, 225–231, <a href="https://doi.org/10.1007/978-1-4020-4399-4_106" target="_blank">https://doi.org/10.1007/978-1-4020-4399-4_106</a>, 2013.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib30"><label>30</label><mixed-citation>
      
Jiang, F., Chen, X., Chen, C.-C., and Chen, H.-J.: Relationship between
seismic electric signals and tectonics derived from dense geoelectric
observations in Taiwan, Pure Appl. Geophys., 177, 441–454, 2020.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib31"><label>31</label><mixed-citation>
      
Joshi, S. S. and Phoha, V. V.: Investigating hidden Markov models
capabilities in anomaly detection, Proceedings of the 43rd annual Southeast
regional conference-Volume 1, 98–103, 2005.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib32"><label>32</label><mixed-citation>
      
Kagan, Y. and Jackson, D.: Long-term probabilistic forecasting of
earthquakes, J. Geophys. Res.-Sol. Ea., 99, 13685–13700,
1994.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib33"><label>33</label><mixed-citation>
      
Kagan, Y. Y.: Are earthquakes predictable?, Geophys. J.
Int., 131, 505–525, 1997.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib34"><label>34</label><mixed-citation>
      
Kamiyama, M., Sugito, M., Kuse, M., Schekotov, A., and Hayakawa, M.: On the
precursors to the 2011 Tohoku earthquake: crustal movements and
electromagnetic signatures, Geomatics, Natural Hazards and Risk, 7, 471–492,
2016.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib35"><label>35</label><mixed-citation>
      
Kanamori, H.: Earthquake prediction: An overview, International Geophysics Series, Academic Press, 81, 1205–1216, <a href="https://doi.org/10.1016/S0074-6142(03)80186-9" target="_blank">https://doi.org/10.1016/S0074-6142(03)80186-9</a>, 2003

    </mixed-citation></ref-html>
<ref-html id="bib1.bib36"><label>36</label><mixed-citation>
      
Keilis-Borok, V. I.: Intermediate-term earthquake prediction, P.
Natl. Acad. Sci. USA, 93, 3748–3755, 1996.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib37"><label>37</label><mixed-citation>
      
Keilis-Borok, V. I. and Rotwain, I.: Diagnosis of time of increased
probability of strong earthquakes in different regions of the world:
algorithm CN, Phys. Earth  Planet. Int., 61, 57–72, 1990.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib38"><label>38</label><mixed-citation>
      
Kinoshita, M., Uyeshima, M., and Uyeda, S.: Earthquake Prediction Research
by Means of Telluric Potential Monitoring: Progress Report No. 1:
Installation of Monitoring Network,  Bulletin of the Earthquake Research Institute,
University of Tokyo, 64, <a href="https://repository.dl.itc.u-tokyo.ac.jp/?action=repository_action_common_download&amp;item_id=32803&amp;item_no=1&amp;attribute_id=19&amp;file_no=1" target="_blank"/> (last access: 30 May 2022), 255–311, 1989.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib39"><label>39</label><mixed-citation>
      
Kossobokov, V., Romashkova, L., Panza, G., and Peresan, A.: Stabilizing
intermediate-term medium-range earthquake predictions, Journal of Seismology
and Earthquake Engineering, 4, 11–19, 2002.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib40"><label>40</label><mixed-citation>
      
Kuo-Chen, H., Wu, F. T., and Roecker, S. W.: Three-dimensional P velocity
structures of the lithosphere beneath Taiwan from the analysis of TAIGER and
related seismic data sets, J. Geophys. Res.-Sol. Ea.,
117,  B06306, <a href="https://doi.org/10.1029/2011JB009108" target="_blank">https://doi.org/10.1029/2011JB009108</a>, 2012.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib41"><label>41</label><mixed-citation>
      
Larue, P., Jallon, P., and Rivet, B.: Modified k-mean clustering method of
HMM states for initialization of Baum-Welch training algorithm, 2011 19th
European Signal Processing Conference,   Barcelona, Spain, 29 August–2 September 2011, <a href="https://hal.archives-ouvertes.fr/hal-00620012" target="_blank"/> (last access: 30 May 2022), 951–955, 2011.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib42"><label>42</label><mixed-citation>
      
Lee, S. J., Yeh, T. Y., and Lin, Y. Y.: Anomalously large ground motion in the 2016 ML 6.6 Meinong, Taiwan, earthquake: A synergy effect of source rupture and site amplification, Seismol. Res. Lett., 87, 1319–1326, 2016.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib43"><label>43</label><mixed-citation>
      
Marzocchi, W., Zechar, J. D., and Jordan, T. H.: Bayesian forecast
evaluation and ensemble earthquake forecasting, B.
Seismol. Soc. Am., 102, 2574–2584, 2012.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib44"><label>44</label><mixed-citation>
      
Meletti, C., Galadini, F., Valensise, G., Stucchi, M., Basili, R., Barba,
S., Vannucci, G., and Boschi, E.: A seismic source zone model for the
seismic hazard assessment of the Italian territory, Tectonophysics, 450,
85–108, 2008.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib45"><label>45</label><mixed-citation>
      
Mignan, A., Werner, M., Wiemer, S., Chen, C.-C., and Wu, Y.-M.: Bayesian
estimation of the spatially varying completeness magnitude of earthquake
catalogs, B. Seismol. Soc. Am., 101, 1371–1385,
2011.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib46"><label>46</label><mixed-citation>
      
Moustra, M., Avraamides, M., and Christodoulou, C.: Artificial neural
networks for earthquake prediction using time series magnitude data or
seismic electric signals, Expert Syst. Appl., 38, 15032–15039,
2011.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib47"><label>47</label><mixed-citation>
      
Nanjo, K., Rundle, J., Holliday, J., and Turcotte, D.: Pattern informatics
and its application for optimal forecasting of large earthquakes in Japan,
in: Computational Earthquake Physics: Simulations, Analysis and
Infrastructure, Part II, edited by: Yin, Xc., Mora, P., Donnellan, A., and Matsu’ura, M., Springer, 2417–2432, <a href="https://doi.org/10.1007/978-3-7643-8131-8_12" target="_blank">https://doi.org/10.1007/978-3-7643-8131-8_12</a>, 2006.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib48"><label>48</label><mixed-citation>
      
Nanjo, K., Ishibe, T., Tsuruoka, H., Schorlemmer, D., Ishigaki, Y., and
Hirata, N.: Analysis of the completeness magnitude and seismic network
coverage of Japan, B. Seismol. Soc. Am., 100,
3261–3268, 2010.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib49"><label>49</label><mixed-citation>
      
Nath, S. and Thingbaijam, K.: Probabilistic seismic hazard assessment of
India, Seismol. Res. Lett., 83, 135–149, 2012.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib50"><label>50</label><mixed-citation>
      
Nomikos, K., Vallianatos, F., Kaliakatsos, I., Sideris, E., and Bakatsakis,
M.: The latest aspects of telluric and electromagnetic variations associated
with shallow and intermediate depth earthquakes in the South Aegean, Ann.
Geophys., 40, 2, <a href="https://doi.org/10.4401/ag-3919" target="_blank">https://doi.org/10.4401/ag-3919</a>, 1997.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib51"><label>51</label><mixed-citation>
      
Novoa, J., Wuth, J., Escudero, J. P., Fredes, J., Mahu, R., and Yoma, N. B.:
DNN-HMM based automatic speech recognition for HRI scenarios, Proceedings of
the 2018 ACM/IEEE International Conference on Human-Robot Interaction,
150–159, <a href="https://doi.org/10.1145/3171221.3171280" target="_blank">https://doi.org/10.1145/3171221.3171280</a>, 2018.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib52"><label>52</label><mixed-citation>
      
Orihara, Y., Kamogawa, M., Nagao, T., and Uyeda, S.: Preseismic anomalous
telluric current signals observed in Kozu-shima Island, Japan, P.
Natl. Acad. Sci. USA, 109, 19125-19128, 2012.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib53"><label>53</label><mixed-citation>
      
Oudelha, M. and Ainon, R. N.: HMM parameters estimation using hybrid
Baum-Welch genetic algorithm, 2010 International Symposium on Information
Technology, 542–545, <a href="https://doi.org/10.1109/ITSIM.2010.5561388" target="_blank">https://doi.org/10.1109/ITSIM.2010.5561388</a>, 2010.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib54"><label>54</label><mixed-citation>
      
Palaz, D., Magimai-Doss, M., and Collobert, R.: End-to-end acoustic modeling
using convolutional neural networks for HMM-based automatic speech
recognition, Speech Commun., 108, 15–32, 2019.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib55"><label>55</label><mixed-citation>
      
Pan, S.-T., Cheng, Y.-Y., Wu, C.-L., Chang, R. H., Chiu, C., Foo, N.-P., Chen, P.-T., Wang, T.-Y., Chen, L.-H., and Chen, C.-J.: Association of injury pattern and entrapment location inside damaged buildings in the 2016 Taiwan earthquake, J. Formos. Med. Assoc., 118, 311–323, 2019.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib56"><label>56</label><mixed-citation>
      
Papadimitriou, E. E.: Long-term earthquake prediction along the western
coast of South and Central America based on a time predictable model, in:
Shallow Subduction Zones: Seismicity, Mechanics and Seismic Potential Part
1, edited by: Dmowska, R. and Ekström, G., Springer, 301–316, <a href="https://doi.org/10.1007/978-3-0348-5846-5_6" target="_blank">https://doi.org/10.1007/978-3-0348-5846-5_6</a>, 1993.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib57"><label>57</label><mixed-citation>
      
Papazachos, B., Papadimitriou, E., Karakaisis, G., and Panagiotopoulos, D.:
Long-term earthquake prediction in the circum-Pacific convergent belt, Pure
Appl. Geophys., 149, 173–217, 1997.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib58"><label>58</label><mixed-citation>
      
Papazachos, B., Papadimitriou, E., Kiratzi, A., Papaioannou, C. A., and
Karakaisis, G.: Probabilities of occurrence of large earthquakes in the
Aegean and surrounding area during the period 1986–2006, Pure Appl.
Geophys., 125, 597–612, 1987.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib59"><label>59</label><mixed-citation>
      
Peresan, A., Kossobokov, V., Romashkova, L., and Panza, G.:
Intermediate-term middle-range earthquake predictions in Italy: a review,
Earth-Sci. Rev., 69, 97–132, 2005.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib60"><label>60</label><mixed-citation>
      
Petersen, M. D.: Probabilistic seismic hazard assessment for the state of California, California Department of Conservation Division of Mines and Geology, 96–706, <a href="https://doi.org/10.3133/ofr96706" target="_blank">https://doi.org/10.3133/ofr96706</a>, 1996.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib61"><label>61</label><mixed-citation>
      
Qiao, Y., Xin, X., Bin, Y., and Ge, S.: Anomaly intrusion detection method
based on HMM, Electron. Lett., 38, 663–664, 2002.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib62"><label>62</label><mixed-citation>
      
Reyes, J., Morales-Esteban, A., and Martínez-Álvarez, F.: Neural
networks to predict earthquakes in Chile, Appl. Soft Comput., 13,
1314–1328, 2013.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib63"><label>63</label><mixed-citation>
      
Rundle, J. B., Klein, W., Turcotte, D. L., and Malamud, B. D.: Precursory
seismic activation and critical-point phenomena, in: Microscopic and
Macroscopic Simulation: Towards Predictive Modelling of the Earthquake
Process, edited by: Mora, P., Matsu’ura, M., Madariaga, R., and Minster, J. B., Springer, 2165–2182, <a href="https://doi.org/10.1007/978-3-0348-7695-7_19" target="_blank">https://doi.org/10.1007/978-3-0348-7695-7_19</a>, 2000.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib64"><label>64</label><mixed-citation>
      
Rydelek, P. A. and Sacks, I. S.: Testing the completeness of earthquake
catalogues and the hypothesis of self-similarity, Nature, 337, 251–253,
1989.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib65"><label>65</label><mixed-citation>
      
Sarlis, N., Lazaridou, M., Kapiris, P., and Varotsos, P.: Numerical model of
the selectivity effect and the ÄV/L criterion, Geophys. Res.
Lett., 26, 3245–3248, 1999.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib66"><label>66</label><mixed-citation>
      
Sarlis, N. V.: Statistical Significance of Earth's Electric and Magnetic
Field Variations Preceding Earthquakes in Greece and Japan Revisited,
Entropy, 20, 561, <a href="https://doi.org/10.3390/e20080561" target="_blank">https://doi.org/10.3390/e20080561</a>, 2018.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib67"><label>67</label><mixed-citation>
      
SciPy Cookbook: Butterworth Bandpass: <a href="https://scipy-cookbook.readthedocs.io/items/ButterworthBandpass.html" target="_blank"/> (last access: 23 April 2021),  2012.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib68"><label>68</label><mixed-citation>
      
Shebalin, P., Keilis-Borok, V., Gabrielov, A., Zaliapin, I., and Turcotte,
D.: Short-term earthquake prediction by reverse analysis of lithosphere
dynamics, Tectonophysics, 413, 63–75, 2006.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib69"><label>69</label><mixed-citation>
      
Shin, T.-C., Chang, C.-H., Pu, H.-C., Hsiao-Wei, L., and Leu, P.-L.: The
geophysical database management system in Taiwan, TAO: Terrestrial,
Atmos. Ocean. Sci., 24, T51A–2454, <a href="https://doi.org/10.3319/TAO.2012.09.20.01(T)" target="_blank">https://doi.org/10.3319/TAO.2012.09.20.01(T)</a>, 2013.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib70"><label>70</label><mixed-citation>
      
Sornette, A. and Sornette, D.: Earthquake rupture as a critical point:
Consequences for telluric precursors, Tectonophysics, 179, 327–334, 1990.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib71"><label>71</label><mixed-citation>
      
Sykes, L. R.: Intermediate-and long-term earthquake prediction, P. Natl. Acad. Sci. USA, 93, 3732-3739, 1996.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib72"><label>72</label><mixed-citation>
      
Tavakoli, B. and Ghafory-Ashtiany, M.: Seismic hazard assessment of Iran, Ann. Geophys., 42, 6,  <a href="https://doi.org/10.4401/ag-3781" target="_blank">https://doi.org/10.4401/ag-3781</a>, 1999.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib73"><label>73</label><mixed-citation>
      
Telesca, L., Lapenna, V., and Lovallo, M.: Fisher Information Analysis of earthquake-related geoelectrical signals, Nat. Hazards Earth Syst. Sci., 5, 561–564, <a href="https://doi.org/10.5194/nhess-5-561-2005" target="_blank">https://doi.org/10.5194/nhess-5-561-2005</a>, 2005a.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib74"><label>74</label><mixed-citation>
      
Telesca, L., Lapenna, V., and Macchiato, M.: Multifractal fluctuations in
earthquake-related geoelectrical signals, New J. Phys., 7, 214, <a href="https://doi.org/10.1088/1367-2630/7/1/214" target="_blank">https://doi.org/10.1088/1367-2630/7/1/214</a>,
2005b.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib75"><label>75</label><mixed-citation>
      
Telesca, L., Lovallo, M., Ramirez-Rojas, A., and Angulo-Brown, F.: A
nonlinear strategy to reveal seismic precursory signatures in
earthquake-related self-potential signals, Physica A, 388, 2036–2040, 2009.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib76"><label>76</label><mixed-citation>
      
Telesca, L., Lovallo, M., Romano, G., Konstantinou, K. I., Hsu, H.-L., and
Chen, C.-c.: Using the informational Fisher–Shannon method to investigate
the influence of long-term deformation processes on geoelectrical signals:
An example from the Taiwan orogeny, Physica A, 414, 340–351, 2014.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib77"><label>77</label><mixed-citation>
      
Tong-En, M., Ji-Lou, X., Yan-Qiong, W., and Shu-Zhi, Y.: The variation characteristics of the telluric field in the process of earthquake, Chinese J. Geophys., 42, 520–528, 1999.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib78"><label>78</label><mixed-citation>
      
Uyeda, S., Nagao, T., Orihara, Y., Yamaguchi, T., and Takahashi, I.:
Geoelectric potential changes: Possible precursors to earthquakes in Japan,
P. Natl. Acad. Sci. USA, 97, 4561–4566, 2000.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib79"><label>79</label><mixed-citation>
      
Varotsos, P. and Lazaridou, M.: Latest aspects of earthquake prediction in
Greece based on seismic electric signals, Tectonophysics, 188, 321–347,
1991.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib80"><label>80</label><mixed-citation>
      
Varotsos, P., Alexopoulos, K., and Lazaridou, M.: Latest aspects of
earthquake prediction in Greece based on seismic electric signals, II,
Tectonophysics, 224, 1–37, 1993.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib81"><label>81</label><mixed-citation>
      
Varotsos, P., Sarlis, N., and Skordas, E.: Long-range correlations in the
electric signals that precede rupture, Phys. Rev. E, 66, 011902, <a href="https://doi.org/10.1103/PhysRevE.66.011902" target="_blank">https://doi.org/10.1103/PhysRevE.66.011902</a>, 2002.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib82"><label>82</label><mixed-citation>
      
Varotsos, P., Sarlis, N., Skordas, E., and Lazaridou, M.: Seismic Electric
Signals: An additional fact showing their physical interconnection with
seismicity, Tectonophysics, 589, 116–125, 2013.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib83"><label>83</label><mixed-citation>
      
Varotsos, P. A., Sarlis, N. V., and Skordas, E. S.: Identifying the
occurrence time of an impending major earthquake: a review, Earthquake
Science, 30, 209–218, 2017.


    </mixed-citation></ref-html>
<ref-html id="bib1.bib84"><label>84</label><mixed-citation>
      
Vilanova, S. P. and Fonseca, J. F.: Probabilistic seismic-hazard assessment
for Portugal, B. Seismol. Soc. Am., 97,
1702–1717, 2007.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib85"><label>85</label><mixed-citation>
      
Wang, T. and Bebbington, M.: Identifying anomalous signals in GPS data using
HMMs: An increased likelihood of earthquakes?, Comput. Stat.
Data An., 58, 27–44, 2013.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib86"><label>86</label><mixed-citation>
      
Wang, Y.-J., Chan, C.-H., Lee, Y.-T., Ma, K.-F., Shyu, J. B. H., Rau, R.-J.,
and Cheng, C.-T.: Probabilistic seismic hazard assessment for Taiwan, Terr.
Atmos. Ocean. Sci., 27, 325–340, 2016.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib87"><label>87</label><mixed-citation>
      
Wen, H.: HMM_Geoelectric_EQ (v1.0), Zenodo [code], <a href="https://doi.org/10.5281/zenodo.6598498" target="_blank">https://doi.org/10.5281/zenodo.6598498</a>, 2022.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib88"><label>88</label><mixed-citation>
      
Wen, F., Chen, Z.-h., Zhuo, R., and Zhou, G.-m.: Reinforcement learning
method of continuous state adaptively discretized based on K-means
clustering, Control and Decision, 21, 143, 2006.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib89"><label>89</label><mixed-citation>
      
Yang, F., Balakrishnan, S., and Wainwright, M. J.: Statistical and
computational guarantees for the Baum-Welch algorithm, J.
Mach. Learn. Res., 18, 4528–4580, 2017.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib90"><label>90</label><mixed-citation>
      
Yang, L., Widjaja, B., and Prasad, R.: Application of hidden Markov models
for signature verification, Pattern Recogn., 28, 161–170, 1995.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib91"><label>91</label><mixed-citation>
      
Yi-Ben, T.: Seismotectonics of Taiwan, Tectonophysics, 125, 17–37, 1986.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib92"><label>92</label><mixed-citation>
      
Yip, C. F., Ng, W. L., and Yau, C. Y.: A hidden Markov model for earthquake
prediction, Stoch. Env. Res. Risk A., 32,
1415–1434, 2018.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib93"><label>93</label><mixed-citation>
      
Zhang, Y., Zhao, D., and Liu, J.: The application of baum-welch algorithm in
multistep attack,  Sci. World J., 2014, 374260,  <a href="https://doi.org/10.1155/2014/374260" target="_blank">https://doi.org/10.1155/2014/374260</a>, 2014.

    </mixed-citation></ref-html>--></article>
