<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article">
 <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-718X
   </issn>
   <issn publication-format="print">
    2161-7198
   </issn>
   <publisher>
    <publisher-name>
     Scientific Research Publishing
    </publisher-name>
   </publisher>
  </journal-meta>
  <article-meta>
   <article-id pub-id-type="doi">
    10.4236/ojs.2024.145023
   </article-id>
   <article-id pub-id-type="publisher-id">
    ojs-136997
   </article-id>
   <article-categories>
    <subj-group subj-group-type="heading">
     <subject>
      Articles
     </subject>
    </subj-group>
    <subj-group subj-group-type="Discipline-v2">
     <subject>
      Physics 
     </subject>
     <subject>
       Mathematics
     </subject>
    </subj-group>
   </article-categories>
   <title-group>
    A Likelihood-Based Multiple Change Point Algorithm for Count Data with Allowance for Over-Dispersion
   </title-group>
   <contrib-group>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Shalyne
      </surname>
      <given-names>
       Nyambura
      </given-names>
     </name>
    </contrib>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Anthony
      </surname>
      <given-names>
       Waititu
      </given-names>
     </name>
    </contrib>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Antony
      </surname>
      <given-names>
       Wanjoya
      </given-names>
     </name>
    </contrib>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Herbert
      </surname>
      <given-names>
       Imboga
      </given-names>
     </name>
    </contrib>
   </contrib-group> 
   <aff id="affnull">
    <addr-line>
     aSchool of Mathematics&amp;Physical Sciences, Jomo Kenyatta University of Agriculture&amp;Technology, Juja, Kenya
    </addr-line> 
   </aff> 
   <pub-date pub-type="epub">
    <day>
     30
    </day> 
    <month>
     09
    </month>
    <year>
     2024
    </year>
   </pub-date> 
   <volume>
    14
   </volume> 
   <issue>
    05
   </issue>
   <fpage>
    518
   </fpage>
   <lpage>
    545
   </lpage>
   <history>
    <date date-type="received">
     <day>
      21,
     </day>
     <month>
      September
     </month>
     <year>
      2024
     </year>
    </date>
    <date date-type="published">
     <day>
      27,
     </day>
     <month>
      September
     </month>
     <year>
      2024
     </year> 
    </date> 
    <date date-type="accepted">
     <day>
      27,
     </day>
     <month>
      October
     </month>
     <year>
      2024
     </year> 
    </date>
   </history>
   <permissions>
    <copyright-statement>
     © Copyright 2014 by authors and Scientific Research Publishing Inc. 
    </copyright-statement>
    <copyright-year>
     2014
    </copyright-year>
    <license>
     <license-p>
      This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/
     </license-p>
    </license>
   </permissions>
   <abstract>
    Count data is almost always over-dispersed where the variance exceeds the mean. Several count data models have been proposed by researchers but the problem of over-dispersion still remains unresolved, more so in the context of change point analysis. This study develops a likelihood-based algorithm that detects and estimates multiple change points in a set of count data assumed to follow the Negative Binomial distribution. Discrete change point procedures discussed in literature work well for equi-dispersed data. The new algorithm produces reliable estimates of change points in cases of both equi-dispersed and over-dispersed count data; hence its advantage over other count data change point techniques. The Negative Binomial Multiple Change Point Algorithm was tested using simulated data for different sample sizes and varying positions of change. Changes in the distribution parameters were detected and estimated by conducting a likelihood ratio test on several partitions of data obtained through step-wise recursive binary segmentation. Critical values for the likelihood ratio test were developed and used to check for significance of the maximum likelihood estimates of the change points. The change point algorithm was found to work best for large datasets, though it also works well for small and medium-sized datasets with little to no error in the location of change points. The algorithm correctly detects changes when present and fails to detect changes when change is absent in actual sense. Power analysis of the likelihood ratio test for change was performed through Monte-Carlo simulation in the single change point setting. Sensitivity analysis of the test power showed that likelihood ratio test is the most powerful when the simulated change points are located mid-way through the sample data as opposed to when changes were located in the periphery. Further, the test is more powerful when the change was located three-quarter-way through the sample data compared to when the change point is closer (quarter-way) to the first observation.
   </abstract>
   <kwd-group> 
    <kwd>
     Over-Dispersion
    </kwd> 
    <kwd>
      Multiple Changepoint
    </kwd> 
    <kwd>
      Binary Segmentation
    </kwd> 
    <kwd>
      Likelihood Ratio Test
    </kwd>
   </kwd-group>
  </article-meta>
 </front>
 <body>
  <sec id="s1">
   <title>1. Purpose and Objectives</title>
   <sec id="s1_1">
    <title>1.1. Introduction</title>
    <p>Count data arising from stochastic processes often exhibit over-dispersion, where the sample variance exceeds the sample mean. Several count data models have been proposed by researchers in available literature, but the problem of over-dispersion still remains unresolved, more so in the context of change point analysis. Discrete change-point procedures discussed so far work well for equi-dispersed data but produce biased estimates where data are over-dispersed. This study develops an algorithm for detecting and estimating multiple change points in the distribution of count data that exhibits either over-dispersion or equi-dispersion.</p>
   </sec>
   <sec id="s1_2">
    <title>1.2. Objectives of the Study</title>
    <p>To develop a likelihood-based multiple change point algorithm for count data with allowance for over-dispersion.</p>
    <sec id="s1">
     <title>2. Methodology</title>
    </sec>
    <sec id="s2_3">
     <title>2.1. The Negative Binomial Distribution</title>
     <p>In probability and statistics, the negative Binomial distribution is often used to model the number of successes in an infinite sequence of independent and identically distributed Bernoulli trials. The distribution has two parameters 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         r 
       </mi> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         p 
       </mi> 
      </math>, where 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         r 
       </mi> 
      </math> is a constant representing a fixed or predefined threshold for the number of successes required and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          p 
        </mi> 
        <mo>
          ∈ 
        </mo> 
        <mrow> 
         <mo>
           [ 
         </mo> 
         <mrow> 
          <mn>
            0 
          </mn> 
          <mo>
            , 
          </mo> 
          <mn>
            1 
          </mn> 
         </mrow> 
         <mo>
           ] 
         </mo> 
        </mrow> 
       </mrow> 
      </math> is the success probability, which is constant from one Bernoulli trial to the next. The probability distribution, 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          f 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mi>
            x 
          </mi> 
          <mo>
            ; 
          </mo> 
          <mi>
            r 
          </mi> 
          <mo>
            , 
          </mo> 
          <mi>
            p 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math> of a Negative Binomial random variable has two possible formulations which are contingent on the definition of measure of interest. The version used in this study counts the number of failures, 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         x 
       </mi> 
      </math>, before the r-th success. The probability mass function of 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         X 
       </mi> 
      </math> is defined by:</p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          f 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mi>
            x 
          </mi> 
          <mo>
            ; 
          </mo> 
          <mi>
            r 
          </mi> 
          <mo>
            , 
          </mo> 
          <mi>
            p 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
        <mo>
          = 
        </mo> 
        <mfrac> 
         <mrow> 
          <mi>
            Γ 
          </mi> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <mi>
              x 
            </mi> 
            <mo>
              + 
            </mo> 
            <mi>
              r 
            </mi> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mrow> 
         <mrow> 
          <mi>
            x 
          </mi> 
          <mo>
            ! 
          </mo> 
          <mi>
            Γ 
          </mi> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mi>
             r 
           </mi> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mrow> 
        </mfrac> 
        <msup> 
         <mi>
           p 
         </mi> 
         <mi>
           r 
         </mi> 
        </msup> 
        <msup> 
         <mi>
           q 
         </mi> 
         <mi>
           x 
         </mi> 
        </msup> 
       </mrow> 
      </math>(1)</p>
     <p>where 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          p 
        </mi> 
        <mo>
          ∈ 
        </mo> 
        <mrow> 
         <mo>
           [ 
         </mo> 
         <mrow> 
          <mn>
            0 
          </mn> 
          <mo>
            , 
          </mo> 
          <mn>
            1 
          </mn> 
         </mrow> 
         <mo>
           ] 
         </mo> 
        </mrow> 
       </mrow> 
      </math>, 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          q 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          1 
        </mn> 
        <mo>
          − 
        </mo> 
        <mi>
          p 
        </mi> 
       </mrow> 
      </math>, 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          r 
        </mi> 
        <mo>
          &gt; 
        </mo> 
        <mn>
          0 
        </mn> 
       </mrow> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          x 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          0 
        </mn> 
        <mo>
          , 
        </mo> 
        <mn>
          1 
        </mn> 
        <mo>
          , 
        </mo> 
        <mn>
          2 
        </mn> 
        <mo>
          , 
        </mo> 
        <mn>
          3 
        </mn> 
        <mo>
          , 
        </mo> 
        <mo>
          ⋯ 
        </mo> 
       </mrow> 
      </math>.</p>
     <p>The standard formulation of the Negative Binomial distribution is such that the mean and variance of random variable 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         X 
       </mi> 
      </math> are both derived quantities whose values are obtained from the primary parameters 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         r 
       </mi> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         p 
       </mi> 
      </math> as:</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          E 
        </mi> 
        <mrow> 
         <mo>
           [ 
         </mo> 
         <mi>
           X 
         </mi> 
         <mo>
           ] 
         </mo> 
        </mrow> 
        <mo>
          = 
        </mo> 
        <mi>
          μ 
        </mi> 
        <mo>
          = 
        </mo> 
        <mfrac> 
         <mrow> 
          <mi>
            r 
          </mi> 
          <mi>
            q 
          </mi> 
         </mrow> 
         <mi>
           p 
         </mi> 
        </mfrac> 
        <mtext>
            
        </mtext> 
        <mtext>
            
        </mtext> 
        <mtext>
          and 
        </mtext> 
        <mtext>
            
        </mtext> 
        <mtext>
            
        </mtext> 
        <mtext>
          Var 
        </mtext> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mi>
           X 
         </mi> 
         <mo>
           ) 
         </mo> 
        </mrow> 
        <mo>
          = 
        </mo> 
        <msup> 
         <mi>
           σ 
         </mi> 
         <mn>
           2 
         </mn> 
        </msup> 
        <mo>
          = 
        </mo> 
        <mfrac> 
         <mrow> 
          <mi>
            r 
          </mi> 
          <mi>
            q 
          </mi> 
         </mrow> 
         <mrow> 
          <msup> 
           <mi>
             p 
           </mi> 
           <mn>
             2 
           </mn> 
          </msup> 
         </mrow> 
        </mfrac> 
        <mo>
          = 
        </mo> 
        <mi>
          μ 
        </mi> 
        <mo>
          + 
        </mo> 
        <mfrac> 
         <mn>
           1 
         </mn> 
         <mi>
           r 
         </mi> 
        </mfrac> 
        <msup> 
         <mi>
           μ 
         </mi> 
         <mn>
           2 
         </mn> 
        </msup> 
       </mrow> 
      </math>(2)</p>
     <p>The parameter 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         r 
       </mi> 
      </math> is the measure for over-dispersion since the variance of X, 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msup> 
         <mi>
           σ 
         </mi> 
         <mn>
           2 
         </mn> 
        </msup> 
       </mrow> 
      </math> in Equation (2) exceeds the mean, 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         μ 
       </mi> 
      </math> by a function of 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         r 
       </mi> 
      </math>.</p>
     <p>Under the formulation of the Negative Binomial distribution with the probability mass function defined as in Equation (1), consider the mean, 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         μ 
       </mi> 
      </math> and variance, 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msup> 
         <mi>
           σ 
         </mi> 
         <mn>
           2 
         </mn> 
        </msup> 
       </mrow> 
      </math> as the primary quantities and the parameters 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         r 
       </mi> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         p 
       </mi> 
      </math> as derived quantities such that the values of 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         r 
       </mi> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         p 
       </mi> 
      </math> can be derived from the mean and variance of the data distribution as:</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          r 
        </mi> 
        <mo>
          = 
        </mo> 
        <mfrac> 
         <mrow> 
          <msup> 
           <mi>
             μ 
           </mi> 
           <mn>
             2 
           </mn> 
          </msup> 
         </mrow> 
         <mrow> 
          <msup> 
           <mi>
             σ 
           </mi> 
           <mn>
             2 
           </mn> 
          </msup> 
          <mo>
            − 
          </mo> 
          <mi>
            μ 
          </mi> 
         </mrow> 
        </mfrac> 
        <mtext>
            
        </mtext> 
        <mtext>
            
        </mtext> 
        <mtext>
          and 
        </mtext> 
        <mtext>
            
        </mtext> 
        <mtext>
            
        </mtext> 
        <mi>
          p 
        </mi> 
        <mo>
          = 
        </mo> 
        <mfrac> 
         <mi>
           r 
         </mi> 
         <mrow> 
          <mi>
            r 
          </mi> 
          <mo>
            + 
          </mo> 
          <mi>
            μ 
          </mi> 
         </mrow> 
        </mfrac> 
       </mrow> 
      </math>(3)</p>
     <p>The factor 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mrow> 
         <mn>
           1 
         </mn> 
         <mo>
           / 
         </mo> 
         <mi>
           r 
         </mi> 
        </mrow> 
       </mrow> 
      </math> in variance formula defined in Equation (2) is a sort of “clumping” parameter since as difference in variance and mean decreases, that is 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msup> 
         <mi>
           σ 
         </mi> 
         <mn>
           2 
         </mn> 
        </msup> 
        <mo>
          − 
        </mo> 
        <mi>
          μ 
        </mi> 
        <mo> 
        </mo> 
        <mo> 
        </mo> 
        <mo>
          → 
        </mo> 
        <mn>
          0 
        </mn> 
       </mrow> 
      </math> then 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          r 
        </mi> 
        <mo>
          → 
        </mo> 
        <mi>
          ∞ 
        </mi> 
       </mrow> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mrow> 
         <mn>
           1 
         </mn> 
         <mo>
           / 
         </mo> 
         <mi>
           r 
         </mi> 
        </mrow> 
        <mo>
          → 
        </mo> 
        <mn>
          0 
        </mn> 
       </mrow> 
      </math>. In other words as 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          r 
        </mi> 
        <mo>
          → 
        </mo> 
        <mi>
          ∞ 
        </mi> 
       </mrow> 
      </math>, the variance, 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msup> 
         <mi>
           σ 
         </mi> 
         <mn>
           2 
         </mn> 
        </msup> 
        <mo>
          = 
        </mo> 
        <mi>
          μ 
        </mi> 
        <mo>
          + 
        </mo> 
        <mfrac> 
         <mn>
           1 
         </mn> 
         <mi>
           r 
         </mi> 
        </mfrac> 
        <msup> 
         <mi>
           μ 
         </mi> 
         <mn>
           2 
         </mn> 
        </msup> 
       </mrow> 
      </math> approaches the mean, 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         μ 
       </mi> 
      </math> so that 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          N 
        </mi> 
        <mi>
          B 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mi>
            r 
          </mi> 
          <mo>
            , 
          </mo> 
          <mi>
            p 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math> approaches the Poisson ( 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         μ 
       </mi> 
      </math>) distribution with both mean and variance equal to the parameter 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         μ 
       </mi> 
      </math>. Therefore, under the parameterization given in Equation (3), Poisson is the limiting distribution for the Negative Binomial.</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <munder> 
         <mrow> 
          <mi>
            lim 
          </mi> 
         </mrow> 
         <mrow> 
          <mi>
            r 
          </mi> 
          <mo>
            → 
          </mo> 
          <mi>
            ∞ 
          </mi> 
         </mrow> 
        </munder> 
        <mi>
          N 
        </mi> 
        <mi>
          B 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mi>
            r 
          </mi> 
          <mo>
            , 
          </mo> 
          <mi>
            p 
          </mi> 
          <mo>
            = 
          </mo> 
          <mfrac> 
           <mi>
             r 
           </mi> 
           <mrow> 
            <mi>
              r 
            </mi> 
            <mo>
              + 
            </mo> 
            <mi>
              μ 
            </mi> 
           </mrow> 
          </mfrac> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
        <mo>
          = 
        </mo> 
        <mi>
          P 
        </mi> 
        <mi>
          o 
        </mi> 
        <mi>
          i 
        </mi> 
        <mi>
          s 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mi>
           μ 
         </mi> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math>(4)</p>
     <p>A common scenario is where the factor 1/r is large. This happens in cases where the variance exceeds the mean such that the data are over-dispersed. It follows that 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msup> 
         <mi>
           σ 
         </mi> 
         <mn>
           2 
         </mn> 
        </msup> 
        <mo>
          − 
        </mo> 
        <mi>
          μ 
        </mi> 
        <mo>
          → 
        </mo> 
        <mi>
          ∞ 
        </mi> 
       </mrow> 
      </math> then 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          r 
        </mi> 
        <mo>
          → 
        </mo> 
        <mn>
          0 
        </mn> 
       </mrow> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mrow> 
         <mn>
           1 
         </mn> 
         <mo>
           / 
         </mo> 
         <mi>
           r 
         </mi> 
        </mrow> 
        <mo>
          → 
        </mo> 
        <mi>
          ∞ 
        </mi> 
       </mrow> 
      </math>. The larger the factor 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mrow> 
         <mn>
           1 
         </mn> 
         <mo>
           / 
         </mo> 
         <mi>
           r 
         </mi> 
        </mrow> 
       </mrow> 
      </math> the greater the amount of over-dispersion <xref ref-type="bibr" rid="scirp.136997-1">
       [1]
      </xref> and <xref ref-type="bibr" rid="scirp.136997-2">
       [2]
      </xref>. Equation (4) justifies the use of the negative binomial distribution to model count data that is both over-dispersed and equi-dispersed; hence its advantage over the standard Poisson model for count data.</p>
     <p>Suppose we have a sample 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           X 
         </mi> 
         <mn>
           1 
         </mn> 
        </msub> 
        <mo>
          , 
        </mo> 
        <msub> 
         <mi>
           X 
         </mi> 
         <mn>
           2 
         </mn> 
        </msub> 
        <mo>
          , 
        </mo> 
        <msub> 
         <mi>
           X 
         </mi> 
         <mn>
           3 
         </mn> 
        </msub> 
        <mo>
          , 
        </mo> 
        <mo>
          ⋯ 
        </mo> 
        <mo>
          , 
        </mo> 
        <msub> 
         <mi>
           X 
         </mi> 
         <mi>
           N 
         </mi> 
        </msub> 
       </mrow> 
      </math> from a 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          N 
        </mi> 
        <mi>
          B 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mi>
            r 
          </mi> 
          <mo>
            , 
          </mo> 
          <mi>
            p 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math> distribution with probability distribution 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          f 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mi>
            x 
          </mi> 
          <mo>
            ; 
          </mo> 
          <mi>
            r 
          </mi> 
          <mo>
            , 
          </mo> 
          <mi>
            p 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math> described as in Equation (1). The likelihood function is obtained as:</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          L 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mi>
            r 
          </mi> 
          <mo>
            , 
          </mo> 
          <mi>
            p 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
        <mo>
          = 
        </mo> 
        <munderover> 
         <mstyle mathsize="140%" displaystyle="true"> 
          <mo>
            ∏ 
          </mo> 
         </mstyle> 
         <mrow> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <mi>
              i 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              1 
            </mn> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mrow> 
         <mi>
           N 
         </mi> 
        </munderover> 
        <mrow> 
         <mo>
           [ 
         </mo> 
         <mrow> 
          <mi>
            f 
          </mi> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <msub> 
             <mi>
               x 
             </mi> 
             <mi>
               i 
             </mi> 
            </msub> 
            <mo>
              ; 
            </mo> 
            <mi>
              r 
            </mi> 
            <mo>
              , 
            </mo> 
            <mi>
              p 
            </mi> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mrow> 
         <mo>
           ] 
         </mo> 
        </mrow> 
       </mrow> 
      </math>(5)</p>
     <p>The log-likelihood function is given by:</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mtable> 
        <mtr> 
         <mtd> 
          <mi>
            l 
          </mi> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <mi>
              r 
            </mi> 
            <mo>
              , 
            </mo> 
            <mi>
              p 
            </mi> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
          <mo>
            = 
          </mo> 
          <munderover> 
           <mstyle mathsize="140%" displaystyle="true"> 
            <mo>
              ∑ 
            </mo> 
           </mstyle> 
           <mrow> 
            <mi>
              i 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              1 
            </mn> 
           </mrow> 
           <mi>
             N 
           </mi> 
          </munderover> 
          <mi>
            ln 
          </mi> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mfrac> 
             <mrow> 
              <mi>
                Γ 
              </mi> 
              <mrow> 
               <mo>
                 ( 
               </mo> 
               <mrow> 
                <msub> 
                 <mi>
                   x 
                 </mi> 
                 <mi>
                   i 
                 </mi> 
                </msub> 
                <mo>
                  + 
                </mo> 
                <mi>
                  r 
                </mi> 
               </mrow> 
               <mo>
                 ) 
               </mo> 
              </mrow> 
             </mrow> 
             <mrow> 
              <msub> 
               <mi>
                 x 
               </mi> 
               <mi>
                 i 
               </mi> 
              </msub> 
              <mo>
                ! 
              </mo> 
              <mi>
                Γ 
              </mi> 
              <mrow> 
               <mo>
                 ( 
               </mo> 
               <mi>
                 r 
               </mi> 
               <mo>
                 ) 
               </mo> 
              </mrow> 
             </mrow> 
            </mfrac> 
            <msup> 
             <mi>
               p 
             </mi> 
             <mi>
               r 
             </mi> 
            </msup> 
            <msubsup> 
             <mi>
               q 
             </mi> 
             <mi>
               i 
             </mi> 
             <mi>
               x 
             </mi> 
            </msubsup> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
         </mtd> 
        </mtr> 
        <mtr> 
         <mtd> 
          <mo>
            = 
          </mo> 
          <munderover> 
           <mstyle mathsize="140%" displaystyle="true"> 
            <mo>
              ∑ 
            </mo> 
           </mstyle> 
           <mrow> 
            <mi>
              i 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              1 
            </mn> 
           </mrow> 
           <mi>
             N 
           </mi> 
          </munderover> 
          <mi>
            ln 
          </mi> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <mi>
              Γ 
            </mi> 
            <mrow> 
             <mo>
               ( 
             </mo> 
             <mrow> 
              <msub> 
               <mi>
                 x 
               </mi> 
               <mi>
                 i 
               </mi> 
              </msub> 
              <mo>
                + 
              </mo> 
              <mi>
                r 
              </mi> 
             </mrow> 
             <mo>
               ) 
             </mo> 
            </mrow> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
          <mo>
            − 
          </mo> 
          <mi>
            N 
          </mi> 
          <mi>
            ln 
          </mi> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <mi>
              Γ 
            </mi> 
            <mrow> 
             <mo>
               ( 
             </mo> 
             <mi>
               r 
             </mi> 
             <mo>
               ) 
             </mo> 
            </mrow> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
          <mo>
            − 
          </mo> 
          <munderover> 
           <mstyle mathsize="140%" displaystyle="true"> 
            <mo>
              ∑ 
            </mo> 
           </mstyle> 
           <mrow> 
            <mi>
              i 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              1 
            </mn> 
           </mrow> 
           <mi>
             N 
           </mi> 
          </munderover> 
          <mi>
            ln 
          </mi> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <msub> 
             <mi>
               x 
             </mi> 
             <mi>
               i 
             </mi> 
            </msub> 
            <mo>
              ! 
            </mo> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
          <mo>
            + 
          </mo> 
          <mi>
            N 
          </mi> 
          <mi>
            r 
          </mi> 
          <mi>
            ln 
          </mi> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mi>
             p 
           </mi> 
           <mo>
             ) 
           </mo> 
          </mrow> 
          <mo>
            + 
          </mo> 
          <munderover> 
           <mstyle mathsize="140%" displaystyle="true"> 
            <mo>
              ∑ 
            </mo> 
           </mstyle> 
           <mrow> 
            <mi>
              i 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              1 
            </mn> 
           </mrow> 
           <mi>
             N 
           </mi> 
          </munderover> 
          <mtext>
              
          </mtext> 
          <msub> 
           <mi>
             x 
           </mi> 
           <mi>
             i 
           </mi> 
          </msub> 
          <mi>
            ln 
          </mi> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mi>
             q 
           </mi> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mtd> 
        </mtr> 
       </mtable> 
      </math>(6)</p>
    </sec>
    <sec id="s2_4">
     <title>2.2. Dispersion Test</title>
     <p>A count data distribution may exhibit any of three kinds of dispersion: under-dispersion, equi-dispersion or over-dipersion. The type of dispersion is dependent on the mean-variance relationship of the sample data. In this study, the variance-to-mean ratio (VMR), otherwise referred to as the dispersion index (D), is determined for the entire sample and for each segment, following which a dispersion test is conducted prior to applying the change point algorithm.</p>
     <p>Starting with the assumption that sample count data are equi-dispersed so that the index of dispersion 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          D 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          1 
        </mn> 
       </mrow> 
      </math> and the sample are in agreement with a theoretical Poisson series, a dispersion test is conducted with the following hypotheses:</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           H 
         </mi> 
         <mn>
           0 
         </mn> 
        </msub> 
        <mo>
          : 
        </mo> 
        <mi>
          D 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          1 
        </mn> 
       </mrow> 
      </math> (Dataareequi-dispersed)</p>
     <p>versus</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           H 
         </mi> 
         <mn>
           1 
         </mn> 
        </msub> 
        <mo>
          : 
        </mo> 
        <mi>
          D 
        </mi> 
        <mo>
          &gt; 
        </mo> 
        <mn>
          1 
        </mn> 
       </mrow> 
      </math> (Dataareover-dispersed)</p>
     <p>versus</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           H 
         </mi> 
         <mn>
           1 
         </mn> 
        </msub> 
        <mo>
          : 
        </mo> 
        <mi>
          D 
        </mi> 
        <mo>
          &lt; 
        </mo> 
        <mn>
          1 
        </mn> 
       </mrow> 
      </math> (Dataareunder-dispersed)</p>
     <p>The index of dispersion is computed from sample statistics as:</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          D 
        </mi> 
        <mo>
          = 
        </mo> 
        <mfrac> 
         <mrow> 
          <msup> 
           <mi>
             S 
           </mi> 
           <mn>
             2 
           </mn> 
          </msup> 
         </mrow> 
         <mover accent="true"> 
          <mi>
            X 
          </mi> 
          <mo>
            ¯ 
          </mo> 
         </mover> 
        </mfrac> 
       </mrow> 
      </math>(7)</p>
     <p>where 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msup> 
         <mi>
           S 
         </mi> 
         <mn>
           2 
         </mn> 
        </msup> 
       </mrow> 
      </math> is the sample variance and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mover accent="true"> 
        <mi>
          X 
        </mi> 
        <mo>
          ¯ 
        </mo> 
       </mover> 
      </math> is the sample mean.</p>
     <p>The VMR of the sample data informs the choice of the distribution model to fit the data as summarized in <xref ref-type="table" rid="table1">
       Table 1
      </xref>.</p>
     <table-wrap id="table1">
      <label>
       <xref ref-type="table" rid="table1">
        Table 1
       </xref></label>
      <caption>
       <title>
        <xref ref-type="bibr" rid="scirp.136997-"></xref>Table 1. Mean-variance relationships.</title>
      </caption>
      <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
       <tr> 
        <td class="custom-bottom-td acenter" width="30.04%"><p style="text-align:center">Dispersion index (D)</p></td> 
        <td class="custom-bottom-td custom-top-td acenter" width="28.69%"><p style="text-align:center">Dispersion type</p></td> 
        <td class="custom-bottom-td acenter" width="41.27%"><p style="text-align:center">Proposed distribution</p></td> 
       </tr> 
       <tr> 
        <td class="custom-top-td acenter" width="30.04%"><p style="text-align:center"> 
          <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
            <mi>
              D 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              0 
            </mn> 
           </mrow> 
          </math></p></td> 
        <td class="custom-top-td acenter" width="28.69%"><p style="text-align:center">Not dispersed</p></td> 
        <td class="custom-top-td acenter" width="41.27%"><p style="text-align:center">Constant variable</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="30.04%"><p style="text-align:center"> 
          <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
            <mn>
              0 
            </mn> 
            <mo>
              &lt; 
            </mo> 
            <mi>
              D 
            </mi> 
            <mo>
              &lt; 
            </mo> 
            <mn>
              1 
            </mn> 
           </mrow> 
          </math></p></td> 
        <td class="acenter" width="28.69%"><p style="text-align:center">Under-dispersion</p></td> 
        <td class="acenter" width="41.27%"><p style="text-align:center">Binomial Distribution</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="30.04%"><p style="text-align:center"> 
          <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
            <mi>
              D 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              1 
            </mn> 
           </mrow> 
          </math></p></td> 
        <td class="acenter" width="28.69%"><p style="text-align:center">Equi-dispersion</p></td> 
        <td class="acenter" width="41.27%"><p style="text-align:center">Poisson Distribution</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="30.04%"><p style="text-align:center"> 
          <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
            <mi>
              D 
            </mi> 
            <mo>
              &gt; 
            </mo> 
            <mn>
              1 
            </mn> 
           </mrow> 
          </math></p></td> 
        <td class="acenter" width="28.69%"><p style="text-align:center">Over-dispersion</p></td> 
        <td class="acenter" width="41.27%"><p style="text-align:center">Negative Binomial Distribution</p></td> 
       </tr> 
      </table>
     </table-wrap>
     <p>Tests for significant departure of the index of dispersion from 1 are performed under the Chi-square or Normal distributions contingent on the size of sample data as described in <xref ref-type="bibr" rid="scirp.136997-3">
       [3]
      </xref>. For small ( 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          &lt; 
        </mo> 
        <mn>
          30 
        </mn> 
       </mrow> 
      </math>) samples, the dispersion test statistic is defined by Equation (8)</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          d 
        </mi> 
        <mo>
          = 
        </mo> 
        <mi>
          D 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mi>
            n 
          </mi> 
          <mo>
            − 
          </mo> 
          <mn>
            1 
          </mn> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math>(8)</p>
     <p>where 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         d 
       </mi> 
      </math> is approximated by a Chi-Square distribution with ( 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          − 
        </mo> 
        <mn>
          1 
        </mn> 
       </mrow> 
      </math>) degrees of freedom. The decision criteria are such that agreement with the Poisson distribution is accepted if 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         d 
       </mi> 
      </math> falls between the chi-square table values at the probability levels ( 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mn>
          1 
        </mn> 
        <mo>
          − 
        </mo> 
        <mfrac> 
         <mi>
           α 
         </mi> 
         <mn>
           2 
         </mn> 
        </mfrac> 
       </mrow> 
      </math>) and ( 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mfrac> 
         <mi>
           α 
         </mi> 
         <mn>
           2 
         </mn> 
        </mfrac> 
       </mrow> 
      </math>). On the other hand, if 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         d 
       </mi> 
      </math> falls below the chi-square table value at the ( 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mn>
          1 
        </mn> 
        <mo>
          − 
        </mo> 
        <mfrac> 
         <mi>
           α 
         </mi> 
         <mn>
           2 
         </mn> 
        </mfrac> 
       </mrow> 
      </math>) level, the alternative hypothesis of under-dispersion is accepted in favor of 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           H 
         </mi> 
         <mn>
           0 
         </mn> 
        </msub> 
       </mrow> 
      </math>. In cases where 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         d 
       </mi> 
      </math> exceeds the chi-square table value at the ( 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mfrac> 
         <mi>
           α 
         </mi> 
         <mn>
           2 
         </mn> 
        </mfrac> 
       </mrow> 
      </math>) level, the alternative hypothesis of over-dispersion is accepted in favor of 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           H 
         </mi> 
         <mn>
           0 
         </mn> 
        </msub> 
       </mrow> 
      </math>.</p>
     <p>For large ( 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          ≥ 
        </mo> 
        <mn>
          30 
        </mn> 
       </mrow> 
      </math>) samples, the test statistic is given by:</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          d 
        </mi> 
        <mo>
          = 
        </mo> 
        <msqrt> 
         <mrow> 
          <mn>
            2 
          </mn> 
          <mi>
            D 
          </mi> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <mi>
              n 
            </mi> 
            <mo>
              − 
            </mo> 
            <mn>
              1 
            </mn> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mrow> 
        </msqrt> 
        <mo>
          − 
        </mo> 
        <msqrt> 
         <mrow> 
          <mn>
            2 
          </mn> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <mi>
              n 
            </mi> 
            <mo>
              − 
            </mo> 
            <mn>
              1 
            </mn> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
          <mo>
            − 
          </mo> 
          <mn>
            1 
          </mn> 
         </mrow> 
        </msqrt> 
       </mrow> 
      </math>(9)</p>
     <p>where 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         d 
       </mi> 
      </math> is approximately normal. The null hypothesis is rejected based on a comparison of the absolute value of 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         d 
       </mi> 
      </math> against the two-sided critical values from the Standard Normal tables for a given level of the test. For a size 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          α 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          0.05 
        </mn> 
       </mrow> 
      </math> test, 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           H 
         </mi> 
         <mn>
           0 
         </mn> 
        </msub> 
       </mrow> 
      </math> is rejected if 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mrow> 
         <mo>
           | 
         </mo> 
         <mi>
           d 
         </mi> 
         <mo>
           | 
         </mo> 
        </mrow> 
        <mo>
          &lt; 
        </mo> 
        <mo>
          − 
        </mo> 
        <mn>
          1.96 
        </mn> 
       </mrow> 
      </math> or 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mrow> 
         <mo>
           | 
         </mo> 
         <mi>
           d 
         </mi> 
         <mo>
           | 
         </mo> 
        </mrow> 
        <mo>
          &gt; 
        </mo> 
        <mn>
          1.96 
        </mn> 
       </mrow> 
      </math>, in which case the distribution is said to be under-dispersed or over-dispersed, respectively. The change detection and estimation algorithm described in Section 2.3 is applied to over-dispersed and equi-dispersed samples, while under-dispersed samples are discarded.</p>
    </sec>
    <sec id="s2_5">
     <title>2.3. The Negative Binomial Multiple Change Point Algorithm</title>
     <p>The Negative Binomial Multiple Change Point Algorithm (NBMCPA) algorithm is developed in an iterative process involving recursive binary segmentation, hypothesis testing for existence of statistically significant change, and estimation of the change points, if any, using maximum likelihood approach. According to the parameterization described in Equation (3), the parameter 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         r 
       </mi> 
      </math> is defined such that its value depends only on the mean, 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         μ 
       </mi> 
      </math> and variance, 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msup> 
         <mi>
           σ 
         </mi> 
         <mn>
           2 
         </mn> 
        </msup> 
       </mrow> 
      </math> of the data distribution. On the other hand, the parameter 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         p 
       </mi> 
      </math> is dependent on parameter 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         r 
       </mi> 
      </math> and the mean 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         μ 
       </mi> 
      </math> of the distribution. As such, a change in parameter 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         r 
       </mi> 
      </math> automatically implies a change in parameter 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         p 
       </mi> 
      </math>. Therefore, for simplicity, the NBMCPA will explicitly consider only the hypotheses for a step change in the over-dispersion parameter 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         r 
       </mi> 
      </math>.</p>
     <p>The NBMCPA was built under the following data assumptions:</p>
     <p>A<sub>1</sub>: The sample data arise from a count process, and are therefore discrete.</p>
     <p>A<sub>2</sub>: There are no temporal dependencies in the sample data.</p>
     <p>A<sub>3</sub>: A step change in both parameters 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         r 
       </mi> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         p 
       </mi> 
      </math> of the Negative Binomial distribution occurs simultaneously.</p>
     <p>The step-wise recursive binary segmentation (SWRBS) procedure, similar to the method discussed in <xref ref-type="bibr" rid="scirp.136997-4">
       [4]
      </xref> is an iterative process involving 5 elementary steps as illustrated by <xref ref-type="fig" rid="fig1">
       Figure 1
      </xref>.</p>
     <fig id="fig1" position="float">
      <label>Figure 1</label>
      <caption>
       <title>Figure 1. The SWRBS procedure.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1241891-rId171.jpeg?20241030022536" />
     </fig>
     <p>Starting with a chronological sequence of length 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         N 
       </mi> 
      </math> from the Negative Binomial (r, p) distribution, partition the sequence into two parts at an arbitrary point 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         k 
       </mi> 
      </math> corresponding to the observation made at the random time point 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           t 
         </mi> 
         <mi>
           k 
         </mi> 
        </msub> 
       </mrow> 
      </math>. Check for the existence of a statistically significant distinction in the over-dispersion parameters 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mn>
           1 
         </mn> 
        </msub> 
       </mrow> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mn>
           2 
         </mn> 
        </msub> 
       </mrow> 
      </math> of the two sub-sequences by conducting a likelihood ratio test. If the two partitions are found to be significantly different with regard to the distributional parameters, then a change exists at or near the time point 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           t 
         </mi> 
         <mi>
           k 
         </mi> 
        </msub> 
       </mrow> 
      </math>. In this case, proceed to estimate the location of the said change using the maximum likelihood method.</p>
     <p>Once the first change has been located, repeat the processes of partitioning, hypothesis testing and change point estimation in each of the two new sub-sequences formed. On the other hand, if no change is evident at the first arbitrary point 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         k 
       </mi> 
      </math>, seek an alternative arbitrary point and repeat the likelihood ratio test; hence obtain the MLE of the change point, if a change exists. The SWRBS procedure is repeated over and over until no more significant changes are identified.</p>
     <p>Consider a sequence of random calendar time points: 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           t 
         </mi> 
         <mn>
           0 
         </mn> 
        </msub> 
        <mo>
          , 
        </mo> 
        <msub> 
         <mi>
           t 
         </mi> 
         <mn>
           1 
         </mn> 
        </msub> 
        <mo>
          , 
        </mo> 
        <msub> 
         <mi>
           t 
         </mi> 
         <mn>
           2 
         </mn> 
        </msub> 
        <mo>
          , 
        </mo> 
        <mo>
          ⋯ 
        </mo> 
        <mo>
          , 
        </mo> 
        <msub> 
         <mi>
           t 
         </mi> 
         <mi>
           N 
         </mi> 
        </msub> 
       </mrow> 
      </math>. Let 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           x 
         </mi> 
         <mn>
           1 
         </mn> 
        </msub> 
        <mo>
          , 
        </mo> 
        <msub> 
         <mi>
           x 
         </mi> 
         <mn>
           2 
         </mn> 
        </msub> 
        <mo>
          , 
        </mo> 
        <mo>
          ⋯ 
        </mo> 
        <mo>
          , 
        </mo> 
        <msub> 
         <mi>
           x 
         </mi> 
         <mi>
           N 
         </mi> 
        </msub> 
       </mrow> 
      </math> be a sequence of observed values or realizations of a stochastic process. Let 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mrow> 
         <mo>
           [ 
         </mo> 
         <mrow> 
          <msub> 
           <mi>
             t 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
          <mo>
            , 
          </mo> 
          <msub> 
           <mi>
             t 
           </mi> 
           <mn>
             1 
           </mn> 
          </msub> 
         </mrow> 
         <mo>
           ] 
         </mo> 
        </mrow> 
       </mrow> 
      </math> be the length of the partition between consecutive time points 0 and 1, and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mrow> 
         <mo>
           [ 
         </mo> 
         <mrow> 
          <msub> 
           <mi>
             t 
           </mi> 
           <mn>
             1 
           </mn> 
          </msub> 
          <mo>
            , 
          </mo> 
          <msub> 
           <mi>
             t 
           </mi> 
           <mn>
             2 
           </mn> 
          </msub> 
         </mrow> 
         <mo>
           ] 
         </mo> 
        </mrow> 
       </mrow> 
      </math> be the length of the partition between consecutive time points 1 and 2, and so on. Assume that each partition 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mrow> 
         <mo>
           [ 
         </mo> 
         <mrow> 
          <msub> 
           <mi>
             t 
           </mi> 
           <mi>
             i 
           </mi> 
          </msub> 
          <mo>
            , 
          </mo> 
          <msub> 
           <mi>
             t 
           </mi> 
           <mi>
             j 
           </mi> 
          </msub> 
         </mrow> 
         <mo>
           ] 
         </mo> 
        </mrow> 
       </mrow> 
      </math> for 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          j 
        </mi> 
        <mo>
          ∈ 
        </mo> 
        <mrow> 
         <mo>
           [ 
         </mo> 
         <mrow> 
          <mn>
            1 
          </mn> 
          <mo>
            , 
          </mo> 
          <mi>
            N 
          </mi> 
         </mrow> 
         <mo>
           ] 
         </mo> 
        </mrow> 
       </mrow> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          i 
        </mi> 
        <mo>
          ∈ 
        </mo> 
        <mrow> 
         <mo>
           [ 
         </mo> 
         <mrow> 
          <mn>
            0 
          </mn> 
          <mo>
            , 
          </mo> 
          <mi>
            N 
          </mi> 
         </mrow> 
         <mo>
           ] 
         </mo> 
        </mrow> 
       </mrow> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          i 
        </mi> 
        <mo>
          ≠ 
        </mo> 
        <mi>
          j 
        </mi> 
       </mrow> 
      </math> of the original sequence 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mrow> 
         <mo>
           { 
         </mo> 
         <mrow> 
          <msub> 
           <mi>
             x 
           </mi> 
           <mi>
             i 
           </mi> 
          </msub> 
         </mrow> 
         <mo>
           } 
         </mo> 
        </mrow> 
       </mrow> 
      </math> consists of a random sub-sequence 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mrow> 
         <mo>
           { 
         </mo> 
         <mrow> 
          <msub> 
           <mi>
             x 
           </mi> 
           <mi>
             h 
           </mi> 
          </msub> 
          <mo>
            , 
          </mo> 
          <msub> 
           <mi>
             x 
           </mi> 
           <mrow> 
            <mi>
              h 
            </mi> 
            <mo>
              + 
            </mo> 
            <mn>
              1 
            </mn> 
           </mrow> 
          </msub> 
          <mo>
            , 
          </mo> 
          <msub> 
           <mi>
             x 
           </mi> 
           <mrow> 
            <mi>
              h 
            </mi> 
            <mo>
              + 
            </mo> 
            <mn>
              2 
            </mn> 
           </mrow> 
          </msub> 
          <mo>
            , 
          </mo> 
          <mo>
            ⋯ 
          </mo> 
         </mrow> 
         <mo>
           } 
         </mo> 
        </mrow> 
       </mrow> 
      </math>. Assume that the observations in each partition follow a Negative Binomial distribution with parameter 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mi>
           j 
         </mi> 
        </msub> 
       </mrow> 
      </math> for 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          j 
        </mi> 
        <mo>
          ∈ 
        </mo> 
        <mrow> 
         <mo>
           [ 
         </mo> 
         <mrow> 
          <mn>
            1 
          </mn> 
          <mo>
            , 
          </mo> 
          <mi>
            N 
          </mi> 
         </mrow> 
         <mo>
           ] 
         </mo> 
        </mrow> 
       </mrow> 
      </math> as shown in <xref ref-type="fig" rid="fig2">
       Figure 2
      </xref>.</p>
     <p>An investigation as to whether a change exists at some random point 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          k 
        </mi> 
        <mo>
          ∈ 
        </mo> 
        <mrow> 
         <mo>
           [ 
         </mo> 
         <mrow> 
          <mn>
            2 
          </mn> 
          <mo>
            , 
          </mo> 
          <mi>
            N 
          </mi> 
          <mo>
            − 
          </mo> 
          <mn>
            2 
          </mn> 
         </mrow> 
         <mo>
           ] 
         </mo> 
        </mrow> 
       </mrow> 
      </math></p>
     <fig id="fig2" position="float">
      <label>Figure 2</label>
      <caption>
       <title>Figure 2. Timeline diagram showing sequence partitions.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1241891-rId212.jpeg?20241030022537" />
     </fig>
     <p>in a sequence of 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         N 
       </mi> 
      </math> observations is done by conducting a two-tailed likelihood ratio test (LRT). The null hypothesis states that there is no change in the over-dispersion parameter 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         r 
       </mi> 
      </math> across the entire sample. The alternative hypothesis seeks a difference in the over-dispersion parameter 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         r 
       </mi> 
      </math> between the two data segments, such that the first partition of the sequence in the interval 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mrow> 
         <mo>
           [ 
         </mo> 
         <mrow> 
          <msub> 
           <mi>
             t 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
          <mo>
            , 
          </mo> 
          <msub> 
           <mi>
             t 
           </mi> 
           <mi>
             k 
           </mi> 
          </msub> 
         </mrow> 
         <mo>
           ] 
         </mo> 
        </mrow> 
       </mrow> 
      </math> has the parameter 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mi>
           α 
         </mi> 
        </msub> 
       </mrow> 
      </math> while the second partition in the interval 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mrow> 
         <mo>
           [ 
         </mo> 
         <mrow> 
          <msub> 
           <mi>
             t 
           </mi> 
           <mrow> 
            <mi>
              k 
            </mi> 
            <mo>
              + 
            </mo> 
            <mn>
              1 
            </mn> 
           </mrow> 
          </msub> 
          <mo>
            , 
          </mo> 
          <msub> 
           <mi>
             t 
           </mi> 
           <mi>
             N 
           </mi> 
          </msub> 
         </mrow> 
         <mo>
           ] 
         </mo> 
        </mrow> 
       </mrow> 
      </math> has parameter 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mi>
           β 
         </mi> 
        </msub> 
       </mrow> 
      </math>, where 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mi>
           β 
         </mi> 
        </msub> 
        <mo>
          ≠ 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mi>
           α 
         </mi> 
        </msub> 
       </mrow> 
      </math>. The mathematical hypotheses are described as in Equation (10):</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           H 
         </mi> 
         <mn>
           0 
         </mn> 
        </msub> 
        <mo>
          : 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mn>
           1 
         </mn> 
        </msub> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mn>
           2 
         </mn> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mo>
          ⋯ 
        </mo> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mi>
           N 
         </mi> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mi>
          r 
        </mi> 
       </mrow> 
      </math></p>
     <p>versus</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           H 
         </mi> 
         <mn>
           1 
         </mn> 
        </msub> 
        <mo>
          : 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mn>
           1 
         </mn> 
        </msub> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mn>
           2 
         </mn> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mo>
          ⋯ 
        </mo> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mi>
           k 
         </mi> 
        </msub> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mi>
           α 
         </mi> 
        </msub> 
        <mo>
          ≠ 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mrow> 
          <mi>
            k 
          </mi> 
          <mo>
            + 
          </mo> 
          <mn>
            1 
          </mn> 
         </mrow> 
        </msub> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mrow> 
          <mi>
            k 
          </mi> 
          <mo>
            + 
          </mo> 
          <mn>
            2 
          </mn> 
         </mrow> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mo>
          ⋯ 
        </mo> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mi>
           N 
         </mi> 
        </msub> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mi>
           β 
         </mi> 
        </msub> 
       </mrow> 
      </math>(10)</p>
     <p>The log-likelihood function under 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           H 
         </mi> 
         <mn>
           0 
         </mn> 
        </msub> 
       </mrow> 
      </math> is given by Equation (11) as:</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           l 
         </mi> 
         <mn>
           0 
         </mn> 
        </msub> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mover accent="true"> 
           <mi>
             r 
           </mi> 
           <mo>
             ^ 
           </mo> 
          </mover> 
          <mo>
            , 
          </mo> 
          <mover accent="true"> 
           <mi>
             p 
           </mi> 
           <mo>
             ^ 
           </mo> 
          </mover> 
          <mo>
            | 
          </mo> 
          <msub> 
           <mi>
             x 
           </mi> 
           <mi>
             i 
           </mi> 
          </msub> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
        <mo>
          = 
        </mo> 
        <munderover> 
         <mstyle mathsize="140%" displaystyle="true"> 
          <mo>
            ∑ 
          </mo> 
         </mstyle> 
         <mrow> 
          <mi>
            i 
          </mi> 
          <mo>
            = 
          </mo> 
          <mn>
            1 
          </mn> 
         </mrow> 
         <mi>
           N 
         </mi> 
        </munderover> 
        <mi>
          ln 
        </mi> 
        <mrow> 
         <mo>
           { 
         </mo> 
         <mrow> 
          <mfrac> 
           <mrow> 
            <mi>
              Γ 
            </mi> 
            <mrow> 
             <mo>
               ( 
             </mo> 
             <mrow> 
              <msub> 
               <mi>
                 x 
               </mi> 
               <mi>
                 i 
               </mi> 
              </msub> 
              <mo>
                + 
              </mo> 
              <mover accent="true"> 
               <mi>
                 r 
               </mi> 
               <mo>
                 ^ 
               </mo> 
              </mover> 
             </mrow> 
             <mo>
               ) 
             </mo> 
            </mrow> 
           </mrow> 
           <mrow> 
            <msub> 
             <mi>
               x 
             </mi> 
             <mi>
               i 
             </mi> 
            </msub> 
            <mo>
              ! 
            </mo> 
            <mi>
              Γ 
            </mi> 
            <mrow> 
             <mo>
               ( 
             </mo> 
             <mover accent="true"> 
              <mi>
                r 
              </mi> 
              <mo>
                ^ 
              </mo> 
             </mover> 
             <mo>
               ) 
             </mo> 
            </mrow> 
           </mrow> 
          </mfrac> 
          <msup> 
           <mover accent="true"> 
            <mi>
              p 
            </mi> 
            <mo>
              ^ 
            </mo> 
           </mover> 
           <mover accent="true"> 
            <mi>
              r 
            </mi> 
            <mo>
              ^ 
            </mo> 
           </mover> 
          </msup> 
          <msup> 
           <mover accent="true"> 
            <mi>
              q 
            </mi> 
            <mo>
              ^ 
            </mo> 
           </mover> 
           <mrow> 
            <msub> 
             <mi>
               x 
             </mi> 
             <mi>
               i 
             </mi> 
            </msub> 
           </mrow> 
          </msup> 
         </mrow> 
         <mo>
           } 
         </mo> 
        </mrow> 
       </mrow> 
      </math>(11)</p>
     <p>where the method of moments estimates (MME) of the model parameters are:</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mover accent="true"> 
         <mi>
           r 
         </mi> 
         <mo>
           ^ 
         </mo> 
        </mover> 
        <mo>
          = 
        </mo> 
        <mfrac> 
         <mrow> 
          <msup> 
           <mover accent="true"> 
            <mi>
              X 
            </mi> 
            <mo>
              ¯ 
            </mo> 
           </mover> 
           <mn>
             2 
           </mn> 
          </msup> 
         </mrow> 
         <mrow> 
          <msup> 
           <mi>
             S 
           </mi> 
           <mn>
             2 
           </mn> 
          </msup> 
          <mo>
            − 
          </mo> 
          <mover accent="true"> 
           <mi>
             X 
           </mi> 
           <mo>
             ¯ 
           </mo> 
          </mover> 
         </mrow> 
        </mfrac> 
       </mrow> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mover accent="true"> 
         <mi>
           p 
         </mi> 
         <mo>
           ^ 
         </mo> 
        </mover> 
        <mo>
          = 
        </mo> 
        <mfrac> 
         <mover accent="true"> 
          <mi>
            r 
          </mi> 
          <mo>
            ^ 
          </mo> 
         </mover> 
         <mrow> 
          <mover accent="true"> 
           <mi>
             r 
           </mi> 
           <mo>
             ^ 
           </mo> 
          </mover> 
          <mo>
            + 
          </mo> 
          <mover accent="true"> 
           <mi>
             X 
           </mi> 
           <mo>
             ¯ 
           </mo> 
          </mover> 
         </mrow> 
        </mfrac> 
       </mrow> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mover accent="true"> 
         <mi>
           q 
         </mi> 
         <mo>
           ^ 
         </mo> 
        </mover> 
        <mo>
          = 
        </mo> 
        <mn>
          1 
        </mn> 
        <mo>
          − 
        </mo> 
        <mover accent="true"> 
         <mi>
           p 
         </mi> 
         <mo>
           ^ 
         </mo> 
        </mover> 
       </mrow> 
      </math></p>
     <p>The statistics 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msup> 
         <mi>
           S 
         </mi> 
         <mn>
           2 
         </mn> 
        </msup> 
       </mrow> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mover accent="true"> 
        <mi>
          X 
        </mi> 
        <mo>
          ¯ 
        </mo> 
       </mover> 
      </math> are the unbiased estimates of the population variance and mean respectively obtained as:</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mover accent="true"> 
         <mi>
           X 
         </mi> 
         <mo>
           ¯ 
         </mo> 
        </mover> 
        <mo>
          = 
        </mo> 
        <mfrac> 
         <mrow> 
          <msubsup> 
           <mstyle displaystyle="true" mathsize="140%"> 
            <mo>
              ∑ 
            </mo> 
           </mstyle> 
           <mrow> 
            <mi>
              i 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              1 
            </mn> 
           </mrow> 
           <mi>
             N 
           </mi> 
          </msubsup> 
          <mtext>
              
          </mtext> 
          <msub> 
           <mi>
             x 
           </mi> 
           <mi>
             i 
           </mi> 
          </msub> 
         </mrow> 
         <mi>
           N 
         </mi> 
        </mfrac> 
       </mrow> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msup> 
         <mi>
           S 
         </mi> 
         <mn>
           2 
         </mn> 
        </msup> 
        <mo>
          = 
        </mo> 
        <mfrac> 
         <mrow> 
          <msubsup> 
           <mstyle mathsize="140%" displaystyle="true"> 
            <mo>
              ∑ 
            </mo> 
           </mstyle> 
           <mrow> 
            <mi>
              i 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              1 
            </mn> 
           </mrow> 
           <mi>
             N 
           </mi> 
          </msubsup> 
          <msup> 
           <mrow> 
            <mrow> 
             <mo>
               ( 
             </mo> 
             <mrow> 
              <msub> 
               <mi>
                 x 
               </mi> 
               <mi>
                 i 
               </mi> 
              </msub> 
              <mo>
                − 
              </mo> 
              <mover accent="true"> 
               <mi>
                 X 
               </mi> 
               <mo>
                 ¯ 
               </mo> 
              </mover> 
             </mrow> 
             <mo>
               ) 
             </mo> 
            </mrow> 
           </mrow> 
           <mn>
             2 
           </mn> 
          </msup> 
         </mrow> 
         <mrow> 
          <mi>
            N 
          </mi> 
          <mo>
            − 
          </mo> 
          <mn>
            1 
          </mn> 
         </mrow> 
        </mfrac> 
       </mrow> 
      </math></p>
     <p>The log-likelihood function under 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           H 
         </mi> 
         <mn>
           1 
         </mn> 
        </msub> 
       </mrow> 
      </math> for an arbitrary change point 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          k 
        </mi> 
        <mo>
          ∈ 
        </mo> 
        <mrow> 
         <mo>
           [ 
         </mo> 
         <mrow> 
          <mn>
            2 
          </mn> 
          <mo>
            , 
          </mo> 
          <mi>
            N 
          </mi> 
          <mo>
            − 
          </mo> 
          <mn>
            2 
          </mn> 
         </mrow> 
         <mo>
           ] 
         </mo> 
        </mrow> 
       </mrow> 
      </math> is defined in Equation (12).</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mtable columnalign="left"> 
        <mtr> 
         <mtd> 
          <msub> 
           <mi>
             l 
           </mi> 
           <mn>
             1 
           </mn> 
          </msub> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <msub> 
             <mover accent="true"> 
              <mi>
                r 
              </mi> 
              <mo>
                ^ 
              </mo> 
             </mover> 
             <mi>
               α 
             </mi> 
            </msub> 
            <mo>
              , 
            </mo> 
            <msub> 
             <mover accent="true"> 
              <mi>
                r 
              </mi> 
              <mo>
                ^ 
              </mo> 
             </mover> 
             <mi>
               β 
             </mi> 
            </msub> 
            <mo>
              , 
            </mo> 
            <msub> 
             <mover accent="true"> 
              <mi>
                p 
              </mi> 
              <mo>
                ^ 
              </mo> 
             </mover> 
             <mi>
               α 
             </mi> 
            </msub> 
            <mo>
              , 
            </mo> 
            <msub> 
             <mover accent="true"> 
              <mi>
                p 
              </mi> 
              <mo>
                ^ 
              </mo> 
             </mover> 
             <mi>
               β 
             </mi> 
            </msub> 
            <mo>
              | 
            </mo> 
            <msub> 
             <mi>
               x 
             </mi> 
             <mi>
               i 
             </mi> 
            </msub> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mtd> 
        </mtr> 
        <mtr> 
         <mtd> 
          <mo>
            = 
          </mo> 
          <munderover> 
           <mstyle mathsize="140%" displaystyle="true"> 
            <mo>
              ∑ 
            </mo> 
           </mstyle> 
           <mrow> 
            <mi>
              i 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              1 
            </mn> 
           </mrow> 
           <mi>
             k 
           </mi> 
          </munderover> 
          <mi>
            ln 
          </mi> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mfrac> 
             <mrow> 
              <mi>
                Γ 
              </mi> 
              <mrow> 
               <mo>
                 ( 
               </mo> 
               <mrow> 
                <msub> 
                 <mi>
                   x 
                 </mi> 
                 <mi>
                   i 
                 </mi> 
                </msub> 
                <mo>
                  + 
                </mo> 
                <msub> 
                 <mover accent="true"> 
                  <mi>
                    r 
                  </mi> 
                  <mo>
                    ^ 
                  </mo> 
                 </mover> 
                 <mi>
                   α 
                 </mi> 
                </msub> 
               </mrow> 
               <mo>
                 ) 
               </mo> 
              </mrow> 
             </mrow> 
             <mrow> 
              <msub> 
               <mi>
                 x 
               </mi> 
               <mi>
                 i 
               </mi> 
              </msub> 
              <mo>
                ! 
              </mo> 
              <mi>
                Γ 
              </mi> 
              <mrow> 
               <mo>
                 ( 
               </mo> 
               <mrow> 
                <msub> 
                 <mover accent="true"> 
                  <mi>
                    r 
                  </mi> 
                  <mo>
                    ^ 
                  </mo> 
                 </mover> 
                 <mi>
                   α 
                 </mi> 
                </msub> 
               </mrow> 
               <mo>
                 ) 
               </mo> 
              </mrow> 
             </mrow> 
            </mfrac> 
            <msup> 
             <mrow> 
              <mrow> 
               <mo>
                 ( 
               </mo> 
               <mrow> 
                <msub> 
                 <mover accent="true"> 
                  <mi>
                    p 
                  </mi> 
                  <mo>
                    ^ 
                  </mo> 
                 </mover> 
                 <mi>
                   α 
                 </mi> 
                </msub> 
               </mrow> 
               <mo>
                 ) 
               </mo> 
              </mrow> 
             </mrow> 
             <mrow> 
              <msub> 
               <mover accent="true"> 
                <mi>
                  r 
                </mi> 
                <mo>
                  ^ 
                </mo> 
               </mover> 
               <mi>
                 α 
               </mi> 
              </msub> 
             </mrow> 
            </msup> 
            <msup> 
             <mrow> 
              <mrow> 
               <mo>
                 ( 
               </mo> 
               <mrow> 
                <msub> 
                 <mover accent="true"> 
                  <mi>
                    q 
                  </mi> 
                  <mo>
                    ^ 
                  </mo> 
                 </mover> 
                 <mi>
                   α 
                 </mi> 
                </msub> 
               </mrow> 
               <mo>
                 ) 
               </mo> 
              </mrow> 
             </mrow> 
             <mrow> 
              <msub> 
               <mover accent="true"> 
                <mi>
                  x 
                </mi> 
                <mo>
                  ^ 
                </mo> 
               </mover> 
               <mi>
                 i 
               </mi> 
              </msub> 
             </mrow> 
            </msup> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
          <mo>
            + 
          </mo> 
          <munderover> 
           <mstyle mathsize="140%" displaystyle="true"> 
            <mo>
              ∑ 
            </mo> 
           </mstyle> 
           <mrow> 
            <mi>
              i 
            </mi> 
            <mo>
              = 
            </mo> 
            <mi>
              k 
            </mi> 
            <mo>
              + 
            </mo> 
            <mn>
              1 
            </mn> 
           </mrow> 
           <mi>
             N 
           </mi> 
          </munderover> 
          <mi>
            ln 
          </mi> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mfrac> 
             <mrow> 
              <mi>
                Γ 
              </mi> 
              <mrow> 
               <mo>
                 ( 
               </mo> 
               <mrow> 
                <msub> 
                 <mi>
                   x 
                 </mi> 
                 <mi>
                   i 
                 </mi> 
                </msub> 
                <mo>
                  + 
                </mo> 
                <msub> 
                 <mover accent="true"> 
                  <mi>
                    r 
                  </mi> 
                  <mo>
                    ^ 
                  </mo> 
                 </mover> 
                 <mi>
                   β 
                 </mi> 
                </msub> 
               </mrow> 
               <mo>
                 ) 
               </mo> 
              </mrow> 
             </mrow> 
             <mrow> 
              <msub> 
               <mi>
                 x 
               </mi> 
               <mi>
                 i 
               </mi> 
              </msub> 
              <mo>
                ! 
              </mo> 
              <mi>
                Γ 
              </mi> 
              <mrow> 
               <mo>
                 ( 
               </mo> 
               <mrow> 
                <msub> 
                 <mover accent="true"> 
                  <mi>
                    r 
                  </mi> 
                  <mo>
                    ^ 
                  </mo> 
                 </mover> 
                 <mi>
                   β 
                 </mi> 
                </msub> 
               </mrow> 
               <mo>
                 ) 
               </mo> 
              </mrow> 
             </mrow> 
            </mfrac> 
            <msup> 
             <mrow> 
              <mrow> 
               <mo>
                 ( 
               </mo> 
               <mrow> 
                <msub> 
                 <mover accent="true"> 
                  <mi>
                    p 
                  </mi> 
                  <mo>
                    ^ 
                  </mo> 
                 </mover> 
                 <mi>
                   β 
                 </mi> 
                </msub> 
               </mrow> 
               <mo>
                 ) 
               </mo> 
              </mrow> 
             </mrow> 
             <mrow> 
              <msub> 
               <mover accent="true"> 
                <mi>
                  r 
                </mi> 
                <mo>
                  ^ 
                </mo> 
               </mover> 
               <mi>
                 β 
               </mi> 
              </msub> 
             </mrow> 
            </msup> 
            <msup> 
             <mrow> 
              <mrow> 
               <mo>
                 ( 
               </mo> 
               <mrow> 
                <msub> 
                 <mover accent="true"> 
                  <mi>
                    q 
                  </mi> 
                  <mo>
                    ^ 
                  </mo> 
                 </mover> 
                 <mi>
                   β 
                 </mi> 
                </msub> 
               </mrow> 
               <mo>
                 ) 
               </mo> 
              </mrow> 
             </mrow> 
             <mrow> 
              <msub> 
               <mover accent="true"> 
                <mi>
                  x 
                </mi> 
                <mo>
                  ^ 
                </mo> 
               </mover> 
               <mi>
                 i 
               </mi> 
              </msub> 
             </mrow> 
            </msup> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
         </mtd> 
        </mtr> 
       </mtable> 
      </math>(12)</p>
     <p>where the method of moments parameter estimates for the lower partition of the data ( 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mi>
           α 
         </mi> 
        </msub> 
       </mrow> 
      </math>, 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           p 
         </mi> 
         <mi>
           α 
         </mi> 
        </msub> 
       </mrow> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           q 
         </mi> 
         <mi>
           α 
         </mi> 
        </msub> 
       </mrow> 
      </math>) are obtained as:</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mover accent="true"> 
          <mi>
            r 
          </mi> 
          <mo>
            ^ 
          </mo> 
         </mover> 
         <mi>
           α 
         </mi> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mfrac> 
         <mrow> 
          <msubsup> 
           <mover accent="true"> 
            <mi>
              X 
            </mi> 
            <mo>
              ¯ 
            </mo> 
           </mover> 
           <mi>
             k 
           </mi> 
           <mn>
             2 
           </mn> 
          </msubsup> 
         </mrow> 
         <mrow> 
          <msubsup> 
           <mi>
             S 
           </mi> 
           <mi>
             k 
           </mi> 
           <mn>
             2 
           </mn> 
          </msubsup> 
          <mo>
            − 
          </mo> 
          <msub> 
           <mover accent="true"> 
            <mi>
              X 
            </mi> 
            <mo>
              ¯ 
            </mo> 
           </mover> 
           <mi>
             k 
           </mi> 
          </msub> 
         </mrow> 
        </mfrac> 
        <mo>
          , 
        </mo> 
        <mtext>
            
        </mtext> 
        <mtext>
            
        </mtext> 
        <msub> 
         <mover accent="true"> 
          <mi>
            p 
          </mi> 
          <mo>
            ^ 
          </mo> 
         </mover> 
         <mi>
           α 
         </mi> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mfrac> 
         <mrow> 
          <msub> 
           <mover accent="true"> 
            <mi>
              r 
            </mi> 
            <mo>
              ^ 
            </mo> 
           </mover> 
           <mi>
             α 
           </mi> 
          </msub> 
         </mrow> 
         <mrow> 
          <msub> 
           <mover accent="true"> 
            <mi>
              r 
            </mi> 
            <mo>
              ^ 
            </mo> 
           </mover> 
           <mi>
             α 
           </mi> 
          </msub> 
          <mo>
            + 
          </mo> 
          <msub> 
           <mover accent="true"> 
            <mi>
              X 
            </mi> 
            <mo>
              ¯ 
            </mo> 
           </mover> 
           <mi>
             k 
           </mi> 
          </msub> 
         </mrow> 
        </mfrac> 
        <mtext>
            
        </mtext> 
        <mtext>
            
        </mtext> 
        <mtext>
          and 
        </mtext> 
        <mtext>
            
        </mtext> 
        <mtext>
            
        </mtext> 
        <msub> 
         <mover accent="true"> 
          <mi>
            q 
          </mi> 
          <mo>
            ^ 
          </mo> 
         </mover> 
         <mi>
           α 
         </mi> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mn>
          1 
        </mn> 
        <mo>
          − 
        </mo> 
        <msub> 
         <mover accent="true"> 
          <mi>
            p 
          </mi> 
          <mo>
            ^ 
          </mo> 
         </mover> 
         <mi>
           α 
         </mi> 
        </msub> 
       </mrow> 
      </math></p>
     <p>whereas, for the upper segment of the sample data, the MME of model parameters 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mi>
           β 
         </mi> 
        </msub> 
       </mrow> 
      </math>, 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           p 
         </mi> 
         <mi>
           β 
         </mi> 
        </msub> 
       </mrow> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           q 
         </mi> 
         <mi>
           β 
         </mi> 
        </msub> 
       </mrow> 
      </math> are given by:</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mover accent="true"> 
          <mi>
            r 
          </mi> 
          <mo>
            ^ 
          </mo> 
         </mover> 
         <mi>
           β 
         </mi> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mfrac> 
         <mrow> 
          <msubsup> 
           <mover accent="true"> 
            <mi>
              X 
            </mi> 
            <mo>
              ¯ 
            </mo> 
           </mover> 
           <mrow> 
            <mi>
              N 
            </mi> 
            <mo>
              − 
            </mo> 
            <mi>
              k 
            </mi> 
           </mrow> 
           <mn>
             2 
           </mn> 
          </msubsup> 
         </mrow> 
         <mrow> 
          <msubsup> 
           <mi>
             S 
           </mi> 
           <mrow> 
            <mi>
              N 
            </mi> 
            <mo>
              − 
            </mo> 
            <mi>
              k 
            </mi> 
           </mrow> 
           <mn>
             2 
           </mn> 
          </msubsup> 
          <mo>
            − 
          </mo> 
          <msub> 
           <mover accent="true"> 
            <mi>
              X 
            </mi> 
            <mo>
              ¯ 
            </mo> 
           </mover> 
           <mrow> 
            <mi>
              N 
            </mi> 
            <mo>
              − 
            </mo> 
            <mi>
              k 
            </mi> 
           </mrow> 
          </msub> 
         </mrow> 
        </mfrac> 
        <mo>
          , 
        </mo> 
        <mtext>
            
        </mtext> 
        <mtext>
            
        </mtext> 
        <msub> 
         <mover accent="true"> 
          <mi>
            p 
          </mi> 
          <mo>
            ^ 
          </mo> 
         </mover> 
         <mi>
           β 
         </mi> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mfrac> 
         <mrow> 
          <msub> 
           <mover accent="true"> 
            <mi>
              r 
            </mi> 
            <mo>
              ^ 
            </mo> 
           </mover> 
           <mi>
             β 
           </mi> 
          </msub> 
         </mrow> 
         <mrow> 
          <msub> 
           <mover accent="true"> 
            <mi>
              r 
            </mi> 
            <mo>
              ^ 
            </mo> 
           </mover> 
           <mi>
             β 
           </mi> 
          </msub> 
          <mo>
            + 
          </mo> 
          <msub> 
           <mover accent="true"> 
            <mi>
              X 
            </mi> 
            <mo>
              ¯ 
            </mo> 
           </mover> 
           <mrow> 
            <mi>
              N 
            </mi> 
            <mo>
              − 
            </mo> 
            <mi>
              k 
            </mi> 
           </mrow> 
          </msub> 
         </mrow> 
        </mfrac> 
        <mtext>
            
        </mtext> 
        <mtext>
            
        </mtext> 
        <mtext>
          and 
        </mtext> 
        <mtext>
            
        </mtext> 
        <mtext>
            
        </mtext> 
        <msub> 
         <mover accent="true"> 
          <mi>
            q 
          </mi> 
          <mo>
            ^ 
          </mo> 
         </mover> 
         <mi>
           β 
         </mi> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mn>
          1 
        </mn> 
        <mo>
          − 
        </mo> 
        <msub> 
         <mover accent="true"> 
          <mi>
            p 
          </mi> 
          <mo>
            ^ 
          </mo> 
         </mover> 
         <mi>
           β 
         </mi> 
        </msub> 
       </mrow> 
      </math></p>
     <p>The statistics 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msubsup> 
         <mi>
           S 
         </mi> 
         <mi>
           k 
         </mi> 
         <mn>
           2 
         </mn> 
        </msubsup> 
       </mrow> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mover accent="true"> 
          <mi>
            X 
          </mi> 
          <mo>
            ¯ 
          </mo> 
         </mover> 
         <mi>
           k 
         </mi> 
        </msub> 
       </mrow> 
      </math> are the unbiased estimates of the sub-population variance and mean for the first 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         k 
       </mi> 
      </math> observations respectively obtained as:</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mover accent="true"> 
          <mi>
            X 
          </mi> 
          <mo>
            ¯ 
          </mo> 
         </mover> 
         <mi>
           k 
         </mi> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mfrac> 
         <mrow> 
          <msubsup> 
           <mstyle displaystyle="true" mathsize="140%"> 
            <mo>
              ∑ 
            </mo> 
           </mstyle> 
           <mrow> 
            <mi>
              i 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              1 
            </mn> 
           </mrow> 
           <mi>
             k 
           </mi> 
          </msubsup> 
          <mtext>
              
          </mtext> 
          <msub> 
           <mi>
             x 
           </mi> 
           <mi>
             i 
           </mi> 
          </msub> 
         </mrow> 
         <mi>
           k 
         </mi> 
        </mfrac> 
        <mtext>
            
        </mtext> 
        <mtext>
            
        </mtext> 
        <mtext>
          and 
        </mtext> 
        <mtext>
            
        </mtext> 
        <mtext>
            
        </mtext> 
        <msubsup> 
         <mi>
           S 
         </mi> 
         <mi>
           k 
         </mi> 
         <mn>
           2 
         </mn> 
        </msubsup> 
        <mo>
          = 
        </mo> 
        <mfrac> 
         <mrow> 
          <msubsup> 
           <mstyle displaystyle="true" mathsize="140%"> 
            <mo>
              ∑ 
            </mo> 
           </mstyle> 
           <mrow> 
            <mi>
              i 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              1 
            </mn> 
           </mrow> 
           <mi>
             k 
           </mi> 
          </msubsup> 
          <msup> 
           <mrow> 
            <mrow> 
             <mo>
               ( 
             </mo> 
             <mrow> 
              <msub> 
               <mi>
                 x 
               </mi> 
               <mi>
                 i 
               </mi> 
              </msub> 
              <mo>
                − 
              </mo> 
              <msub> 
               <mover accent="true"> 
                <mi>
                  X 
                </mi> 
                <mo>
                  ¯ 
                </mo> 
               </mover> 
               <mi>
                 k 
               </mi> 
              </msub> 
             </mrow> 
             <mo>
               ) 
             </mo> 
            </mrow> 
           </mrow> 
           <mn>
             2 
           </mn> 
          </msup> 
         </mrow> 
         <mrow> 
          <mi>
            k 
          </mi> 
          <mo>
            − 
          </mo> 
          <mn>
            1 
          </mn> 
         </mrow> 
        </mfrac> 
       </mrow> 
      </math></p>
     <p>Similarly, the statistics 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msubsup> 
         <mi>
           S 
         </mi> 
         <mrow> 
          <mi>
            N 
          </mi> 
          <mo>
            − 
          </mo> 
          <mi>
            k 
          </mi> 
         </mrow> 
         <mn>
           2 
         </mn> 
        </msubsup> 
       </mrow> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mover accent="true"> 
          <mi>
            X 
          </mi> 
          <mo>
            ¯ 
          </mo> 
         </mover> 
         <mrow> 
          <mi>
            N 
          </mi> 
          <mo>
            − 
          </mo> 
          <mi>
            k 
          </mi> 
         </mrow> 
        </msub> 
       </mrow> 
      </math> are the unbiased estimates of the sub-population variance and mean for the next 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          N 
        </mi> 
        <mo>
          − 
        </mo> 
        <mi>
          k 
        </mi> 
       </mrow> 
      </math> observations respectively obtained as:</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mover accent="true"> 
          <mi>
            X 
          </mi> 
          <mo>
            ¯ 
          </mo> 
         </mover> 
         <mrow> 
          <mi>
            N 
          </mi> 
          <mo>
            − 
          </mo> 
          <mi>
            k 
          </mi> 
         </mrow> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mfrac> 
         <mrow> 
          <msubsup> 
           <mstyle displaystyle="true" mathsize="140%"> 
            <mo>
              ∑ 
            </mo> 
           </mstyle> 
           <mrow> 
            <mi>
              i 
            </mi> 
            <mo>
              = 
            </mo> 
            <mi>
              k 
            </mi> 
            <mo>
              + 
            </mo> 
            <mn>
              1 
            </mn> 
           </mrow> 
           <mi>
             N 
           </mi> 
          </msubsup> 
          <mtext>
              
          </mtext> 
          <msub> 
           <mi>
             x 
           </mi> 
           <mi>
             i 
           </mi> 
          </msub> 
         </mrow> 
         <mrow> 
          <mi>
            N 
          </mi> 
          <mo>
            − 
          </mo> 
          <mi>
            k 
          </mi> 
         </mrow> 
        </mfrac> 
        <mtext>
            
        </mtext> 
        <mtext>
            
        </mtext> 
        <mtext>
          and 
        </mtext> 
        <mtext>
            
        </mtext> 
        <mtext>
            
        </mtext> 
        <msubsup> 
         <mi>
           S 
         </mi> 
         <mrow> 
          <mi>
            N 
          </mi> 
          <mo>
            − 
          </mo> 
          <mi>
            k 
          </mi> 
         </mrow> 
         <mn>
           2 
         </mn> 
        </msubsup> 
        <mo>
          = 
        </mo> 
        <mfrac> 
         <mrow> 
          <msubsup> 
           <mstyle displaystyle="true" mathsize="140%"> 
            <mo>
              ∑ 
            </mo> 
           </mstyle> 
           <mrow> 
            <mi>
              i 
            </mi> 
            <mo>
              = 
            </mo> 
            <mi>
              k 
            </mi> 
            <mo>
              + 
            </mo> 
            <mn>
              1 
            </mn> 
           </mrow> 
           <mi>
             N 
           </mi> 
          </msubsup> 
          <msup> 
           <mrow> 
            <mrow> 
             <mo>
               ( 
             </mo> 
             <mrow> 
              <msub> 
               <mi>
                 x 
               </mi> 
               <mi>
                 i 
               </mi> 
              </msub> 
              <mo>
                − 
              </mo> 
              <msub> 
               <mover accent="true"> 
                <mi>
                  X 
                </mi> 
                <mo>
                  ¯ 
                </mo> 
               </mover> 
               <mrow> 
                <mi>
                  N 
                </mi> 
                <mo>
                  − 
                </mo> 
                <mi>
                  k 
                </mi> 
               </mrow> 
              </msub> 
             </mrow> 
             <mo>
               ) 
             </mo> 
            </mrow> 
           </mrow> 
           <mn>
             2 
           </mn> 
          </msup> 
         </mrow> 
         <mrow> 
          <mi>
            N 
          </mi> 
          <mo>
            − 
          </mo> 
          <mi>
            k 
          </mi> 
          <mo>
            − 
          </mo> 
          <mn>
            1 
          </mn> 
         </mrow> 
        </mfrac> 
       </mrow> 
      </math></p>
     <p>The likelihood ratio statistic at an arbitrary point 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         k 
       </mi> 
      </math> takes the form:</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mtext></mtext> 
         <mover accent="true"> 
          <mtext>
            Λ 
          </mtext> 
          <mo>
            ^ 
          </mo> 
         </mover> 
         <mi>
           k 
         </mi> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mo>
          − 
        </mo> 
        <mn>
          2 
        </mn> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <msub> 
           <mi>
             l 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <mover accent="true"> 
             <mi>
               r 
             </mi> 
             <mo>
               ^ 
             </mo> 
            </mover> 
            <mo>
              , 
            </mo> 
            <mover accent="true"> 
             <mi>
               p 
             </mi> 
             <mo>
               ^ 
             </mo> 
            </mover> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
          <mo>
            − 
          </mo> 
          <msub> 
           <mi>
             l 
           </mi> 
           <mn>
             1 
           </mn> 
          </msub> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <msub> 
             <mover accent="true"> 
              <mi>
                r 
              </mi> 
              <mo>
                ^ 
              </mo> 
             </mover> 
             <mi>
               α 
             </mi> 
            </msub> 
            <mo>
              , 
            </mo> 
            <msub> 
             <mover accent="true"> 
              <mi>
                r 
              </mi> 
              <mo>
                ^ 
              </mo> 
             </mover> 
             <mi>
               β 
             </mi> 
            </msub> 
            <mo>
              , 
            </mo> 
            <msub> 
             <mover accent="true"> 
              <mi>
                p 
              </mi> 
              <mo>
                ^ 
              </mo> 
             </mover> 
             <mi>
               α 
             </mi> 
            </msub> 
            <mo>
              , 
            </mo> 
            <msub> 
             <mover accent="true"> 
              <mi>
                p 
              </mi> 
              <mo>
                ^ 
              </mo> 
             </mover> 
             <mi>
               β 
             </mi> 
            </msub> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math>(13)</p>
     <p>The change point 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mover accent="true"> 
         <mi>
           k 
         </mi> 
         <mo>
           ^ 
         </mo> 
        </mover> 
        <mo>
          ∈ 
        </mo> 
        <mrow> 
         <mo>
           [ 
         </mo> 
         <mrow> 
          <mn>
            2 
          </mn> 
          <mo>
            , 
          </mo> 
          <mi>
            N 
          </mi> 
          <mo>
            − 
          </mo> 
          <mn>
            2 
          </mn> 
         </mrow> 
         <mo>
           ] 
         </mo> 
        </mrow> 
       </mrow> 
      </math> corresponding to the time point 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           t 
         </mi> 
         <mi>
           k 
         </mi> 
        </msub> 
       </mrow> 
      </math> is estimated such that the LRT statistic in Equation (13), or equivalently its square root, is maximized. Statistical significance of the estimated change point 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mover accent="true"> 
        <mi>
          k 
        </mi> 
        <mo>
          ^ 
        </mo> 
       </mover> 
      </math> is determined by comparing the maximum value of 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mtext></mtext> 
         <mover accent="true"> 
          <mtext>
            Λ 
          </mtext> 
          <mo>
            ^ 
          </mo> 
         </mover> 
         <mi>
           k 
         </mi> 
        </msub> 
       </mrow> 
      </math> against the critical value of the LRT developed in Section 3.4. Of interest is to find the optimal value of the likelihood ratio as:</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mover accent="true"> 
          <mi>
            Z 
          </mi> 
          <mo>
            ^ 
          </mo> 
         </mover> 
         <mi>
           N 
         </mi> 
        </msub> 
        <mo>
          = 
        </mo> 
        <munder> 
         <mrow> 
          <mtext>
            max 
          </mtext> 
         </mrow> 
         <mrow> 
          <mn>
            2 
          </mn> 
          <mo>
            ≤ 
          </mo> 
          <mi>
            k 
          </mi> 
          <mo>
            ≤ 
          </mo> 
          <mi>
            N 
          </mi> 
          <mo>
            − 
          </mo> 
          <mn>
            2 
          </mn> 
         </mrow> 
        </munder> 
        <msqrt> 
         <mrow> 
          <msub> 
           <mtext>
             Λ 
           </mtext> 
           <mi>
             k 
           </mi> 
          </msub> 
         </mrow> 
        </msqrt> 
       </mrow> 
      </math>(14)</p>
     <p>The decision is made such that 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           H 
         </mi> 
         <mn>
           0 
         </mn> 
        </msub> 
       </mrow> 
      </math> in Equation (10) is rejected if the LRT statistic is large so that 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mover accent="true"> 
          <mi>
            Z 
          </mi> 
          <mo>
            ^ 
          </mo> 
         </mover> 
         <mi>
           N 
         </mi> 
        </msub> 
        <mo>
          &gt; 
        </mo> 
        <mi>
          C 
        </mi> 
       </mrow> 
      </math>. The constant 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         C 
       </mi> 
      </math> is a critical value that is determined by the level of the test 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         α 
       </mi> 
      </math>, the sample size 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         N 
       </mi> 
      </math>, and the null distribution of the likelihood ratio test statistic in Equation (13) as in Gombay and Horvath (1990). Otherwise, small values of 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mover accent="true"> 
          <mi>
            Z 
          </mi> 
          <mo>
            ^ 
          </mo> 
         </mover> 
         <mi>
           N 
         </mi> 
        </msub> 
       </mrow> 
      </math> such that 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mover accent="true"> 
          <mi>
            Z 
          </mi> 
          <mo>
            ^ 
          </mo> 
         </mover> 
         <mi>
           N 
         </mi> 
        </msub> 
        <mo>
          ≤ 
        </mo> 
        <mi>
          C 
        </mi> 
       </mrow> 
      </math> indicate that a change exists at the time point 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           t 
         </mi> 
         <mi>
           k 
         </mi> 
        </msub> 
       </mrow> 
      </math>, but the change is not statistically significant.</p>
     <p>Once the first change point is obtained, the likelihood ratio test is repeated in each of the two data segments formed. As a simple illustration, assume that there are 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          100 
        </mn> 
       </mrow> 
      </math> observations from the Negative Binomial distribution and that the first change point is estimated at time 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           t 
         </mi> 
         <mrow> 
          <mn>
            20 
          </mn> 
         </mrow> 
        </msub> 
       </mrow> 
      </math>. This results in two segments of the data set 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           t 
         </mi> 
         <mn>
           1 
         </mn> 
        </msub> 
        <mo>
          , 
        </mo> 
        <mo>
          ⋯ 
        </mo> 
        <mo>
          , 
        </mo> 
        <msub> 
         <mi>
           t 
         </mi> 
         <mrow> 
          <mn>
            20 
          </mn> 
         </mrow> 
        </msub> 
       </mrow> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           t 
         </mi> 
         <mrow> 
          <mn>
            21 
          </mn> 
         </mrow> 
        </msub> 
        <mo>
          , 
        </mo> 
        <mo>
          ⋯ 
        </mo> 
        <mo>
          , 
        </mo> 
        <msub> 
         <mi>
           t 
         </mi> 
         <mrow> 
          <mn>
            100 
          </mn> 
         </mrow> 
        </msub> 
       </mrow> 
      </math> having different parameters. A single change point algorithm would stop at this first change point. However, a multiple change point algorithm proceeds to investigate whether additional change points exist in the data set. This is done by conducting a likelihood ratio test for change in the lower segment ( 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           t 
         </mi> 
         <mn>
           1 
         </mn> 
        </msub> 
        <mo>
          , 
        </mo> 
        <mo>
          ⋯ 
        </mo> 
        <mo>
          , 
        </mo> 
        <msub> 
         <mi>
           t 
         </mi> 
         <mrow> 
          <mn>
            20 
          </mn> 
         </mrow> 
        </msub> 
       </mrow> 
      </math>) and in the upper segment ( 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           t 
         </mi> 
         <mrow> 
          <mn>
            21 
          </mn> 
         </mrow> 
        </msub> 
        <mo>
          , 
        </mo> 
        <mo>
          ⋯ 
        </mo> 
        <mo>
          , 
        </mo> 
        <msub> 
         <mi>
           t 
         </mi> 
         <mrow> 
          <mn>
            100 
          </mn> 
         </mrow> 
        </msub> 
       </mrow> 
      </math>) of the data, one at a time. To determine the possibility of change in the lower segment, the hypotheses in Equation (15) are tested:</p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           H 
         </mi> 
         <mn>
           0 
         </mn> 
        </msub> 
        <mo>
          : 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mn>
           1 
         </mn> 
        </msub> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mn>
           2 
         </mn> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mo>
          ⋯ 
        </mo> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mrow> 
          <mn>
            20 
          </mn> 
         </mrow> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mi>
          r 
        </mi> 
       </mrow> 
      </math></p>
     <p>versus</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           H 
         </mi> 
         <mn>
           1 
         </mn> 
        </msub> 
        <mo>
          : 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mn>
           1 
         </mn> 
        </msub> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mn>
           2 
         </mn> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mo>
          ⋯ 
        </mo> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mi>
           k 
         </mi> 
        </msub> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mi>
           α 
         </mi> 
        </msub> 
        <mo>
          ≠ 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mrow> 
          <mi>
            k 
          </mi> 
          <mo>
            + 
          </mo> 
          <mn>
            1 
          </mn> 
         </mrow> 
        </msub> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mrow> 
          <mi>
            k 
          </mi> 
          <mo>
            + 
          </mo> 
          <mn>
            2 
          </mn> 
         </mrow> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mo>
          ⋯ 
        </mo> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mrow> 
          <mn>
            20 
          </mn> 
         </mrow> 
        </msub> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mi>
           β 
         </mi> 
        </msub> 
       </mrow> 
      </math>(15)</p>
     <p>The LRT procedure given in Section 2.3.4 is then followed. Similarly, to detect change in the upper data segment, the LRT procedure is applied with the test hypotheses defined in Equation (16).</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           H 
         </mi> 
         <mn>
           0 
         </mn> 
        </msub> 
        <mo>
          : 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mrow> 
          <mn>
            21 
          </mn> 
         </mrow> 
        </msub> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mrow> 
          <mn>
            22 
          </mn> 
         </mrow> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mo>
          ⋯ 
        </mo> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mrow> 
          <mn>
            100 
          </mn> 
         </mrow> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mi>
          r 
        </mi> 
       </mrow> 
      </math></p>
     <p>versus</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           H 
         </mi> 
         <mn>
           1 
         </mn> 
        </msub> 
        <mo>
          : 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mrow> 
          <mn>
            21 
          </mn> 
         </mrow> 
        </msub> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mrow> 
          <mn>
            22 
          </mn> 
         </mrow> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mo>
          ⋯ 
        </mo> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mi>
           k 
         </mi> 
        </msub> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mi>
           α 
         </mi> 
        </msub> 
        <mo>
          ≠ 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mrow> 
          <mi>
            k 
          </mi> 
          <mo>
            + 
          </mo> 
          <mn>
            1 
          </mn> 
         </mrow> 
        </msub> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mrow> 
          <mi>
            k 
          </mi> 
          <mo>
            + 
          </mo> 
          <mn>
            2 
          </mn> 
         </mrow> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mo>
          ⋯ 
        </mo> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mrow> 
          <mn>
            100 
          </mn> 
         </mrow> 
        </msub> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mi>
           β 
         </mi> 
        </msub> 
       </mrow> 
      </math>(16)</p>
     <p>Detection and location of the second and third change points, assuming they both exist, results in further sub-partitions of the data so that there are four segments in total for the entire sequence of size 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          100 
        </mn> 
       </mrow> 
      </math>. Each of the four smaller partitions is then tested for change and the splitting process is repeated; hence the name step-wise recursive binary segmentation. The position of any viable change point, 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           t 
         </mi> 
         <mi>
           k 
         </mi> 
        </msub> 
       </mrow> 
      </math> must satisfy the inequality 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           t 
         </mi> 
         <mn>
           2 
         </mn> 
        </msub> 
        <mo>
          ≤ 
        </mo> 
        <msub> 
         <mi>
           t 
         </mi> 
         <mi>
           k 
         </mi> 
        </msub> 
        <mo>
          ≤ 
        </mo> 
        <msub> 
         <mi>
           t 
         </mi> 
         <mrow> 
          <mi>
            n 
          </mi> 
          <mo>
            − 
          </mo> 
          <mn>
            2 
          </mn> 
         </mrow> 
        </msub> 
       </mrow> 
      </math> so that a change point can neither occur at the first nor last two observations in the sequence. Instead the change point must be sandwiched between some two observations. In the problem of multiple change point analysis given a sample of size 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         n 
       </mi> 
      </math>, the maximum possible number of change points is 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          − 
        </mo> 
        <mn>
          3 
        </mn> 
       </mrow> 
      </math>, which excludes the first and last two observations.</p>
    </sec>
    <sec id="s2_6">
     <title>2.4. Determining the Critical Values for the Likelihood Ratio Test for Existence of Change</title>
     <p>The study makes use of the methods described by Gombay and Horvath on the asymptotics of maximum-likelihood ratio-type statistics for testing a sequence of observations for no change in parameters against a possible change while some nuisance parameters may remain constant over time <xref ref-type="bibr" rid="scirp.136997-5">
       [5]
      </xref>. In particular, Gombay and Horvath obtained extreme value approximations as well as Gaussian-type approximations for the square root of the likelihood ratio in Equation (13). They also approximated the maximum likelihood ratio using Ornstein-Uhlenbeck processes and obtained the upper bounds for the rate of approximation.</p>
     <p>To derive critical values of the LRT statistic, this study makes use of the asymptotic distribution of 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msqrt> 
         <mrow> 
          <msub> 
           <mi>
             Z 
           </mi> 
           <mi>
             n 
           </mi> 
          </msub> 
         </mrow> 
        </msqrt> 
       </mrow> 
      </math> as described in Equation (14). Different critical values are be obtained for various small and medium sample sizes (n = 12, 20, 60, 100, 200, and 500), various test sizes ( 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          α 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          1 
        </mn> 
        <mtext>
          % 
        </mtext> 
        <mo>
          , 
        </mo> 
        <mn>
          5 
        </mn> 
        <mtext>
          % 
        </mtext> 
       </mrow> 
      </math> and 10%).</p>
     <p>The asymptotic critical values of are derived as follows: Let 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mn>
          0 
        </mn> 
        <mo>
          &lt; 
        </mo> 
        <mi>
          α 
        </mi> 
        <mo>
          &lt; 
        </mo> 
        <mn>
          1 
        </mn> 
       </mrow> 
      </math> be the level of the double-sided Likelihood Ratio Test.</p>
     <p>Define:</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           z 
         </mi> 
         <mi>
           n 
         </mi> 
        </msub> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           z 
         </mi> 
         <mi>
           n 
         </mi> 
        </msub> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mn>
            1 
          </mn> 
          <mo>
            − 
          </mo> 
          <mi>
            α 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
        <mo>
          = 
        </mo> 
        <mtext>
          sup 
        </mtext> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mi>
            x 
          </mi> 
          <mo>
            : 
          </mo> 
          <mi>
            P 
          </mi> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <msqrt> 
             <mrow> 
              <msub> 
               <mi>
                 Z 
               </mi> 
               <mi>
                 n 
               </mi> 
              </msub> 
             </mrow> 
            </msqrt> 
            <mo>
              ≤ 
            </mo> 
            <mi>
              x 
            </mi> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
          <mo>
            ≤ 
          </mo> 
          <mn>
            1 
          </mn> 
          <mo>
            − 
          </mo> 
          <mi>
            α 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math></p>
     <p>Define also:</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mtable> 
        <mtr> 
         <mtd> 
          <mi>
            r 
          </mi> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <mi>
              h 
            </mi> 
            <mo>
              , 
            </mo> 
            <mi>
              l 
            </mi> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
          <mo>
            = 
          </mo> 
          <mi>
            r 
          </mi> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <mi>
              h 
            </mi> 
            <mo>
              , 
            </mo> 
            <mi>
              l 
            </mi> 
            <mo>
              ; 
            </mo> 
            <mn>
              1 
            </mn> 
            <mo>
              − 
            </mo> 
            <mi>
              α 
            </mi> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mtd> 
        </mtr> 
        <mtr> 
         <mtd> 
          <mo>
            = 
          </mo> 
          <mtext>
            sup 
          </mtext> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <mi>
              x 
            </mi> 
            <mo>
              : 
            </mo> 
            <mi>
              P 
            </mi> 
            <mrow> 
             <mo>
               { 
             </mo> 
             <mrow> 
              <munder> 
               <mrow> 
                <mtext>
                  sup 
                </mtext> 
               </mrow> 
               <mrow> 
                <mi>
                  h 
                </mi> 
                <mo>
                  ≤ 
                </mo> 
                <mi>
                  t 
                </mi> 
                <mo>
                  ≤ 
                </mo> 
                <mn>
                  1 
                </mn> 
                <mo>
                  − 
                </mo> 
                <mi>
                  t 
                </mi> 
               </mrow> 
              </munder> 
              <msup> 
               <mrow> 
                <mrow> 
                 <mo>
                   { 
                 </mo> 
                 <mrow> 
                  <mrow> 
                   <mrow> 
                    <msup> 
                     <mi>
                       B 
                     </mi> 
                     <mrow> 
                      <mrow> 
                       <mo>
                         ( 
                       </mo> 
                       <mi>
                         d 
                       </mi> 
                       <mo>
                         ) 
                       </mo> 
                      </mrow> 
                     </mrow> 
                    </msup> 
                    <mrow> 
                     <mo>
                       ( 
                     </mo> 
                     <mi>
                       t 
                     </mi> 
                     <mo>
                       ) 
                     </mo> 
                    </mrow> 
                   </mrow> 
                   <mo>
                     / 
                   </mo> 
                   <mrow> 
                    <mrow> 
                     <mo>
                       ( 
                     </mo> 
                     <mrow> 
                      <mi>
                        t 
                      </mi> 
                      <mrow> 
                       <mo>
                         ( 
                       </mo> 
                       <mrow> 
                        <mn>
                          1 
                        </mn> 
                        <mo>
                          − 
                        </mo> 
                        <mi>
                          t 
                        </mi> 
                       </mrow> 
                       <mo>
                         ) 
                       </mo> 
                      </mrow> 
                     </mrow> 
                     <mo>
                       ) 
                     </mo> 
                    </mrow> 
                   </mrow> 
                  </mrow> 
                 </mrow> 
                 <mo>
                   } 
                 </mo> 
                </mrow> 
               </mrow> 
               <mrow> 
                <mrow> 
                 <mn>
                   1 
                 </mn> 
                 <mo>
                   / 
                 </mo> 
                 <mn>
                   2 
                 </mn> 
                </mrow> 
               </mrow> 
              </msup> 
              <mo>
                ≤ 
              </mo> 
              <mi>
                x 
              </mi> 
             </mrow> 
             <mo>
               } 
             </mo> 
            </mrow> 
            <mo>
              = 
            </mo> 
            <mn>
              1 
            </mn> 
            <mo>
              − 
            </mo> 
            <mi>
              α 
            </mi> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mtd> 
        </mtr> 
       </mtable> 
      </math>(17)</p>
     <p>Then, according to Gombay et al., if the null hypothesis of no change holds and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          h 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mi>
           n 
         </mi> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          l 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mi>
           n 
         </mi> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math> are chosen such that both exceed 1/n then</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <munder> 
         <mrow> 
          <mtext>
            lim 
          </mtext> 
         </mrow> 
         <mrow> 
          <mi>
            n 
          </mi> 
          <mo>
            → 
          </mo> 
          <mi>
            ∞ 
          </mi> 
         </mrow> 
        </munder> 
        <mi>
          P 
        </mi> 
        <mrow> 
         <mo>
           { 
         </mo> 
         <mrow> 
          <msqrt> 
           <mrow> 
            <msub> 
             <mi>
               Z 
             </mi> 
             <mi>
               n 
             </mi> 
            </msub> 
           </mrow> 
          </msqrt> 
          <mo>
            &gt; 
          </mo> 
          <mi>
            r 
          </mi> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <mi>
              h 
            </mi> 
            <mrow> 
             <mo>
               ( 
             </mo> 
             <mi>
               n 
             </mi> 
             <mo>
               ) 
             </mo> 
            </mrow> 
            <mo>
              , 
            </mo> 
            <mi>
              l 
            </mi> 
            <mrow> 
             <mo>
               ( 
             </mo> 
             <mi>
               n 
             </mi> 
             <mo>
               ) 
             </mo> 
            </mrow> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mrow> 
         <mo>
           } 
         </mo> 
        </mrow> 
        <mo>
          = 
        </mo> 
        <mi>
          α 
        </mi> 
       </mrow> 
      </math></p>
     <p>So that 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          r 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mi>
            h 
          </mi> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mi>
             n 
           </mi> 
           <mo>
             ) 
           </mo> 
          </mrow> 
          <mo>
            , 
          </mo> 
          <mi>
            l 
          </mi> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mi>
             n 
           </mi> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math> is an asymptotically correct critical value of size 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         α 
       </mi> 
      </math>.</p>
     <p>It can be shown that for all 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mn>
          0 
        </mn> 
        <mo>
          &lt; 
        </mo> 
        <mi>
          h 
        </mi> 
        <mo>
          &lt; 
        </mo> 
        <mn>
          1 
        </mn> 
        <mo>
          − 
        </mo> 
        <mi>
          l 
        </mi> 
        <mo>
          &lt; 
        </mo> 
        <mn>
          1 
        </mn> 
       </mrow> 
      </math>.</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <munder> 
         <mrow> 
          <mi>
            sup 
          </mi> 
         </mrow> 
         <mrow> 
          <mi>
            h 
          </mi> 
          <mo>
            ≤ 
          </mo> 
          <mi>
            t 
          </mi> 
          <mo>
            ≤ 
          </mo> 
          <mn>
            1 
          </mn> 
          <mo>
            − 
          </mo> 
          <mi>
            t 
          </mi> 
         </mrow> 
        </munder> 
        <msup> 
         <mrow> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <mfrac> 
             <mrow> 
              <msup> 
               <mi>
                 B 
               </mi> 
               <mrow> 
                <mrow> 
                 <mo>
                   ( 
                 </mo> 
                 <mi>
                   d 
                 </mi> 
                 <mo>
                   ) 
                 </mo> 
                </mrow> 
               </mrow> 
              </msup> 
              <mrow> 
               <mo>
                 ( 
               </mo> 
               <mi>
                 t 
               </mi> 
               <mo>
                 ) 
               </mo> 
              </mrow> 
             </mrow> 
             <mrow> 
              <mi>
                t 
              </mi> 
              <mrow> 
               <mo>
                 ( 
               </mo> 
               <mrow> 
                <mn>
                  1 
                </mn> 
                <mo>
                  − 
                </mo> 
                <mi>
                  t 
                </mi> 
               </mrow> 
               <mo>
                 ) 
               </mo> 
              </mrow> 
             </mrow> 
            </mfrac> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mrow> 
         <mrow> 
          <mrow> 
           <mn>
             1 
           </mn> 
           <mo>
             / 
           </mo> 
           <mn>
             2 
           </mn> 
          </mrow> 
         </mrow> 
        </msup> 
        <mo>
          = 
        </mo> 
        <munder> 
         <mrow> 
          <mi>
            sup 
          </mi> 
         </mrow> 
         <mrow> 
          <mn>
            0 
          </mn> 
          <mo>
            ≤ 
          </mo> 
          <mi>
            t 
          </mi> 
          <mo>
            ≤ 
          </mo> 
          <mi>
            log 
          </mi> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <mn>
              1 
            </mn> 
            <mo>
              − 
            </mo> 
            <mi>
              h 
            </mi> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
          <mrow> 
           <mrow> 
            <mrow> 
             <mo>
               ( 
             </mo> 
             <mrow> 
              <mn>
                1 
              </mn> 
              <mo>
                − 
              </mo> 
              <mi>
                l 
              </mi> 
             </mrow> 
             <mo>
               ) 
             </mo> 
            </mrow> 
           </mrow> 
           <mo>
             / 
           </mo> 
           <mrow> 
            <mi>
              h 
            </mi> 
            <mi>
              l 
            </mi> 
           </mrow> 
          </mrow> 
         </mrow> 
        </munder> 
        <mi>
          Δ 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mi>
           t 
         </mi> 
         <mo>
           ) 
         </mo> 
        </mrow> 
        <mo>
          . 
        </mo> 
       </mrow> 
      </math></p>
     <p>Such that for any 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          T 
        </mi> 
        <mo>
          &gt; 
        </mo> 
        <mn>
          0 
        </mn> 
       </mrow> 
      </math></p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          P 
        </mi> 
        <mrow> 
         <mo>
           { 
         </mo> 
         <mrow> 
          <munder> 
           <mrow> 
            <mi>
              sup 
            </mi> 
           </mrow> 
           <mrow> 
            <mn>
              0 
            </mn> 
            <mo>
              ≤ 
            </mo> 
            <mi>
              t 
            </mi> 
            <mo>
              ≤ 
            </mo> 
            <mi>
              T 
            </mi> 
           </mrow> 
          </munder> 
          <mi>
            Δ 
          </mi> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mi>
             t 
           </mi> 
           <mo>
             ) 
           </mo> 
          </mrow> 
          <mo>
            &gt; 
          </mo> 
          <mi>
            x 
          </mi> 
         </mrow> 
         <mo>
           } 
         </mo> 
        </mrow> 
        <mo>
          = 
        </mo> 
        <mfrac> 
         <mrow> 
          <msup> 
           <mi>
             x 
           </mi> 
           <mi>
             d 
           </mi> 
          </msup> 
          <mi>
            exp 
          </mi> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <mo>
              − 
            </mo> 
            <mrow> 
             <mrow> 
              <msup> 
               <mi>
                 x 
               </mi> 
               <mn>
                 2 
               </mn> 
              </msup> 
             </mrow> 
             <mo>
               / 
             </mo> 
             <mn>
               2 
             </mn> 
            </mrow> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mrow> 
         <mrow> 
          <msup> 
           <mn>
             2 
           </mn> 
           <mrow> 
            <mrow> 
             <mi>
               d 
             </mi> 
             <mo>
               / 
             </mo> 
             <mn>
               2 
             </mn> 
            </mrow> 
           </mrow> 
          </msup> 
          <mi>
            Γ 
          </mi> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <mrow> 
             <mi>
               d 
             </mi> 
             <mo>
               / 
             </mo> 
             <mn>
               2 
             </mn> 
            </mrow> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mrow> 
        </mfrac> 
        <mrow> 
         <mo>
           { 
         </mo> 
         <mrow> 
          <mi>
            T 
          </mi> 
          <mo>
            − 
          </mo> 
          <mfrac> 
           <mi>
             d 
           </mi> 
           <mrow> 
            <msup> 
             <mi>
               x 
             </mi> 
             <mn>
               2 
             </mn> 
            </msup> 
           </mrow> 
          </mfrac> 
          <mi>
            T 
          </mi> 
          <mo>
            + 
          </mo> 
          <mfrac> 
           <mn>
             4 
           </mn> 
           <mrow> 
            <msup> 
             <mi>
               x 
             </mi> 
             <mn>
               2 
             </mn> 
            </msup> 
           </mrow> 
          </mfrac> 
          <mo>
            + 
          </mo> 
          <mi>
            O 
          </mi> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <mfrac> 
             <mn>
               1 
             </mn> 
             <mrow> 
              <msup> 
               <mi>
                 x 
               </mi> 
               <mn>
                 4 
               </mn> 
              </msup> 
             </mrow> 
            </mfrac> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mrow> 
         <mo>
           } 
         </mo> 
        </mrow> 
       </mrow> 
      </math>(18)</p>
     <p>The approximations for the distributions of 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          r 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mi>
            h 
          </mi> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mi>
             n 
           </mi> 
           <mo>
             ) 
           </mo> 
          </mrow> 
          <mo>
            , 
          </mo> 
          <mi>
            l 
          </mi> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mi>
             n 
           </mi> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msqrt> 
         <mrow> 
          <msub> 
           <mi>
             Z 
           </mi> 
           <mi>
             n 
           </mi> 
          </msub> 
         </mrow> 
        </msqrt> 
       </mrow> 
      </math> proposed by Gombay et al. were applied to data assumed to follow the exponential, Poisson and Normal distributions <xref ref-type="bibr" rid="scirp.136997-6">
       [6]
      </xref>. Further, the approximations were based on a convenient choice of the parameters 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         h 
       </mi> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         l 
       </mi> 
      </math> such that</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          h 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mi>
           n 
         </mi> 
         <mo>
           ) 
         </mo> 
        </mrow> 
        <mo>
          = 
        </mo> 
        <mi>
          l 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mi>
           n 
         </mi> 
         <mo>
           ) 
         </mo> 
        </mrow> 
        <mo>
          = 
        </mo> 
        <mfrac> 
         <mrow> 
          <msup> 
           <mrow> 
            <mrow> 
             <mo>
               ( 
             </mo> 
             <mrow> 
              <mi>
                log 
              </mi> 
              <mi>
                n 
              </mi> 
             </mrow> 
             <mo>
               ) 
             </mo> 
            </mrow> 
           </mrow> 
           <mrow> 
            <mrow> 
             <mn>
               3 
             </mn> 
             <mo>
               / 
             </mo> 
             <mn>
               2 
             </mn> 
            </mrow> 
           </mrow> 
          </msup> 
         </mrow> 
         <mi>
           n 
         </mi> 
        </mfrac> 
       </mrow> 
      </math></p>
     <p>The value of parameter 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         T 
       </mi> 
      </math> was dependent on the choice of 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         h 
       </mi> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         l 
       </mi> 
      </math> as:</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          T 
        </mi> 
        <mo>
          = 
        </mo> 
        <mtext>
          log 
        </mtext> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mfrac> 
           <mrow> 
            <mrow> 
             <mo>
               ( 
             </mo> 
             <mrow> 
              <mn>
                1 
              </mn> 
              <mo>
                − 
              </mo> 
              <mi>
                h 
              </mi> 
             </mrow> 
             <mo>
               ) 
             </mo> 
            </mrow> 
            <mrow> 
             <mo>
               ( 
             </mo> 
             <mrow> 
              <mn>
                1 
              </mn> 
              <mo>
                − 
              </mo> 
              <mi>
                l 
              </mi> 
             </mrow> 
             <mo>
               ) 
             </mo> 
            </mrow> 
           </mrow> 
           <mrow> 
            <mi>
              h 
            </mi> 
            <mi>
              l 
            </mi> 
           </mrow> 
          </mfrac> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math></p>
     <p>This study extends the method discussed in Gombay et al. to data obtained from the Negative Binomial distribution. Alternative values of 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          h 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mi>
           n 
         </mi> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          l 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mi>
           n 
         </mi> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math> are tested in an attempt to get the best asymptotic critical values.</p>
     <p>The assumptions made are that the limiting distribution of 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msqrt> 
         <mrow> 
          <msub> 
           <mi>
             Z 
           </mi> 
           <mi>
             n 
           </mi> 
          </msub> 
         </mrow> 
        </msqrt> 
       </mrow> 
      </math> is the double exponential distribution, which is achieved through careful selection of the negative binomial parameters during simulations. Particularly, the parameters should be such that the amount of over-dispersion is neither extreme nor negligible. Further, moderate values for 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         r 
       </mi> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         p 
       </mi> 
      </math> should be chosen to ensure that the distribution exhibits properties conducive to convergence. Choosing 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         r 
       </mi> 
      </math> values that are not too small helps to avoid excessive variability and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         p 
       </mi> 
      </math> is neither too high nor too low to maintain a balanced success rate.</p>
    </sec>
   </sec>
   <sec id="s3">
    <title>3. Results and Discussion</title>
    <sec id="s3_1">
     <title>3.1. The Multiple Change Point Algorithm</title>
     <p>The negative binomial multiple change point algorithm was developed as a set of 9 steps based on the model equations discussed in the foregoing methodology. The sequential iterative steps are outlined here below:</p>
     <p>Step 1</p>
     <p>Input or load the sample data into a statistical software such as R. These data could be either real observed count data or simulated data from a Negative Binomial Distribution.</p>
     <p>Step 2</p>
     <p>Compute the sample mean 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mover accent="true"> 
        <mi>
          X 
        </mi> 
        <mo>
          ¯ 
        </mo> 
       </mover> 
      </math> and variance 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msup> 
         <mi>
           S 
         </mi> 
         <mn>
           2 
         </mn> 
        </msup> 
       </mrow> 
      </math> for these data. Conduct a test for dispersion. If data are over-dispersed or equi-dispersed, proceed to estimate parameters, otherwise discard the sample. Using the sample mean and variance, find the method of moments estimates of the two parameters 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mover accent="true"> 
        <mi>
          r 
        </mi> 
        <mo>
          ^ 
        </mo> 
       </mover> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mover accent="true"> 
        <mi>
          p 
        </mi> 
        <mo>
          ^ 
        </mo> 
       </mover> 
      </math> of the negative binomial model according to Equation (11).</p>
     <p>Step 3</p>
     <p>Using the sample data and the parameter estimates in Step 2, compute the log-likelihood functions under the null and alternative hypotheses for various values of the arbitrary change point 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         k 
       </mi> 
      </math> as described in Equations (11) and (12) respectively. Next, compute the likelihood ratio statistic 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mtext></mtext> 
         <mover accent="true"> 
          <mtext>
            Λ 
          </mtext> 
          <mo>
            ^ 
          </mo> 
         </mover> 
         <mi>
           k 
         </mi> 
        </msub> 
       </mrow> 
      </math> as described in Equation (13) for each possible value of the change point 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         k 
       </mi> 
      </math>. Store all computed values of the likelihood ratio statistic in a single vector.</p>
     <p>Step 4</p>
     <p>Plot a graph of the likelihood ratio statistic 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mtext></mtext> 
         <mover accent="true"> 
          <mtext>
            Λ 
          </mtext> 
          <mo>
            ^ 
          </mo> 
         </mover> 
         <mi>
           k 
         </mi> 
        </msub> 
       </mrow> 
      </math> or equivalently, its square root, against the possible values of 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         k 
       </mi> 
      </math>. A line plot sufficiently shows at a glance the behavior of the likelihood ratio over sequential values of 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         k 
       </mi> 
      </math>.</p>
     <p>Step 5</p>
     <p>Investigate whether a change exists at some point 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         k 
       </mi> 
      </math> by visually inspecting the graph in Step 4. As a guide, when there is no change the likelihood ratio statistic does not have a unique maximum point. On the other hand, when a change exists at some point 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         k 
       </mi> 
      </math>, the graph of the likelihood ratio test statistic is such that it reaches a maximum value exactly or in the neighborhood of the point 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         k 
       </mi> 
      </math>. <xref ref-type="fig" rid="fig3">
       Figure 3
      </xref> and <xref ref-type="fig" rid="fig4">
       Figure 4
      </xref> represent illustrative graphs of a likelihood ratio test statistic in the absence of change and in the presence of a single change respectively.</p>
     <p>Step 6</p>
     <p>In case there is no change in model parameters for the given dateset, the change point algorithm comes to a stop and no further change points are sought. However, if a change exists, approximate the location of the change point using the maximum likelihood approach as the point k at which the statistic in Equation (14) attains a maximum.</p>
     <p>Step 7</p>
     <p>Once a change has been detected and its location estimated, determine whether the said change point is statistically significant by conducting a likelihood ratio test. The null hypothesis of no significant change is rejected if the test statistic in Equation (14) exceeds the critical value.</p>
     <p>Step 8</p>
     <p>If a change is found to be statistically insignificant, the algorithm comes to a stop and no further change points are sought. However, if a change is found to be significant at some point k, the current value of k is stored as a change point.</p>
     <fig id="fig3" position="float">
      <label>Figure 3</label>
      <caption>
       <title>Figure 3. Sample graph showing a case of no change.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1241891-rId412.jpeg?20241030022541" />
     </fig>
     <fig id="fig4" position="float">
      <label>Figure 4</label>
      <caption>
       <title>Figure 4. Sample graph showing a case of a single change.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1241891-rId413.jpeg?20241030022541" />
     </fig>
     <p>Step 9</p>
     <p>Partition the input data set into two segments with the boundary corresponding to the change point estimate 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         k 
       </mi> 
      </math>. Each segment is then taken, one at a time, and treated as the input data set in Step 1 then checked for the existence of change and the process repeats until no further change points are found.</p>
     <p>Given this is an iterative process, the estimated values of 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         k 
       </mi> 
      </math> at each iteration must be recorded and stored. This process constitutes the step-wise recursive binary segmentation procedure discussed in Section 2. <xref ref-type="fig" rid="fig5">
       Figure 5
      </xref> represents a model flow chart for the Negative Binomial Multiple Change Point Algorithm.</p>
     <fig id="fig5" position="float">
      <label>Figure 5</label>
      <caption>
       <title>Figure 5. Schematic representation of the Negative Binomial Multiple Change Point Algorithm.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1241891-rId416.jpeg?20241030022541" />
     </fig>
    </sec>
    <sec id="s3_2">
     <title>3.2. Critical Values of the Likelihood Ratio Test</title>
     <p>This section refers back to the methods described in Subsection 2.4. The method proposed by Gombay and Horvath (1996) on the asymptotic distribution of the likelihood ratio test is applied in the determination of the critical values presented according to Equation (18) which states that for all 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          T 
        </mi> 
        <mo>
          &gt; 
        </mo> 
        <mn>
          0 
        </mn> 
       </mrow> 
      </math></p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          P 
        </mi> 
        <mrow> 
         <mo>
           { 
         </mo> 
         <mrow> 
          <munder> 
           <mrow> 
            <mi>
              sup 
            </mi> 
           </mrow> 
           <mrow> 
            <mn>
              0 
            </mn> 
            <mo>
              ≤ 
            </mo> 
            <mi>
              t 
            </mi> 
            <mo>
              ≤ 
            </mo> 
            <mi>
              T 
            </mi> 
           </mrow> 
          </munder> 
          <mi>
            Δ 
          </mi> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mi>
             t 
           </mi> 
           <mo>
             ) 
           </mo> 
          </mrow> 
          <mo>
            &gt; 
          </mo> 
          <mi>
            x 
          </mi> 
         </mrow> 
         <mo>
           } 
         </mo> 
        </mrow> 
        <mo>
          = 
        </mo> 
        <mfrac> 
         <mrow> 
          <msup> 
           <mi>
             x 
           </mi> 
           <mi>
             d 
           </mi> 
          </msup> 
          <mi>
            exp 
          </mi> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <mo>
              − 
            </mo> 
            <mrow> 
             <mrow> 
              <msup> 
               <mi>
                 x 
               </mi> 
               <mn>
                 2 
               </mn> 
              </msup> 
             </mrow> 
             <mo>
               / 
             </mo> 
             <mn>
               2 
             </mn> 
            </mrow> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mrow> 
         <mrow> 
          <msup> 
           <mn>
             2 
           </mn> 
           <mrow> 
            <mrow> 
             <mi>
               d 
             </mi> 
             <mo>
               / 
             </mo> 
             <mn>
               2 
             </mn> 
            </mrow> 
           </mrow> 
          </msup> 
          <mi>
            Γ 
          </mi> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <mrow> 
             <mi>
               d 
             </mi> 
             <mo>
               / 
             </mo> 
             <mn>
               2 
             </mn> 
            </mrow> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mrow> 
        </mfrac> 
        <mrow> 
         <mo>
           { 
         </mo> 
         <mrow> 
          <mi>
            T 
          </mi> 
          <mo>
            − 
          </mo> 
          <mfrac> 
           <mi>
             d 
           </mi> 
           <mrow> 
            <msup> 
             <mi>
               x 
             </mi> 
             <mn>
               2 
             </mn> 
            </msup> 
           </mrow> 
          </mfrac> 
          <mi>
            T 
          </mi> 
          <mo>
            + 
          </mo> 
          <mfrac> 
           <mn>
             4 
           </mn> 
           <mrow> 
            <msup> 
             <mi>
               x 
             </mi> 
             <mn>
               2 
             </mn> 
            </msup> 
           </mrow> 
          </mfrac> 
          <mo>
            + 
          </mo> 
          <mi>
            O 
          </mi> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <mfrac> 
             <mn>
               1 
             </mn> 
             <mrow> 
              <msup> 
               <mi>
                 x 
               </mi> 
               <mn>
                 4 
               </mn> 
              </msup> 
             </mrow> 
            </mfrac> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mrow> 
         <mo>
           } 
         </mo> 
        </mrow> 
       </mrow> 
      </math>(19)</p>
     <p>Various combinations of 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          h 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mi>
           n 
         </mi> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          l 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mi>
           n 
         </mi> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math> were tested for the current study, ensuring the condition 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mn>
          0 
        </mn> 
        <mo>
          &lt; 
        </mo> 
        <mi>
          h 
        </mi> 
        <mo>
          &lt; 
        </mo> 
        <mn>
          1 
        </mn> 
        <mo>
          − 
        </mo> 
        <mi>
          l 
        </mi> 
        <mo>
          &lt; 
        </mo> 
        <mn>
          1 
        </mn> 
       </mrow> 
      </math> was met. The choices of 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         h 
       </mi> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         l 
       </mi> 
      </math> selected were:</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          h 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mi>
           n 
         </mi> 
         <mo>
           ) 
         </mo> 
        </mrow> 
        <mo>
          = 
        </mo> 
        <mi>
          l 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mi>
           n 
         </mi> 
         <mo>
           ) 
         </mo> 
        </mrow> 
        <mo>
          = 
        </mo> 
        <mfrac> 
         <mrow> 
          <msup> 
           <mrow> 
            <mrow> 
             <mo>
               ( 
             </mo> 
             <mrow> 
              <mi>
                log 
              </mi> 
              <mi>
                n 
              </mi> 
             </mrow> 
             <mo>
               ) 
             </mo> 
            </mrow> 
           </mrow> 
           <mrow> 
            <mn>
              1.5 
            </mn> 
           </mrow> 
          </msup> 
         </mrow> 
         <mi>
           n 
         </mi> 
        </mfrac> 
       </mrow> 
      </math></p>
     <p>The parameter 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         d 
       </mi> 
      </math> in Equation (19) was taken as 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          d 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          2 
        </mn> 
       </mrow> 
      </math> to equal the number of unknown parameters in the Negative Binomial model. The value of parameter 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         T 
       </mi> 
      </math> was dependent on the choice of 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         h 
       </mi> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         l 
       </mi> 
      </math>. Since 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         h 
       </mi> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         l 
       </mi> 
      </math> were chosen to be equal, then 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         T 
       </mi> 
      </math> was computed as:</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          T 
        </mi> 
        <mo>
          = 
        </mo> 
        <mtext>
          log 
        </mtext> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mfrac> 
           <mrow> 
            <mrow> 
             <mo>
               ( 
             </mo> 
             <mrow> 
              <mn>
                1 
              </mn> 
              <mo>
                − 
              </mo> 
              <mi>
                h 
              </mi> 
             </mrow> 
             <mo>
               ) 
             </mo> 
            </mrow> 
            <mrow> 
             <mo>
               ( 
             </mo> 
             <mrow> 
              <mn>
                1 
              </mn> 
              <mo>
                − 
              </mo> 
              <mi>
                l 
              </mi> 
             </mrow> 
             <mo>
               ) 
             </mo> 
            </mrow> 
           </mrow> 
           <mrow> 
            <mi>
              h 
            </mi> 
            <mi>
              l 
            </mi> 
           </mrow> 
          </mfrac> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
        <mo>
          = 
        </mo> 
        <mtext>
          log 
        </mtext> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mfrac> 
           <mrow> 
            <msup> 
             <mrow> 
              <mrow> 
               <mo>
                 ( 
               </mo> 
               <mrow> 
                <mn>
                  1 
                </mn> 
                <mo>
                  − 
                </mo> 
                <mi>
                  h 
                </mi> 
               </mrow> 
               <mo>
                 ) 
               </mo> 
              </mrow> 
             </mrow> 
             <mn>
               2 
             </mn> 
            </msup> 
           </mrow> 
           <mrow> 
            <msup> 
             <mi>
               h 
             </mi> 
             <mn>
               2 
             </mn> 
            </msup> 
           </mrow> 
          </mfrac> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math></p>
     <p>The asymptotic critical values for 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msqrt> 
         <mrow> 
          <msub> 
           <mi>
             Z 
           </mi> 
           <mi>
             n 
           </mi> 
          </msub> 
         </mrow> 
        </msqrt> 
       </mrow> 
      </math> were determined in the R environment for 1000 iterations as the roots of Equation (19) for various sample sizes 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         n 
       </mi> 
      </math> and different levels of significance 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         α 
       </mi> 
      </math>. The results are summarized in <xref ref-type="table" rid="table2">
       Table 2
      </xref>.</p>
     <table-wrap id="table2">
      <label>
       <xref ref-type="table" rid="table2">
        Table 2
       </xref></label>
      <caption>
       <title>
        <xref ref-type="bibr" rid="scirp.136997-"></xref>Table 2. Critical values for the LRT at varying sample sizes and levels of the test.</title>
      </caption>
      <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
       <tr> 
        <td class="custom-bottom-td acenter" width="33.34%"><p style="text-align:center">Sample size (n)</p></td> 
        <td class="custom-bottom-td acenter" width="33.33%"><p style="text-align:center">Level of the test (α)</p></td> 
        <td class="custom-bottom-td acenter" width="33.33%"><p style="text-align:center">Critical value (C)</p></td> 
       </tr> 
       <tr> 
        <td class="custom-top-td acenter" width="33.34%"><p style="text-align:center"> 
          <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
            <mi>
              n 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              12 
            </mn> 
           </mrow> 
          </math></p></td> 
        <td class="custom-top-td acenter" width="33.33%"><p style="text-align:center">0.10</p></td> 
        <td class="custom-top-td acenter" width="33.33%"><p style="text-align:center">2.900</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="33.34%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">0.05</p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">3.184</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="33.34%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">0.01</p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">3.735</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="33.34%"><p style="text-align:center"> 
          <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
            <mi>
              n 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              20 
            </mn> 
           </mrow> 
          </math></p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">0.10</p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">3.019</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="33.34%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">0.05</p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">3.294</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="33.34%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">0.01</p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">3.830</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="33.34%"><p style="text-align:center"> 
          <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
            <mi>
              n 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              60 
            </mn> 
           </mrow> 
          </math></p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">0.10</p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">3.209</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="33.34%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">0.05</p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">3.467</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="33.34%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">0.01</p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">3.978</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="33.34%"><p style="text-align:center"> 
          <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
            <mi>
              n 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              100 
            </mn> 
           </mrow> 
          </math></p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">0.10</p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">3.275</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="33.34%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">0.05</p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">3.527</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="33.34%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">0.01</p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">4.029</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="33.34%"><p style="text-align:center"> 
          <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
            <mi>
              n 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              200 
            </mn> 
           </mrow> 
          </math></p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">0.10</p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">3.349</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="33.34%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">0.05</p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">3.594</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="33.34%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">0.01</p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">4.086</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="33.34%"><p style="text-align:center"> 
          <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
            <mi>
              n 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              500 
            </mn> 
           </mrow> 
          </math></p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">0.10</p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">3.428</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="33.34%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">0.05</p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">3.666</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="33.34%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">0.01</p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">4.148</p></td> 
       </tr> 
      </table>
     </table-wrap>
     <p>The critical values obtained were compared against the critical values obtained in <xref ref-type="bibr" rid="scirp.136997-5">
       [5]
      </xref>. Gombay and Horvath obtained critical values for data derived from the Poisson distribution with a mean of 10. For comparability, we chose the Negative Binomial parameters as 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          r 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          10 
        </mn> 
       </mrow> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          p 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          0.5 
        </mn> 
       </mrow> 
      </math> to achieve a mean of 10, similar to the Poisson distribution. <xref ref-type="table" rid="table3">
       Table 3
      </xref> shows a sample of critical values derived under the Negative Binomial distribution against those presented by Gombay and Horvath for various sample sizes. The two sets of critical values are fairly consistent. An assessment of how sensitive the critical values are to changes in model parameters indicated no significant difference provided the double exponential limit distribution assumption holds.</p>
     <table-wrap id="table3">
      <label>
       <xref ref-type="table" rid="table3">
        Table 3
       </xref></label>
      <caption>
       <title>
        <xref ref-type="bibr" rid="scirp.136997-"></xref>Table 3. Critical values for the Negative Binomial LRT versus Gombay’s critical values.</title>
      </caption>
      <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
       <tr> 
        <td class="custom-bottom-td acenter" width="23.50%"><p style="text-align:center">Sample size (n)</p></td> 
        <td class="custom-bottom-td acenter" width="26.48%"><p style="text-align:center">Level of the test (α)</p></td> 
        <td class="custom-bottom-td acenter" width="25.01%"><p style="text-align:center">Asymptotic critical values</p></td> 
        <td class="custom-bottom-td acenter" width="25.01%"><p style="text-align:center">Gombay’s Critical values</p></td> 
       </tr> 
       <tr> 
        <td class="custom-top-td acenter" width="23.50%"><p style="text-align:center"> 
          <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
            <mi>
              n 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              20 
            </mn> 
           </mrow> 
          </math></p></td> 
        <td class="custom-top-td acenter" width="26.48%"><p style="text-align:center">0.10</p></td> 
        <td class="custom-top-td acenter" width="25.01%"><p style="text-align:center">3.019</p></td> 
        <td class="custom-top-td acenter" width="25.01%"><p style="text-align:center">3.11</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="23.50%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="26.48%"><p style="text-align:center">0.05</p></td> 
        <td class="acenter" width="25.01%"><p style="text-align:center">3.294</p></td> 
        <td class="acenter" width="25.01%"><p style="text-align:center">3.60</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="23.50%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="26.48%"><p style="text-align:center">0.01</p></td> 
        <td class="acenter" width="25.01%"><p style="text-align:center">3.830</p></td> 
        <td class="acenter" width="25.01%"><p style="text-align:center">4.70</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="23.50%"><p style="text-align:center"> 
          <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
            <mi>
              n 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              50 
            </mn> 
           </mrow> 
          </math></p></td> 
        <td class="acenter" width="26.48%"><p style="text-align:center">0.10</p></td> 
        <td class="acenter" width="25.01%"><p style="text-align:center">3.183</p></td> 
        <td class="acenter" width="25.01%"><p style="text-align:center">3.18</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="23.50%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="26.48%"><p style="text-align:center">0.05</p></td> 
        <td class="acenter" width="25.01%"><p style="text-align:center">3.443</p></td> 
        <td class="acenter" width="25.01%"><p style="text-align:center">3.62</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="23.50%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="26.48%"><p style="text-align:center">0.01</p></td> 
        <td class="acenter" width="25.01%"><p style="text-align:center">3.958</p></td> 
        <td class="acenter" width="25.01%"><p style="text-align:center">4.69</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="23.50%"><p style="text-align:center"> 
          <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
            <mi>
              n 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              100 
            </mn> 
           </mrow> 
          </math></p></td> 
        <td class="acenter" width="26.48%"><p style="text-align:center">0.10</p></td> 
        <td class="acenter" width="25.01%"><p style="text-align:center">3.275</p></td> 
        <td class="acenter" width="25.01%"><p style="text-align:center">3.23</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="23.50%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="26.48%"><p style="text-align:center">0.05</p></td> 
        <td class="acenter" width="25.01%"><p style="text-align:center">3.527</p></td> 
        <td class="acenter" width="25.01%"><p style="text-align:center">3.64</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="23.50%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="26.48%"><p style="text-align:center">0.01</p></td> 
        <td class="acenter" width="25.01%"><p style="text-align:center">4.029</p></td> 
        <td class="acenter" width="25.01%"><p style="text-align:center">4.57</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="23.50%"><p style="text-align:center"> 
          <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
            <mi>
              n 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              500 
            </mn> 
           </mrow> 
          </math></p></td> 
        <td class="acenter" width="26.48%"><p style="text-align:center">0.10</p></td> 
        <td class="acenter" width="25.01%"><p style="text-align:center">3.428</p></td> 
        <td class="acenter" width="25.01%"><p style="text-align:center">3.31</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="23.50%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="26.48%"><p style="text-align:center">0.05</p></td> 
        <td class="acenter" width="25.01%"><p style="text-align:center">3.666</p></td> 
        <td class="acenter" width="25.01%"><p style="text-align:center">3.69</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="23.50%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="26.48%"><p style="text-align:center">0.01</p></td> 
        <td class="acenter" width="25.01%"><p style="text-align:center">4.148</p></td> 
        <td class="acenter" width="25.01%"><p style="text-align:center">4.54</p></td> 
       </tr> 
      </table>
     </table-wrap>
    </sec>
    <sec id="s3_3">
     <title>3.3. Results of the Simulation Study</title>
     <p>The change point algorithm developed in Section 3 was tested using simulated data from a Negative Binomial distribution. Monte Carlo simulations were performed using the R software to showcase three scenarios: a case of no change, followed by a case of a single change, and finally a case of multiple changes in distribution parameters. In the case of single and multiple changes, synthetic datasets were generated such that the true change points were known. This allowed the comparison of detected points against the true values. The single change point study considered synthetic data for small and medium samples of size 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          12 
        </mn> 
       </mrow> 
      </math>, 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          20 
        </mn> 
       </mrow> 
      </math>, 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          60 
        </mn> 
       </mrow> 
      </math>, 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          100 
        </mn> 
       </mrow> 
      </math>, 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          200 
        </mn> 
       </mrow> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          500 
        </mn> 
       </mrow> 
      </math>. The change points were set at each of the locations: n/4, n/2, and 3n/4 where parameters 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         r 
       </mi> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         p 
       </mi> 
      </math> were assumed to change simultaneously, while the distributional form remained the same throughout the samples. For simplicity, the multiple change-point study considered only a case of two changes located at positions n/4 and 3n/4 for a sample of size n.</p>
     <p>The choices of Negative Binomial model parameters 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         r 
       </mi> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         p 
       </mi> 
      </math> for the different segments in the simulation were made to demonstrate the impact of different parameters of the Negative Binomial distribution on the generated data. Different 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         r 
       </mi> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         p 
       </mi> 
      </math> combinations led to varying degrees of dispersion in the counts, providing an opportunity to analyze over-dispersion or changes in variability over the two segments. The rationale behind the specific parameter choices was to create diversity in data generation and illustrate change points while mimicking real-world scenarios in count data distributions.</p>
     <p>In the no-change setting, a single set of parameters 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          r 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          5 
        </mn> 
       </mrow> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          p 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          0.2 
        </mn> 
       </mrow> 
      </math> were chosen for the entire data series. Setting 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          r 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          5 
        </mn> 
       </mrow> 
      </math> allows simulation of scenarios where 5 successful outcomes are expected (like 5 successful sales, recoveries) before stopping the trials. A moderate value of 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         r 
       </mi> 
      </math> led to a manageable amount of variability in the data, allowing the model to capture enough complexity without becoming overly simplistic or excessively complex. The choice of parameter 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          p 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          0.2 
        </mn> 
       </mrow> 
      </math> indicated a 20% chance of success in each individual trial. A lower probability of success leads to a larger number of trials being needed to achieve the desired amount of successes. This aligns with real-world scenarios where events may be rare, leading to larger counts of failures and capturing the essence of over-dispersed count data.</p>
     <p>In the single change point setting, the parameters for the two segments were chosen as follows:</p>
     <p>Segment 1: 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          r 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          8 
        </mn> 
       </mrow> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          p 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          0.4 
        </mn> 
       </mrow> 
      </math></p>
     <p>The parameter choice for this segment indicates that you expect to see 8 successful outcomes (such as recoveries and disease incidences) before stopping the trials, with a success probability of 40%. A higher 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         r 
       </mi> 
      </math> value can produce more variability in the counts, reflecting scenarios where events are more frequent or where a greater number of successes are desirable before considering a stopping point. A moderate success probability reflects a reasonably likely event, which may be indicative of a favorable condition.</p>
     <p>Segment 2: 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          r 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          5 
        </mn> 
       </mrow> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          p 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          0.2 
        </mn> 
       </mrow> 
      </math></p>
     <p>The values of 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         r 
       </mi> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         p 
       </mi> 
      </math> were chosen such that 5 successes are expected with only a 20% chance of success for each trial. A lower 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         r 
       </mi> 
      </math> values in this segment may model a scenario where successes are less common, reflecting a different underlying process or condition. It can lead to less variability in counts, which might be appropriate if the success rate has significantly changed. A lower success probability in this segment means that more trials are needed to achieve the same number of successes, creating a higher variance in the outcomes. This can model a situation where conditions are critical, making successes more challenging to achieve.</p>
     <p>In the multiple (two) change point setting, the parameter values for the three segments were chosen as follows:</p>
     <p>Segment 1: 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          r 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          8 
        </mn> 
       </mrow> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          p 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          0.4 
        </mn> 
       </mrow> 
      </math></p>
     <p>This segment simulates random observations where you expect to achieve 8 successes, with a 40% chance of success for each trial. A higher r value with a much lower p results in increased over-dispersion, which means greater variability in counts. This setting simulates a scenario where the stochastic process is more unpredictable, leading to larger counts and more fluctuations.</p>
     <p>Segment 2: 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          r 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          3 
        </mn> 
       </mrow> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          p 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          0.3 
        </mn> 
       </mrow> 
      </math></p>
     <p>In this segment, data are simulated such that only 3 successes are expected with a 30% chance of success for each trial. The lower 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         r 
       </mi> 
      </math> suggests a shift to a less successful outcome scenario, perhaps indicating a less favorable condition. A 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         p 
       </mi> 
      </math> value of 0.3 suggests that while successes are still possible, they are less frequent than in the first segment, leading to a greater proportion of failures compared to successes.</p>
     <p>Segment 3: 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          r 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          5 
        </mn> 
       </mrow> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          p 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          0.2 
        </mn> 
       </mrow> 
      </math></p>
     <p>This segment is such that 5 successes are expected with a 20% chance of success per trial. A moderate 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         r 
       </mi> 
      </math> combined with a lower 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         p 
       </mi> 
      </math> reflects an even more challenging scenario for achieving successes, indicating a substantial decline in the likelihood of success compared to the previous segments. This can model conditions that have deteriorated significantly, resulting in fewer successful outcomes.</p>
     <p>Overall, the parameter values were chosen to reflect a range of potential real-world scenarios where you might expect changes in counts due to different influencing factors (such as changes in policy, market conditions, or environmental factors). The chosen values for 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         r 
       </mi> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         p 
       </mi> 
      </math> led to a clear, yet not visually obvious, distinction between data segments, making it easier to demonstrate effectiveness of the change point detection algorithm developed.</p>
     <p>This section gives a summary of results for the simulation study and power analysis showcasing performance of the NBMCPA given different sample sizes, model parameters, and location of change points. Throughout the simulation, the Likelihood ratio tests were conducted at the 5% level of significance. Visualizations of the likelihood ratio statistic are displayed for small and medium sample sizes and for each of three predefined change-point locations. The maximum values of the LRT statistics were compared to the critical values of the likelihood ratio test obtained in 3 to check for significance of change.</p>
     <p>A random sample was generated under the Negative Binomial ( 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          r 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          5 
        </mn> 
       </mrow> 
      </math>, 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          p 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          0.2 
        </mn> 
       </mrow> 
      </math>) distribution for a case of no change. The entire data set was such that both parameters 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         r 
       </mi> 
      </math> and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
         p 
       </mi> 
      </math> of the distribution remained constant throughout the series. <xref ref-type="fig" rid="fig6">
       Figure 6
      </xref> shows the graph of 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msqrt> 
         <mrow> 
          <msub> 
           <mi>
             Λ 
           </mi> 
           <mi>
             k 
           </mi> 
          </msub> 
         </mrow> 
        </msqrt> 
       </mrow> 
      </math> for a sample of size 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          500 
        </mn> 
       </mrow> 
      </math>.</p>
     <p>The graph of the Likelihood Ratio Test statistic (as illustrated in <xref ref-type="fig" rid="fig6">
       Figure 6
      </xref> panel (b)) does not exhibit a unique or single maxima. Instead, the graph appears rugged, somewhat similar to the graph of raw data as displayed in panel (a). This indicates that no change is detected. In addition to the lack of a unique maxima on the graph, the absence of variation in the distribution parameters is emphasized by the fact that the highest point on the graph of the LRT statistic lies below the critical value, 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          C 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          3.666 
        </mn> 
       </mrow> 
      </math> at 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          α 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          0.05 
        </mn> 
       </mrow> 
      </math> (see the dashed horizontal line). It is concluded that at the 5% level of significance, there is no statistically significant change in the distribution parameters.</p>
     <fig id="fig6" position="float">
      <label>Figure 6</label>
      <caption>
       <title>Figure 6. Graph showing a case of no change for a sample size 

        <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
  
          <mi>
           
   n
  
          </mi>
  
          <mo>
           
   =
  
          </mo>
  
          <mn>
           
   500
  
          </mn>
 
         </mrow>

        </math>.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1241891-rId538.jpeg?20241030022545" />
     </fig>
     <p>Synthetic data were obtained randomly from the Negative Binomial distribution with three preset change points for various small and medium sample sizes, n. The change points were set such that both parameters r and p changed only once in the entire series at either of the locations n/4, n/2 or 3n/4. However, the data segments formed both followed the Negative Binomial distribution. The change point estimates were obtained using the NBMCP algorithm and the results summarized in <xref ref-type="table" rid="table1">
       Table 1
      </xref>. The graphs of the square root of the LRT statistics, 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msqrt> 
         <mrow> 
          <msub> 
           <mi>
             Λ 
           </mi> 
           <mi>
             k 
           </mi> 
          </msub> 
         </mrow> 
        </msqrt> 
       </mrow> 
      </math> with superimposed critical values are shown in <xref ref-type="fig" rid="figFigures 7">
       Figures 7
      </xref>-<xref ref-type="bibr" rid="scirp.136997-#f15">
       15
      </xref>.</p>
     <p>
      <xref ref-type="fig" rid="figFigures 7">
       Figures 7
      </xref>-<xref ref-type="bibr" rid="scirp.136997-#f9">
       9
      </xref> represent the raw simulated data (panel a)) and the results of the Likelihood Ratio Test (panel (b)) when the change point is set at n/4, n/2 and 3n/4 respectively. The estimated change point in each case is indicated on the graph of the likelihood ratio statistic 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msqrt> 
         <mrow> 
          <msub> 
           <mi>
             Λ 
           </mi> 
           <mi>
             k 
           </mi> 
          </msub> 
         </mrow> 
        </msqrt> 
       </mrow> 
      </math> using a vertical line. The horizontal dashed lines indicate the critical values of the test, used to determine whether or not a change, if present, is significant. The results displayed in <xref ref-type="fig" rid="fig7">
       Figure 7
      </xref> showed that when the change point was set at position n/4, the MLE of the change point was 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mover accent="true"> 
         <mi>
           k 
         </mi> 
         <mo>
           ^ 
         </mo> 
        </mover> 
        <mo>
          = 
        </mo> 
        <mn>
          13 
        </mn> 
       </mrow> 
      </math>. On the other hand, when the change was set at the middle of the series, 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mrow> 
         <mi>
           n 
         </mi> 
         <mo>
           / 
         </mo> 
         <mn>
           2 
         </mn> 
        </mrow> 
        <mo>
          = 
        </mo> 
        <mn>
          25 
        </mn> 
       </mrow> 
      </math>, (see <xref ref-type="fig" rid="fig8">
       Figure 8
      </xref>) the change point estimate was 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mover accent="true"> 
         <mi>
           k 
         </mi> 
         <mo>
           ^ 
         </mo> 
        </mover> 
        <mo>
          = 
        </mo> 
        <mn>
          25 
        </mn> 
       </mrow> 
      </math>. When the change point was set further away from the initial data point, at position 3n/4 as shown in <xref ref-type="fig" rid="fig9">
       Figure 9
      </xref>, the change point estimate was 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mover accent="true"> 
         <mi>
           k 
         </mi> 
         <mo>
           ^ 
         </mo> 
        </mover> 
        <mo>
          = 
        </mo> 
        <mn>
          38 
        </mn> 
       </mrow> 
      </math>.</p>
     <p>
      <xref ref-type="fig" rid="figFigures 10">
       Figures 10
      </xref>-<xref ref-type="bibr" rid="scirp.136997-#f12">
       12
      </xref> represent the raw simulated data and the results of the likelihood ratio test when the change point is set at n/4, n/2 and 3n/4 respectively for 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          200 
        </mn> 
       </mrow> 
      </math>. The estimated change point in each case is indicated on the graph of the likelihood ratios ( 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msqrt> 
         <mrow> 
          <msub> 
           <mtext>
             Λ 
           </mtext> 
           <mi>
             k 
           </mi> 
          </msub> 
         </mrow> 
        </msqrt> 
       </mrow> 
      </math>) using vertical lines. The maximum points on the graph</p>
     <fig id="fig7" position="float">
      <label>Figure 7</label>
      <caption>
       <title>Figure 7. Graph showing a case of a single change at n/4 for a sample size 

        <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
  
          <mi>
           
   n
  
          </mi>
  
          <mo>
           
   =
  
          </mo>
  
          <mn>
           
   50
  
          </mn>
 
         </mrow>

        </math>.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1241891-rId556.jpeg?20241030022547" />
     </fig>
     <fig id="fig8" position="float">
      <label>Figure 8</label>
      <caption>
       <title>Figure 8. Graph showing a case of a single change at n/2 for a sample size 

        <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
  
          <mi>
           
   n
  
          </mi>
  
          <mo>
           
   =
  
          </mo>
  
          <mn>
           
   50
  
          </mn>
 
         </mrow>

        </math>.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1241891-rId559.jpeg?20241030022547" />
     </fig>
     <fig id="fig9" position="float">
      <label>Figure 9</label>
      <caption>
       <title>Figure 9. Graph showing a case of a single change at 3n/4 for a sample size 

        <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
  
          <mi>
           
   n
  
          </mi>
  
          <mo>
           
   =
  
          </mo>
  
          <mn>
           
   50
  
          </mn>
 
         </mrow>

        </math>.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1241891-rId562.jpeg?20241030022548" />
     </fig>
     <fig id="fig10" position="float">
      <label>Figure 10</label>
      <caption>
       <title>Figure 10. Graph showing a case of a single change at n/4 for a sample size 

        <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
  
          <mi>
           
   n
  
          </mi>
  
          <mo>
           
   =
  
          </mo>
  
          <mn>
           
   200
  
          </mn>
 
         </mrow>

        </math>.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1241891-rId565.jpeg?20241030022547" />
     </fig>
     <fig id="fig11" position="float">
      <label>Figure 11</label>
      <caption>
       <title>Figure 11. Graph showing a case of a single change at n/2 for a sample size 

        <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
  
          <mi>
           
   n
  
          </mi>
  
          <mo>
           
   =
  
          </mo>
  
          <mn>
           
   200
  
          </mn>
 
         </mrow>

        </math>.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1241891-rId568.jpeg?20241030022547" />
     </fig>
     <fig id="fig12" position="float">
      <label>Figure 12</label>
      <caption>
       <title>Figure 12. Graph showing a case of a single change at 3n/4 for a sample size 

        <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
  
          <mi>
           
   n
  
          </mi>
  
          <mo>
           
   =
  
          </mo>
  
          <mn>
           
   200
  
          </mn>
 
         </mrow>

        </math>.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1241891-rId571.jpeg?20241030022547" />
     </fig>
     <p>of the LRT statistic in each case exceed the critical value 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          C 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          3.594 
        </mn> 
       </mrow> 
      </math> indicating that the changes are significant at the 5% level.</p>
     <p>
      <xref ref-type="fig" rid="figFigures 13">
       Figures 13
      </xref>-<xref ref-type="bibr" rid="scirp.136997-#f15">
       15
      </xref> represent the raw simulated data and the results of the likelihood ratio test when the change point is set at n/4, n/2 and 3n/4 respectively for 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          500 
        </mn> 
       </mrow> 
      </math>. The estimated change point in each case is indicated on the graph of the likelihood ratio statistic ( 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msqrt> 
         <mrow> 
          <msub> 
           <mtext>
             Λ 
           </mtext> 
           <mi>
             k 
           </mi> 
          </msub> 
         </mrow> 
        </msqrt> 
       </mrow> 
      </math>) using vertical lines. The horizontal dashed lines indicate the critical values of the test statistic at the 0.05 level of significance.</p>
     <p>
      <xref ref-type="table" rid="table4">
       Table 4
      </xref> gives a summary of the estimated change points for different sample sizes ( 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          12 
        </mn> 
        <mo>
          , 
        </mo> 
        <mn>
          20 
        </mn> 
        <mo>
          , 
        </mo> 
        <mn>
          60 
        </mn> 
        <mo>
          , 
        </mo> 
        <mn>
          100 
        </mn> 
        <mo>
          , 
        </mo> 
        <mn>
          200 
        </mn> 
        <mo>
          , 
        </mo> 
        <mn>
          500 
        </mn> 
       </mrow> 
      </math>) located at various points for the foregoing</p>
     <fig id="fig13" position="float">
      <label>Figure 13</label>
      <caption>
       <title>Figure 13. Graph showing a case of a single change at n/4 for a sample size 

        <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
  
          <mi>
           
   n
  
          </mi>
  
          <mo>
           
   =
  
          </mo>
  
          <mn>
           
   500
  
          </mn>
 
         </mrow>

        </math>.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1241891-rId582.jpeg?20241030022548" />
     </fig>
     <fig id="fig14" position="float">
      <label>Figure 14</label>
      <caption>
       <title>Figure 14. Graph showing a case of a single change at n/2 for a sample size 

        <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
  
          <mi>
           
   n
  
          </mi>
  
          <mo>
           
   =
  
          </mo>
  
          <mn>
           
   500
  
          </mn>
 
         </mrow>

        </math>.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1241891-rId585.jpeg?20241030022548" />
     </fig>
     <fig id="fig15" position="float">
      <label>Figure 15</label>
      <caption>
       <title>Figure 15. Graph showing a case of a single change at 3n/4 for a sample size 

        <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
  
          <mi>
           
   n
  
          </mi>
  
          <mo>
           
   =
  
          </mo>
  
          <mn>
           
   500
  
          </mn>
 
         </mrow>

        </math>.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1241891-rId588.jpeg?20241030022548" />
     </fig>
     <table-wrap id="table4">
      <label>
       <xref ref-type="table" rid="table4">
        Table 4
       </xref></label>
      <caption>
       <title>
        <xref ref-type="bibr" rid="scirp.136997-"></xref>Table 4. Actual versus estimated changepoints across sample sizes and change locations.</title>
      </caption>
      <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
       <tr> 
        <td class="custom-bottom-td acenter" width="19.99%"><p style="text-align:center">Sample size (n)</p></td> 
        <td class="custom-bottom-td acenter" width="20.00%"><p style="text-align:center">Position of change</p></td> 
        <td class="custom-bottom-td acenter" width="20.00%"><p style="text-align:center">Actual cpt (k)</p></td> 
        <td class="custom-bottom-td acenter" width="20.00%"><p style="text-align:center">Estimated cpt ( 
          <math xmlns="http://www.w3.org/1998/Math/MathML"> <mover accent="true"> 
            <mi>
              k 
            </mi> 
            <mo>
              ^ 
            </mo> 
           </mover> 
          </math>)</p></td> 
        <td class="custom-bottom-td acenter" width="20.00%"><p style="text-align:center">Error (Δ)</p></td> 
       </tr> 
       <tr> 
        <td class="custom-top-td acenter" width="19.99%"><p style="text-align:center"> 
          <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
            <mi>
              n 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              12 
            </mn> 
           </mrow> 
          </math></p></td> 
        <td class="custom-top-td acenter" width="20.00%"><p style="text-align:center">n/4</p></td> 
        <td class="custom-top-td acenter" width="20.00%"><p style="text-align:center">3</p></td> 
        <td class="custom-top-td acenter" width="20.00%"><p style="text-align:center">2</p></td> 
        <td class="custom-top-td acenter" width="20.00%"><p style="text-align:center">1</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="19.99%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">n/2</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">6</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">5</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">1</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="19.99%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">3n/4</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">9</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">9</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">0</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="19.99%"><p style="text-align:center"> 
          <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
            <mi>
              n 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              20 
            </mn> 
           </mrow> 
          </math></p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">n/4</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">5</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">4</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">1</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="19.99%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">n/2</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">10</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">9</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">1</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="19.99%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">3n/4</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">15</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">15</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">0</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="19.99%"><p style="text-align:center"> 
          <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
            <mi>
              n 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              60 
            </mn> 
           </mrow> 
          </math></p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">n/4</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">15</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">14</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">1</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="19.99%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">n/2</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">30</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">30</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">0</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="19.99%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">3n/4</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">45</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">45</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">0</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="19.99%"><p style="text-align:center"> 
          <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
            <mi>
              n 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              100 
            </mn> 
           </mrow> 
          </math></p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">n/4</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">25</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">24</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">1</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="19.99%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">n/2</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">50</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">50</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">0</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="19.99%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">3n/4</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">75</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">75</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">0</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="19.99%"><p style="text-align:center"> 
          <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
            <mi>
              n 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              200 
            </mn> 
           </mrow> 
          </math></p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">n/4</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">50</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">50</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">0</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="19.99%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">n/2</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">100</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">100</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">0</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="19.99%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">3n/4</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">150</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">150</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">0</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="19.99%"><p style="text-align:center"> 
          <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
            <mi>
              n 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              500 
            </mn> 
           </mrow> 
          </math></p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">n/4</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">125</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">125</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">0</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="19.99%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">n/2</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">250</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">250</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">0</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="19.99%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">3n/4</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">375</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">375</p></td> 
        <td class="acenter" width="20.00%"><p style="text-align:center">0</p></td> 
       </tr> 
      </table>
     </table-wrap>
     <p>single change-point scenario. The estimation error was calculated as the difference between the estimated change point and the true changepoint. The results showed that the algorithm detects and locates changes with very little ( 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mtext>
          Δ 
        </mtext> 
        <mo>
          = 
        </mo> 
        <mo>
          ± 
        </mo> 
        <mn>
          1 
        </mn> 
       </mrow> 
      </math>) or no ( 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mtext>
          Δ 
        </mtext> 
        <mo>
          = 
        </mo> 
        <mn>
          0 
        </mn> 
       </mrow> 
      </math>) error. Changes located further away from the initial data point were more accurately estimated for small sample sizes.</p>
     <p>The NBMCP algorithm was found to work well for the single change point case as indicated by the results in <xref ref-type="table" rid="table4">
       Table 4
      </xref>. The same algorithm was tested through a simulation study for a multiple change point case with a sample of size 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          500 
        </mn> 
       </mrow> 
      </math>. For simplicity, two change points were specified quarter-way (at 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mrow> 
         <mi>
           n 
         </mi> 
         <mo>
           / 
         </mo> 
         <mn>
           4 
         </mn> 
        </mrow> 
        <mo>
          = 
        </mo> 
        <mn>
          125 
        </mn> 
       </mrow> 
      </math>) and three-quarter-way (at 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mrow> 
         <mrow> 
          <mn>
            3 
          </mn> 
          <mi>
            n 
          </mi> 
         </mrow> 
         <mo>
           / 
         </mo> 
         <mn>
           4 
         </mn> 
        </mrow> 
        <mo>
          = 
        </mo> 
        <mn>
          375 
        </mn> 
       </mrow> 
      </math>) respectively in the simulated data.</p>
     <p>The NBMCP algorithm detects changes by the order of their magnitude such that the first change point detected and estimated is the most pronounced among all changes present. The first change point lies at the point where the likelihood ratio test statistic first attains a maximum value. The vertical blocked line in <xref ref-type="fig" rid="fig16">
       Figure 16
      </xref> shows the estimate of the first change point, which corresponds to the 3n/4 value. Potential additional change points in the data series only appear as peaks on the graph of the likelihood ratio statistic but are not marked as change points at this stage.</p>
     <fig id="fig16" position="float">
      <label>Figure 16</label>
      <caption>
       <title>Figure 16. Simulated observations (a) and Likelihood ratio (b) showing the location of first change point at position 3n/4 for 

        <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
  
          <mi>
           
   n
  
          </mi>
  
          <mo>
           
   =
  
          </mo>
  
          <mn>
           
   500
  
          </mn>
 
         </mrow>

        </math>.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1241891-rId615.jpeg?20241030022549" />
     </fig>
     <p>Once the first change point is identified, the algorithm splits the time series into two parts at the first estimated change point. Change detection is then conducted in the lower partition and upper partitions provided the segments are not under-dispersed. The lower segment was discarded due to under-dispersion. <xref ref-type="fig" rid="fig17">
       Figure 17
      </xref></p>
     <fig id="fig17" position="float">
      <label>Figure 17</label>
      <caption>
       <title>Figure 17. The location of the first change point at position 3n/4 (vertical blocked line) and the second change point at n/4 (vertical dashed line) for 

        <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
  
          <mi>
           
   n
  
          </mi>
  
          <mo>
           
   =
  
          </mo>
  
          <mn>
           
   500
  
          </mn>
 
         </mrow>

        </math>.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1241891-rId618.jpeg?20241030022551" />
     </fig>
     <p>shows estimates of the first change point (vertical blocked line) and the second change point (vertical dashed line).</p>
     <p>A dispersion test of the resulting three segments, given the two change points located, showed that the samples were under-dispersed and hence discarded. No further changes were sought in the lower, middle and upper sub-partitions of the data. Following the dispersion test, the algorithm comes to a halt and only two change points are reported.</p>
    </sec>
    <sec id="s3_4">
     <title>3.4. Power Analysis</title>
     <p>Investigations into power of the Likelihood Ratio Test for existence of a change were conducted via a simulation study at the 5% level of significance. A null hypothesis of no change in the distributional parameters between any two data segments was tested against the alternative that a change in distributional parameters exists so that the data series has two segments, each following a negative binomial distribution but with varying dispersion parameters. Mathematically, the test hypotheses were given by Equation (20)</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           H 
         </mi> 
         <mn>
           0 
         </mn> 
        </msub> 
        <mo>
          : 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mn>
           1 
         </mn> 
        </msub> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mn>
           2 
         </mn> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mo>
          ⋯ 
        </mo> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mi>
           n 
         </mi> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mi>
          r 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mtext>
            No change 
          </mtext> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math></p>
     <p>versus</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           H 
         </mi> 
         <mn>
           1 
         </mn> 
        </msub> 
        <mo>
          : 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mn>
           1 
         </mn> 
        </msub> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mn>
           2 
         </mn> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mo>
          ⋯ 
        </mo> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mi>
           k 
         </mi> 
        </msub> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mi>
           α 
         </mi> 
        </msub> 
        <mo>
          ≠ 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mrow> 
          <mi>
            k 
          </mi> 
          <mo>
            + 
          </mo> 
          <mn>
            1 
          </mn> 
         </mrow> 
        </msub> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mrow> 
          <mi>
            k 
          </mi> 
          <mo>
            + 
          </mo> 
          <mn>
            2 
          </mn> 
         </mrow> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mo>
          ⋯ 
        </mo> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mi>
           n 
         </mi> 
        </msub> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           r 
         </mi> 
         <mi>
           β 
         </mi> 
        </msub> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mtext>
            change exists 
          </mtext> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math>(20)</p>
     <p>Several datasets were generated from the negative binomial distribution under the alternative hypothesis and the LRT statistic in Equation (13) was computed for each dataset. The null hypothesis was rejected when the LRT statistic defined in Equation (14) fell short of the critical value for a given sample size (see <xref ref-type="table" rid="table2">
       Table 2
      </xref>). The proportion of times in the null hypotheses was correctly rejected constituted the power of the test, otherwise regarded as the probability of not making a Type II error 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mn>
            1 
          </mn> 
          <mo>
            − 
          </mo> 
          <mi>
            β 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math>.</p>
     <p>The simulations were performed over 1000 iterations for each sample size and change point location to investigate the algorithm’s ability to detect and correctly estimate change points under different conditions. Power was calculated as the proportion of simulations where the change point was correctly detected.</p>
     <p>
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mtext>
          Power 
        </mtext> 
        <mo>
          = 
        </mo> 
        <mfrac> 
         <mrow> 
          <mtext>
            Number of times the change point is correctly detected 
          </mtext> 
         </mrow> 
         <mrow> 
          <mtext>
            Total number of simulations with a change point 
          </mtext> 
         </mrow> 
        </mfrac> 
       </mrow> 
      </math></p>
     <p>Sensitivity analysis of the test was performed in a single-change setting with change located at different positions (n/4, n/2 and 3n/4) and for varying sample sizes ( 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          12 
        </mn> 
       </mrow> 
      </math>, 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          20 
        </mn> 
       </mrow> 
      </math>, 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          60 
        </mn> 
       </mrow> 
      </math>, 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          100 
        </mn> 
       </mrow> 
      </math>, 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          200 
        </mn> 
       </mrow> 
      </math>, and 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          500 
        </mn> 
       </mrow> 
      </math>).</p>
     <p>Power results for each combination of sample size and change point were stored and used to determine the optimal conditions for change detection through a comparative analysis. A tolerance level of 1 was considered in the analysis. <xref ref-type="table" rid="table5">
       Table 5
      </xref> summarizes the results of the power analysis for various sample sizes and locations of single change.</p>
     <table-wrap id="table5">
      <label>
       <xref ref-type="table" rid="table5">
        Table 5
       </xref></label>
      <caption>
       <title>
        <xref ref-type="bibr" rid="scirp.136997-"></xref>Table 5. Power of the likelihood ratio test for change.</title>
      </caption>
      <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
       <tr> 
        <td class="custom-bottom-td acenter" width="33.34%"><p style="text-align:center">Sample size (n)</p></td> 
        <td class="custom-bottom-td acenter" width="33.33%"><p style="text-align:center">Position of change</p></td> 
        <td class="custom-bottom-td acenter" width="33.33%"><p style="text-align:center">Test power</p></td> 
       </tr> 
       <tr> 
        <td class="custom-top-td acenter" width="33.34%"><p style="text-align:center"> 
          <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
            <mi>
              n 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              12 
            </mn> 
           </mrow> 
          </math></p></td> 
        <td class="custom-top-td acenter" width="33.33%"><p style="text-align:center">n/4</p></td> 
        <td class="custom-top-td acenter" width="33.33%"><p style="text-align:center">0.084</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="33.34%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">n/2</p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">0.166</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="33.34%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">3n/4</p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">0.103</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="33.34%"><p style="text-align:center"> 
          <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
            <mi>
              n 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              20 
            </mn> 
           </mrow> 
          </math></p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">n/4</p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">0.311</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="33.34%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">n/2</p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">0.424</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="33.34%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">3n/4</p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">0.367</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="33.34%"><p style="text-align:center"> 
          <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
            <mi>
              n 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              60 
            </mn> 
           </mrow> 
          </math></p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">n/4</p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">0.404</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="33.34%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">n/2</p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">0.434</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="33.34%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">3n/4</p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">0.426</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="33.34%"><p style="text-align:center"> 
          <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
            <mi>
              n 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              100 
            </mn> 
           </mrow> 
          </math></p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">n/4</p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">0.477</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="33.34%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">n/2</p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">0.496</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="33.34%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">3n/4</p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">0.494</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="33.34%"><p style="text-align:center"> 
          <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
            <mi>
              n 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              200 
            </mn> 
           </mrow> 
          </math></p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">n/4</p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">0.498</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="33.34%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">n/2</p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">0.533</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="33.34%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">3n/4</p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">0.524</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="33.34%"><p style="text-align:center"> 
          <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
            <mi>
              n 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              500 
            </mn> 
           </mrow> 
          </math></p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">n/4</p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">0.513</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="33.34%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">n/2</p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">0.537</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="33.34%"><p style="text-align:center"></p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">3n/4</p></td> 
        <td class="acenter" width="33.33%"><p style="text-align:center">0.533</p></td> 
       </tr> 
      </table>
     </table-wrap>
     <p>The results showed that the likelihood ratio test was most powerful in detecting and locating change when the changepoint was located midway through the data set.</p>
     <p>Change detection accuracy, in terms of the true positive rate, of the algorithm was higher for changes positioned three-quarter-way compared to when change was located closer to the first data point (quarter-way). These results were consistent with those presented in <xref ref-type="bibr" rid="scirp.136997-7">
       [7]
      </xref> and <xref ref-type="bibr" rid="scirp.136997-8">
       [8]
      </xref>. In addition, the power of the LRT was found to increase with the sample size with highest detection accuracy of 53.7% being recorded when the sample size was 
      <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          500 
        </mn> 
       </mrow> 
      </math>. Additional analysis showed that the test was most powerful when changes were larger, so that there was greater distinction between the segments. However, the test performed well even for subtle changes, especially larger sample sizes. <xref ref-type="fig" rid="fig18">
       Figure 18
      </xref> visualizes the trend in test power as the sample size increases and change point location is varied.</p>
     <fig id="fig18" position="float">
      <label>Figure 18</label>
      <caption>
       <title>Figure 18. Sensitivity analysis of the power of the LRT for change detection.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1241891-rId652.jpeg?20241030022551" />
     </fig>
    </sec>
   </sec>
   <sec id="s4">
    <title>4. Conclusions and Recommendations</title>
    <p>This study considered change detection for a range of small and medium-sized datasets between 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         n 
       </mi> 
       <mo>
         = 
       </mo> 
       <mn>
         12 
       </mn> 
      </mrow> 
     </math> and 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         n 
       </mi> 
       <mo>
         = 
       </mo> 
       <mn>
         500 
       </mn> 
      </mrow> 
     </math>. Given the foregoing results, the Negative Binomial multiple change point algorithm produces the expected results for different sample sizes and change point locations. Important to note, the algorithm does not erroneously detect changes when absent in actual sense for both large and small samples. This finding makes the NBMCP algorithm a robust and reliable method of detecting changes in a count data series. However, when change is present, the algorithm produces better results of the change point estimates for large and medium samples compared to smaller datasets. The algorithm, when applied to larger data sets, detects multiple and subtle changes more accurately. While the accuracy of the algorithm is slightly lower in detecting small changes within small-sized datasets, there is an upside in reduced computation time compared to large datasets. In addition, the results showed that the NBMCPA produces better estimates of the change points when the actual points of variation are further away rather than closer to the first data point. It was noted that when the change point was positioned three-quarter-way, the deviation of estimates from the actual changepoints was smaller, often 0, compared to when the change point was set at the n/4<sup>th</sup> position.</p>
    <p>In a nutshell, comparative analysis of the power results revealed that various factors influence power including the sample size, so that larger samples generally increase power; effect size, with large differences between segments increasing power; significance level ( 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
        α 
      </mi> 
     </math>), such that higher levels of the test (e.g. 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         α 
       </mi> 
       <mo>
         = 
       </mo> 
       <mn>
         0.10 
       </mn> 
      </mrow> 
     </math> instead of 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         α 
       </mi> 
       <mo>
         = 
       </mo> 
       <mn>
         0.05 
       </mn> 
      </mrow> 
     </math>) increases power but also raises the risk of Type I error; variability, so that less variation or noise in the data increases power; and changepoint location, so that power is higher when changes are located further away from the first observation. The algorithm correctly indicates that there is no change in synthetic data with no predefined changepoint indicating a high detection accuracy in this respect. However, further investigations can be done to investigate the False Positive Rate (FPR) of the algorithm where there are multiple subtle changes in close proximity to each other within small and medium datasets.</p>
    <p>The NBMCPA is developed such that only a single change can be identified at a time. In the multiple change point setting, the algorithm starts by checking for change points in the entire series. In cases where only one change exists, then the algorithm stops when the first and only change point is located. However, where there are two or more change points, the most pronounced change is detected and located first, then the next most pronounced change is identified and so on.</p>
    <p>This simulation study limited investigations to small and medium sized datasets between 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         n 
       </mi> 
       <mo>
         = 
       </mo> 
       <mn>
         12 
       </mn> 
      </mrow> 
     </math> and 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         n 
       </mi> 
       <mo>
         = 
       </mo> 
       <mn>
         500 
       </mn> 
      </mrow> 
     </math> for which critical values were obtained. Interested researchers are advised to look into the possibility of extending the methods of determining critical values for the likelihood ratio test with larger ( 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         n 
       </mi> 
       <mo>
         &gt; 
       </mo> 
       <mn>
         500 
       </mn> 
      </mrow> 
     </math>) sample sizes. Finally, the algorithm developed in this study works well for over-dispersed and equi-dispersed datasets. Interested researchers may develop change point algorithms that work well for under-dispersed count data.</p>
   </sec>
  </sec>
 </body><back>
  <ref-list>
   <title>References</title>
   <ref id="scirp.136997-ref1">
    <label>1</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Lindén, A. and Mäntyniemi, S. (2011) Using the Negative Binomial Distribution to Model Overdispersion in Ecological Count Data. Ecology, 92, 1414-1421. &gt;https://doi.org/10.1890/10-1831.1
    </mixed-citation>
   </ref>
   <ref id="scirp.136997-ref2">
    <label>2</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Lord, D., Park, B.-J. and Model, P.-G. (2012) Negative Binomial Regression Models and Estimation Methods. Probability Density and Likelihood Functions. Texas A&amp;M University, Korea Transport Institute, 1-15. 
    </mixed-citation>
   </ref>
   <ref id="scirp.136997-ref3">
    <label>3</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Ludwig, J.A. and Reynolds, J.F. (1988) Statistical Ecology: A Primer in Methods and Computing, Volume 1. John Wiley&amp;Sons. 
    </mixed-citation>
   </ref>
   <ref id="scirp.136997-ref4">
    <label>4</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Korkas, K. and Fryzlewicz, P. (2017) Multiple Change-Point Detection for Non-Stationary Time Series Using Wild Binary Segmentation. Statistica Sinica, 27, 287-311. &gt;https://doi.org/10.5705/ss.202015.0262
    </mixed-citation>
   </ref>
   <ref id="scirp.136997-ref5">
    <label>5</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Gombay, E. and Horváth, L. (1996) On the Rate of Approximations for Maximum Likelihood Tests in Change-Point Models. Journal of Multivariate Analysis, 56, 120-152. &gt;https://doi.org/10.1006/jmva.1996.0007
    </mixed-citation>
   </ref>
   <ref id="scirp.136997-ref6">
    <label>6</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Gombay, E. and Horvath, L. (1990) Asymptotic Distributions of Maximum Likelihood Tests for Change in the Mean. Biometrika, 77, 411-414. &gt;https://doi.org/10.1093/biomet/77.2.411
    </mixed-citation>
   </ref>
   <ref id="scirp.136997-ref7">
    <label>7</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Mundia, S., Gichuhi, A. and Kihoro, J. (2014) The Power of Likelihood Ratio Test for a Change-Point in Binomial Distribution. Journal of Agriculture, Science and Technology, 16, 105-123.
    </mixed-citation>
   </ref>
   <ref id="scirp.136997-ref8">
    <label>8</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Nyambura, S., Mundia, S. and Waititu, A. (2016) Estimation of Change Point in Poisson Random Variables Using the Maximum Likelihood Method. American Journal of Theoretical and Applied Statistics, 5, 219-224. &gt;https://doi.org/10.11648/j.ajtas.20160504.18
    </mixed-citation>
   </ref>
  </ref-list>
 </back>
</article>