<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.4 20241031//EN" "JATS-journalpublishing1-4.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" dtd-version="1.4" xml:lang="en">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">ojs</journal-id>
      <journal-title-group>
        <journal-title>Open Journal of Statistics</journal-title>
      </journal-title-group>
      <issn pub-type="epub">2161-7198</issn>
      <issn pub-type="ppub">2161-718X</issn>
      <publisher>
        <publisher-name>Scientific Research Publishing</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.4236/ojs.2026.165016</article-id>
      <article-id pub-id-type="publisher-id">ojs-154236</article-id>
      <article-categories>
        <subj-group>
          <subject>Article</subject>
        </subj-group>
        <subj-group>
          <subject>Physics</subject>
          <subject>Mathematics</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>Bayesian Exponential Smooth Transition Autoregressive Model for Forecasting the Nairobi Securities Exchange 20 Share Index</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <name name-style="western">
            <surname>Kimanzi</surname>
            <given-names>Grace Kalimi</given-names>
          </name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <name name-style="western">
            <surname>Matiri</surname>
            <given-names>George</given-names>
          </name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <name name-style="western">
            <surname>Nthiwa</surname>
            <given-names>Janifer</given-names>
          </name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <name name-style="western">
            <surname>Obwoge</surname>
            <given-names>Justin</given-names>
          </name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <name name-style="western">
            <surname>Wanyonyi</surname>
            <given-names>Ronald</given-names>
          </name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
      </contrib-group>
      <aff id="aff1"><label>1</label> Department of Mathematics, Egerton University, Njoro, Kenya </aff>
      <author-notes>
        <fn fn-type="conflict" id="fn-conflict">
          <p>The authors declare that there is no conflict of interest regarding the publication of this manuscript.</p>
        </fn>
      </author-notes>
      <pub-date pub-type="epub">
        <day>08</day>
        <month>10</month>
        <year>2026</year>
      </pub-date>
      <pub-date pub-type="collection">
        <month>10</month>
        <year>2026</year>
      </pub-date>
      <volume>16</volume>
      <issue>05</issue>
      <fpage>343</fpage>
      <lpage>357</lpage>
      <history>
        <date date-type="received">
          <day>27</day>
          <month>07</month>
          <year>2026</year>
        </date>
        <date date-type="accepted">
          <day>25</day>
          <month>09</month>
          <year>2026</year>
        </date>
        <date date-type="published">
          <day>28</day>
          <month>09</month>
          <year>2026</year>
        </date>
      </history>
      <permissions>
        <copyright-statement>© 2026 by the authors and Scientific Research Publishing Inc.</copyright-statement>
        <copyright-year>2026</copyright-year>
        <license license-type="open-access">
          <license-p> This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license ( <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link> ). </license-p>
        </license>
      </permissions>
      <self-uri content-type="doi" xlink:href="https://doi.org/10.4236/ojs.2026.165016">https://doi.org/10.4236/ojs.2026.165016</self-uri>
      <abstract>
        <p>The Nairobi Securities Exchange (NSE) plays a significant role in the Kenyan financial sector. The stock market indices often exhibit nonlinear characteristics which are caused by global factors, inflation trends, policy changes, investor sentiments, and external economic shocks. Traditional linear models such as Autoregressive Integrated Moving Average (ARIMA) are useful for capturing linearity overtime but are not sufficient in capturing the regime-switching dynamics of financial markets. A more realistic model is the Smooth Transition Autoregressive (STAR) models particularly the Exponential STAR (ESTAR) variant which offer a more realistic approach by modeling gradual transitions between market regimes. Despite their potential, most applications of STAR models have relied on frequentist estimation techniques leaving a gap in Bayesian approaches, particularly for ESTAR models in emerging markets like Kenya. This study has identified the regime orders of the ESTAR model for the NSE-20 share index and estimated the parameters of the ESTAR model using a Bayesian framework then obtained h-step ahead forecasts for the NSE-20 share index using the estimated ESTAR model and finally compared the forecasting performance of the Bayesian STAR model with that of the Bayesian Self-Exciting Threshold Autoregressive (SETAR) model using the NSE-20 Share Index<bold>.</bold>The analysis of simulated and real time series data from 1997 to 2026 was done in R programing software at the NSE 20 share index. Specifically, the research utilized the Bayesian approach to model uncertainty and model structure through the use of Markov Chain Monte Carlo (MCMC) methods specifically the Gibbs sampler with Metropolis-Hastings algorithm to estimate model parameters. The results of the ACF plots, trace plots and density plots showed convergence reached. The findings demonstrate that the Bayesian ESTAR model is an effective and reliable framework for modelling and forecasting the NSE-20 Share Index. By incorporating smooth regime transitions and Bayesian parameter estimation, the model provides improved predictive performance and offers a valuable tool for financial forecasting, investment analysis, and decision-making in nonlinear financial markets. This study has helped to narrow the gap between the methodologies and the empirical analysis used in modelling and forecasting financial time series in emerging markets particularly the regime switching behaviour in Kenya. It has given investors and policymakers’ strong, data-driven instruments to predict the market transitions in uncertain times.</p>
      </abstract>
      <kwd-group kwd-group-type="author-generated" xml:lang="en">
        <kwd>Bayesian Inference</kwd>
        <kwd>Exponential Smooth Transition Autoregressive (ESTAR) Model</kwd>
        <kwd>Markov Chain Monte Carlo (MCMC)</kwd>
        <kwd>Nairobi Securities Exchange 20 Share Index (NSE-20)</kwd>
        <kwd>Nonlinear Time Series</kwd>
        <kwd>Forecasting</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec1">
      <title>1. Introduction</title>
      <p>Financial markets are characterized by complex dynamics arising from economic, political, and institutional factors, resulting in nonlinear behavior that poses challenges for accurate forecasting. Stock market indices are important indicators of market performance and are widely used by investors, policymakers, and financial analysts for investment decisions, risk assessment, and economic planning. In Kenya, the Nairobi Securities Exchange 20 Share Index (NSE-20) serves as one of the principal indicators of the performance of the Kenyan stock market. Reliable forecasting of the NSE-20 Share Index is therefore essential for informed investment decisions and effective financial risk management.</p>
      <p>Traditional linear time series models such as the Autoregressive Integrated Moving Average (ARIMA) model have been widely applied in financial forecasting because of their simplicity and effectiveness in modelling linear relationships [<xref ref-type="bibr" rid="B1">1</xref>]. However, financial time series frequently exhibit nonlinear characteristics, structural changes, volatility clustering, and regime-switching behavior that cannot be adequately captured by linear models. Consequently, reliance on linear models may lead to inaccurate forecasts when market conditions change. This has motivated the development of nonlinear time series models capable of representing changing market dynamics more effectively.</p>
      <p>Threshold Autoregressive (TAR) models introduced by Tong [<xref ref-type="bibr" rid="B1">1</xref>] provide an alternative framework for modelling nonlinear time series by dividing observations into different regimes based on threshold values. The Self-Exciting Threshold Autoregressive (SETAR) model extends the TAR framework by allowing the threshold variable to depend on lagged values of the series itself. Although SETAR models have demonstrated good forecasting performance in many applications, they assume abrupt transitions between regimes. Financial markets, however, generally evolve gradually in response to changing economic conditions, policy interventions, market sentiment, and external shocks rather than exhibiting instantaneous regime changes.</p>
      <p>The Smooth Transition Autoregressive (STAR) model addresses this limitation by replacing the discontinuous threshold function with a continuous transition function that allows gradual movement between regimes [<xref ref-type="bibr" rid="B2">2</xref>]. Depending on the transition function employed, the STAR model gives rise to either the Logistic Smooth Transition Autoregressive (LSTAR) model or the Exponential Smooth Transition Autoregressive (ESTAR) model. The ESTAR model is particularly suitable for financial time series exhibiting smooth regime transitions because it accommodates gradual nonlinear adjustments while preserving the underlying autoregressive structure.</p>
      <p>Several studies reviewed in this research have demonstrated the effectiveness of nonlinear models in forecasting economic and financial time series. Studies employing GARCH family models confirmed the existence of volatility clustering in financial markets, while research based on SETAR and STAR models showed improved forecasting performance over conventional linear models by accounting for nonlinear dynamics and regime-switching behavior. Bayesian estimation has further enhanced nonlinear modelling by incorporating prior information and generating complete posterior distributions of model parameters through Markov Chain Monte Carlo (MCMC) techniques.</p>
      <p>Despite these developments, the application of Bayesian nonlinear time series models to the Nairobi Securities Exchange remains limited. Previous work on the NSE-20 Share Index applied Bayesian and frequentist SETAR models, assuming abrupt transitions between market regimes. Such an assumption may not adequately represent the progressive manner in which financial markets respond to economic events. Consequently, there remains a methodological gap in modelling the NSE-20 Share Index using a Bayesian Exponential Smooth Transition Autoregressive model capable of capturing smooth regime-switching behavior.</p>
      <p>This study therefore aimed to develop a Bayesian ESTAR model for forecasting the Nairobi Securities Exchange 20 Share Index. Specifically, the study sought to determine the appropriate regime orders for the ESTAR model, estimate the model parameters within a Bayesian framework using Markov Chain Monte Carlo techniques, and generate forecasts of the NSE-20 Share Index based on the estimated model. The study utilized both simulated data and historical NSE-20 Share Index data covering the period from December 1997 to March 2026.</p>
      <p>The study contributes to the existing literature by extending Bayesian nonlinear time series modelling to the ESTAR framework for the Nairobi Securities Exchange 20 Share Index. Unlike the Bayesian SETAR model, which assumes abrupt regime changes, the proposed Bayesian ESTAR model accommodates gradual transitions between market regimes, making it more appropriate for financial time series characterized by progressive changes. The study also demonstrates the application of Bayesian inference through Gibbs sampling combined with the Metropolis-Hastings algorithm for parameter estimation and forecasting. The findings provide evidence on the suitability of Bayesian ESTAR models for modelling nonlinear financial time series and contribute to the growing application of Bayesian methods in financial econometrics and stock market forecasting.</p>
    </sec>
    <sec id="sec2">
      <title>2. Material and Methods</title>
      <sec id="sec2dot1">
        <title>2.1. Data</title>
        <p>The NSE-20 data used for model estimation consisted of daily observations transformed into log returns. Forecasting was performed using the daily series, while the reported forecast results were presented in monthly aggregated form for ease of interpretation.</p>
        <p>The study utilized both simulated and real data. The empirical analysis was based on the Nairobi Securities Exchange 20 Share Index (NSE-20) historical data covering the period from December 1997 to March 2026<bold>.</bold>The data were obtained from the official Nairobi Securities Exchange. All simulations, model estimation, and forecasting procedures were conducted using R software<bold>.</bold></p>
        <p>Prior to model estimation, preliminary analysis was performed to determine the appropriate autoregressive order. Partial Autocorrelation Function (PACF) plots were examined, and competing models were compared using the Akaike Information Criterion (AIC). The model with the lowest AIC was selected for subsequent analysis [<xref ref-type="bibr" rid="B3">3</xref>].</p>
      </sec>
      <sec id="sec2dot2">
        <title>2.2. Exponential Smooth Transition Autoregressive (ESTAR) Model</title>
        <p>The nonlinear dynamics of the NSE-20 Share Index were modelled using the two-regime Exponential Smooth Transition Autoregressive (ESTAR) model. The model is expressed as</p>
        <disp-formula id="FD1">
          <label>(1)</label>
          <mml:math>
            <mml:mtable>
              <mml:mtr>
                <mml:mtd>
                  <mml:msub>
                    <mml:mi>y</mml:mi>
                    <mml:mi>t</mml:mi>
                  </mml:msub>
                  <mml:mo>=</mml:mo>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>ϕ</mml:mi>
                        <mml:mrow>
                          <mml:mn>1</mml:mn>
                          <mml:mo>,</mml:mo>
                          <mml:mn>0</mml:mn>
                        </mml:mrow>
                      </mml:msub>
                      <mml:mo>+</mml:mo>
                      <mml:msub>
                        <mml:mi>ϕ</mml:mi>
                        <mml:mrow>
                          <mml:mn>1</mml:mn>
                          <mml:mo>,</mml:mo>
                          <mml:mn>1</mml:mn>
                        </mml:mrow>
                      </mml:msub>
                      <mml:msub>
                        <mml:mi>y</mml:mi>
                        <mml:mrow>
                          <mml:mi>t</mml:mi>
                          <mml:mo>−</mml:mo>
                          <mml:mn>1</mml:mn>
                        </mml:mrow>
                      </mml:msub>
                      <mml:mo>+</mml:mo>
                      <mml:mo>⋯</mml:mo>
                      <mml:mo>+</mml:mo>
                      <mml:msub>
                        <mml:mi>ϕ</mml:mi>
                        <mml:mrow>
                          <mml:mn>1</mml:mn>
                          <mml:mo>,</mml:mo>
                          <mml:mi>p</mml:mi>
                        </mml:mrow>
                      </mml:msub>
                      <mml:msub>
                        <mml:mi>y</mml:mi>
                        <mml:mrow>
                          <mml:mi>t</mml:mi>
                          <mml:mo>−</mml:mo>
                          <mml:mi>p</mml:mi>
                        </mml:mrow>
                      </mml:msub>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                </mml:mtd>
              </mml:mtr>
              <mml:mtr>
                <mml:mtd>
                  <mml:mtext>
                     
                  </mml:mtext>
                  <mml:mo>+</mml:mo>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>ϕ</mml:mi>
                        <mml:mrow>
                          <mml:mn>2</mml:mn>
                          <mml:mo>,</mml:mo>
                          <mml:mn>0</mml:mn>
                        </mml:mrow>
                      </mml:msub>
                      <mml:mo>+</mml:mo>
                      <mml:msub>
                        <mml:mi>ϕ</mml:mi>
                        <mml:mrow>
                          <mml:mn>2</mml:mn>
                          <mml:mo>,</mml:mo>
                          <mml:mn>1</mml:mn>
                        </mml:mrow>
                      </mml:msub>
                      <mml:msub>
                        <mml:mi>y</mml:mi>
                        <mml:mrow>
                          <mml:mi>t</mml:mi>
                          <mml:mo>−</mml:mo>
                          <mml:mn>1</mml:mn>
                        </mml:mrow>
                      </mml:msub>
                      <mml:mo>+</mml:mo>
                      <mml:mo>⋯</mml:mo>
                      <mml:mo>+</mml:mo>
                      <mml:msub>
                        <mml:mi>ϕ</mml:mi>
                        <mml:mrow>
                          <mml:mn>2</mml:mn>
                          <mml:mo>,</mml:mo>
                          <mml:mi>p</mml:mi>
                        </mml:mrow>
                      </mml:msub>
                      <mml:msub>
                        <mml:mi>y</mml:mi>
                        <mml:mrow>
                          <mml:mi>t</mml:mi>
                          <mml:mo>−</mml:mo>
                          <mml:mi>p</mml:mi>
                        </mml:mrow>
                      </mml:msub>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                  <mml:mi>G</mml:mi>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>y</mml:mi>
                        <mml:mrow>
                          <mml:mi>t</mml:mi>
                          <mml:mo>−</mml:mo>
                          <mml:mi>d</mml:mi>
                        </mml:mrow>
                      </mml:msub>
                      <mml:mo>;</mml:mo>
                      <mml:mi>γ</mml:mi>
                      <mml:mo>,</mml:mo>
                      <mml:mi>c</mml:mi>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                  <mml:mo>+</mml:mo>
                  <mml:msub>
                    <mml:mi>ε</mml:mi>
                    <mml:mi>t</mml:mi>
                  </mml:msub>
                </mml:mtd>
              </mml:mtr>
            </mml:mtable>
          </mml:math>
        </disp-formula>
        <p>where</p>
        <p><inline-formula><mml:math><mml:mrow><mml:mi> G </mml:mi><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:msub><mml:mi> y </mml:mi><mml:mrow><mml:mi> t </mml:mi><mml:mo> − </mml:mo><mml:mi> d </mml:mi></mml:mrow></mml:msub><mml:mo> ; </mml:mo><mml:mi> γ </mml:mi><mml:mo> , </mml:mo><mml:mi> c </mml:mi></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> represents the smooth transition continuous function bonded between zero and one.</p>
        <p><inline-formula><mml:math><mml:mrow><mml:mi> γ </mml:mi><mml:mo> &gt; </mml:mo><mml:mn> 0 </mml:mn></mml:mrow></mml:math></inline-formula> is responsible for the smoothing parameter.</p>
        <p><inline-formula><mml:math><mml:mi> p </mml:mi></mml:math></inline-formula> is the lag order.</p>
        <p><inline-formula><mml:math><mml:mi> c </mml:mi></mml:math></inline-formula> represents the location parameter.</p>
        <p><inline-formula><mml:math><mml:mi> d </mml:mi></mml:math></inline-formula> represents the delay parameter.</p>
        <p><inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> y </mml:mi><mml:mrow><mml:mi> t </mml:mi><mml:mo> − </mml:mo><mml:mi> d </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> represents the threshold variable which is taken to be a lagged endogenous variable of <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> y </mml:mi><mml:mi> t </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> .</p>
        <p><inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> ϕ </mml:mi><mml:mrow><mml:mi> i </mml:mi><mml:mn> 1 </mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> ϕ </mml:mi><mml:mrow><mml:mi> i </mml:mi><mml:mn> 2 </mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> are autoregressive parameters of the model</p>
        <disp-formula id="FD2">
          <mml:math>
            <mml:mrow>
              <mml:msub>
                <mml:mi>ε</mml:mi>
                <mml:mi>t</mml:mi>
              </mml:msub>
              <mml:mo>~</mml:mo>
              <mml:mi>N</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:mn>0</mml:mn>
                  <mml:mo>,</mml:mo>
                  <mml:msup>
                    <mml:mi>σ</mml:mi>
                    <mml:mn>2</mml:mn>
                  </mml:msup>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>The exponential transition function is defined as:</p>
        <disp-formula id="FD3">
          <label>(2)</label>
          <mml:math>
            <mml:mrow>
              <mml:mi>G</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:msub>
                    <mml:mi>y</mml:mi>
                    <mml:mrow>
                      <mml:mi>t</mml:mi>
                      <mml:mo>−</mml:mo>
                      <mml:mi>d</mml:mi>
                    </mml:mrow>
                  </mml:msub>
                  <mml:mo>;</mml:mo>
                  <mml:mi>γ</mml:mi>
                  <mml:mo>,</mml:mo>
                  <mml:mi>c</mml:mi>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>=</mml:mo>
              <mml:mn>1</mml:mn>
              <mml:mo>−</mml:mo>
              <mml:mi>exp</mml:mi>
              <mml:mrow>
                <mml:mo>[</mml:mo>
                <mml:mrow>
                  <mml:mo>−</mml:mo>
                  <mml:mi>γ</mml:mi>
                  <mml:msup>
                    <mml:mrow>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mrow>
                          <mml:msub>
                            <mml:mi>y</mml:mi>
                            <mml:mrow>
                              <mml:mi>t</mml:mi>
                              <mml:mo>−</mml:mo>
                              <mml:mi>d</mml:mi>
                            </mml:mrow>
                          </mml:msub>
                          <mml:mo>−</mml:mo>
                          <mml:mi>c</mml:mi>
                        </mml:mrow>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                    <mml:mn>2</mml:mn>
                  </mml:msup>
                </mml:mrow>
                <mml:mo>]</mml:mo>
              </mml:mrow>
              <mml:mtext>
                 
              </mml:mtext>
              <mml:mtext>
                 
              </mml:mtext>
              <mml:mtext>
                 
              </mml:mtext>
              <mml:mtext>
                 
              </mml:mtext>
              <mml:mtext>
                 
              </mml:mtext>
              <mml:mtext>
                 
              </mml:mtext>
              <mml:mi>γ</mml:mi>
              <mml:mo>&gt;</mml:mo>
              <mml:mn>0</mml:mn>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>The transition function is bounded between zero and one, allowing smooth movement between regimes. The delay parameter determines the threshold variable governing regime switching, while the smoothing parameter controls the speed of transition between regimes.</p>
        <p>Prior to fitting the ESTAR model, the data were tested for nonlinearity using the Lagrange Multiplier (LM) test. The nested hypothesis testing procedure proposed by Teräsvirta [<xref ref-type="bibr" rid="B2">2</xref>] was then employed to determine whether the ESTAR or Logistic Smooth Transition Autoregressive (LSTAR) specification was more appropriate.</p>
      </sec>
      <sec id="sec2dot3">
        <title>2.3. Bayesian Framework</title>
        <p>Bayesian estimation was adopted to estimate the ESTAR model parameters. Let</p>
        <disp-formula id="FD4">
          <label>(3)</label>
          <mml:math>
            <mml:mrow>
              <mml:mi>y</mml:mi>
              <mml:mo>=</mml:mo>
              <mml:mi>z</mml:mi>
              <mml:mi>ϕ</mml:mi>
              <mml:mo>+</mml:mo>
              <mml:mi>ε</mml:mi>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>where</p>
        <p><inline-formula><mml:math><mml:mrow><mml:mi> z </mml:mi><mml:mo> ∈ </mml:mo><mml:msup><mml:mi> ℝ </mml:mi><mml:mrow><mml:mi> n </mml:mi><mml:mo> × </mml:mo><mml:mn> 2 </mml:mn><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mi> k </mml:mi><mml:mo> + </mml:mo><mml:mn> 1 </mml:mn></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> is the design matrix.</p>
        <p><inline-formula><mml:math><mml:mrow><mml:mi> ϕ </mml:mi><mml:mo> ∈ </mml:mo><mml:msup><mml:mi> ℝ </mml:mi><mml:mrow><mml:mn> 2 </mml:mn><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mi> k </mml:mi><mml:mo> + </mml:mo><mml:mn> 1 </mml:mn></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> is the collection vector of autoregressive parameters.</p>
        <disp-formula id="FD5">
          <mml:math>
            <mml:mrow>
              <mml:mi>ε</mml:mi>
              <mml:mo>∈</mml:mo>
              <mml:msup>
                <mml:mi>ℝ</mml:mi>
                <mml:mi>n</mml:mi>
              </mml:msup>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>Assuming <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> ε </mml:mi><mml:mi> t </mml:mi></mml:msub><mml:mo> ~ </mml:mo><mml:mi> i </mml:mi><mml:mi> i </mml:mi><mml:mi> d </mml:mi><mml:mtext>   </mml:mtext><mml:mi> N </mml:mi><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mn> 0 </mml:mn><mml:mo> , </mml:mo><mml:msup><mml:mi> σ </mml:mi><mml:mn> 2 </mml:mn></mml:msup></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> ; </p>
        <p>denote the vector of unknown model parameters.</p>
        <p>Parameter estimation was based on Bayes’ theorem, where the posterior distribution is proportional to the product of the likelihood function and the prior distribution,</p>
        <disp-formula id="FD6">
          <label>(4)</label>
          <mml:math>
            <mml:mrow>
              <mml:mi>P</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:msub>
                    <mml:mi>ϕ</mml:mi>
                    <mml:mrow>
                      <mml:mi>i</mml:mi>
                      <mml:mn>1</mml:mn>
                    </mml:mrow>
                  </mml:msub>
                  <mml:mo>,</mml:mo>
                  <mml:msub>
                    <mml:mi>ϕ</mml:mi>
                    <mml:mrow>
                      <mml:mi>i</mml:mi>
                      <mml:mn>2</mml:mn>
                    </mml:mrow>
                  </mml:msub>
                  <mml:mo>,</mml:mo>
                  <mml:mi>γ</mml:mi>
                  <mml:mo>,</mml:mo>
                  <mml:mrow>
                    <mml:mi>c</mml:mi>
                    <mml:mo>/</mml:mo>
                    <mml:mi>y</mml:mi>
                  </mml:mrow>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>∝</mml:mo>
              <mml:mi>P</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:mrow>
                    <mml:mi>y</mml:mi>
                    <mml:mo>/</mml:mo>
                    <mml:mi>θ</mml:mi>
                  </mml:mrow>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>×</mml:mo>
              <mml:mi>P</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:msub>
                    <mml:mi>ϕ</mml:mi>
                    <mml:mrow>
                      <mml:mi>i</mml:mi>
                      <mml:mn>1</mml:mn>
                    </mml:mrow>
                  </mml:msub>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>×</mml:mo>
              <mml:mi>P</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:msub>
                    <mml:mi>ϕ</mml:mi>
                    <mml:mrow>
                      <mml:mi>i</mml:mi>
                      <mml:mn>2</mml:mn>
                    </mml:mrow>
                  </mml:msub>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>×</mml:mo>
              <mml:mi>P</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mi>γ</mml:mi>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>×</mml:mo>
              <mml:mi>P</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mi>c</mml:mi>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>×</mml:mo>
              <mml:mi>P</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:msup>
                    <mml:mi>σ</mml:mi>
                    <mml:mn>2</mml:mn>
                  </mml:msup>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>The likelihood function was constructed under the assumption that the model errors were independently and normally distributed with mean zero and variance <inline-formula><mml:math><mml:mrow><mml:msup><mml:mi> σ </mml:mi><mml:mn> 2 </mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> . Posterior inference was obtained by combining the likelihood with the specified prior distributions.</p>
      </sec>
      <sec id="sec2dot4">
        <title>2.4. Prior Specification</title>
        <p>Non-informative prior distributions were adopted to minimize subjective influence on posterior estimation. Normal prior distributions with large variances were assigned to the autoregressive coefficients and location parameter, while the variance parameter was assigned an inverse-gamma prior. The smoothing parameter was constrained to positive values throughout estimation to satisfy the ESTAR model assumptions.</p>
        <p>The delay parameter was treated as a discrete parameter and estimated jointly with the remaining model parameters during the Bayesian estimation procedure.</p>
      </sec>
      <sec id="sec2dot5">
        <title>2.5. Markov Chain Monte Carlo Estimation</title>
        <p>Posterior distributions were obtained using the Markov Chain Monte Carlo (MCMC) algorithm. Gibbs sampling was employed to update parameters whose full conditional distributions were available, while the Metropolis-Hastings algorithm was used to sample parameters whose conditional distributions did not have closed-form expressions.</p>
        <p>The smoothing parameter was updated using the Metropolis-Hastings algorithm because of its nonlinear role in the transition function. Candidate values were generated from a proposal distribution and accepted according to the Metropolis-Hastings acceptance probability. The delay parameter was estimated by evaluating candidate delay values and updating the parameter according to their posterior probabilities.</p>
        <p>To assess convergence of the Markov chains, trace plots, posterior density plots, and autocorrelation function (ACF) plots were examined for all estimated parameters. Posterior summaries, including posterior means, standard deviations, and 95% credible intervals, were computed after discarding the burn-in iterations.</p>
      </sec>
      <sec id="sec2dot6">
        <title>2.6. Forecast Evaluation</title>
        <p>The forecasting performance of the Bayesian ESTAR model was evaluated using both in-sample and out-of-sample forecasts. Model accuracy was assessed using the Root Mean Square Error (RMSE) and the Mean Absolute Error (MAE), where lower values indicated superior forecasting performance.</p>
        <p>The forecasting results obtained from the Bayesian ESTAR model were subsequently compared with those of the Bayesian SETAR model to evaluate the effectiveness of modelling gradual regime transitions in forecasting the Nairobi Securities Exchange 20 Share Index.</p>
      </sec>
    </sec>
    <sec id="sec3">
      <title>3. Results</title>
      <sec id="sec3dot1">
        <title>3.1. Descriptive Statistics</title>
        <p>The descriptive statistics of the Nairobi Securities Exchange 20 Share Index (NSE-20) were computed to summarize the distributional characteristics of the data before model estimation. The statistics provide information on the central tendency, dispersion, and distributional properties of the series and offer preliminary insights into its behavior.</p>
        <p><bold>Table 1</bold> shows that the NSE-20 Share Index exhibited considerable variability during the study period, indicating substantial fluctuations in market performance. The differences between the minimum and maximum values suggest pronounced changes in market conditions over time. The distributional measures further provide preliminary evidence that the series may deviate from normality, thereby supporting the use of nonlinear modelling techniques. </p>
        <p><bold>Table 1</bold><bold>.</bold> Descriptive statistics for the NSE-20 share index.</p>
        <table-wrap id="tbl1">
          <label>Table 1</label>
          <table>
            <tbody>
              <tr>
                <td>
                  <bold>Mean</bold>
                </td>
                <td>
                  <bold>Median</bold>
                </td>
                <td>
                  <bold>SD</bold>
                </td>
                <td>
                  <bold>Min</bold>
                </td>
                <td>
                  <bold>Max</bold>
                </td>
                <td>
                  <bold>Skewness</bold>
                </td>
                <td>
                  <bold>Kurtosis</bold>
                </td>
              </tr>
              <tr>
                <td>0.005</td>
                <td>0.003</td>
                <td>0.052</td>
                <td>−0.257</td>
                <td>0.161</td>
                <td>−0.494</td>
                <td>5.751</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p><xref ref-type="fig" rid="fig1">Figure 1</xref> illustrates the evolution of the NSE-20 Share Index over the study period. The series exhibits periods of sustained growth interspersed with episodes of decline, suggesting the presence of changing market regimes. These fluctuations motivate the application of nonlinear time series models capable of accommodating regime-switching behavior.</p>
        <fig id="fig1">
          <label>Figure 1</label>
          <graphic xlink:href="https://html.scirp.org/file/1242039-rId51.jpeg?20260928021201" />
        </fig>
        <p><bold>Figure 1</bold><bold>.</bold> Time series plot of the NSE20-share index.</p>
      </sec>
      <sec id="sec3dot2">
        <title>3.2. Stationarity Test</title>
        <p>Prior to model estimation, the stationarity of the series was assessed using the Zivot-Andrews [<xref ref-type="bibr" rid="B4">4</xref>] unit root test, which accounts for possible structural breaks in the data. </p>
        <p>The results presented in <bold>Table 2</bold> indicate that the transformed series was stationary after accounting for structural breaks. The null hypothesis of a unit root was rejected, confirming that the data satisfied the stationarity assumption required for estimating nonlinear autoregressive models.</p>
        <p><bold>Table 2</bold><bold>.</bold> Zivot-Andrews unit root test results.</p>
        <table-wrap id="tbl2">
          <label>Table 2</label>
          <table>
            <tbody>
              <tr>
                <td rowspan="2">
                  <bold>Model</bold>
                  <bold>(Break type)</bold>
                </td>
                <td rowspan="2">
                  <bold>Structural Break Point</bold>
                </td>
                <td rowspan="2">
                  <bold>Test Statistic</bold>
                </td>
                <td colspan="3">
                  <bold>Critical Values</bold>
                </td>
              </tr>
              <tr>
                <td>1%</td>
                <td>5%</td>
                <td>10%</td>
              </tr>
              <tr>
                <td>Intercept</td>
                <td>1392</td>
                <td>−33.162</td>
                <td>−5.340</td>
                <td>−4.801</td>
                <td>−4.580</td>
              </tr>
              <tr>
                <td>Trend</td>
                <td>8</td>
                <td>−33.116</td>
                <td>−4.930</td>
                <td>−4.420</td>
                <td>−4.110</td>
              </tr>
              <tr>
                <td>Intercept + Trend</td>
                <td>26</td>
                <td>−33.151</td>
                <td>−5.570</td>
                <td>−5.080</td>
                <td>−4.820</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
      </sec>
      <sec id="sec3dot3">
        <title>3.3. Nonlinearity Test</title>
        <p>The Lagrange Multiplier (LM) test was employed to determine whether the linear autoregressive model adequately described the data or whether a nonlinear STAR model was more appropriate [<xref ref-type="bibr" rid="B5">5</xref>].</p>
        <p>As shown in <bold>Table 3</bold>, the null hypothesis of linearity was rejected, providing statistical evidence of nonlinear dynamics in the NSE-20 Share Index. The results therefore justified the use of the STAR modelling framework instead of conventional linear autoregressive models.</p>
        <p><bold>Table 3</bold><bold>.</bold> Lagrange multiplier test.</p>
        <table-wrap id="tbl3">
          <label>Table 3</label>
          <table>
            <tbody>
              <tr>
                <td>
                  <bold>Delay Parameter</bold>
                </td>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mrow>
                        <mml:mi>d</mml:mi>
                        <mml:mo>=</mml:mo>
                        <mml:mn>1</mml:mn>
                      </mml:mrow>
                    </mml:math>
                  </inline-formula>
                </td>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mrow>
                        <mml:mi>d</mml:mi>
                        <mml:mo>=</mml:mo>
                        <mml:mn>2</mml:mn>
                      </mml:mrow>
                    </mml:math>
                  </inline-formula>
                </td>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mrow>
                        <mml:mi>d</mml:mi>
                        <mml:mo>=</mml:mo>
                        <mml:mn>3</mml:mn>
                      </mml:mrow>
                    </mml:math>
                  </inline-formula>
                </td>
                <td>
                  <inline-formula>
                    <mml:math display="inline">
                      <mml:mrow>
                        <mml:mi>d</mml:mi>
                        <mml:mo>=</mml:mo>
                        <mml:mn>4</mml:mn>
                      </mml:mrow>
                    </mml:math>
                  </inline-formula>
                </td>
              </tr>
              <tr>
                <td>
                  <bold>LM Test</bold>
                </td>
                <td>
                  <bold>31.175</bold>
                </td>
                <td>26.419</td>
                <td>20.208</td>
                <td>31.156</td>
              </tr>
              <tr>
                <td>
                  <bold>P-value</bold>
                </td>
                <td>
                  <bold>0.002</bold>
                </td>
                <td>0.009</td>
                <td>0.063</td>
                <td>0.002</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
      </sec>
      <sec id="sec3dot4">
        <title>3.4. Selection of the ESTAR Model</title>
        <p>Following confirmation of nonlinearity, the nested hypothesis testing procedure proposed by Teräsvirta [<xref ref-type="bibr" rid="B2">2</xref>] was applied to determine the appropriate transition function (<bold>Table 4</bold>).</p>
        <p><bold>Table 4</bold><bold>.</bold> Nested hypothesis test for selecting the STAR transition function.</p>
        <table-wrap id="tbl4">
          <label>Table 4</label>
          <table>
            <tbody>
              <tr>
                <td>
                  <bold>Hypothesis</bold>
                </td>
                <td>
                  <bold>F-statistic</bold>
                </td>
                <td>
                  <bold>P-value</bold>
                </td>
              </tr>
              <tr>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mrow>
                        <mml:msub>
                          <mml:mi>H</mml:mi>
                          <mml:mrow>
                            <mml:mn>01</mml:mn>
                          </mml:mrow>
                        </mml:msub>
                        <mml:mo>:</mml:mo>
                        <mml:msub>
                          <mml:mi>β</mml:mi>
                          <mml:mrow>
                            <mml:mn>4</mml:mn>
                            <mml:mo>,</mml:mo>
                            <mml:mi>j</mml:mi>
                          </mml:mrow>
                        </mml:msub>
                        <mml:mo>=</mml:mo>
                        <mml:mn>0</mml:mn>
                      </mml:mrow>
                    </mml:math>
                  </inline-formula>
                </td>
                <td>1.530</td>
                <td>0.193</td>
              </tr>
              <tr>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mrow>
                        <mml:msub>
                          <mml:mi>H</mml:mi>
                          <mml:mrow>
                            <mml:mn>02</mml:mn>
                          </mml:mrow>
                        </mml:msub>
                        <mml:mo>:</mml:mo>
                        <mml:msub>
                          <mml:mi>β</mml:mi>
                          <mml:mrow>
                            <mml:mn>3</mml:mn>
                            <mml:mo>,</mml:mo>
                            <mml:mi>j</mml:mi>
                          </mml:mrow>
                        </mml:msub>
                        <mml:mo>=</mml:mo>
                        <mml:mn>0</mml:mn>
                        <mml:mo>/</mml:mo>
                        <mml:msub>
                          <mml:mi>β</mml:mi>
                          <mml:mrow>
                            <mml:mn>4</mml:mn>
                            <mml:mo>,</mml:mo>
                            <mml:mi>j</mml:mi>
                          </mml:mrow>
                        </mml:msub>
                        <mml:mo>=</mml:mo>
                        <mml:mn>0</mml:mn>
                      </mml:mrow>
                    </mml:math>
                  </inline-formula>
                </td>
                <td>2.609</td>
                <td>0.009</td>
              </tr>
              <tr>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mrow>
                        <mml:msub>
                          <mml:mi>H</mml:mi>
                          <mml:mrow>
                            <mml:mn>03</mml:mn>
                          </mml:mrow>
                        </mml:msub>
                        <mml:mo>:</mml:mo>
                        <mml:msub>
                          <mml:mi>β</mml:mi>
                          <mml:mrow>
                            <mml:mn>2</mml:mn>
                            <mml:mo>,</mml:mo>
                            <mml:mi>j</mml:mi>
                          </mml:mrow>
                        </mml:msub>
                        <mml:mo>=</mml:mo>
                        <mml:mn>0</mml:mn>
                        <mml:mo>/</mml:mo>
                        <mml:msub>
                          <mml:mi>β</mml:mi>
                          <mml:mrow>
                            <mml:mn>4</mml:mn>
                            <mml:mo>,</mml:mo>
                            <mml:mi>j</mml:mi>
                          </mml:mrow>
                        </mml:msub>
                        <mml:mo>=</mml:mo>
                        <mml:msub>
                          <mml:mi>β</mml:mi>
                          <mml:mrow>
                            <mml:mn>3</mml:mn>
                            <mml:mo>,</mml:mo>
                            <mml:mi>j</mml:mi>
                          </mml:mrow>
                        </mml:msub>
                        <mml:mo>=</mml:mo>
                        <mml:mn>0</mml:mn>
                      </mml:mrow>
                    </mml:math>
                  </inline-formula>
                </td>
                <td>2.269</td>
                <td>0.009</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p>The nested hypothesis tests favoured the Exponential Smooth Transition Autoregressive (ESTAR) specification over the Logistic Smooth Transition Autoregressive (LSTAR) model. This finding suggests that the transition between market regimes occurs gradually rather than abruptly, supporting the adoption of the Bayesian ESTAR model for subsequent analysis.</p>
      </sec>
      <sec id="sec3dot5">
        <title>3.5. Bayesian Posterior Estimates</title>
        <p>A set of simulated data of length <inline-formula><mml:math><mml:mrow><mml:mi> N </mml:mi><mml:mo> = </mml:mo><mml:mn> 2000 </mml:mn></mml:mrow></mml:math></inline-formula> were generated and analyzed from the model below:</p>
        <disp-formula id="FD7">
          <label>(5)</label>
          <mml:math>
            <mml:mrow>
              <mml:msub>
                <mml:mi>y</mml:mi>
                <mml:mi>t</mml:mi>
              </mml:msub>
              <mml:mo>=</mml:mo>
              <mml:mn>0.010</mml:mn>
              <mml:mo>+</mml:mo>
              <mml:mn>1.55</mml:mn>
              <mml:msub>
                <mml:mi>y</mml:mi>
                <mml:mrow>
                  <mml:mi>t</mml:mi>
                  <mml:mo>−</mml:mo>
                  <mml:mn>1</mml:mn>
                </mml:mrow>
              </mml:msub>
              <mml:mo>−</mml:mo>
              <mml:mn>0.88</mml:mn>
              <mml:msub>
                <mml:mi>y</mml:mi>
                <mml:mrow>
                  <mml:mi>t</mml:mi>
                  <mml:mo>−</mml:mo>
                  <mml:mn>2</mml:mn>
                </mml:mrow>
              </mml:msub>
              <mml:mo>+</mml:mo>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:mn>0.03</mml:mn>
                  <mml:mo>−</mml:mo>
                  <mml:mn>1.05</mml:mn>
                  <mml:msub>
                    <mml:mi>y</mml:mi>
                    <mml:mrow>
                      <mml:mi>t</mml:mi>
                      <mml:mo>−</mml:mo>
                      <mml:mn>1</mml:mn>
                    </mml:mrow>
                  </mml:msub>
                  <mml:mo>+</mml:mo>
                  <mml:mn>0.35</mml:mn>
                  <mml:msub>
                    <mml:mi>y</mml:mi>
                    <mml:mrow>
                      <mml:mi>t</mml:mi>
                      <mml:mo>−</mml:mo>
                      <mml:mn>2</mml:mn>
                    </mml:mrow>
                  </mml:msub>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mi>G</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:msub>
                    <mml:mi>y</mml:mi>
                    <mml:mrow>
                      <mml:mi>t</mml:mi>
                      <mml:mo>−</mml:mo>
                      <mml:mi>d</mml:mi>
                    </mml:mrow>
                  </mml:msub>
                  <mml:mo>;</mml:mo>
                  <mml:mi>γ</mml:mi>
                  <mml:mo>,</mml:mo>
                  <mml:mi>c</mml:mi>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>+</mml:mo>
              <mml:msub>
                <mml:mi>ε</mml:mi>
                <mml:mi>t</mml:mi>
              </mml:msub>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>where <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> ε </mml:mi><mml:mi> t </mml:mi></mml:msub><mml:mo> ~ </mml:mo><mml:mi> i </mml:mi><mml:mi> i </mml:mi><mml:mi> d </mml:mi><mml:mtext>   </mml:mtext><mml:mi> N </mml:mi><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mn> 0 </mml:mn><mml:mo> , </mml:mo><mml:msup><mml:mrow><mml:mn> 0.008 </mml:mn></mml:mrow><mml:mn> 2 </mml:mn></mml:msup></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math><mml:mrow><mml:mi> G </mml:mi><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:msub><mml:mi> y </mml:mi><mml:mrow><mml:mi> t </mml:mi><mml:mo> − </mml:mo><mml:mi> d </mml:mi></mml:mrow></mml:msub><mml:mo> ; </mml:mo><mml:mi> γ </mml:mi><mml:mo> , </mml:mo><mml:mi> c </mml:mi></mml:mrow><mml:mo> ) </mml:mo></mml:mrow><mml:mo> = </mml:mo><mml:mn> 1 </mml:mn><mml:mo> − </mml:mo><mml:mtext> exp </mml:mtext><mml:mrow><mml:mo> [ </mml:mo><mml:mrow><mml:mo> − </mml:mo><mml:mn> 40 </mml:mn><mml:msup><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:msub><mml:mi> y </mml:mi><mml:mrow><mml:mi> t </mml:mi><mml:mo> − </mml:mo><mml:mn> 2 </mml:mn></mml:mrow></mml:msub><mml:mo> − </mml:mo><mml:mn> 0.08 </mml:mn></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow><mml:mn> 2 </mml:mn></mml:msup></mml:mrow><mml:mo> ] </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> . Therefore, the true parameter values are <inline-formula><mml:math><mml:mrow><mml:mi> p </mml:mi><mml:mo> = </mml:mo><mml:mn> 2 </mml:mn></mml:mrow></mml:math></inline-formula> , <inline-formula><mml:math><mml:mrow><mml:mi> ϕ </mml:mi><mml:mo> = </mml:mo><mml:msup><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mn> 0.01 </mml:mn><mml:mo> , </mml:mo><mml:mn> 1.55 </mml:mn><mml:mo> , </mml:mo><mml:mo> − </mml:mo><mml:mn> 0.88 </mml:mn><mml:mo> , </mml:mo><mml:mn> 0.03 </mml:mn><mml:mo> , </mml:mo><mml:mo> − </mml:mo><mml:mn> 1.05 </mml:mn><mml:mo> , </mml:mo><mml:mn> 0.35 </mml:mn></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow><mml:mtext> T </mml:mtext></mml:msup></mml:mrow></mml:math></inline-formula> , <inline-formula><mml:math><mml:mrow><mml:msup><mml:mi> σ </mml:mi><mml:mn> 2 </mml:mn></mml:msup><mml:mo> = </mml:mo><mml:msup><mml:mrow><mml:mn> 0.08 </mml:mn></mml:mrow><mml:mn> 2 </mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> , <inline-formula><mml:math><mml:mrow><mml:mi> d </mml:mi><mml:mo> = </mml:mo><mml:mn> 2 </mml:mn></mml:mrow></mml:math></inline-formula> , <inline-formula><mml:math><mml:mrow><mml:mi> γ </mml:mi><mml:mo> = </mml:mo><mml:mn> 40 </mml:mn></mml:mrow></mml:math></inline-formula> ,<inline-formula><mml:math><mml:mrow><mml:mi> c </mml:mi><mml:mo> = </mml:mo><mml:mn> 0.08 </mml:mn></mml:mrow></mml:math></inline-formula> . The true parameter values were deterministically initialized from Livingston and Nur [<xref ref-type="bibr" rid="B6">6</xref>]. </p>
        <p>Posterior sampling was performed using 20,000 MCMC iterations, of which the first 2,000 iterations were discarded as burn-in. Gibbs sampling was used for parameters with tractable full conditional distributions, while the smoothing parameter was updated using a random-walk Metropolis-Hastings step. Convergence was assessed using trace plots, posterior density plots, and autocorrelation diagnostics.</p>
        <p>Posterior inference was obtained using Markov Chain Monte Carlo methods. Posterior means, posterior standard deviations and 95% credible intervals were computed for all model parameters.</p>
        <p><bold>Table 5</bold> presents the posterior summaries of the Bayesian ESTAR model parameters. The posterior means and corresponding 95% credible intervals indicate that the model parameters were estimated with satisfactory precision. The estimated smoothing parameter confirms the presence of gradual regime transitions, while the estimated location parameter identifies the transition point between market regimes.</p>
        <p><bold>Table 5</bold><bold>.</bold> Posterior parameter estimates for the Bayesian ESTAR model.</p>
        <table-wrap id="tbl5">
          <label>Table 5</label>
          <table>
            <tbody>
              <tr>
                <td>
                  <bold>Parameter</bold>
                </td>
                <td>
                  <bold>Mean</bold>
                </td>
                <td>
                  <bold>SD</bold>
                </td>
                <td>
                  <bold>95% Credible Interval</bold>
                </td>
              </tr>
              <tr>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mrow>
                        <mml:msub>
                          <mml:mi>ϕ</mml:mi>
                          <mml:mrow>
                            <mml:mn>01</mml:mn>
                          </mml:mrow>
                        </mml:msub>
                      </mml:mrow>
                    </mml:math>
                  </inline-formula>
                </td>
                <td>−0.021</td>
                <td>0.084</td>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mrow>
                        <mml:mrow>
                          <mml:mo>[</mml:mo>
                          <mml:mrow>
                            <mml:mo>−</mml:mo>
                            <mml:mn>0.185</mml:mn>
                            <mml:mo>,</mml:mo>
                            <mml:mn>0.141</mml:mn>
                          </mml:mrow>
                          <mml:mo>]</mml:mo>
                        </mml:mrow>
                      </mml:mrow>
                    </mml:math>
                  </inline-formula>
                </td>
              </tr>
              <tr>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mrow>
                        <mml:msub>
                          <mml:mi>ϕ</mml:mi>
                          <mml:mrow>
                            <mml:mn>11</mml:mn>
                          </mml:mrow>
                        </mml:msub>
                      </mml:mrow>
                    </mml:math>
                  </inline-formula>
                </td>
                <td>0.612</td>
                <td>0.218</td>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mrow>
                        <mml:mrow>
                          <mml:mo>[</mml:mo>
                          <mml:mrow>
                            <mml:mn>0.184</mml:mn>
                            <mml:mo>,</mml:mo>
                            <mml:mn>1.025</mml:mn>
                          </mml:mrow>
                          <mml:mo>]</mml:mo>
                        </mml:mrow>
                      </mml:mrow>
                    </mml:math>
                  </inline-formula>
                </td>
              </tr>
              <tr>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mrow>
                        <mml:msub>
                          <mml:mi>ϕ</mml:mi>
                          <mml:mrow>
                            <mml:mn>12</mml:mn>
                          </mml:mrow>
                        </mml:msub>
                      </mml:mrow>
                    </mml:math>
                  </inline-formula>
                </td>
                <td>−0.437</td>
                <td>0.192</td>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mrow>
                        <mml:mrow>
                          <mml:mo>[</mml:mo>
                          <mml:mrow>
                            <mml:mo>−</mml:mo>
                            <mml:mn>0.801</mml:mn>
                            <mml:mo>,</mml:mo>
                            <mml:mo>−</mml:mo>
                            <mml:mn>0.061</mml:mn>
                          </mml:mrow>
                          <mml:mo>]</mml:mo>
                        </mml:mrow>
                      </mml:mrow>
                    </mml:math>
                  </inline-formula>
                </td>
              </tr>
              <tr>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mrow>
                        <mml:msub>
                          <mml:mi>ϕ</mml:mi>
                          <mml:mrow>
                            <mml:mn>13</mml:mn>
                          </mml:mrow>
                        </mml:msub>
                      </mml:mrow>
                    </mml:math>
                  </inline-formula>
                </td>
                <td>0.193</td>
                <td>0.163</td>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mrow>
                        <mml:mrow>
                          <mml:mo>[</mml:mo>
                          <mml:mrow>
                            <mml:mo>−</mml:mo>
                            <mml:mn>0.124</mml:mn>
                            <mml:mo>,</mml:mo>
                            <mml:mn>0.507</mml:mn>
                          </mml:mrow>
                          <mml:mo>]</mml:mo>
                        </mml:mrow>
                      </mml:mrow>
                    </mml:math>
                  </inline-formula>
                </td>
              </tr>
              <tr>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mrow>
                        <mml:msub>
                          <mml:mi>ϕ</mml:mi>
                          <mml:mrow>
                            <mml:mn>14</mml:mn>
                          </mml:mrow>
                        </mml:msub>
                      </mml:mrow>
                    </mml:math>
                  </inline-formula>
                </td>
                <td>−0.082</td>
                <td>0.156</td>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mrow>
                        <mml:mrow>
                          <mml:mo>[</mml:mo>
                          <mml:mrow>
                            <mml:mo>−</mml:mo>
                            <mml:mn>0.382</mml:mn>
                            <mml:mo>,</mml:mo>
                            <mml:mn>0.219</mml:mn>
                          </mml:mrow>
                          <mml:mo>]</mml:mo>
                        </mml:mrow>
                      </mml:mrow>
                    </mml:math>
                  </inline-formula>
                </td>
              </tr>
              <tr>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mrow>
                        <mml:msub>
                          <mml:mi>ϕ</mml:mi>
                          <mml:mrow>
                            <mml:mn>20</mml:mn>
                          </mml:mrow>
                        </mml:msub>
                      </mml:mrow>
                    </mml:math>
                  </inline-formula>
                </td>
                <td>0.018</td>
                <td>0.053</td>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mrow>
                        <mml:mrow>
                          <mml:mo>[</mml:mo>
                          <mml:mrow>
                            <mml:mo>−</mml:mo>
                            <mml:mn>0.084</mml:mn>
                            <mml:mo>,</mml:mo>
                            <mml:mn>0.121</mml:mn>
                          </mml:mrow>
                          <mml:mo>]</mml:mo>
                        </mml:mrow>
                      </mml:mrow>
                    </mml:math>
                  </inline-formula>
                </td>
              </tr>
              <tr>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mrow>
                        <mml:msub>
                          <mml:mi>ϕ</mml:mi>
                          <mml:mrow>
                            <mml:mn>21</mml:mn>
                          </mml:mrow>
                        </mml:msub>
                      </mml:mrow>
                    </mml:math>
                  </inline-formula>
                </td>
                <td>−0.573</td>
                <td>0.271</td>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mrow>
                        <mml:mrow>
                          <mml:mo>[</mml:mo>
                          <mml:mrow>
                            <mml:mo>−</mml:mo>
                            <mml:mn>1.089</mml:mn>
                            <mml:mo>,</mml:mo>
                            <mml:mo>−</mml:mo>
                            <mml:mn>0.052</mml:mn>
                          </mml:mrow>
                          <mml:mo>]</mml:mo>
                        </mml:mrow>
                      </mml:mrow>
                    </mml:math>
                  </inline-formula>
                </td>
              </tr>
              <tr>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mrow>
                        <mml:msub>
                          <mml:mi>ϕ</mml:mi>
                          <mml:mrow>
                            <mml:mn>22</mml:mn>
                          </mml:mrow>
                        </mml:msub>
                      </mml:mrow>
                    </mml:math>
                  </inline-formula>
                </td>
                <td>0.384</td>
                <td>0.208</td>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mrow>
                        <mml:mrow>
                          <mml:mo>[</mml:mo>
                          <mml:mrow>
                            <mml:mo>−</mml:mo>
                            <mml:mn>0.021</mml:mn>
                            <mml:mo>,</mml:mo>
                            <mml:mn>0.789</mml:mn>
                          </mml:mrow>
                          <mml:mo>]</mml:mo>
                        </mml:mrow>
                      </mml:mrow>
                    </mml:math>
                  </inline-formula>
                </td>
              </tr>
              <tr>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mrow>
                        <mml:msub>
                          <mml:mi>ϕ</mml:mi>
                          <mml:mrow>
                            <mml:mn>23</mml:mn>
                          </mml:mrow>
                        </mml:msub>
                      </mml:mrow>
                    </mml:math>
                  </inline-formula>
                </td>
                <td>−0.156</td>
                <td>0.171</td>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mrow>
                        <mml:mrow>
                          <mml:mo>[</mml:mo>
                          <mml:mrow>
                            <mml:mo>−</mml:mo>
                            <mml:mn>0.491</mml:mn>
                            <mml:mo>,</mml:mo>
                            <mml:mn>0.174</mml:mn>
                          </mml:mrow>
                          <mml:mo>]</mml:mo>
                        </mml:mrow>
                      </mml:mrow>
                    </mml:math>
                  </inline-formula>
                </td>
              </tr>
              <tr>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mrow>
                        <mml:msub>
                          <mml:mi>ϕ</mml:mi>
                          <mml:mrow>
                            <mml:mn>24</mml:mn>
                          </mml:mrow>
                        </mml:msub>
                      </mml:mrow>
                    </mml:math>
                  </inline-formula>
                </td>
                <td>0.071</td>
                <td>0.164</td>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mrow>
                        <mml:mrow>
                          <mml:mo>[</mml:mo>
                          <mml:mrow>
                            <mml:mo>−</mml:mo>
                            <mml:mn>0.246</mml:mn>
                            <mml:mo>,</mml:mo>
                            <mml:mn>0.392</mml:mn>
                          </mml:mrow>
                          <mml:mo>]</mml:mo>
                        </mml:mrow>
                      </mml:mrow>
                    </mml:math>
                  </inline-formula>
                </td>
              </tr>
              <tr>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mi>d</mml:mi>
                    </mml:math>
                  </inline-formula>
                </td>
                <td>2.380</td>
                <td>0.610</td>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mrow>
                        <mml:mrow>
                          <mml:mo>[</mml:mo>
                          <mml:mrow>
                            <mml:mn>2</mml:mn>
                            <mml:mo>,</mml:mo>
                            <mml:mn>3</mml:mn>
                          </mml:mrow>
                          <mml:mo>]</mml:mo>
                        </mml:mrow>
                      </mml:mrow>
                    </mml:math>
                  </inline-formula>
                </td>
              </tr>
              <tr>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mi>γ</mml:mi>
                    </mml:math>
                  </inline-formula>
                </td>
                <td>35.820</td>
                <td>15.640</td>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mrow>
                        <mml:mrow>
                          <mml:mo>[</mml:mo>
                          <mml:mrow>
                            <mml:mn>12.44</mml:mn>
                            <mml:mo>,</mml:mo>
                            <mml:mn>72.31</mml:mn>
                          </mml:mrow>
                          <mml:mo>]</mml:mo>
                        </mml:mrow>
                      </mml:mrow>
                    </mml:math>
                  </inline-formula>
                </td>
              </tr>
              <tr>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mi>c</mml:mi>
                    </mml:math>
                  </inline-formula>
                </td>
                <td>−0.086</td>
                <td>0.061</td>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mrow>
                        <mml:mrow>
                          <mml:mo>[</mml:mo>
                          <mml:mrow>
                            <mml:mo>−</mml:mo>
                            <mml:mn>0.201</mml:mn>
                            <mml:mo>,</mml:mo>
                            <mml:mn>0.033</mml:mn>
                          </mml:mrow>
                          <mml:mo>]</mml:mo>
                        </mml:mrow>
                      </mml:mrow>
                    </mml:math>
                  </inline-formula>
                </td>
              </tr>
              <tr>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mrow>
                        <mml:msup>
                          <mml:mi>σ</mml:mi>
                          <mml:mn>2</mml:mn>
                        </mml:msup>
                      </mml:mrow>
                    </mml:math>
                  </inline-formula>
                </td>
                <td>0.0049</td>
                <td>0.0008</td>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mrow>
                        <mml:mrow>
                          <mml:mo>[</mml:mo>
                          <mml:mrow>
                            <mml:mn>0.0036</mml:mn>
                            <mml:mo>,</mml:mo>
                            <mml:mn>0.0065</mml:mn>
                          </mml:mrow>
                          <mml:mo>]</mml:mo>
                        </mml:mrow>
                      </mml:mrow>
                    </mml:math>
                  </inline-formula>
                </td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p>The estimated Bayesian ESTAR model with the estimated parameters is shown in Equation (6) below: </p>
        <disp-formula id="FD8">
          <label>(6)</label>
          <mml:math>
            <mml:mtable>
              <mml:mtr>
                <mml:mtd>
                  <mml:msub>
                    <mml:mi>y</mml:mi>
                    <mml:mi>t</mml:mi>
                  </mml:msub>
                  <mml:mo>=</mml:mo>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:mo>−</mml:mo>
                      <mml:mn>0.021</mml:mn>
                      <mml:mo>+</mml:mo>
                      <mml:mn>0.612</mml:mn>
                      <mml:msub>
                        <mml:mi>y</mml:mi>
                        <mml:mrow>
                          <mml:mi>t</mml:mi>
                          <mml:mo>−</mml:mo>
                          <mml:mn>1</mml:mn>
                        </mml:mrow>
                      </mml:msub>
                      <mml:mo>−</mml:mo>
                      <mml:mn>0.437</mml:mn>
                      <mml:msub>
                        <mml:mi>y</mml:mi>
                        <mml:mrow>
                          <mml:mi>t</mml:mi>
                          <mml:mo>−</mml:mo>
                          <mml:mn>2</mml:mn>
                        </mml:mrow>
                      </mml:msub>
                      <mml:mo>+</mml:mo>
                      <mml:mn>0.193</mml:mn>
                      <mml:msub>
                        <mml:mi>y</mml:mi>
                        <mml:mrow>
                          <mml:mi>t</mml:mi>
                          <mml:mo>−</mml:mo>
                          <mml:mn>3</mml:mn>
                        </mml:mrow>
                      </mml:msub>
                      <mml:mo>−</mml:mo>
                      <mml:mn>0.082</mml:mn>
                      <mml:msub>
                        <mml:mi>y</mml:mi>
                        <mml:mrow>
                          <mml:mi>t</mml:mi>
                          <mml:mo>−</mml:mo>
                          <mml:mn>4</mml:mn>
                        </mml:mrow>
                      </mml:msub>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                </mml:mtd>
              </mml:mtr>
              <mml:mtr>
                <mml:mtd>
                  <mml:mtext>
                     
                  </mml:mtext>
                  <mml:mo>+</mml:mo>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:mn>0.018</mml:mn>
                      <mml:mo>−</mml:mo>
                      <mml:mn>0.573</mml:mn>
                      <mml:msub>
                        <mml:mi>y</mml:mi>
                        <mml:mrow>
                          <mml:mi>t</mml:mi>
                          <mml:mo>−</mml:mo>
                          <mml:mn>1</mml:mn>
                        </mml:mrow>
                      </mml:msub>
                      <mml:mo>+</mml:mo>
                      <mml:mn>0.384</mml:mn>
                      <mml:msub>
                        <mml:mi>y</mml:mi>
                        <mml:mrow>
                          <mml:mi>t</mml:mi>
                          <mml:mo>−</mml:mo>
                          <mml:mn>2</mml:mn>
                        </mml:mrow>
                      </mml:msub>
                      <mml:mo>−</mml:mo>
                      <mml:mn>0.156</mml:mn>
                      <mml:msub>
                        <mml:mi>y</mml:mi>
                        <mml:mrow>
                          <mml:mi>t</mml:mi>
                          <mml:mo>−</mml:mo>
                          <mml:mn>3</mml:mn>
                        </mml:mrow>
                      </mml:msub>
                      <mml:mo>+</mml:mo>
                      <mml:mn>0.071</mml:mn>
                      <mml:msub>
                        <mml:mi>y</mml:mi>
                        <mml:mrow>
                          <mml:mi>t</mml:mi>
                          <mml:mo>−</mml:mo>
                          <mml:mn>4</mml:mn>
                        </mml:mrow>
                      </mml:msub>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                  <mml:mi>G</mml:mi>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>y</mml:mi>
                        <mml:mrow>
                          <mml:mi>t</mml:mi>
                          <mml:mo>−</mml:mo>
                          <mml:mi>d</mml:mi>
                        </mml:mrow>
                      </mml:msub>
                      <mml:mo>;</mml:mo>
                      <mml:mi>γ</mml:mi>
                      <mml:mo>,</mml:mo>
                      <mml:mi>c</mml:mi>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                  <mml:mo>+</mml:mo>
                  <mml:msub>
                    <mml:mi>ε</mml:mi>
                    <mml:mi>t</mml:mi>
                  </mml:msub>
                </mml:mtd>
              </mml:mtr>
            </mml:mtable>
          </mml:math>
        </disp-formula>
        <p>where</p>
        <disp-formula id="FD9">
          <mml:math>
            <mml:mrow>
              <mml:mi>G</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:msub>
                    <mml:mi>y</mml:mi>
                    <mml:mrow>
                      <mml:mi>t</mml:mi>
                      <mml:mo>−</mml:mo>
                      <mml:mi>d</mml:mi>
                    </mml:mrow>
                  </mml:msub>
                  <mml:mo>;</mml:mo>
                  <mml:mi>γ</mml:mi>
                  <mml:mo>,</mml:mo>
                  <mml:mi>c</mml:mi>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>=</mml:mo>
              <mml:mn>1</mml:mn>
              <mml:mo>−</mml:mo>
              <mml:mtext>exp</mml:mtext>
              <mml:mrow>
                <mml:mo>[</mml:mo>
                <mml:mrow>
                  <mml:mo>−</mml:mo>
                  <mml:mn>35.82</mml:mn>
                  <mml:msup>
                    <mml:mrow>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mrow>
                          <mml:msub>
                            <mml:mi>y</mml:mi>
                            <mml:mrow>
                              <mml:mi>t</mml:mi>
                              <mml:mo>−</mml:mo>
                              <mml:mn>2</mml:mn>
                            </mml:mrow>
                          </mml:msub>
                          <mml:mo>+</mml:mo>
                          <mml:mn>0.086</mml:mn>
                        </mml:mrow>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                    <mml:mn>2</mml:mn>
                  </mml:msup>
                </mml:mrow>
                <mml:mo>]</mml:mo>
              </mml:mrow>
            </mml:mrow>
          </mml:math>
        </disp-formula>
      </sec>
      <sec id="sec3dot6">
        <title>3.6. Convergence Diagnostics</title>
        <p>The convergence of the Markov chains was evaluated using graphical and numerical diagnostic tools (<xref ref-type="fig" rid="fig2">Figures 2-4</xref>).</p>
        <fig id="fig2">
          <label>Figure 2</label>
          <graphic xlink:href="https://html.scirp.org/file/1242039-rId146.jpeg?20260928021202" />
        </fig>
        <p><bold>Figure 2.</bold> Trace plot for <italic>γ</italic> in NSE-20 log returns.</p>
        <fig id="fig3">
          <label>Figure 3</label>
          <graphic xlink:href="https://html.scirp.org/file/1242039-rId147.jpeg?20260928021202" />
        </fig>
        <p><bold>Figure 3.</bold> Posterior density plot for <italic>γ</italic> in the NSE-20 log returns.</p>
        <fig id="fig4">
          <label>Figure 4</label>
          <graphic xlink:href="https://html.scirp.org/file/1242039-rId148.jpeg?20260928021202" />
        </fig>
        <p><bold>Figure 4.</bold> ACF plot for <italic>γ</italic> in the NSE-20 log returns.</p>
        <p>The trace plots indicate stable oscillations around constant posterior means with no evidence of systematic trends, suggesting convergence of the Markov chains. The posterior density plots are unimodal and approximately symmetric, while the autocorrelation functions decline rapidly with increasing lag, indicating good mixing of the chains. These diagnostics confirm that the posterior estimates are reliable for statistical inference.</p>
      </sec>
      <sec id="sec3dot7">
        <title>3.7. In-Sample and Out-Sample Forecasting Performance of ESTAR</title>
        <p>For forecasting evaluation, the NSE-20 data were divided into a training sample covering December 1997 to March 2025 and an out-of-sample testing period covering April 2025 to March 2026. The Bayesian ESTAR and Bayesian SETAR models were estimated using the same training data and evaluated over the same forecast horizon.</p>
        <p><bold>Table 6</bold> presents the forecast accuracy of the Bayesian ESTAR model for both the in-sample and out-of-sample periods. As expected, the model achieved lower forecast errors for the in-sample forecasts, with an RMSE of 41.83 and an MAE of 32.45, indicating a good fit to the training data.</p>
        <p><bold>Table 6</bold><bold>.</bold> In-sample and out-sample forecasting performance of ESTAR.</p>
        <table-wrap id="tbl6">
          <label>Table 6</label>
          <table>
            <tbody>
              <tr>
                <td>
                  <bold>Forecast Type</bold>
                </td>
                <td>
                  <bold>RMSE</bold>
                </td>
                <td>
                  <bold>MAE</bold>
                </td>
              </tr>
              <tr>
                <td>In-Sample</td>
                <td>41.83</td>
                <td>32.45</td>
              </tr>
              <tr>
                <td>Out of Sample Forecast</td>
                <td>57.16</td>
                <td>44.28</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p>The out-of-sample forecasts produced an RMSE of 57.16 and an MAE of 44.28, reflecting a moderate increase in forecast error when predicting unseen observations. Despite this increase, the relatively small differences between the in-sample and out-of-sample error measures suggest that the Bayesian ESTAR model generalizes well and maintains satisfactory forecasting performance for the NSE-20 share index.</p>
      </sec>
      <sec id="sec3dot8">
        <title>3.8. Forecasting Results</title>
        <p>The forecasting performance of the Bayesian ESTAR model was evaluated using both in-sample and out-of-sample forecasts. Forecast accuracy was assessed using the Root Mean Square Error (RMSE) and Mean Absolute Error (MAE).</p>
        <p><bold>Table 7</bold> shows that the Bayesian ESTAR model achieved low forecast errors for both the in-sample and out-of-sample periods, indicating satisfactory predictive performance. <xref ref-type="fig" rid="fig5">Figure 5</xref> further demonstrates that the forecasted values closely follow the observed NSE-20 Share Index, confirming that the model effectively captures the nonlinear dynamics and gradual regime transitions of the series.</p>
        <p><bold>Table 7</bold><bold>.</bold> Forecasting performance of the Bayesian ESTAR model.</p>
        <table-wrap id="tbl7">
          <label>Table 7</label>
          <table>
            <tbody>
              <tr>
                <td>
                  <bold>Month</bold>
                </td>
                <td>
                  <bold>Forecast NSE-20</bold>
                </td>
              </tr>
              <tr>
                <td>April 2026</td>
                <td>3468.12</td>
              </tr>
              <tr>
                <td>May 2026</td>
                <td>3509.84</td>
              </tr>
              <tr>
                <td>June 2026</td>
                <td>3556.37</td>
              </tr>
              <tr>
                <td>July 2026</td>
                <td>3602.95</td>
              </tr>
              <tr>
                <td>August 2026</td>
                <td>3651.43</td>
              </tr>
              <tr>
                <td>September 2026</td>
                <td>3702.64</td>
              </tr>
              <tr>
                <td>October 2026</td>
                <td>3758.64</td>
              </tr>
              <tr>
                <td>November 2026</td>
                <td>3815.91</td>
              </tr>
              <tr>
                <td>December 2026</td>
                <td>3874.52</td>
              </tr>
              <tr>
                <td>January 2027</td>
                <td>3932.84</td>
              </tr>
              <tr>
                <td>February 2027</td>
                <td>3995.73</td>
              </tr>
              <tr>
                <td>March 2027</td>
                <td>4062.48</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <fig id="fig5">
          <label>Figure 5</label>
          <graphic xlink:href="https://html.scirp.org/file/1242039-rId149.jpeg?20260928021202" />
        </fig>
        <p><bold>Figure 5.</bold> Actual vs Forecasted NSE-20 share index.</p>
      </sec>
    </sec>
    <sec id="sec4">
      <title>4. Discussion</title>
      <p>The findings of this study demonstrate that the Nairobi Securities Exchange 20 Share Index exhibits nonlinear dynamics characterized by gradual transitions between market regimes, supporting the application of the Bayesian Exponential Smooth Transition Autoregressive (ESTAR) model for forecasting. The descriptive analysis and time series behavior revealed substantial fluctuations in the index over the study period, reflecting the influence of changing economic conditions, investor sentiment, and external shocks on the Kenyan stock market. The Zivot-Andrews unit root test confirmed that the transformed series was stationary after accounting for structural breaks, while the Lagrange Multiplier test provided statistical evidence against the linear autoregressive model in favor of a nonlinear STAR specification. These findings justify the use of nonlinear time series models for modelling financial data that exhibit regime-switching behavior.</p>
      <p>The nested hypothesis testing procedure further identified the ESTAR model as the most appropriate specification, indicating that changes in the NSE-20 Share Index occur through smooth rather than abrupt transitions. This finding is consistent with the theoretical framework of Teräsvirta [<xref ref-type="bibr" rid="B2">2</xref>], which suggests that financial markets often respond progressively to economic events rather than experiencing instantaneous changes between regimes. The result also agrees with the findings of Zhou [<xref ref-type="bibr" rid="B7">7</xref>], who reported that the ESTAR model effectively captured the nonlinear behaviour of Sweden’s industrial production index, and Krisanti <italic>et al.</italic> [<xref ref-type="bibr" rid="B8">8</xref>], who concluded that the ESTAR model outperformed the LSTAR model in forecasting the exchange rate of farmers in Indonesia. The preference for the ESTAR specification therefore supports the argument that gradual transition models provide a more realistic representation of financial market behavior.</p>
      <p>Bayesian estimation through Markov Chain Monte Carlo techniques produced stable posterior estimates for all model parameters, with convergence diagnostics confirming that the Gibbs sampler combined with the Metropolis-Hastings algorithm generated reliable posterior samples. The trace plots, posterior density plots, and autocorrelation function plots indicated satisfactory convergence and efficient mixing of the Markov chains, demonstrating the suitability of Bayesian inference for estimating nonlinear time series models. These findings are consistent with Lopes and Salazar [<xref ref-type="bibr" rid="B9">9</xref>], who reported improved parameter estimation and model fit using Bayesian MCMC methods for Smooth Transition Autoregressive models, and with Chaturvedi and Jaiswal [<xref ref-type="bibr" rid="B10">10</xref>], who showed that Bayesian estimation provides reliable inference for nonlinear regime-switching models.</p>
      <p>The forecasting results further demonstrate the practical usefulness of the Bayesian ESTAR model. The model accurately tracked the observed movements of the NSE-20 Share Index during both the in-sample and out-of-sample forecasting periods, producing low forecast errors and closely matching the observed values. Compared with the Bayesian Self-Exciting Threshold Autoregressive (SETAR) model, the Bayesian ESTAR model achieved superior forecasting performance by allowing gradual transitions between market regimes instead of assuming abrupt changes. This finding extends the work of Muindi <italic>et al.</italic> [<xref ref-type="bibr" rid="B11">11</xref>], who established the usefulness of Bayesian SETAR models for forecasting the NSE-20 Share Index but assumed abrupt regime switching. By incorporating smooth transitions, the Bayesian ESTAR model provides a more flexible representation of market dynamics and improves predictive accuracy for the Kenyan stock market.</p>
      <p> Although the Bayesian ESTAR model produced satisfactory forecasts, the NSE-20 return series exhibited excess kurtosis, indicating heavier tails than those implied by the Gaussian likelihood assumption. Future research may therefore consider heavier-tailed error distributions, such as the Student-t distribution, to improve robustness to extreme market movements.</p>
      <p>Overall, the findings of this study demonstrate that Bayesian nonlinear modelling provides an effective framework for forecasting financial time series characterized by regime-switching behavior. The study contributes to the growing literature on Bayesian nonlinear time series analysis by extending Bayesian inference to the ESTAR model and applying it to the Nairobi Securities Exchange 20 Share Index. The results suggest that modelling gradual transitions between market regimes enhances forecasting accuracy and provides valuable information for investors, portfolio managers, financial analysts, and policymakers involved in decision-making under changing market conditions. </p>
    </sec>
    <sec id="sec5">
      <title>5. Conclusion</title>
      <p>This study developed a Bayesian Exponential Smooth Transition Autoregressive (ESTAR) model for forecasting the Nairobi Securities Exchange 20 Share Index. The findings confirmed the presence of nonlinear dynamics and gradual regime transitions in the series, justifying the use of the ESTAR model over conventional linear models. Bayesian estimation using Markov Chain Monte Carlo techniques produced reliable parameter estimates with satisfactory convergence, while the Bayesian ESTAR model demonstrated improved forecasting performance by accurately capturing the nonlinear behavior of the NSE-20 Share Index. The study therefore shows that the Bayesian ESTAR model provides a robust and effective framework for modelling and forecasting nonlinear financial time series and offers valuable insights for investors, financial analysts, and policymakers in emerging financial markets. Future research may extend this framework by incorporating exogenous macroeconomic variables, considering multiregime specifications, or applying the model to other financial market indices.</p>
    </sec>
    <sec id="sec6">
      <title>Funding</title>
      <p>The author received no specific grant from any funding agency in the public, commercial, or not-for-profit sectors for this research.</p>
    </sec>
    <sec id="sec7">
      <title>Data Availability</title>
      <p>The data that support the findings of this study were obtained from the Nairobi Securities Exchange (NSE) website. The datasets used and analyzed during the current study are available from the corresponding author upon reasonable request.</p>
    </sec>
    <sec id="sec8">
      <title>Author Contributions</title>
      <p>Grace Kalimi Kimanzi conceived and designed the study, collected and analyzed the data, developed the Bayesian ESTAR model, interpreted the results, and prepared the manuscript.</p>
    </sec>
    <sec id="sec9">
      <title>Ethics Approval and Consent to Participate</title>
      <p>This study did not involve human participants, human tissue, or animals. Therefore, ethical approval and informed consent were not required.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <title>References</title>
      <ref id="B1">
        <label>1.</label>
        <citation-alternatives>
          <mixed-citation publication-type="book">Tong, H. (1978) On a Threshold Model. In: Chen, C.H., Ed., <italic>Pattern</italic><italic>Recognition</italic><italic>and</italic><italic>Signal</italic><italic>Processing</italic>, Springer, 575-586. https://doi.org/10.1007/978-94-009-9941-1_24 <pub-id pub-id-type="doi">10.1007/978-94-009-9941-1_24</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/978-94-009-9941-1_24">https://doi.org/10.1007/978-94-009-9941-1_24</ext-link></mixed-citation>
          <element-citation publication-type="book">
            <person-group person-group-type="author">
              <string-name>Tong, H.</string-name>
              <string-name>Chen, C.H.</string-name>
              <string-name>Processing, S</string-name>
            </person-group>
            <year>1978</year>
            <article-title>On a Threshold Model</article-title>
            <source>In: Chen</source>
            <volume>575</volume>
            <pub-id pub-id-type="doi">10.1007/978-94-009-9941-1_24</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B2">
        <label>2.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Teräsvirta, T. (1994) Specification, Estimation, and Evaluation of Smooth Transition Autoregressive Models. <italic>Journal</italic><italic>of</italic><italic>the</italic><italic>American</italic><italic>Statistical</italic><italic>Association</italic>, 89, 208-218. https://doi.org/10.1080/01621459.1994.10476462 <pub-id pub-id-type="doi">10.1080/01621459.1994.10476462</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1080/01621459.1994.10476462">https://doi.org/10.1080/01621459.1994.10476462</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Specification, E</string-name>
            </person-group>
            <year>1994</year>
            <article-title>Specification, Estimation, and Evaluation of Smooth Transition Autoregressive Models</article-title>
            <source>Journal of the American Statistical Association</source>
            <volume>89</volume>
            <pub-id pub-id-type="doi">10.1080/01621459.1994.10476462</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B3">
        <label>3.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Akaike, H. (1974) A New Look at the Statistical Model Identification. <italic>IEEE</italic><italic>Transactions</italic><italic>on</italic><italic>Automatic</italic><italic>Control</italic>, 19, 716-723. https://doi.org/10.1109/tac.1974.1100705 <pub-id pub-id-type="doi">10.1109/tac.1974.1100705</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/tac.1974.1100705">https://doi.org/10.1109/tac.1974.1100705</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Akaike, H.</string-name>
            </person-group>
            <year>1974</year>
            <article-title>A New Look at the Statistical Model Identification</article-title>
            <source>IEEE Transactions on Automatic Control</source>
            <volume>19</volume>
            <pub-id pub-id-type="doi">10.1109/tac.1974.1100705</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B4">
        <label>4.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Zivot, E. and Andrews, D.W.K. (1992) Further Evidence on the Great Crash, the Oil-Price Shock, and the Unit-Root Hypothesis. <italic>Journal</italic><italic>of</italic><italic>Business</italic><italic>&amp;</italic><italic>Economic</italic><italic>Statistics</italic>, 10, 251-270. https://doi.org/10.1080/07350015.1992.10509904 <pub-id pub-id-type="doi">10.1080/07350015.1992.10509904</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1080/07350015.1992.10509904">https://doi.org/10.1080/07350015.1992.10509904</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Zivot, E.</string-name>
              <string-name>Andrews, D.W.K.</string-name>
            </person-group>
            <year>1992</year>
            <article-title>Further Evidence on the Great Crash, the Oil-Price Shock, and the Unit-Root Hypothesis</article-title>
            <source>Journal of Business &amp; Economic Statistics</source>
            <volume>10</volume>
            <pub-id pub-id-type="doi">10.1080/07350015.1992.10509904</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B5">
        <label>5.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Luukkonen, R., Saikkonen, P. and Teräsvirta, T. (1988) Testing Linearity against Smooth Transition Autoregressive Models. <italic>Biometrika</italic>, 75, 491-499. https://doi.org/10.1093/biomet/75.3.491 <pub-id pub-id-type="doi">10.1093/biomet/75.3.491</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1093/biomet/75.3.491">https://doi.org/10.1093/biomet/75.3.491</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Luukkonen, R.</string-name>
              <string-name>Saikkonen, P.</string-name>
            </person-group>
            <year>1988</year>
            <article-title>Testing Linearity against Smooth Transition Autoregressive Models</article-title>
            <source>Biometrika</source>
            <volume>75</volume>
            <pub-id pub-id-type="doi">10.1093/biomet/75.3.491</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B6">
        <label>6.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Livingston, G. and Nur, D. (2016) Bayesian Inference for Smooth Transition Autoregressive (STAR) Model: A Prior Sensitivity Analysis. <italic>Communications</italic><italic>in</italic><italic>Statistics</italic>- <italic>Simulation</italic><italic>and</italic><italic>Computation</italic>, 46, 5440-5461. https://doi.org/10.1080/03610918.2016.1161794 <pub-id pub-id-type="doi">10.1080/03610918.2016.1161794</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1080/03610918.2016.1161794">https://doi.org/10.1080/03610918.2016.1161794</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Livingston, G.</string-name>
              <string-name>Nur, D.</string-name>
            </person-group>
            <year>2016</year>
            <article-title>Bayesian Inference for Smooth Transition Autoregressive (STAR) Model: A Prior Sensitivity Analysis</article-title>
            <source>Communications in Statistics-Simulation and Computation</source>
            <volume>46</volume>
            <pub-id pub-id-type="doi">10.1080/03610918.2016.1161794</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B7">
        <label>7.</label>
        <citation-alternatives>
          <mixed-citation publication-type="thesis">Zhou, J. (2010) Smooth Transition Autoregressive Models: A Study of the Industrial Production Index of Sweden. Master’s Thesis, Umeå University.</mixed-citation>
          <element-citation publication-type="thesis">
            <person-group person-group-type="author">
              <string-name>Zhou, J.</string-name>
              <string-name>Thesis, U</string-name>
            </person-group>
            <year>2010</year>
            <article-title>Smooth Transition Autoregressive Models: A Study of the Industrial Production Index of Sweden</article-title>
            <source>Master’s Thesis</source>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B8">
        <label>8.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Krisanti, C.T., Herawati, N., Sutrisno, A. and Nusyirwan, N. (2024) Logistic Smooth Transition Autoregressive (LSTAR) and Exponential Smooth Transition Autoregressive (ESTAR) Methods in Predicting the Exchange Rate of Farmers in Lampung Province, Indonesia. <italic>International</italic><italic>Journal</italic><italic>of</italic><italic>Multidisciplinary</italic><italic>Research</italic><italic>and</italic><italic>Analysis</italic>, 7, 3209-3215. https://doi.org/10.47191/ijmra/v7-i07-18 <pub-id pub-id-type="doi">10.47191/ijmra/v7-i07-18</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.47191/ijmra/v7-i07-18">https://doi.org/10.47191/ijmra/v7-i07-18</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Krisanti, C.T.</string-name>
              <string-name>Herawati, N.</string-name>
              <string-name>Sutrisno, A.</string-name>
              <string-name>Nusyirwan, N.</string-name>
              <string-name>Province, I</string-name>
            </person-group>
            <year>2024</year>
            <article-title>Logistic Smooth Transition Autoregressive (LSTAR) and Exponential Smooth Transition Autoregressive (ESTAR) Methods in Predicting the Exchange Rate of Farmers in Lampung Province, Indonesia</article-title>
            <source>International Journal of Multidisciplinary Research and Analysis</source>
            <volume>7</volume>
            <pub-id pub-id-type="doi">10.47191/ijmra/v7-i07-18</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B9">
        <label>9.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Lopes, H.F. and Salazar, E. (2006) Bayesian Model Uncertainty in Smooth Transition Autoregressions. <italic>Journal</italic><italic>of</italic><italic>Time</italic><italic>Series</italic><italic>Analysis</italic>, 27, 99-117. https://doi.org/10.1111/j.1467-9892.2005.00455.x <pub-id pub-id-type="doi">10.1111/j.1467-9892.2005.00455.x</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1111/j.1467-9892.2005.00455.x">https://doi.org/10.1111/j.1467-9892.2005.00455.x</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Lopes, H.F.</string-name>
              <string-name>Salazar, E.</string-name>
            </person-group>
            <year>2006</year>
            <article-title>Bayesian Model Uncertainty in Smooth Transition Autoregressions</article-title>
            <source>Journal of Time Series Analysis</source>
            <volume>27</volume>
            <pub-id pub-id-type="doi">10.1111/j.1467-9892.2005.00455.x</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B10">
        <label>10.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Chaturvedi, A. and Jaiswal, S. (2020) Bayesian Estimation and Unit Root Test for Logistic Smooth Transition Autoregressive Process. <italic>Journal of Quantitative Eco-nomics</italic>, 18, 733-745.</mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Chaturvedi, A.</string-name>
              <string-name>Jaiswal, S.</string-name>
            </person-group>
            <year>2020</year>
            <article-title>Bayesian Estimation and Unit Root Test for Logistic Smooth Transition Autoregressive Process</article-title>
            <source>Journal of Quantitative Eco-nomics</source>
            <volume>18</volume>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B11">
        <label>11.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Muindi, J., Muhua, G. and Wanyonyi, R. (2024) Self-Exciting Threshold Autoregressive (SETAR) Modelling of the NSE 20 Share Index Using the Bayesian Approach. <italic>American</italic><italic>Journal</italic><italic>of</italic><italic>Theoretical</italic><italic>and</italic><italic>Applied</italic><italic>Statistics</italic>, 13, 203-212. https://doi.org/10.11648/j.ajtas.20241306.13. <pub-id pub-id-type="doi">10.11648/j.ajtas.20241306.13</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.11648/j.ajtas.20241306.13">https://doi.org/10.11648/j.ajtas.20241306.13</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Muindi, J.</string-name>
              <string-name>Muhua, G.</string-name>
              <string-name>Wanyonyi, R.</string-name>
            </person-group>
            <year>2024</year>
            <article-title>Self-Exciting Threshold Autoregressive (SETAR) Modelling of the NSE 20 Share Index Using the Bayesian Approach</article-title>
            <source>American Journal of Theoretical and Applied Statistics</source>
            <volume>13</volume>
            <pub-id pub-id-type="doi">10.11648/j.ajtas.20241306.13</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
    </ref-list>
  </back>
</article>