<?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">
    jfrm
   </journal-id>
   <journal-title-group>
    <journal-title>
     Journal of Financial Risk Management
    </journal-title>
   </journal-title-group>
   <issn pub-type="epub">
    2167-9533
   </issn>
   <issn publication-format="print">
    2167-9541
   </issn>
   <publisher>
    <publisher-name>
     Scientific Research Publishing
    </publisher-name>
   </publisher>
  </journal-meta>
  <article-meta>
   <article-id pub-id-type="doi">
    10.4236/jfrm.2024.132013
   </article-id>
   <article-id pub-id-type="publisher-id">
    jfrm-133403
   </article-id>
   <article-categories>
    <subj-group subj-group-type="heading">
     <subject>
      Articles
     </subject>
    </subj-group>
    <subj-group subj-group-type="Discipline-v2">
     <subject>
      Business 
     </subject>
     <subject>
       Economics
     </subject>
    </subj-group>
   </article-categories>
   <title-group>
    Aggregation and Establishment of Onerous Contracts as Required by IFRS17 Based on a Stochastic Matrix and the Lumpability Concept of a Markov Chain
   </title-group>
   <contrib-group>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Alexandros A.
      </surname>
      <given-names>
       Zimbidis
      </given-names>
     </name> 
     <xref ref-type="aff" rid="aff1"> 
      <sup>1</sup>
     </xref>
    </contrib>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Ioannis
      </surname>
      <given-names>
       Gkounopoulos
      </given-names>
     </name> 
     <xref ref-type="aff" rid="aff2"> 
      <sup>2</sup>
     </xref>
    </contrib>
   </contrib-group> 
   <aff id="aff1">
    <addr-line>
     aDepartment of Statistics, Laboratory of Stochastic Modelling and Applications, Athens University of Economics and Business, Athens, Greece
    </addr-line> 
   </aff> 
   <aff id="aff2">
    <addr-line>
     aPrudential B Marghios&amp;Partners, Athens, Greece
    </addr-line> 
   </aff> 
   <pub-date pub-type="epub">
    <day>
     30
    </day> 
    <month>
     04
    </month>
    <year>
     2024
    </year>
   </pub-date> 
   <volume>
    13
   </volume> 
   <issue>
    02
   </issue>
   <fpage>
    278
   </fpage>
   <lpage>
    304
   </lpage>
   <history>
    <date date-type="received">
     <day>
      10,
     </day>
     <month>
      April
     </month>
     <year>
      2024
     </year>
    </date>
    <date date-type="published">
     <day>
      25,
     </day>
     <month>
      April
     </month>
     <year>
      2024
     </year> 
    </date> 
    <date date-type="accepted">
     <day>
      25,
     </day>
     <month>
      May
     </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>
    This paper aims to formulate a new innovative method for contract classification under IFRS17 for motor insurance operating under the typical Bonus-Malus System. The specific method of classification provides robust results with respect to borderlines drawn between the three categories imposed by IFRS17, as the criterion of lumpability preserves the important stochastic elements of the typical Bonus-Malus System. This approach eliminated any subjectivity which may arise when considering only the profitability criterion based on loss ratio which is affected by the high volatility of the claim experience. We apply this method to various forms of indicative stochastic matrices. Our results reveal the impact of the proposed method on contract classification. This provides valuable insights for practitioners and regulators seeking to enhance and empower their professional actuarial judgement on financial reporting and risk assessment within the IFRS17 framework.
   </abstract>
   <kwd-group> 
    <kwd>
     IFRS17
    </kwd> 
    <kwd>
      Onerous Contracts
    </kwd> 
    <kwd>
      Markov Chains
    </kwd> 
    <kwd>
      Lumpability
    </kwd> 
    <kwd>
      Wasserstein Distance
    </kwd> 
    <kwd>
      Motor Insurance
    </kwd>
   </kwd-group>
  </article-meta>
 </front>
 <body>
  <sec id="s1">
   <title>1. Introduction</title>
   <sec id="s1_1">
    <title>1.1. Evolution of Accounting Standards: Transitioning from IFRS 4 to IFRS 17 and Implications for Insurance Companies</title>
    <p>The insurance industry faces a great challenge, effectively from January1st, 2023. From that date onwards, all insurance companies should adopt the new accounting standard encoded as IFRS17 (International Financial Reporting Standards, number 17). That will replace the previous standard of IFRS4 and will induce great changes. It was only a few years ago, January 1<sup>st</sup>, 2016, when the adoption of the new regulation of Solvency II, instead of the old Solvency I, changed radically the total framework in the European insurance market. New more strict capital requirements, detailed instructions for exhaustive governance and full disclosure of information to the policyholders and to the local regulator were the three main points amongst many other innovations that the new legislation has focused on. If the transition from Solvency I to Solvency II brought a great number of changes, the transition from IFRS4 to IFRS17 will bring additionally a massive number of changes and will enforce all insurance companies to upgrade their scientific and technical tools in every day’s operations.</p>
    <p>In this paper, we focus on a new important concept which appears in accounting rules described in IFRS17. That is the concept of ‘onerous’ contracts. The new standard pays too much attention and imposes different and strict rules for aggregation of insurance contracts to increase transparency in the financial statements and secure the correct reporting of the profit margin for an insurance company through time. So, the assessment of aggregation is not a routine technical task of pooling similar risks but plays a key role to the accounting report of the company and consequently to its capital requirements. One of these kinds of aggregation (perhaps the most important!) is the classification under a three-pillar system of each portfolio:</p>
    <p>1) Onerous contracts, 2) Potentially Onerous contracts and 3) Profitable contracts.</p>
    <p>Formally and quoting the original text of IFRS17, “An insurance contract is onerous at the date of initial recognition if the fulfilment cash flows (FCF) allocated to the contract, any previously recognized insurance acquisition cash flows, and any cash flows arising from the contract at the date of initial recognition in total are a net outflow” (IFRS 17, Article 47). Since the cash-flow in total is a net out-flow, there is no profit margin. Hence, a portfolio of contracts that have been classified as “onerous” should be recognized immediately at their inception and their total outflow should be reported immediately in the financial statements of the company.</p>
    <p>The grouping procedure may prove to be cumbersome for many entities especially by taking into consideration the required high level of granularity. Entities may face several significant practical and operational issues in respect of their administration, valuation, and accounting systems. So, all insurance companies should have a robust approach in order to detect the above three groups and determine which contracts are certainly profitable, certainly non-profitable (onerous) and potentially onerous (i.e. neither profitable nor non-profitable under a certain way). In this paper, we focus on the motor market.</p>
    <p>The choice to focus on the motor insurance market stems from several key considerations:</p>
    <p>Industry Relevance: Motor insurance is a significant segment within the insurance industry, characterized by its widespread adoption and unique risk dynamics. By focusing on this market, we address a critical area of financial reporting and risk assessment that is pertinent to insurers worldwide.</p>
    <p>Complexity of Contract Classification: The complex nature of motor insurance contracts, particularly those operating under the Bonus-Malus System, presents a challenging environment for contract classification under IFRS17. Our innovative method aims to address this complexity by providing robust results that align with the regulatory requirements while preserving the stochastic elements inherent in the Bonus-Malus System.</p>
    <p>Eliminating Subjectivity: Traditional methods of contract classification based solely on profitability criteria, such as loss ratios, may introduce subjectivity and volatility into the classification process. Our approach eliminates this subjectivity by incorporating the criterion of lumpability, thereby ensuring consistency and objectivity in contract classification.</p>
    <p>Practical Implications: Motor insurance is a convenient topic for demonstration purposes due to its well-defined parameters and readily available data. This convenience allows for a clear and illustrative presentation of our method and its impact on contract classification outcomes, making it accessible to practitioners, regulators, and other stakeholders.</p>
    <p>For many years now, the motor insurance market has adopted a pricing model based upon the theory of discrete homogeneous Markov Chains. This system is widely known and quoted as the “Bonus-malus system (BMS)”, also known as the No-Claims Discount (NCD) or a merit-rating system. That is an automatic risk classification and pricing system which categorizes each policyholder according to its individual claim history. It is commonly applied in motor insurance but can also be found in other lines of insurance as well. The concept behind a Bonus-Malus system is to reward policyholders who have a good claims history by offering them reduced premiums (Bonus) and penalize those with poor claims history by increasing their premiums (Malus). So, policyholders can move up and down the BMS “ladder” based on their claims’ history. On the one hand, claim-free periods can lead to higher (Bonus) levels with greater discounts while on the other hand, claims may result in downgrading to lower (Malus) Levels with increased premiums.</p>
    <p>The BMS normally has ten to twenty categories, where normally the first (1st) class corresponds to the “best” drivers, producing fewer accidents, while the very last (10th or 20th) class corresponds to the “bad” drivers, producing many accidents each year. Normally, a new driver (customer for the company) is classified somewhere in the middle and each year is transferred to a higher or lower category according to his/her claim experience. This BMS is fully determined by a stochastic matrix of dimension n, where n is the number of risk categories (or states).</p>
    <p>Mathematically, the Bonus-Malus system can be viewed as a Markov chain with constant transition probabilities under certain conditions. This system’s stationary distribution is crucial for understanding long-term insurance portfolio behaviour and informing premium calculations.</p>
    <p>Analysis of various Bonus-Malus systems worldwide sheds light on premium determinants and portfolio stability, emphasizing the importance of stochastic modeling for risk assessment and insurance operations <xref ref-type="bibr" rid="scirp.133403-1">
      (Das, 2010)
     </xref>.</p>
    <p>In addition, seminal work traces the historical evolution and global adoption of Bonus-Malus systems, particularly in Europe and Asia <xref ref-type="bibr" rid="scirp.133403-6">
      (Lemaire, 1998)
     </xref>. Originating in the 1960s, these systems revolutionized insurance practices and shaped risk assessment worldwide. Research underscores the potential efficiency gains and regulatory pressures driving their adoption, providing valuable insights for practitioners navigating evolving regulatory landscapes.</p>
    <p>In the analysis of a Bonus-Malus system, it is commonly assumed that the claim frequency of an individual policyholder remains unaltered, ensuring constant transition probabilities and enabling the system to be modelled with a homogeneous Markov chain <xref ref-type="bibr" rid="scirp.133403-5">
      (Lemaire, 1995)
     </xref>. However, recent research <xref ref-type="bibr" rid="scirp.133403-8">
      (Niemiec, 2007)
     </xref> has highlighted the dynamic nature of claim frequencies among policyholders, which may fluctuate over time due to various reasons. To address this challenge, our paper explores novel approaches to modelling Bonus-Malus systems, aiming to capture the variability in transition probabilities within defined ranges. By considering these fluctuations, we seek to provide a more comprehensive analysis of Bonus-Malus systems and their implications for insurance risk assessment and portfolio management.</p>
    <p>The central question at hand pertains to the transformation of a Markov chain with e.g. 20 states representing driver categories, ranging from the best to the worst driver, into a Markov chain with only 3 states, specifically denoting profitable, onerous, and potentially onerous categories. This transformation is essential within the context of IFRS 17 contract aggregation, and it aligns with the concept of Lumpability for a Markov chain.</p>
    <p>This issue bears a resemblance to a scenario outlined in previous papers <xref ref-type="bibr" rid="scirp.133403-7">
      (Loizides &amp; Yannacopoulos, 2012;
     </xref> <xref ref-type="bibr" rid="scirp.133403-2">
      Georgiou, Domazakis, Pappas, &amp; Yannacopoulos, 2021)
     </xref> concerning IFRS 9, where financial institutions are tasked with classifying loans into three distinct categories, known as IFRS 9 Stages. In both cases, institutions governed by IFRS regulations must undertake the aggregation process, necessitating the reduction of their state space to one that is compliant with regulatory standards. Importantly, this reduction must be executed while preserving the Markov property, ensuring that the underlying probabilistic behaviour remains intact throughout the transformation.</p>
    <p>To date, the definition of initial profitability boundaries to demarcate the three contract groups under IFRS 17 has remained somewhat uncertain, largely owing to the inherent stochastic elements at play. Nevertheless, the proposed approach introduces a notable enhancement in terms of robustness, effectively surpassing the constraints imposed by the initial stochastic transition matrix. This innovative method not only considers the properties of the initial matrix but also actively strives to ameliorate the stochastic attributes. That is achieved by factoring simultaneously the initial transition matrix and the preliminary contract classifications, which are contingent upon specific profitability indices or criteria. As a result, this approach refines and elevates the accuracy of contract classification, providing a more comprehensive and precise framework for this critical task.</p>
    <p>Drawing from recent advancements in land cover classification using Markov chains <xref ref-type="bibr" rid="scirp.133403-4">
      (Koukiou &amp; Anastassopoulos, 2021)
     </xref>, this paper introduces a novel method for contract classification under IFRS17, tailored for motor insurance policies with the Bonus-Malus System. By leveraging Markov chains, known for capturing dynamic transitions, our approach aims to enhance classification robustness in insurance risk assessment.</p>
    <p>Inspired by transition matrices in land cover classification <xref ref-type="bibr" rid="scirp.133403-4">
      (Koukiou &amp; Anastassopoulos, 2021)
     </xref>, our method preserves stochastic elements in the Bonus-Malus System. This addresses subjectivity in profitability criteria, affected by claim volatility. Through analyzing various stochastic matrices, our findings offer insights for practitioners and regulators, empowering informed decisions within IFRS17.</p>
   </sec>
   <sec id="s1_2">
    <title>1.2. Analyzing the Changes from IFRS 4 to IFRS 17</title>
    <p>The transition from IFRS 4 to IFRS 17 represents a seismic shift in the way insurance contracts are accounted for and reported, with significant implications for insurers’ financial statements, risk management practices, and operational processes. Below, we explore the key changes introduced by IFRS 17 and their implications:</p>
    <p>Measurement of Insurance Contracts:</p>
    <p>IFRS 17 introduces a standardized approach to the measurement of insurance contracts, departing from the diverse range of accounting policy options available under IFRS 4.</p>
    <p>Under IFRS 17, insurers are required to measure insurance contracts at current values, with the inclusion of explicit provisions for risk adjustment and discounting.</p>
    <p>Recognition of Profits:</p>
    <p>Unlike IFRS 4, which allowed for the recognition of profits at the inception of an insurance contract, IFRS 17 mandates the recognition of profit over the coverage period.</p>
    <p>This shift from an “incurred claims” to a “building block” approach to profit recognition aims to provide a more accurate reflection of the timing and magnitude of insurance contract profitability.</p>
    <p>Disclosures and Transparency:</p>
    <p>IFRS 17 imposes more stringent disclosure requirements on insurers, necessitating greater transparency regarding the nature, risks, and financial impact of insurance contracts.</p>
    <p>Insurers are required to provide detailed information on the assumptions, methodologies, and judgments used in the measurement and recognition of insurance contracts, enhancing the quality and reliability of financial information.</p>
    <p>Actuarial and Technical Challenges:</p>
    <p>The transition to IFRS 17 presents significant actuarial and technical challenges for insurance companies, requiring the development and implementation of sophisticated models and analytical tools.</p>
    <p>Insurers must enhance their actuarial capabilities to accurately assess the financial implications of insurance contracts under the new standard, including the estimation of future cash flows, risk adjustments, and discount rates.</p>
    <p>Data and Systems Requirements:</p>
    <p>IFRS 17 places greater demands on insurers’ data management and reporting systems, necessitating the integration of data from disparate sources and the implementation of robust controls and processes.</p>
    <p>Insurers must invest in advanced technology and data analytics capabilities to ensure the timely and accurate measurement, recognition, and disclosure of insurance contracts in compliance with the new standard.</p>
    <p>In summary, the transition from IFRS 4 to IFRS 17 represents a paradigm shift in insurance accounting, with far-reaching implications for insurers’ financial reporting practices and operational processes. By embracing these changes and investing in the necessary analytical and technical capabilities, insurance companies can navigate the complexities of IFRS 17 and position themselves for long-term success in a rapidly evolving regulatory and market environment.</p>
    <sec id="s1">
     <title>2. The Model</title>
    </sec>
    <sec id="s2_3">
     <title>2.1. Motivation</title>
     <p>In IFRS 17, contract classification (for onerous) requires the use of a profitability criterion, often the Loss Ratio, which inherently carries stochastic characteristics. Insurance companies aim for sustainable loss ratios to ensure profitability and financial stability. However, various factors introduce errors and randomness into loss ratio values:</p>
     <p>Claim Estimation Errors;</p>
     <p>Randomness of Loss Events (timing and magnitude);</p>
     <p>Underwriting decisions affecting claim frequency and severity.</p>
     <p>To address these challenges and establish objective contract aggregation criteria, we additionally employ the concept of lumpability, (refer to the Appendix for preliminaries of this concept) which allows certain states to be grouped together without altering the chain’s probabilistic behaviour. That simplifies the Markov chain, creates cohesive sets where states share identical transition probabilities, preserves essential system attributes within grouped states and finally ensures that probabilistic behaviour remains consistent.</p>
     <p>Lumpability enhances contract classification under IFRS 17 by harmonizing contracts with similar attributes, reducing randomness. For example, a contract with a 102% loss ratio (above the critical value of 100%) may be reclassified using lumpability, leading to more favourable profitability categories. It offers a systematic, data-driven approach to forming aggregated states and improves classification precision.</p>
     <p>So, we may form a new problem with a twofold challenge. In addition to the initial proposed partition of states, based on the profitability criterion, we also address the lumpability problem. Consequently, we aim to identify the optimal partition that balances two key objectives:</p>
     <p>Lumpability: Ensuring that the Markov chain can be aggregated into the desired number of states while preserving the Markov property, thereby maintaining the probabilistic behaviour within each aggregated state.</p>
     <p>Partition Optimization: Identifying an optimal partition of the states that minimizes the divergence or distance from the initial suggested partition (based on the profitability criterion of loss ratio). This could involve various distance metrics or criteria based on the specific goals and constraints of the problem.</p>
     <p>To address this two-fold challenge effectively, a combination of mathematical modelling, optimization techniques, and probabilistic analysis is necessary. This approach should aim to find the partition that not only satisfies lumpability but also minimizes the specified distance metric, aligning with the requirements of IFRS 17 or any other regulatory framework.</p>
     <p>In the context of IFRS17 the entity will need to classify its contracts to the three main group categories. As stated above, in a BMS there will be an initial state space S with cardinality 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mrow> 
         <mo>
           | 
         </mo> 
         <mi>
           S 
         </mi> 
         <mo>
           | 
         </mo> 
        </mrow> 
        <mo>
          = 
        </mo> 
        <mi>
          n 
        </mi> 
       </mrow> 
      </math>. Given a profitability criterion the entity will classify the contracts into the three new sets, so let 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <msup> 
        <mi>
          S 
        </mi> 
        <mo>
          ′ 
        </mo> 
       </msup> 
      </math> ( 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mrow> 
         <mo>
           | 
         </mo> 
         <msup> 
          <mi>
            S 
          </mi> 
          <mo>
            ′ 
          </mo> 
         </msup> 
         <mo>
           | 
         </mo> 
        </mrow> 
        <mo>
          = 
        </mo> 
        <mn>
          3 
        </mn> 
       </mrow> 
      </math>).</p>
     <p>However, the profitability boundaries which determine to which of the three new states a contract is classified to, is usually set by a rather subjective instead of an objective criterion. For example, it may be assumed that all contracts which fall in the range of loss ratio values above 100% are classified as onerous at initial recognition. In order to remove this subjectivity and also the stochasticity in setting these boundaries between the new states we need to consider both the lumpability problem but also given the initial rough partition S’, we need to find the best partition, let S<sub>1</sub>, that has the smaller distance from the initial one. In fact, we must adjust the initial partition S’ of S, which was determined without rigorous criteria but probably heuristically.</p>
     <p>The general formulation of the new problem in the context of IFRS17 for the aggregation of contracts regarding a BMS includes the approximate lumpability problem as this was set previously but also adding a second minimization problem.</p>
    </sec>
    <sec id="s2_4">
     <title>2.2. Establishing the Approximate Lumpability Problem with Classification Criterion</title>
     <p>In this subsection, we provide the technical details to formulate our problem in a standard probabilistic framework.</p>
     <p>Let a Markov chain 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          M 
        </mi> 
        <mo>
          = 
        </mo> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mi>
            S 
          </mi> 
          <mo>
            , 
          </mo> 
          <mi>
            P 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math> with transition matrix 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          P 
        </mi> 
        <mo>
          ∈ 
        </mo> 
        <msup> 
         <mi>
           ℝ 
         </mi> 
         <mrow> 
          <mi>
            n 
          </mi> 
          <mo>
            × 
          </mo> 
          <mi>
            n 
          </mi> 
         </mrow> 
        </msup> 
       </mrow> 
      </math>, which is not exactly lumpable with respect to an initial partition S’, with dimension m &lt; n, defined by the corresponding matrices V, U. Let 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           P 
         </mi> 
         <mrow> 
          <mi>
            L 
          </mi> 
          <msup> 
           <mi>
             S 
           </mi> 
           <mo>
             ′ 
           </mo> 
          </msup> 
         </mrow> 
        </msub> 
        <mo>
          ∈ 
        </mo> 
        <msup> 
         <mi>
           ℝ 
         </mi> 
         <mrow> 
          <mi>
            n 
          </mi> 
          <mo>
            × 
          </mo> 
          <mi>
            n 
          </mi> 
         </mrow> 
        </msup> 
       </mrow> 
      </math> the transition matrix of the new Markov chain M’ with same dimensions as M and be exactly lumpable with respect to partition S’ and being as close as possible under some norm with the original one.</p>
     <p>The state space S represents the various driving risk categories within a Bonus-Malus System (BMS), while the transition matrix P serves as the stochastic matrix within this BMS. This matrix encapsulates all the probabilities associated with how an insurance entity transitions policyholders from one risk category to another.</p>
     <p>Given the initial partition S’, with dimension m, let a new partition S<sub>1</sub> with 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mrow> 
         <mo>
           | 
         </mo> 
         <mrow> 
          <msub> 
           <mi>
             S 
           </mi> 
           <mn>
             1 
           </mn> 
          </msub> 
         </mrow> 
         <mo>
           | 
         </mo> 
        </mrow> 
        <mo>
          = 
        </mo> 
        <mrow> 
         <mo>
           | 
         </mo> 
         <msup> 
          <mi>
            S 
          </mi> 
          <mo>
            ′ 
          </mo> 
         </msup> 
         <mo>
           | 
         </mo> 
        </mrow> 
        <mo>
          = 
        </mo> 
        <mi>
          m 
        </mi> 
        <mo>
          &lt; 
        </mo> 
        <mi>
          n 
        </mi> 
       </mrow> 
      </math> and 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           P 
         </mi> 
         <mrow> 
          <mi>
            L 
          </mi> 
          <msub> 
           <mi>
             S 
           </mi> 
           <mn>
             1 
           </mn> 
          </msub> 
         </mrow> 
        </msub> 
        <mo>
          ∈ 
        </mo> 
        <msup> 
         <mi>
           ℝ 
         </mi> 
         <mrow> 
          <mi>
            n 
          </mi> 
          <mo>
            × 
          </mo> 
          <mi>
            n 
          </mi> 
         </mrow> 
        </msup> 
       </mrow> 
      </math> the transition matrix of the new Markov chain 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           M 
         </mi> 
         <mn>
           1 
         </mn> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <msub> 
           <mi>
             S 
           </mi> 
           <mn>
             1 
           </mn> 
          </msub> 
          <mo>
            , 
          </mo> 
          <msub> 
           <mi>
             P 
           </mi> 
           <mrow> 
            <mi>
              L 
            </mi> 
            <msub> 
             <mi>
               S 
             </mi> 
             <mn>
               1 
             </mn> 
            </msub> 
           </mrow> 
          </msub> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math> with same dimensions as M and M’ and be exactly lumpable with respect to partition S<sub>1</sub> and be as close as possible under some norm with the original one but also partition S<sub>1</sub> be at the same time as close as possible, under some other norm, with the initial partition S’.</p>
     <p>So, the Approximate Lumpability Problem with Classification Criterion is defined as follows.</p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mrow> 
          <mi>
            min 
          </mi> 
         </mrow> 
         <mrow> 
          <msub> 
           <mi>
             S 
           </mi> 
           <mi>
             i 
           </mi> 
          </msub> 
          <mo>
            ∈ 
          </mo> 
          <mi>
            ℒ 
          </mi> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mi>
             S 
           </mi> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mrow> 
        </msub> 
        <msup> 
         <mrow> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <mi>
              a 
            </mi> 
            <mo>
              ⋅ 
            </mo> 
            <msub> 
             <mrow> 
              <mrow> 
               <mo>
                 ‖ 
               </mo> 
               <mrow> 
                <mi>
                  P 
                </mi> 
                <mo>
                  − 
                </mo> 
                <msub> 
                 <mi>
                   P 
                 </mi> 
                 <mrow> 
                  <mi>
                    L 
                  </mi> 
                  <msub> 
                   <mi>
                     S 
                   </mi> 
                   <mi>
                     i 
                   </mi> 
                  </msub> 
                 </mrow> 
                </msub> 
               </mrow> 
               <mo>
                 ‖ 
               </mo> 
              </mrow> 
             </mrow> 
             <mn>
               2 
             </mn> 
            </msub> 
            <mo>
              + 
            </mo> 
            <mi>
              b 
            </mi> 
            <mo>
              ⋅ 
            </mo> 
            <mrow> 
             <mo>
               ‖ 
             </mo> 
             <mrow> 
              <msup> 
               <mi>
                 S 
               </mi> 
               <mo>
                 ′ 
               </mo> 
              </msup> 
              <mo>
                − 
              </mo> 
              <msub> 
               <mi>
                 S 
               </mi> 
               <mi>
                 i 
               </mi> 
              </msub> 
             </mrow> 
             <mo>
               ‖ 
             </mo> 
            </mrow> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mrow> 
         <mrow> 
          <mrow> 
           <mn>
             1 
           </mn> 
           <mo>
             / 
           </mo> 
           <mn>
             2 
           </mn> 
          </mrow> 
         </mrow> 
        </msup> 
       </mrow> 
      </math> (1)</p>
     <p>
      <xref ref-type="bibr" rid="scirp.133403-"></xref>where 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          ℒ 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mi>
           S 
         </mi> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math> is the set that contains all possible partitions of the state space S, subject to</p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          V 
        </mi> 
        <mi>
          U 
        </mi> 
        <msub> 
         <mi>
           P 
         </mi> 
         <mrow> 
          <mi>
            L 
          </mi> 
          <msub> 
           <mi>
             S 
           </mi> 
           <mi>
             i 
           </mi> 
          </msub> 
         </mrow> 
        </msub> 
        <mi>
          V 
        </mi> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           P 
         </mi> 
         <mrow> 
          <mi>
            L 
          </mi> 
          <msub> 
           <mi>
             S 
           </mi> 
           <mi>
             i 
           </mi> 
          </msub> 
         </mrow> 
        </msub> 
        <mi>
          V 
        </mi> 
        <mo>
          , 
        </mo> 
        <mtext>
            
        </mtext> 
        <msub> 
         <mi>
           P 
         </mi> 
         <mrow> 
          <mi>
            L 
          </mi> 
          <msub> 
           <mi>
             S 
           </mi> 
           <mi>
             i 
           </mi> 
          </msub> 
         </mrow> 
        </msub> 
        <msub> 
         <mn>
           1 
         </mn> 
         <mi>
           n 
         </mi> 
        </msub> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mn>
           1 
         </mn> 
         <mi>
           n 
         </mi> 
        </msub> 
        <mo>
          , 
        </mo> 
        <mtext>
            
        </mtext> 
        <msub> 
         <mrow> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mi>
             P 
           </mi> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mrow> 
         <mrow> 
          <mi>
            i 
          </mi> 
          <mo>
            , 
          </mo> 
          <mi>
            j 
          </mi> 
         </mrow> 
        </msub> 
        <mo>
          ≥ 
        </mo> 
        <mn>
          0 
        </mn> 
       </mrow> 
      </math> (2)</p>
     <p>The first part of the above equation is the so-called Approximate Lumpability Problem<sup>1</sup>.</p>
     <p>Also, 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mrow> 
          <mrow> 
           <mo>
             ‖ 
           </mo> 
           <mrow> 
            <mtext>
                
            </mtext> 
            <mo>
              ⋅ 
            </mo> 
            <mtext>
                
            </mtext> 
           </mrow> 
           <mo>
             ‖ 
           </mo> 
          </mrow> 
         </mrow> 
         <mn>
           2 
         </mn> 
        </msub> 
       </mrow> 
      </math> denotes the 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msup> 
         <mi>
           ℓ 
         </mi> 
         <mn>
           2 
         </mn> 
        </msup> 
       </mrow> 
      </math> norm and the choice of the norm is indicative and various weighted 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msup> 
         <mi>
           ℓ 
         </mi> 
         <mn>
           2 
         </mn> 
        </msup> 
       </mrow> 
      </math> norms can be considered as it is in the Approximate Lumpability Problem, while 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mrow> 
         <mo>
           ‖ 
         </mo> 
         <mrow> 
          <mtext>
              
          </mtext> 
          <mo>
            ⋅ 
          </mo> 
          <mtext>
              
          </mtext> 
         </mrow> 
         <mo>
           ‖ 
         </mo> 
        </mrow> 
       </mrow> 
      </math> denotes every appropriate vector norm which can calculate the distance (dissimilarity) between two partitions.</p>
     <p>Remark 2.1</p>
     <p>The number of all possible partitions of the original state space depends on the dimension of the original state space but also on the context of the problem. In general, the number of all possible partitions of an n-element set, is the Bell number 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           B 
         </mi> 
         <mi>
           n 
         </mi> 
        </msub> 
       </mrow> 
      </math>. Bell number 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           B 
         </mi> 
         <mi>
           n 
         </mi> 
        </msub> 
       </mrow> 
      </math> represents the number of partitions of a set with n elements. It can be computed using the formula: 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           B 
         </mi> 
         <mi>
           n 
         </mi> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mstyle displaystyle="true"> 
         <msubsup> 
          <mo>
            ∑ 
          </mo> 
          <mrow> 
           <mi>
             k 
           </mi> 
           <mo>
             = 
           </mo> 
           <mn>
             1 
           </mn> 
          </mrow> 
          <mi>
            n 
          </mi> 
         </msubsup> 
         <mrow> 
          <mi>
            S 
          </mi> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <mi>
              n 
            </mi> 
            <mo>
              , 
            </mo> 
            <mi>
              k 
            </mi> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mrow> 
        </mstyle> 
       </mrow> 
      </math> where: 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          S 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mi>
            n 
          </mi> 
          <mo>
            , 
          </mo> 
          <mi>
            k 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math> is a Stirling number of the second kind. The Stirling number of the second kind 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          S 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mi>
            n 
          </mi> 
          <mo>
            , 
          </mo> 
          <mi>
            k 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math>, represents the number of ways to partition a set of n distinguishable objects into k non-empty indistinguishable subsets.</p>
     <p>Lemma 2.1</p>
     <p>Assuming (in line with the typical expectations and standard practice) that only consecutive states can be grouped together, the number of all possible partitions is reduced to 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mstyle displaystyle="true"> 
         <msubsup> 
          <mo>
            ∑ 
          </mo> 
          <mrow> 
           <mi>
             k 
           </mi> 
           <mo>
             = 
           </mo> 
           <mi>
             m 
           </mi> 
           <mo>
             − 
           </mo> 
           <mn>
             1 
           </mn> 
          </mrow> 
          <mrow> 
           <mi>
             n 
           </mi> 
           <mo>
             − 
           </mo> 
           <mn>
             1 
           </mn> 
          </mrow> 
         </msubsup> 
         <mrow> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <mi>
              n 
            </mi> 
            <mo>
              − 
            </mo> 
            <mi>
              k 
            </mi> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mrow> 
        </mstyle> 
        <mo>
          = 
        </mo> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mtable> 
           <mtr> 
            <mtd> 
             <mrow> 
              <mi>
                n 
              </mi> 
              <mo>
                − 
              </mo> 
              <mn>
                1 
              </mn> 
             </mrow> 
            </mtd> 
           </mtr> 
           <mtr> 
            <mtd> 
             <mrow> 
              <mi>
                m 
              </mi> 
              <mo>
                − 
              </mo> 
              <mn>
                1 
              </mn> 
             </mrow> 
            </mtd> 
           </mtr> 
          </mtable> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math>, since the number of the new sets m is predetermined, usually m = 3, as IFRS 17 allows further aggregation of the sets apart from the main three categories which is the default requirement. Thus, the number of all possible partitions in our model is</p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mstyle displaystyle="true"> 
         <msubsup> 
          <mo>
            ∑ 
          </mo> 
          <mrow> 
           <mi>
             k 
           </mi> 
           <mo>
             = 
           </mo> 
           <mn>
             2 
           </mn> 
          </mrow> 
          <mrow> 
           <mi>
             n 
           </mi> 
           <mo>
             − 
           </mo> 
           <mn>
             1 
           </mn> 
          </mrow> 
         </msubsup> 
         <mrow> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <mi>
              n 
            </mi> 
            <mo>
              − 
            </mo> 
            <mi>
              k 
            </mi> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mrow> 
        </mstyle> 
        <mo>
          = 
        </mo> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mtable> 
           <mtr> 
            <mtd> 
             <mrow> 
              <mi>
                n 
              </mi> 
              <mo>
                − 
              </mo> 
              <mn>
                1 
              </mn> 
             </mrow> 
            </mtd> 
           </mtr> 
           <mtr> 
            <mtd> 
             <mn>
               2 
             </mn> 
            </mtd> 
           </mtr> 
          </mtable> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math>.</p>
     <p>Proof</p>
     <p>The left-hand side of this result can be obtained by a step reasoning where an n-dimensional vector can be cut either after:</p>
     <p>The 1<sup>st</sup> element to formulate the 1<sup>st</sup> group leaving n-2 possible choices to formulate the 2<sup>nd</sup> group or</p>
     <p>The 2<sup>nd</sup> element to formulate the 1<sup>st</sup> group leaving n − 1 possible choices to formulate the 2<sup>nd</sup> group or</p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mo>
         ⋮ 
       </mo> 
      </math></p>
     <p>The (n − 2)-nd element to formulate the 1<sup>st</sup> group leaving only 1 possible choice to formulate the 2<sup>nd</sup> group.</p>
     <p>And since all possible outcomes are disjoint then according to the Addition Principle, we end up to 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mstyle displaystyle="true"> 
         <msubsup> 
          <mo>
            ∑ 
          </mo> 
          <mrow> 
           <mi>
             k 
           </mi> 
           <mo>
             = 
           </mo> 
           <mn>
             2 
           </mn> 
          </mrow> 
          <mrow> 
           <mi>
             n 
           </mi> 
           <mo>
             − 
           </mo> 
           <mn>
             1 
           </mn> 
          </mrow> 
         </msubsup> 
         <mrow> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <mi>
              n 
            </mi> 
            <mo>
              − 
            </mo> 
            <mi>
              k 
            </mi> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mrow> 
        </mstyle> 
        <mo>
          = 
        </mo> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mtable> 
           <mtr> 
            <mtd> 
             <mrow> 
              <mi>
                n 
              </mi> 
              <mo>
                − 
              </mo> 
              <mn>
                1 
              </mn> 
             </mrow> 
            </mtd> 
           </mtr> 
           <mtr> 
            <mtd> 
             <mn>
               2 
             </mn> 
            </mtd> 
           </mtr> 
          </mtable> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math>.</p>
     <p>For the right-hand side of the equation the approach used to tackle the issue is the following:</p>
     <p>Let x, y, and z represent the number of elements to be allocated in each of the three sets.</p>
     <p>The constraints are:</p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          x 
        </mi> 
        <mo>
          + 
        </mo> 
        <mi>
          y 
        </mi> 
        <mo>
          + 
        </mo> 
        <mi>
          z 
        </mi> 
        <mo>
          = 
        </mo> 
        <mrow> 
         <mo>
           | 
         </mo> 
         <mi>
           S 
         </mi> 
         <mo>
           | 
         </mo> 
        </mrow> 
        <mo>
          = 
        </mo> 
        <mi>
          n 
        </mi> 
       </mrow> 
      </math> (since all elements must be distributed).</p>
     <p>x, y, and z are positive integers (since each set must be non-empty).</p>
     <p>To calculate the number of solutions to this equation, the so-called “Stars and Bars” combinatorial technique with restricted partitions can be used. The formula for the number of solutions is: the number of combinations where to choose m − 1 from n − 1: 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mtable> 
           <mtr> 
            <mtd> 
             <mrow> 
              <mi>
                n 
              </mi> 
              <mo>
                − 
              </mo> 
              <mn>
                1 
              </mn> 
             </mrow> 
            </mtd> 
           </mtr> 
           <mtr> 
            <mtd> 
             <mrow> 
              <mi>
                m 
              </mi> 
              <mo>
                − 
              </mo> 
              <mn>
                1 
              </mn> 
             </mrow> 
            </mtd> 
           </mtr> 
          </mtable> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math>.</p>
     <p>
      <xref ref-type="bibr" rid="scirp.133403-"></xref>Therefore, this will be the number of all possible partitions of a set with n consecutive elements into three distinct sets, with each set containing consecutive elements □.</p>
     <p>The lemma above implies that when partitioning a state space of 20 states into three sets (IFRS17 groups of contracts), we can derive 171 possible partitions.</p>
     <p>Hence, our original minimization problem described in expression (1) under the constraintς (2) may be treated and solved under the following theorem.</p>
     <p>Theorem 2.1 For the discrete optimization problem defined as follows, where 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          ℒ 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mi>
           S 
         </mi> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math> is a finite set containing all possible partitions of the state space S:</p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mrow> 
          <mi>
            min 
          </mi> 
         </mrow> 
         <mrow> 
          <msub> 
           <mi>
             S 
           </mi> 
           <mi>
             i 
           </mi> 
          </msub> 
          <mo>
            ∈ 
          </mo> 
          <mi>
            ℒ 
          </mi> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mi>
             S 
           </mi> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mrow> 
        </msub> 
        <msup> 
         <mrow> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <mi>
              a 
            </mi> 
            <mo>
              ⋅ 
            </mo> 
            <msub> 
             <mrow> 
              <mrow> 
               <mo>
                 ‖ 
               </mo> 
               <mrow> 
                <mi>
                  P 
                </mi> 
                <mo>
                  − 
                </mo> 
                <msub> 
                 <mi>
                   P 
                 </mi> 
                 <mrow> 
                  <mi>
                    L 
                  </mi> 
                  <msub> 
                   <mi>
                     S 
                   </mi> 
                   <mi>
                     i 
                   </mi> 
                  </msub> 
                 </mrow> 
                </msub> 
               </mrow> 
               <mo>
                 ‖ 
               </mo> 
              </mrow> 
             </mrow> 
             <mn>
               2 
             </mn> 
            </msub> 
            <mo>
              + 
            </mo> 
            <mi>
              b 
            </mi> 
            <mo>
              ⋅ 
            </mo> 
            <mrow> 
             <mo>
               ‖ 
             </mo> 
             <mrow> 
              <msup> 
               <mi>
                 S 
               </mi> 
               <mo>
                 ′ 
               </mo> 
              </msup> 
              <mo>
                − 
              </mo> 
              <msub> 
               <mi>
                 S 
               </mi> 
               <mi>
                 i 
               </mi> 
              </msub> 
             </mrow> 
             <mo>
               ‖ 
             </mo> 
            </mrow> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mrow> 
         <mrow> 
          <mrow> 
           <mn>
             1 
           </mn> 
           <mo>
             / 
           </mo> 
           <mn>
             2 
           </mn> 
          </mrow> 
         </mrow> 
        </msup> 
       </mrow> 
      </math> (1)</p>
     <p>subject to the constraints:</p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          V 
        </mi> 
        <mi>
          U 
        </mi> 
        <msub> 
         <mi>
           P 
         </mi> 
         <mrow> 
          <mi>
            L 
          </mi> 
          <msub> 
           <mi>
             S 
           </mi> 
           <mi>
             i 
           </mi> 
          </msub> 
         </mrow> 
        </msub> 
        <mi>
          V 
        </mi> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           P 
         </mi> 
         <mrow> 
          <mi>
            L 
          </mi> 
          <msub> 
           <mi>
             S 
           </mi> 
           <mi>
             i 
           </mi> 
          </msub> 
         </mrow> 
        </msub> 
        <mi>
          V 
        </mi> 
       </mrow> 
      </math> (2a)</p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           P 
         </mi> 
         <mrow> 
          <mi>
            L 
          </mi> 
          <msub> 
           <mi>
             S 
           </mi> 
           <mi>
             i 
           </mi> 
          </msub> 
         </mrow> 
        </msub> 
        <msub> 
         <mn>
           1 
         </mn> 
         <mi>
           n 
         </mi> 
        </msub> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mn>
           1 
         </mn> 
         <mi>
           n 
         </mi> 
        </msub> 
       </mrow> 
      </math> (2b)</p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mrow> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mi>
             P 
           </mi> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mrow> 
         <mrow> 
          <mi>
            i 
          </mi> 
          <mo>
            , 
          </mo> 
          <mi>
            j 
          </mi> 
         </mrow> 
        </msub> 
        <mo>
          ≥ 
        </mo> 
        <mn>
          0 
        </mn> 
       </mrow> 
      </math> (2c)</p>
     <p>As the 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          ℒ 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mi>
           S 
         </mi> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math> set is finite, the algorithm below successfully finds the optimal solution to this discrete optimization problem that satisfies both the objective function (1) and the constraints (2a), (2b) and (2c) for any given state space S, where 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          ℒ 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mi>
           S 
         </mi> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math> is a finite set of possible partitions. This is viable by the standard mathematical method of exhaustion for all possible partitions.</p>
     <p>Proof</p>
     <p>By taking into consideration the finite set of partitions and the discrete nature of the function the following algorithm capitalizes on these characteristics to find an optimal solution.</p>
     <p>Algorithm</p>
     <p>Step 1: Find the Lumpability matrix 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           P 
         </mi> 
         <mi>
           L 
         </mi> 
        </msub> 
       </mrow> 
      </math> for the initial partition S’ given, based on some profitability criterion by the use of the Approximate Lumpability Method;</p>
     <p>Step 2: For every single partition 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           S 
         </mi> 
         <mi>
           i 
         </mi> 
        </msub> 
        <mo>
          , 
        </mo> 
        <mi>
          i 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          1 
        </mn> 
        <mo>
          , 
        </mo> 
        <mo>
          ⋯ 
        </mo> 
        <mo>
          , 
        </mo> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mtable> 
           <mtr> 
            <mtd> 
             <mrow> 
              <mi>
                n 
              </mi> 
              <mo>
                − 
              </mo> 
              <mn>
                1 
              </mn> 
             </mrow> 
            </mtd> 
           </mtr> 
           <mtr> 
            <mtd> 
             <mrow> 
              <mi>
                m 
              </mi> 
              <mo>
                − 
              </mo> 
              <mn>
                1 
              </mn> 
             </mrow> 
            </mtd> 
           </mtr> 
          </mtable> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math> of the original state space S find the respective Lumpability matrices 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           P 
         </mi> 
         <mrow> 
          <mi>
            L 
          </mi> 
          <mi>
            i 
          </mi> 
         </mrow> 
        </msub> 
       </mrow> 
      </math> as in step 1;</p>
     <p>Step 3: For each partition in step 2 calculate their respective partition error as their distance from the initial partition S’;</p>
     <p>Step 4: Based on Equation (1) select the optimal partition S<sub>1</sub> and its relative Lumpability matrix which is lumpable in respect with partition S<sub>1</sub> to the original transition matrix P.</p>
     <p>
      <xref ref-type="bibr" rid="scirp.133403-"></xref>Our algorithm is built upon the Approximate Lumpability algorithm, originally developed by Geogriou et al. <xref ref-type="bibr" rid="scirp.133403-2">
       (Georgiou, Domazakis, Pappas, &amp; Yannacopoulos, 2021)
      </xref>. Specifically, our algorithm incorporates the pre-existing Approximate Lumpability algorithm, which is applied iteratively as a viable alternative to the exceedingly rare exact lumpability property. Our novel algorithm extends the previous one by introducing two additional steps: Step 3 for estimating the partition error and Step 4 for making the optimal choice. For a more comprehensive understanding, we recommend referring to <xref ref-type="bibr" rid="scirp.133403-7">
       (Loizides &amp; Yannacopoulos, 2012)
      </xref> and <xref ref-type="bibr" rid="scirp.133403-#HYPERLINK  l R02">
       (Georgiou, Domazakis, Pappas, &amp; Yannacopoulos, 2021)
      </xref>. The complete Approximate Lumpability Problem algorithm can be found in <xref ref-type="bibr" rid="scirp.133403-2">
       (Georgiou, Domazakis, Pappas, &amp; Yannacopoulos, 2021)
      </xref>.</p>
     <p>Hence, we have constructed a synoptic algorithm for solving the problem of aggregation into three categories considering profitability of contracts while also the stochastic structure of the states of BMS model.</p>
    </sec>
   </sec>
   <sec id="s3">
    <title>3. Applications in IFRS 17 Modelling</title>
    <p>In this section, we apply the proposed methodology to the context of IFRS17 for contract classification. We begin with an initial partition of the state space and then apply the new method to various stochastic matrices to analyse its impact and sensitivity. To illustrate our findings and convey our concepts effectively, we choose a Bonus-Malus System (BMS) with 20 states governed by the transition matrix, as a representative insurance system. Let the state space 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         S 
       </mi> 
       <mo>
         = 
       </mo> 
       <mrow> 
        <mo>
          { 
        </mo> 
        <mrow> 
         <mn>
           1 
         </mn> 
         <mo>
           , 
         </mo> 
         <mn>
           2 
         </mn> 
         <mo>
           , 
         </mo> 
         <mn>
           3 
         </mn> 
         <mo>
           , 
         </mo> 
         <mo>
           ⋯ 
         </mo> 
         <mo>
           , 
         </mo> 
         <mn>
           20 
         </mn> 
        </mrow> 
        <mo>
          } 
        </mo> 
       </mrow> 
      </mrow> 
     </math>. State 1 represents the super-Bonus state, where the best drivers are classified, while, conversely, state 20 represents the super-malus state.</p>
    <sec id="s3_1">
     <title>3.1. Description</title>
     <p>In all subsequent applications, a state space consisting of 20 states is considered. Consequently, the respective transition matrices have dimensions of 20 × 20.</p>
     <p>Ten variations of transition matrices are considered in total. Three different initial transition matrix forms are utilized, corresponding to matrix indices 11, 21, and 31. The remaining seven matrices are derived from simple variations of these initial forms. Therefore, we can categorize these matrices into three groups, as shown in the following <xref ref-type="table" rid="table1">
       Table 1
      </xref>.</p>
     <p>The first group comprises of a tridiagonal matrix (11) along with three variations of it. This matrix implies that the transition rules only allow movements between consecutive states, either to an immediately better state or an immediately worse one compared to the current state.</p>
     <p>In its first variation (12), the last state (state 20), representing the super-malus stage, is treated as an absorbing state, with no other changes from (11). In the second variation (13), the initial matrix includes non-zero transition probabilities for the last state, which can be interpreted as a shift in the transition rules of the BMS, allowing immediate penalty under certain conditions for its policyholders. The last variation (14) is identical to the previous one but designates only the 20th state as an absorbing state. These three similar variations also apply to the initial matrix of the second group (21), producing the rest of its matrices (22, 23, 24).</p>
     <p>Matrix (21) exhibits a banded-like structure, starting with an “almost tridiagonal” form that gradually includes more non-zero elements as you progress through the states. As you move along more states, additional non-zero elements appear beyond the three main diagonals, creating a broader pattern of non-zero elements. This expansion of non-zero elements beyond the initial tridiagonal structure results in a band-like pattern in the matrix, which can be regarded as a “block tridiagonal matrix.” This suggests that the transition rules of the BMS differ from those in the previous group (Group 1), or that the transition probabilities have been empirically estimated to indicate real transitions between these states. The gradual emergence of non-zero elements beyond the initial tridiagonal structure indicates an increasing level of complexity or interconnectedness between the states as you traverse the matrix. Describing it as a banded matrix or a block tridiagonal matrix highlights these specific structural characteristics.</p>
     <p>Finally, the initial matrix of the last group (31) is an upper tridiagonal matrix, with the only variation considered being the introduction of the absorbing super-malus state (32).</p>
     <table-wrap id="table1">
      <label>
       <xref ref-type="table" rid="table1">
        Table 1
       </xref></label>
      <caption>
       <title>
        <xref ref-type="bibr" rid="scirp.133403-"></xref>Table 1. Description of transition matrices.</title>
      </caption>
      <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
       <tr> 
        <td class="custom-bottom-td acenter" width="10.27%"><p style="text-align:center">Group</p></td> 
        <td class="custom-bottom-td acenter" width="12.81%"><p style="text-align:center">Matrix Index</p></td> 
        <td class="custom-bottom-td acenter" width="76.92%"><p style="text-align:center">Description</p></td> 
       </tr> 
       <tr> 
        <td class="custom-top-td acenter" width="10.27%"><p style="text-align:center">1</p></td> 
        <td class="custom-top-td acenter" width="12.81%"><p style="text-align:center">11</p></td> 
        <td class="custom-top-td aleft" width="76.92%"><p style="text-align:left">Tridiagonal with no absorbing states</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="10.27%"><p style="text-align:center">1</p></td> 
        <td class="acenter" width="12.81%"><p style="text-align:center">12</p></td> 
        <td class="aleft" width="76.92%"><p style="text-align:left">Tridiagonal with absorbing state (super-malus class)</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="10.27%"><p style="text-align:center">1</p></td> 
        <td class="acenter" width="12.81%"><p style="text-align:center">13</p></td> 
        <td class="aleft" width="76.92%"><p style="text-align:left">Tridiagonal with non-zero values in the last column/allows sudden transitions to the super malus class</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="10.27%"><p style="text-align:center">1</p></td> 
        <td class="acenter" width="12.81%"><p style="text-align:center">14</p></td> 
        <td class="aleft" width="76.92%"><p style="text-align:left">Tridiagonal with non-zero values in the last column/allows sudden transitions to the super malus class &amp; absorbing state (super malus class)</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="10.27%"><p style="text-align:center">2</p></td> 
        <td class="acenter" width="12.81%"><p style="text-align:center">21</p></td> 
        <td class="aleft" width="76.92%"><p style="text-align:left">Banded matrix/Block tridiagonal matrix with no absorbing states</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="10.27%"><p style="text-align:center">2</p></td> 
        <td class="acenter" width="12.81%"><p style="text-align:center">22</p></td> 
        <td class="aleft" width="76.92%"><p style="text-align:left">Banded matrix/Block tridiagonal matrix with absorbing state (super-malus class)</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="10.27%"><p style="text-align:center">2</p></td> 
        <td class="acenter" width="12.81%"><p style="text-align:center">23</p></td> 
        <td class="aleft" width="76.92%"><p style="text-align:left">Banded matrix/Block tridiagonal matrix with non-zero values in the last column/allows sudden transitions to the super malus class</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="10.27%"><p style="text-align:center">2</p></td> 
        <td class="acenter" width="12.81%"><p style="text-align:center">24</p></td> 
        <td class="aleft" width="76.92%"><p style="text-align:left">Banded matrix/Block tridiagonal matrix with non-zero values in the last column/allows sudden transitions to the super malus class &amp; absorbing state (super malus class)</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="10.27%"><p style="text-align:center">3</p></td> 
        <td class="acenter" width="12.81%"><p style="text-align:center">31</p></td> 
        <td class="aleft" width="76.92%"><p style="text-align:left">Upper triagnular matrix with no absorbing states</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="10.27%"><p style="text-align:center">3</p></td> 
        <td class="acenter" width="12.81%"><p style="text-align:center">32</p></td> 
        <td class="aleft" width="76.92%"><p style="text-align:left">Upper triagnular matrix with absorbing state (super-malus class)</p></td> 
       </tr> 
      </table>
     </table-wrap>
     <p>The selection of the metric is important since there is a potential impact on the results. A distance metric, widely used in a range of problems is the Wassertstein distance. It is a representative and ordinary distance metric which can ensure the validity of the results.</p>
     <p>As this metric is a distance function between probability distributions, we convert all the partitions to probability distributions by assigning probabilities to each set of the reference partition based on different rules for each set of them.</p>
     <p>Remark 3.1</p>
     <p>The probabilities are assigned to each state i which belongs to the j-th set of the Reference Partition as a function of their respective Loss Ratio ( 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          L 
        </mi> 
        <msub> 
         <mi>
           R 
         </mi> 
         <mi>
           i 
         </mi> 
        </msub> 
       </mrow> 
      </math>).</p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          p 
        </mi> 
        <mi>
          r 
        </mi> 
        <mi>
          o 
        </mi> 
        <mi>
          b 
        </mi> 
        <mi>
          a 
        </mi> 
        <mi>
          b 
        </mi> 
        <mi>
          i 
        </mi> 
        <mi>
          l 
        </mi> 
        <mi>
          i 
        </mi> 
        <mi>
          t 
        </mi> 
        <mi>
          i 
        </mi> 
        <mi>
          e 
        </mi> 
        <msub> 
         <mi>
           s 
         </mi> 
         <mn>
           1 
         </mn> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mfrac> 
         <mn>
           1 
         </mn> 
         <mrow> 
          <mn>
            1 
          </mn> 
          <mo>
            + 
          </mo> 
          <mi>
            L 
          </mi> 
          <msub> 
           <mi>
             R 
           </mi> 
           <mi>
             i 
           </mi> 
          </msub> 
         </mrow> 
        </mfrac> 
        <mo>
          , 
        </mo> 
        <mtext>
            
        </mtext> 
        <mo>
          ∀ 
        </mo> 
        <mi>
          s 
        </mi> 
        <mi>
          t 
        </mi> 
        <mi>
          a 
        </mi> 
        <mi>
          t 
        </mi> 
        <mi>
          e 
        </mi> 
        <mtext> 
        </mtext> 
        <mi>
          i 
        </mi> 
        <mo>
          ∈ 
        </mo> 
        <mi>
          s 
        </mi> 
        <mi>
          e 
        </mi> 
        <mi>
          t 
        </mi> 
        <mn>
          1 
        </mn> 
       </mrow> 
      </math></p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          p 
        </mi> 
        <mi>
          r 
        </mi> 
        <mi>
          o 
        </mi> 
        <mi>
          b 
        </mi> 
        <mi>
          a 
        </mi> 
        <mi>
          b 
        </mi> 
        <mi>
          i 
        </mi> 
        <mi>
          l 
        </mi> 
        <mi>
          i 
        </mi> 
        <mi>
          t 
        </mi> 
        <mi>
          e 
        </mi> 
        <msub> 
         <mi>
           s 
         </mi> 
         <mn>
           2 
         </mn> 
        </msub> 
        <mo>
          ~ 
        </mo> 
        <mi>
          t 
        </mi> 
        <mi>
          r 
        </mi> 
        <mo>
          . 
        </mo> 
        <mi>
          n 
        </mi> 
        <mi>
          o 
        </mi> 
        <mi>
          r 
        </mi> 
        <mi>
          m 
        </mi> 
        <mi>
          a 
        </mi> 
        <mi>
          l 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mi>
            μ 
          </mi> 
          <mo>
            , 
          </mo> 
          <msup> 
           <mi>
             σ 
           </mi> 
           <mn>
             2 
           </mn> 
          </msup> 
          <mo>
            , 
          </mo> 
          <mi>
            a 
          </mi> 
          <mo>
            , 
          </mo> 
          <mi>
            b 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
        <mo>
          ∗ 
        </mo> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mn>
            1 
          </mn> 
          <mo>
            − 
          </mo> 
          <msup> 
           <mstyle mathsize="140%" displaystyle="true"> 
            <mo>
              ∑ 
            </mo> 
           </mstyle> 
           <mtext>
             ​ 
           </mtext> 
          </msup> 
          <mtext>
              
          </mtext> 
          <mtext>
              
          </mtext> 
          <mi>
            p 
          </mi> 
          <mi>
            r 
          </mi> 
          <mi>
            o 
          </mi> 
          <mi>
            b 
          </mi> 
          <mi>
            a 
          </mi> 
          <mi>
            b 
          </mi> 
          <mi>
            i 
          </mi> 
          <mi>
            l 
          </mi> 
          <mi>
            i 
          </mi> 
          <mi>
            t 
          </mi> 
          <mi>
            i 
          </mi> 
          <mi>
            e 
          </mi> 
          <msub> 
           <mi>
             s 
           </mi> 
           <mn>
             1 
           </mn> 
          </msub> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
        <mo>
          , 
        </mo> 
        <mtext>
            
        </mtext> 
        <mo>
          ∀ 
        </mo> 
        <mi>
          s 
        </mi> 
        <mi>
          t 
        </mi> 
        <mi>
          a 
        </mi> 
        <mi>
          t 
        </mi> 
        <mi>
          e 
        </mi> 
        <mtext> 
        </mtext> 
        <mi>
          i 
        </mi> 
        <mo>
          ∈ 
        </mo> 
        <mi>
          s 
        </mi> 
        <mi>
          e 
        </mi> 
        <mi>
          t 
        </mi> 
        <mn>
          2 
        </mn> 
       </mrow> 
      </math></p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          μ 
        </mi> 
        <mo>
          = 
        </mo> 
        <mi>
          m 
        </mi> 
        <mi>
          e 
        </mi> 
        <mi>
          a 
        </mi> 
        <mi>
          n 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mi>
            L 
          </mi> 
          <msub> 
           <mi>
             R 
           </mi> 
           <mrow> 
            <mi>
              R 
            </mi> 
            <mi>
              e 
            </mi> 
            <mi>
              f 
            </mi> 
            <mo>
              . 
            </mo> 
            <mi>
              S 
            </mi> 
            <mi>
              e 
            </mi> 
            <mi>
              t 
            </mi> 
            <mn>
              2 
            </mn> 
           </mrow> 
          </msub> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math></p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msup> 
         <mi>
           σ 
         </mi> 
         <mn>
           2 
         </mn> 
        </msup> 
        <mo>
          = 
        </mo> 
        <mi>
          v 
        </mi> 
        <mi>
          a 
        </mi> 
        <mi>
          r 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mi>
            L 
          </mi> 
          <msub> 
           <mi>
             R 
           </mi> 
           <mrow> 
            <mi>
              R 
            </mi> 
            <mi>
              e 
            </mi> 
            <mi>
              f 
            </mi> 
            <mo>
              . 
            </mo> 
            <mi>
              S 
            </mi> 
            <mi>
              e 
            </mi> 
            <mi>
              t 
            </mi> 
            <mn>
              2 
            </mn> 
           </mrow> 
          </msub> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math></p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          a 
        </mi> 
        <mo>
          = 
        </mo> 
        <mi>
          m 
        </mi> 
        <mi>
          i 
        </mi> 
        <mi>
          n 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mi>
            L 
          </mi> 
          <msub> 
           <mi>
             R 
           </mi> 
           <mrow> 
            <mi>
              R 
            </mi> 
            <mi>
              e 
            </mi> 
            <mi>
              f 
            </mi> 
            <mo>
              . 
            </mo> 
            <mi>
              S 
            </mi> 
            <mi>
              e 
            </mi> 
            <mi>
              t 
            </mi> 
            <mn>
              2 
            </mn> 
           </mrow> 
          </msub> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math></p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          b 
        </mi> 
        <mo>
          = 
        </mo> 
        <mi>
          m 
        </mi> 
        <mi>
          a 
        </mi> 
        <mi>
          x 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mi>
            L 
          </mi> 
          <msub> 
           <mi>
             R 
           </mi> 
           <mrow> 
            <mi>
              R 
            </mi> 
            <mi>
              e 
            </mi> 
            <mi>
              f 
            </mi> 
            <mo>
              . 
            </mo> 
            <mi>
              S 
            </mi> 
            <mi>
              e 
            </mi> 
            <mi>
              t 
            </mi> 
            <mn>
              2 
            </mn> 
           </mrow> 
          </msub> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math></p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          p 
        </mi> 
        <mi>
          r 
        </mi> 
        <mi>
          o 
        </mi> 
        <mi>
          b 
        </mi> 
        <mi>
          a 
        </mi> 
        <mi>
          b 
        </mi> 
        <mi>
          i 
        </mi> 
        <mi>
          l 
        </mi> 
        <mi>
          i 
        </mi> 
        <mi>
          t 
        </mi> 
        <mi>
          i 
        </mi> 
        <mi>
          e 
        </mi> 
        <msub> 
         <mi>
           s 
         </mi> 
         <mn>
           3 
         </mn> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mn>
            1 
          </mn> 
          <mo>
            − 
          </mo> 
          <msup> 
           <mstyle mathsize="140%" displaystyle="true"> 
            <mo>
              ∑ 
            </mo> 
           </mstyle> 
           <mtext>
             ​ 
           </mtext> 
          </msup> 
          <mtext>
              
          </mtext> 
          <mtext>
              
          </mtext> 
          <mi>
            p 
          </mi> 
          <mi>
            r 
          </mi> 
          <mi>
            o 
          </mi> 
          <mi>
            b 
          </mi> 
          <mi>
            a 
          </mi> 
          <mi>
            b 
          </mi> 
          <mi>
            i 
          </mi> 
          <mi>
            l 
          </mi> 
          <mi>
            i 
          </mi> 
          <mi>
            t 
          </mi> 
          <mi>
            i 
          </mi> 
          <mi>
            e 
          </mi> 
          <msub> 
           <mi>
             s 
           </mi> 
           <mn>
             1 
           </mn> 
          </msub> 
          <mo>
            − 
          </mo> 
          <msup> 
           <mstyle mathsize="140%" displaystyle="true"> 
            <mo>
              ∑ 
            </mo> 
           </mstyle> 
           <mtext>
             ​ 
           </mtext> 
          </msup> 
          <mtext>
              
          </mtext> 
          <mtext>
              
          </mtext> 
          <mi>
            p 
          </mi> 
          <mi>
            r 
          </mi> 
          <mi>
            o 
          </mi> 
          <mi>
            b 
          </mi> 
          <mi>
            a 
          </mi> 
          <mi>
            b 
          </mi> 
          <mi>
            i 
          </mi> 
          <mi>
            l 
          </mi> 
          <mi>
            i 
          </mi> 
          <mi>
            t 
          </mi> 
          <mi>
            i 
          </mi> 
          <mi>
            e 
          </mi> 
          <msub> 
           <mi>
             s 
           </mi> 
           <mn>
             2 
           </mn> 
          </msub> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
        <mo>
          ⋅ 
        </mo> 
        <mfrac> 
         <mn>
           1 
         </mn> 
         <mrow> 
          <mn>
            1 
          </mn> 
          <mo>
            + 
          </mo> 
          <msup> 
           <mi>
             e 
           </mi> 
           <mrow> 
            <mo>
              − 
            </mo> 
            <mi>
              p 
            </mi> 
            <mi>
              e 
            </mi> 
            <mi>
              n 
            </mi> 
            <mi>
              a 
            </mi> 
            <mi>
              l 
            </mi> 
            <mi>
              t 
            </mi> 
            <mi>
              y 
            </mi> 
           </mrow> 
          </msup> 
         </mrow> 
        </mfrac> 
        <mo>
          ⋅ 
        </mo> 
        <mi>
          S 
        </mi> 
        <mi>
          F 
        </mi> 
       </mrow> 
      </math></p>
     <p>where, SF (Scaling Factor) = 0.5 and 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          p 
        </mi> 
        <mi>
          e 
        </mi> 
        <mi>
          n 
        </mi> 
        <mi>
          a 
        </mi> 
        <mi>
          l 
        </mi> 
        <mi>
          t 
        </mi> 
        <mi>
          y 
        </mi> 
        <mo>
          = 
        </mo> 
        <msup> 
         <mi>
           e 
         </mi> 
         <mrow> 
          <mi>
            L 
          </mi> 
          <msub> 
           <mi>
             R 
           </mi> 
           <mi>
             i 
           </mi> 
          </msub> 
          <mo>
            − 
          </mo> 
          <mn>
            101 
          </mn> 
         </mrow> 
        </msup> 
        <mo>
          , 
        </mo> 
        <mtext>
            
        </mtext> 
        <mo>
          ∀ 
        </mo> 
        <mi>
          i 
        </mi> 
        <mo>
          ∈ 
        </mo> 
        <mi>
          s 
        </mi> 
        <mi>
          e 
        </mi> 
        <mi>
          t 
        </mi> 
        <mn>
          3 
        </mn> 
       </mrow> 
      </math>.</p>
     <p>Probabilities are normalized as:</p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          n 
        </mi> 
        <mi>
          o 
        </mi> 
        <mi>
          r 
        </mi> 
        <mi>
          m 
        </mi> 
        <mi>
          a 
        </mi> 
        <mi>
          l 
        </mi> 
        <mi>
          i 
        </mi> 
        <mi>
          z 
        </mi> 
        <mi>
          e 
        </mi> 
        <mi>
          d 
        </mi> 
        <mtext> 
        </mtext> 
        <mi>
          p 
        </mi> 
        <mi>
          r 
        </mi> 
        <mi>
          o 
        </mi> 
        <mi>
          b 
        </mi> 
        <msub> 
         <mi>
           s 
         </mi> 
         <mi>
           j 
         </mi> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mfrac> 
         <mrow> 
          <mi>
            p 
          </mi> 
          <mi>
            r 
          </mi> 
          <mi>
            o 
          </mi> 
          <mi>
            b 
          </mi> 
          <mi>
            a 
          </mi> 
          <mi>
            b 
          </mi> 
          <mi>
            i 
          </mi> 
          <mi>
            l 
          </mi> 
          <mi>
            i 
          </mi> 
          <mi>
            t 
          </mi> 
          <mi>
            i 
          </mi> 
          <mi>
            e 
          </mi> 
          <msub> 
           <mi>
             s 
           </mi> 
           <mi>
             j 
           </mi> 
          </msub> 
         </mrow> 
         <mrow> 
          <msup> 
           <mstyle mathsize="140%" displaystyle="true"> 
            <mo>
              ∑ 
            </mo> 
           </mstyle> 
           <mtext>
             ​ 
           </mtext> 
          </msup> 
          <mtext>
              
          </mtext> 
          <mtext>
              
          </mtext> 
          <mi>
            p 
          </mi> 
          <mi>
            r 
          </mi> 
          <mi>
            o 
          </mi> 
          <mi>
            b 
          </mi> 
          <mi>
            a 
          </mi> 
          <mi>
            b 
          </mi> 
          <mi>
            i 
          </mi> 
          <mi>
            l 
          </mi> 
          <mi>
            i 
          </mi> 
          <mi>
            t 
          </mi> 
          <mi>
            i 
          </mi> 
          <mi>
            e 
          </mi> 
          <mi>
            s 
          </mi> 
         </mrow> 
        </mfrac> 
        <mo>
          , 
        </mo> 
        <mi>
          j 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          1 
        </mn> 
        <mo>
          , 
        </mo> 
        <mn>
          2 
        </mn> 
        <mo>
          , 
        </mo> 
        <mn>
          3 
        </mn> 
       </mrow> 
      </math></p>
     <p>And the probability distribution of the reference set is:</p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mtable columnalign="left"> 
        <mtr> 
         <mtd> 
          <mi>
            d 
          </mi> 
          <mi>
            i 
          </mi> 
          <mi>
            s 
          </mi> 
          <mi>
            t 
          </mi> 
          <mi>
            r 
          </mi> 
          <mi>
            i 
          </mi> 
          <mi>
            b 
          </mi> 
          <mi>
            u 
          </mi> 
          <mi>
            t 
          </mi> 
          <mi>
            i 
          </mi> 
          <mi>
            o 
          </mi> 
          <msub> 
           <mi>
             n 
           </mi> 
           <mrow> 
            <msub> 
             <mi>
               S 
             </mi> 
             <mi>
               R 
             </mi> 
            </msub> 
           </mrow> 
          </msub> 
         </mtd> 
        </mtr> 
        <mtr> 
         <mtd> 
          <mo>
            = 
          </mo> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <msup> 
             <mstyle mathsize="140%" displaystyle="true"> 
              <mo>
                ∑ 
              </mo> 
             </mstyle> 
             <mtext>
               ​ 
             </mtext> 
            </msup> 
            <mrow> 
             <mo>
               ( 
             </mo> 
             <mrow> 
              <mi>
                n 
              </mi> 
              <mi>
                o 
              </mi> 
              <mi>
                r 
              </mi> 
              <mi>
                m 
              </mi> 
              <mi>
                a 
              </mi> 
              <mi>
                l 
              </mi> 
              <mi>
                i 
              </mi> 
              <mi>
                z 
              </mi> 
              <mi>
                e 
              </mi> 
              <mi>
                d 
              </mi> 
              <mtext>
                  
              </mtext> 
              <mi>
                p 
              </mi> 
              <mi>
                r 
              </mi> 
              <mi>
                o 
              </mi> 
              <mi>
                b 
              </mi> 
              <msub> 
               <mi>
                 s 
               </mi> 
               <mn>
                 1 
               </mn> 
              </msub> 
             </mrow> 
             <mo>
               ) 
             </mo> 
            </mrow> 
            <mo>
              , 
            </mo> 
            <msup> 
             <mstyle mathsize="140%" displaystyle="true"> 
              <mo>
                ∑ 
              </mo> 
             </mstyle> 
             <mtext>
               ​ 
             </mtext> 
            </msup> 
            <mrow> 
             <mo>
               ( 
             </mo> 
             <mrow> 
              <mi>
                n 
              </mi> 
              <mi>
                o 
              </mi> 
              <mi>
                r 
              </mi> 
              <mi>
                m 
              </mi> 
              <mi>
                a 
              </mi> 
              <mi>
                l 
              </mi> 
              <mi>
                i 
              </mi> 
              <mi>
                z 
              </mi> 
              <mi>
                e 
              </mi> 
              <mi>
                d 
              </mi> 
              <mtext>
                  
              </mtext> 
              <mi>
                p 
              </mi> 
              <mi>
                r 
              </mi> 
              <mi>
                o 
              </mi> 
              <mi>
                b 
              </mi> 
              <msub> 
               <mi>
                 s 
               </mi> 
               <mn>
                 2 
               </mn> 
              </msub> 
             </mrow> 
             <mo>
               ) 
             </mo> 
            </mrow> 
            <mo>
              , 
            </mo> 
            <msup> 
             <mstyle mathsize="140%" displaystyle="true"> 
              <mo>
                ∑ 
              </mo> 
             </mstyle> 
             <mtext>
               ​ 
             </mtext> 
            </msup> 
            <mrow> 
             <mo>
               ( 
             </mo> 
             <mrow> 
              <mi>
                n 
              </mi> 
              <mi>
                o 
              </mi> 
              <mi>
                r 
              </mi> 
              <mi>
                m 
              </mi> 
              <mi>
                a 
              </mi> 
              <mi>
                l 
              </mi> 
              <mi>
                i 
              </mi> 
              <mi>
                z 
              </mi> 
              <mi>
                e 
              </mi> 
              <mi>
                d 
              </mi> 
              <mtext>
                  
              </mtext> 
              <mi>
                p 
              </mi> 
              <mi>
                r 
              </mi> 
              <mi>
                o 
              </mi> 
              <mi>
                b 
              </mi> 
              <msub> 
               <mi>
                 s 
               </mi> 
               <mn>
                 3 
               </mn> 
              </msub> 
             </mrow> 
             <mo>
               ) 
             </mo> 
            </mrow> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mtd> 
        </mtr> 
       </mtable> 
      </math>□.</p>
     <p>Remark 3.2</p>
     <p>The probability distribution for each non-reference partition is established in a similar manner. It involves summing the probabilities assigned to each state in the reference set, taking into account the specific set within the controlled partition where each state is positioned.</p>
     <p>For every non-reference partition 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           S 
         </mi> 
         <mi>
           i 
         </mi> 
        </msub> 
       </mrow> 
      </math>, the corresponding probability distribution is assigned as:</p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          p 
        </mi> 
        <mi>
          r 
        </mi> 
        <mi>
          o 
        </mi> 
        <mi>
          b 
        </mi> 
        <mi>
          a 
        </mi> 
        <mi>
          b 
        </mi> 
        <mi>
          i 
        </mi> 
        <mi>
          l 
        </mi> 
        <mi>
          i 
        </mi> 
        <mi>
          t 
        </mi> 
        <mi>
          y 
        </mi> 
        <mtext> 
        </mtext> 
        <mi>
          d 
        </mi> 
        <mi>
          i 
        </mi> 
        <mi>
          s 
        </mi> 
        <mi>
          t 
        </mi> 
        <mi>
          r 
        </mi> 
        <mi>
          i 
        </mi> 
        <mi>
          b 
        </mi> 
        <mi>
          u 
        </mi> 
        <mi>
          t 
        </mi> 
        <mi>
          i 
        </mi> 
        <mi>
          o 
        </mi> 
        <msub> 
         <mi>
           n 
         </mi> 
         <mrow> 
          <msub> 
           <mi>
             S 
           </mi> 
           <mi>
             i 
           </mi> 
          </msub> 
         </mrow> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <munder> 
           <mstyle mathsize="140%" displaystyle="true"> 
            <mo>
              ∑ 
            </mo> 
           </mstyle> 
           <mrow> 
            <mi>
              k 
            </mi> 
            <mo>
              ∈ 
            </mo> 
            <msub> 
             <mi>
               S 
             </mi> 
             <mrow> 
              <mi>
                i 
              </mi> 
              <mn>
                1 
              </mn> 
             </mrow> 
            </msub> 
           </mrow> 
          </munder> 
          <mtext>
              
          </mtext> 
          <mtext>
              
          </mtext> 
          <mi>
            R 
          </mi> 
          <mi>
            P 
          </mi> 
          <msub> 
           <mi>
             P 
           </mi> 
           <mi>
             k 
           </mi> 
          </msub> 
          <mo>
            , 
          </mo> 
          <munder> 
           <mstyle mathsize="140%" displaystyle="true"> 
            <mo>
              ∑ 
            </mo> 
           </mstyle> 
           <mrow> 
            <mi>
              k 
            </mi> 
            <mo>
              ∈ 
            </mo> 
            <msub> 
             <mi>
               S 
             </mi> 
             <mrow> 
              <mi>
                i 
              </mi> 
              <mn>
                2 
              </mn> 
             </mrow> 
            </msub> 
           </mrow> 
          </munder> 
          <mtext>
              
          </mtext> 
          <mtext>
              
          </mtext> 
          <mi>
            R 
          </mi> 
          <mi>
            P 
          </mi> 
          <msub> 
           <mi>
             P 
           </mi> 
           <mi>
             k 
           </mi> 
          </msub> 
          <mo>
            , 
          </mo> 
          <munder> 
           <mstyle mathsize="140%" displaystyle="true"> 
            <mo>
              ∑ 
            </mo> 
           </mstyle> 
           <mrow> 
            <mi>
              k 
            </mi> 
            <mo>
              ∈ 
            </mo> 
            <msub> 
             <mi>
               S 
             </mi> 
             <mrow> 
              <mi>
                i 
              </mi> 
              <mn>
                2 
              </mn> 
             </mrow> 
            </msub> 
           </mrow> 
          </munder> 
          <mtext>
              
          </mtext> 
          <mtext>
              
          </mtext> 
          <mi>
            R 
          </mi> 
          <mi>
            P 
          </mi> 
          <msub> 
           <mi>
             P 
           </mi> 
           <mi>
             k 
           </mi> 
          </msub> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math></p>
     <p>where: 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          R 
        </mi> 
        <mi>
          P 
        </mi> 
        <msub> 
         <mi>
           P 
         </mi> 
         <mi>
           k 
         </mi> 
        </msub> 
       </mrow> 
      </math> is the Reference Partition’s Probability assigned for the state k.</p>
     <p>Hence, the probability distribution naturally varies for each set within every partition □.</p>
     <p>By allocating probabilities to individual states according to their corresponding sets in the Reference Partition, the intention is to implement a distinct distribution pattern. This pattern facilitates the distance metric in imposing more substantial penalties for transitions involving the onerous group of contracts, while also exhibiting greater tolerance for states situated between the groups. Additionally, these probabilities are contingent on the Loss Ratios of each state, enabling the distance metric to account not only for set transitions but also for the magnitude of these changes. Consequently, this metric gains, enhanced resilience and accuracy.</p>
     <p>Cost Matrix</p>
     <p>A significant component of the Wasserstein distance is the cost matrix. A Cost Matrix is used to add weight in penalising transition when classifying a state between the middle and the onerous group of contracts and inflict on the other hand a lenient penalty on transition in classifying states between the profitable and the middle group of contracts. So, a typical cost matrix (CM) may be a 3 × 3 matrix like this:</p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          C 
        </mi> 
        <mi>
          M 
        </mi> 
        <mo>
          = 
        </mo> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mtable> 
           <mtr> 
            <mtd> 
             <mi>
               a 
             </mi> 
            </mtd> 
            <mtd> 
             <mi>
               b 
             </mi> 
            </mtd> 
            <mtd> 
             <mi>
               c 
             </mi> 
            </mtd> 
           </mtr> 
           <mtr> 
            <mtd> 
             <msup> 
              <mi>
                b 
              </mi> 
              <mo>
                ′ 
              </mo> 
             </msup> 
            </mtd> 
            <mtd> 
             <mi>
               a 
             </mi> 
            </mtd> 
            <mtd> 
             <mi>
               d 
             </mi> 
            </mtd> 
           </mtr> 
           <mtr> 
            <mtd> 
             <msup> 
              <mi>
                c 
              </mi> 
              <mo>
                ′ 
              </mo> 
             </msup> 
            </mtd> 
            <mtd> 
             <msup> 
              <mi>
                d 
              </mi> 
              <mo>
                ′ 
              </mo> 
             </msup> 
            </mtd> 
            <mtd> 
             <mi>
               a 
             </mi> 
            </mtd> 
           </mtr> 
          </mtable> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math></p>
     <p>where 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          a 
        </mi> 
        <mo>
          , 
        </mo> 
        <mi>
          b 
        </mi> 
        <mo>
          , 
        </mo> 
        <mi>
          c 
        </mi> 
        <mo>
          , 
        </mo> 
        <mi>
          d 
        </mi> 
        <mo>
          , 
        </mo> 
        <msup> 
         <mi>
           b 
         </mi> 
         <mo>
           ′ 
         </mo> 
        </msup> 
        <mo>
          , 
        </mo> 
        <msup> 
         <mi>
           c 
         </mi> 
         <mo>
           ′ 
         </mo> 
        </msup> 
        <mo>
          , 
        </mo> 
        <msup> 
         <mi>
           d 
         </mi> 
         <mo>
           ′ 
         </mo> 
        </msup> 
        <mo>
          ≥ 
        </mo> 
        <mn>
          0 
        </mn> 
       </mrow> 
      </math> (a typical choice may equate 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          b 
        </mi> 
        <mo>
          = 
        </mo> 
        <msup> 
         <mi>
           b 
         </mi> 
         <mo>
           ′ 
         </mo> 
        </msup> 
        <mo>
          , 
        </mo> 
        <mtext>
            
        </mtext> 
        <mi>
          c 
        </mi> 
        <mo>
          = 
        </mo> 
        <msup> 
         <mi>
           c 
         </mi> 
         <mo>
           ′ 
         </mo> 
        </msup> 
        <mo>
          , 
        </mo> 
        <mtext>
            
        </mtext> 
        <mi>
          d 
        </mi> 
        <mo>
          = 
        </mo> 
        <msup> 
         <mi>
           d 
         </mi> 
         <mo>
           ′ 
         </mo> 
        </msup> 
       </mrow> 
      </math>).</p>
     <p>The above cost matrix functions as a transition matrix, with its elements signifying the penalties associated with state transitions between different groups. Specifically, ‘a’ denotes the penalty for remaining within the initial group, ‘b’ accounts for transitions between groups 1 and 2 in either direction, ‘c’ pertains to transitions between groups 1 and 3 in either direction, and ‘d’ represents transitions between groups 2 and 3 in either direction.</p>
     <p>In our numerical simulation, the subsequent cost matrix is employed to impose more severe penalties on transitions between groups 1 and 3. Notably, this cost matrix exhibits an intentional lack of symmetry concerning movements from group 1 to group 2 and the reverse transition. This asymmetry is deliberately designed to introduce a more lenient approach for transitions from group 1 to group 2 in our exercise.</p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          C 
        </mi> 
        <mi>
          M 
        </mi> 
        <mo>
          = 
        </mo> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mtable> 
           <mtr> 
            <mtd> 
             <mn>
               0 
             </mn> 
            </mtd> 
            <mtd> 
             <mrow> 
              <mn>
                25 
              </mn> 
             </mrow> 
            </mtd> 
            <mtd> 
             <mrow> 
              <mn>
                100 
              </mn> 
             </mrow> 
            </mtd> 
           </mtr> 
           <mtr> 
            <mtd> 
             <mrow> 
              <mn>
                35 
              </mn> 
             </mrow> 
            </mtd> 
            <mtd> 
             <mn>
               0 
             </mn> 
            </mtd> 
            <mtd> 
             <mrow> 
              <mn>
                80 
              </mn> 
             </mrow> 
            </mtd> 
           </mtr> 
           <mtr> 
            <mtd> 
             <mrow> 
              <mn>
                100 
              </mn> 
             </mrow> 
            </mtd> 
            <mtd> 
             <mrow> 
              <mn>
                80 
              </mn> 
             </mrow> 
            </mtd> 
            <mtd> 
             <mn>
               0 
             </mn> 
            </mtd> 
           </mtr> 
          </mtable> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math></p>
    </sec>
    <sec id="s3_2">
     <title>3.2. Results</title>
     <p>The solution algorithm is employed for all ten previously mentioned matrices, and the results are compared based on the minimum error.</p>
     <p>The initial partition, denoted as 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msup> 
         <mi>
           S 
         </mi> 
         <mo>
           ′ 
         </mo> 
        </msup> 
        <mo>
          = 
        </mo> 
        <mrow> 
         <mo>
           { 
         </mo> 
         <mrow> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              1 
            </mn> 
            <mo>
              , 
            </mo> 
            <mn>
              2 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              7 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
          <mo>
            , 
          </mo> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              8 
            </mn> 
            <mo>
              , 
            </mo> 
            <mn>
              9 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              16 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
          <mo>
            , 
          </mo> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              17 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              20 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
         </mrow> 
         <mo>
           } 
         </mo> 
        </mrow> 
       </mrow> 
      </math>, groups states together based on their profitability. This grouping likely relies on a relative profitability index, similar to the loss ratio described earlier. The first group encompasses profitable states, including contracts and policyholders. The second group is comprised of states with a lower likelihood of becoming onerous in the future, and the third group comprises contracts initially recognized as onerous.</p>
     <p>The Loss Ratios used in our application are randomly assigned as percentages to each state, as shown in the following figure (<xref ref-type="fig" rid="fig1">
       Figure 1
      </xref>).</p>
     <fig id="fig1" position="float">
      <label>Figure 1</label>
      <caption>
       <title>Figure 1. Loss Ratios (%) by State.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/2410818-rId126.jpeg?20240710112500" />
     </fig>
     <p>The utilization of randomly selected Loss Ratios enables us to assess the extent of robustness exhibited by our distance metric. The presented loss ratio values are assigned with the assumption of a general increasing pattern from the profitable to the onerous contract groups. While this trend may not always hold, it is a common assumption in dealing with loss ratio values. This assumption is a key factor in explaining why, in Lemma 2.1, we restrict the grouping of contracts to consecutive states.</p>
     <p>The algorithm selects the following partition indices as optimal for each of the ten matrices used, and 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.133403-"></xref>Table 2. Application 1 Results.</title>
      </caption>
      <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
       <tr> 
        <td class="custom-bottom-td acenter" width="17.47%"><p style="text-align:center">Matrix</p></td> 
        <td class="custom-bottom-td acenter" width="21.10%"><p style="text-align:center">Partition Index</p></td> 
        <td class="custom-bottom-td acenter" width="24.42%"><p style="text-align:center">Lumpability Error</p></td> 
        <td class="custom-bottom-td acenter" width="24.04%"><p style="text-align:center">Partition Error</p></td> 
        <td class="custom-bottom-td acenter" width="24.04%"><p style="text-align:center">Distance</p></td> 
       </tr> 
       <tr> 
        <td class="custom-top-td acenter" width="17.47%"><p style="text-align:center">Matrix11</p></td> 
        <td class="custom-top-td acenter" width="21.10%"><p style="text-align:center">76</p></td> 
        <td class="custom-top-td acenter" width="24.42%"><p style="text-align:center">0.628300945</p></td> 
        <td class="custom-top-td acenter" width="24.04%"><p style="text-align:center">0.073645504</p></td> 
        <td class="custom-top-td acenter" width="24.04%"><p style="text-align:center">0.837822445</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="17.47%"><p style="text-align:center">Matrix12</p></td> 
        <td class="acenter" width="21.10%"><p style="text-align:center">76</p></td> 
        <td class="acenter" width="24.42%"><p style="text-align:center">0.62834715</p></td> 
        <td class="acenter" width="24.04%"><p style="text-align:center">0.073645504</p></td> 
        <td class="acenter" width="24.04%"><p style="text-align:center">0.837850019</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="17.47%"><p style="text-align:center">Matrix13</p></td> 
        <td class="acenter" width="21.10%"><p style="text-align:center">60</p></td> 
        <td class="acenter" width="24.42%"><p style="text-align:center">0.422398705</p></td> 
        <td class="acenter" width="24.04%"><p style="text-align:center">0</p></td> 
        <td class="acenter" width="24.04%"><p style="text-align:center">0.649922076</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="17.47%"><p style="text-align:center">Matrix14</p></td> 
        <td class="acenter" width="21.10%"><p style="text-align:center">60</p></td> 
        <td class="acenter" width="24.42%"><p style="text-align:center">0.422442508</p></td> 
        <td class="acenter" width="24.04%"><p style="text-align:center">0</p></td> 
        <td class="acenter" width="24.04%"><p style="text-align:center">0.649955774</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="17.47%"><p style="text-align:center">Matrix21</p></td> 
        <td class="acenter" width="21.10%"><p style="text-align:center">74</p></td> 
        <td class="acenter" width="24.42%"><p style="text-align:center">0.588441902</p></td> 
        <td class="acenter" width="24.04%"><p style="text-align:center">0.046929282</p></td> 
        <td class="acenter" width="24.04%"><p style="text-align:center">0.79710174</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="17.47%"><p style="text-align:center">Matrix22</p></td> 
        <td class="acenter" width="21.10%"><p style="text-align:center">74</p></td> 
        <td class="acenter" width="24.42%"><p style="text-align:center">0.588686129</p></td> 
        <td class="acenter" width="24.04%"><p style="text-align:center">0.046929282</p></td> 
        <td class="acenter" width="24.04%"><p style="text-align:center">0.797254922</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="17.47%"><p style="text-align:center">Matrix23</p></td> 
        <td class="acenter" width="21.10%"><p style="text-align:center">60</p></td> 
        <td class="acenter" width="24.42%"><p style="text-align:center">0.511813586</p></td> 
        <td class="acenter" width="24.04%"><p style="text-align:center">0</p></td> 
        <td class="acenter" width="24.04%"><p style="text-align:center">0.71541148</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="17.47%"><p style="text-align:center">Matrix24</p></td> 
        <td class="acenter" width="21.10%"><p style="text-align:center">60</p></td> 
        <td class="acenter" width="24.42%"><p style="text-align:center">0.511882378</p></td> 
        <td class="acenter" width="24.04%"><p style="text-align:center">0</p></td> 
        <td class="acenter" width="24.04%"><p style="text-align:center">0.715459557</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="17.47%"><p style="text-align:center">Matrix31</p></td> 
        <td class="acenter" width="21.10%"><p style="text-align:center">60</p></td> 
        <td class="acenter" width="24.42%"><p style="text-align:center">0.488393192</p></td> 
        <td class="acenter" width="24.04%"><p style="text-align:center">0</p></td> 
        <td class="acenter" width="24.04%"><p style="text-align:center">0.698851337</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="17.47%"><p style="text-align:center">Matrix32</p></td> 
        <td class="acenter" width="21.10%"><p style="text-align:center">60</p></td> 
        <td class="acenter" width="24.42%"><p style="text-align:center">0.488560241</p></td> 
        <td class="acenter" width="24.04%"><p style="text-align:center">0</p></td> 
        <td class="acenter" width="24.04%"><p style="text-align:center">0.698970844</p></td> 
       </tr> 
      </table>
     </table-wrap>
     <p>76 76 60 60 74 74 60 60 60 60</p>
     <p>Partition index 60 represents the initial partition, and the results suggest that for most of the matrix formats, the Approximate Lumpability Problem enhanced with the classification criterion algorithm has no significant effect on contract classification. However, for matrices 11 and 12, the new approach shows that the optimal partition is:</p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           S 
         </mi> 
         <mrow> 
          <mn>
            76 
          </mn> 
         </mrow> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mrow> 
         <mo>
           { 
         </mo> 
         <mrow> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              1 
            </mn> 
            <mo>
              , 
            </mo> 
            <mn>
              2 
            </mn> 
            <mo>
              , 
            </mo> 
            <mn>
              3 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              5 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
          <mo>
            , 
          </mo> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              6 
            </mn> 
            <mo>
              , 
            </mo> 
            <mn>
              9 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              15 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
          <mo>
            , 
          </mo> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              16 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              20 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
         </mrow> 
         <mo>
           } 
         </mo> 
        </mrow> 
       </mrow> 
      </math></p>
     <p>This change in partition clearly affects the contract classification. Transition matrices 21 and 22 are also affected by the new approach, leading to the following optimal partition:</p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           S 
         </mi> 
         <mrow> 
          <mn>
            74 
          </mn> 
         </mrow> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mrow> 
         <mo>
           { 
         </mo> 
         <mrow> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              1 
            </mn> 
            <mo>
              , 
            </mo> 
            <mn>
              2 
            </mn> 
            <mo>
              , 
            </mo> 
            <mn>
              3 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              7 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
          <mo>
            , 
          </mo> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              8 
            </mn> 
            <mo>
              , 
            </mo> 
            <mn>
              9 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              15 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
          <mo>
            , 
          </mo> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              16 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              20 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
         </mrow> 
         <mo>
           } 
         </mo> 
        </mrow> 
       </mrow> 
      </math></p>
     <p>It is clear that simply adding an absorbing state to the BMS does not significantly affect the results.</p>
     <p>When compared to the initial partition</p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msup> 
         <mi>
           S 
         </mi> 
         <mo>
           ′ 
         </mo> 
        </msup> 
        <mo>
          = 
        </mo> 
        <mrow> 
         <mo>
           { 
         </mo> 
         <mrow> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              1 
            </mn> 
            <mo>
              , 
            </mo> 
            <mn>
              2 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              7 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
          <mo>
            , 
          </mo> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              8 
            </mn> 
            <mo>
              , 
            </mo> 
            <mn>
              9 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              16 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
          <mo>
            , 
          </mo> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              17 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              20 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
         </mrow> 
         <mo>
           } 
         </mo> 
        </mrow> 
       </mrow> 
      </math>,</p>
     <p>the optimal partitions classify state 16 in the onerous group of contracts, while dissimilarity arises in classifying states 6 and 7 within the profitable or middle group of contracts. Partition 76 classifies both of these states in group 2, while partition 74 has no changes in group 1 compared to the reference partition. No weights have been applied in the selection of the optimal distance ( 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          a 
        </mi> 
        <mo>
          = 
        </mo> 
        <mi>
          b 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          1 
        </mn> 
       </mrow> 
      </math>).</p>
     <p>It is crucial to stress that both the entries within the transition matrix and the matrix’s structure itself are vital in determining the optimal selection. However, a more significant consideration is to assess the overall behavior of the distance metric across a range of weight combinations. Therefore, by exploring all possible combinations of weights a and b, with a step of 0.01 (1%), we generate a spectrum of total error values (<xref ref-type="fig" rid="fig2">
       Figure 2
      </xref>). This analysis aids in understanding how changes in the weight values affect the overall performance of the distance metric.</p>
     <fig id="fig2" position="float">
      <label>Figure 2</label>
      <caption>
       <title>Figure 2. Weighted combination of total error (Tridiagonal matrix form, wasserstein metric).</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/2410818-rId135.jpeg?20240710112501" />
     </fig>
     <p>The weighted-distance combinations exhibit a rising trend as the weight assigned to the Lumpability Error increases. Notably, the combined errors’ values are consistently lower than the initial error. This suggests that partition S<sub>76</sub> remains the optimal choice, irrespective of the assigned error weights. Nevertheless, the solver can adapt to fine-tune the relative importance of lumpability and partition errors.</p>
     <p>In the case of a matrix form returning to the reference partition 60, the plot primarily shows that the weighted combinations initiate from zero, aligning seamlessly with the underlying model (<xref ref-type="fig" rid="fig3">
       Figure 3
      </xref>).</p>
     <fig id="fig3" position="float">
      <label>Figure 3</label>
      <caption>
       <title>Figure 3. Weighted Combination of Total Error (Tridiagonal Matrix Form With non-zero elements in the last column, Wasserstein metric).</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/2410818-rId136.jpeg?20240710112501" />
     </fig>
     <p>In general, the shape and behaviour of the curves remain consistent regardless of the specific matrix form used.</p>
     <p>Now, we examine whether a shift in the BMS rules can provide better results.</p>
     <p>Let us describe a BMS model for motor insurance premiums. For simplicity we will consider only three states {good, bad, reckless} where the bonuses (discounts) are 60%, 30% and 0% respectively. So, the 1<sup>st</sup> state is the super bonus and the 3<sup>rd</sup> is the super malus.</p>
     <p>The following rules apply to this BMS:</p>
     <p>1) All new policyholders enter the system at the 0% level (malus state);</p>
     <p>2) If no claim is made during the current year the policyholder moves up to the next level or remains at the super bonus;</p>
     <p>3) If one or more claims are made the policyholder moves down one level, or remains at the 0% level.</p>
     <p>Assume that the insurance company has estimated that the probability of making at least one claim each year is ¼ and also that this probability is independent of the current level of the policyholder.</p>
     <p>Then this model can clearly be represented as Markov Chain with state space 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          S 
        </mi> 
        <mo>
          = 
        </mo> 
        <mrow> 
         <mo>
           { 
         </mo> 
         <mrow> 
          <mn>
            1 
          </mn> 
          <mo>
            , 
          </mo> 
          <mn>
            2 
          </mn> 
          <mo>
            , 
          </mo> 
          <mn>
            3 
          </mn> 
         </mrow> 
         <mo>
           } 
         </mo> 
        </mrow> 
       </mrow> 
      </math> and transition probability matrix given by:</p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          P 
        </mi> 
        <mo>
          = 
        </mo> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mtable> 
           <mtr> 
            <mtd> 
             <mrow> 
              <mfrac> 
               <mn>
                 1 
               </mn> 
               <mn>
                 4 
               </mn> 
              </mfrac> 
             </mrow> 
            </mtd> 
            <mtd> 
             <mrow> 
              <mfrac> 
               <mn>
                 3 
               </mn> 
               <mn>
                 4 
               </mn> 
              </mfrac> 
             </mrow> 
            </mtd> 
            <mtd> 
             <mn>
               0 
             </mn> 
            </mtd> 
           </mtr> 
           <mtr> 
            <mtd> 
             <mrow> 
              <mfrac> 
               <mn>
                 1 
               </mn> 
               <mn>
                 4 
               </mn> 
              </mfrac> 
             </mrow> 
            </mtd> 
            <mtd> 
             <mn>
               0 
             </mn> 
            </mtd> 
            <mtd> 
             <mrow> 
              <mfrac> 
               <mn>
                 3 
               </mn> 
               <mn>
                 4 
               </mn> 
              </mfrac> 
             </mrow> 
            </mtd> 
           </mtr> 
           <mtr> 
            <mtd> 
             <mn>
               0 
             </mn> 
            </mtd> 
            <mtd> 
             <mrow> 
              <mfrac> 
               <mn>
                 1 
               </mn> 
               <mn>
                 4 
               </mn> 
              </mfrac> 
             </mrow> 
            </mtd> 
            <mtd> 
             <mrow> 
              <mfrac> 
               <mn>
                 3 
               </mn> 
               <mn>
                 4 
               </mn> 
              </mfrac> 
             </mrow> 
            </mtd> 
           </mtr> 
          </mtable> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </math></p>
     <p>and the relative transition graph is as follows (Figure 4).</p>
     <fig id="fig4" position="float">
      <label>Figure 4</label>
      <caption>
       <title>Figure 4. BMS—transition graph.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/2410818-rId141.jpeg?20240710112501" />
     </fig>
     <p>We now aim to examine two underlying assumptions regarding the modification in the BMS regulations. In particular, a revision in the BMS rules implies an alternation of the transition probabilities in the initial transition matrix. Furthermore, these probabilities may undergo modification in a manner that could potentially favor either the Bonus or the Malus direction, resulting in an either more lenient or stricter set of rules. Consequently, our investigation is focused on assessing the compatibility of a rule change with the proposed methodology and exploring how the direction of this rule shift may impact the outcomes.</p>
     <p>To perform our investigation, we modify the initial transition matrix P by a small value δ without disturbing the properties of the matrix nor those of the chain. These δ values indicate a shift in the set of the rules of the initial BMS.</p>
     <p>The idea behind creating matrix variations of the initial matrix P that favors a shift to a stricter set of rules (shift to Malus direction), is by adding a value to all elements of the main diagonal, adding another to the elements of the super-diagonal and subtracting their sum from the elements of the sub-diagonal. On the other hand, in order to favor a shift that allows a BMS with more lenient set of rules (shift to Bonus direction), a value is added to the elements of the main diagonal, another one is added to the elements of the sub-diagonal but now their sum is subtracted from the elements of the super-diagonal. Keep in mind that the aforementioned changes do not apply to the last row of the matrix (super malus state (20)).</p>
     <p>We use a tridiagonal matrix, like Matrix11, with no absorbing state. The range of δ values to be used in this exercise, depends on the entries of the initial transition matrix. As the form of matrix P must be preserved as well as its properties (non-negative elements &amp; row stochasticity) the δ values must comply with specific constraints.</p>
     <p>Hence, in this exercise 
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <mi>
          δ 
        </mi> 
        <mo>
          ∈ 
        </mo> 
        <mrow> 
         <mo>
           [ 
         </mo> 
         <mrow> 
          <mn>
            0.01 
          </mn> 
          <mo>
            , 
          </mo> 
          <mn>
            0.35 
          </mn> 
         </mrow> 
         <mo>
           ] 
         </mo> 
        </mrow> 
       </mrow> 
      </math> and using a step of 0.01 a number of 35<sup>2</sup> = 1225 combinations is produced. Since this number leads to 1225 different matrix variations a random sample of size 13 is chosen. To enhance comparability regarding the shift direction, matrices for the same δ values are selected for both shift directions.</p>
     <p>Results under the Wasserstein distance for estimating the partition error are summarized in the following <xref ref-type="table" rid="table3">
       Table 3
      </xref>.</p>
     <p>The first row of the matrix tabulates the results of the initial transition matrix with no δ modifications applied. The subsequent 13 rows present the outcomes of the Malus-shifted matrices, while the last 13 rows summarize the results of the Bonus-shifted matrices, all for the same values of δ as discussed earlier.</p>
     <p>It is evident that the Malus-shifted systems appear to be largely unaffected. However, a shift in the Bonus direction occasionally yields some noticeable effects.</p>
     <p>More specifically, in four cases, there is a change in the optimal partition. This change results in either Partition:</p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           S 
         </mi> 
         <mrow> 
          <mn>
            59 
          </mn> 
         </mrow> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mrow> 
         <mo>
           { 
         </mo> 
         <mrow> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              1 
            </mn> 
            <mo>
              , 
            </mo> 
            <mn>
              2 
            </mn> 
            <mo>
              , 
            </mo> 
            <mn>
              3 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              8 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
          <mo>
            , 
          </mo> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              9 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              16 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
          <mo>
            , 
          </mo> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              17 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              20 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
         </mrow> 
         <mo>
           } 
         </mo> 
        </mrow> 
       </mrow> 
      </math></p>
     <p>Or partition:</p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           S 
         </mi> 
         <mrow> 
          <mn>
            61 
          </mn> 
         </mrow> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mrow> 
         <mo>
           { 
         </mo> 
         <mrow> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              1 
            </mn> 
            <mo>
              , 
            </mo> 
            <mn>
              2 
            </mn> 
            <mo>
              , 
            </mo> 
            <mn>
              3 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              6 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
          <mo>
            , 
          </mo> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              7 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              16 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
          <mo>
            , 
          </mo> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              17 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              20 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
         </mrow> 
         <mo>
           } 
         </mo> 
        </mrow> 
       </mrow> 
      </math></p>
     <p>While these changes are relatively minor and mainly involve transitions between groups 1 and 2, they indicate that the new approach does have an impact.</p>
     <p>It is important to note that the distance metric, cost matrix, and loss ratio values are crucial components that can significantly influence the algorithm’s optimal recommendations.</p>
     <p>
      <xref ref-type="fig" rid="fig5">
       Figure 5
      </xref> serve the purpose of enabling comparisons of total error values across different δ values and shift directions, while also aiding in the identification of potential patterns within the data.</p>
     <table-wrap id="table3">
      <label>
       <xref ref-type="table" rid="table3">
        Table 3
       </xref></label>
      <caption>
       <title>
        <xref ref-type="bibr" rid="scirp.133403-"></xref>Table 3. Application 2 results.</title>
      </caption>
      <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
       <tr> 
        <td class="custom-bottom-td acenter" width="30.88%"><p style="text-align:center">Delta Values</p></td> 
        <td class="custom-bottom-td acenter" width="10.29%"><p style="text-align:center">Serial Number</p></td> 
        <td class="custom-bottom-td acenter" width="10.30%"><p style="text-align:center">Shift Direction</p></td> 
        <td class="custom-bottom-td acenter" width="11.76%"><p style="text-align:center">Partition Index</p></td> 
        <td class="custom-bottom-td acenter" width="13.72%"><p style="text-align:center">Lumpability Error</p></td> 
        <td class="custom-bottom-td acenter" width="11.52%"><p style="text-align:center">Partition Error</p></td> 
        <td class="custom-bottom-td acenter" width="11.53%"><p style="text-align:center">Distance</p></td> 
       </tr> 
       <tr> 
        <td class="custom-top-td acenter" width="30.88%"><p style="text-align:center">Main: 0, Sub: 0, Super: 0</p></td> 
        <td class="custom-top-td acenter" width="10.29%"><p style="text-align:center">-</p></td> 
        <td class="custom-top-td acenter" width="10.30%"><p style="text-align:center">Default</p></td> 
        <td class="custom-top-td acenter" width="11.76%"><p style="text-align:center">60</p></td> 
        <td class="custom-top-td acenter" width="13.72%"><p style="text-align:center">0.826992094</p></td> 
        <td class="custom-top-td acenter" width="11.52%"><p style="text-align:center">0</p></td> 
        <td class="custom-top-td acenter" width="11.53%"><p style="text-align:center">0.909391057</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="30.88%"><p style="text-align:center">Main: 0.1, Sub: 0.17, Super: 0.07</p></td> 
        <td class="acenter" width="10.29%"><p style="text-align:center">1</p></td> 
        <td class="acenter" width="10.30%"><p style="text-align:center">Malus</p></td> 
        <td class="acenter" width="11.76%"><p style="text-align:center">60</p></td> 
        <td class="acenter" width="13.72%"><p style="text-align:center">0.704678292</p></td> 
        <td class="acenter" width="11.52%"><p style="text-align:center">0</p></td> 
        <td class="acenter" width="11.53%"><p style="text-align:center">0.839451185</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="30.88%"><p style="text-align:center">Main: 0.07, Sub: 0.25, Super: 0.18</p></td> 
        <td class="acenter" width="10.29%"><p style="text-align:center">2</p></td> 
        <td class="acenter" width="10.30%"><p style="text-align:center">Malus</p></td> 
        <td class="acenter" width="11.76%"><p style="text-align:center">60</p></td> 
        <td class="acenter" width="13.72%"><p style="text-align:center">0.750123981</p></td> 
        <td class="acenter" width="11.52%"><p style="text-align:center">0</p></td> 
        <td class="acenter" width="11.53%"><p style="text-align:center">0.866096981</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="30.88%"><p style="text-align:center">Main: 0.29, Sub: 0.35, Super: 0.06</p></td> 
        <td class="acenter" width="10.29%"><p style="text-align:center">3</p></td> 
        <td class="acenter" width="10.30%"><p style="text-align:center">Malus</p></td> 
        <td class="acenter" width="11.76%"><p style="text-align:center">60</p></td> 
        <td class="acenter" width="13.72%"><p style="text-align:center">0.54833118</p></td> 
        <td class="acenter" width="11.52%"><p style="text-align:center">0</p></td> 
        <td class="acenter" width="11.53%"><p style="text-align:center">0.740493876</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="30.88%"><p style="text-align:center">Main: 0.21, Sub: 0.32, Super: 0.11</p></td> 
        <td class="acenter" width="10.29%"><p style="text-align:center">4</p></td> 
        <td class="acenter" width="10.30%"><p style="text-align:center">Malus</p></td> 
        <td class="acenter" width="11.76%"><p style="text-align:center">60</p></td> 
        <td class="acenter" width="13.72%"><p style="text-align:center">0.624226649</p></td> 
        <td class="acenter" width="11.52%"><p style="text-align:center">0</p></td> 
        <td class="acenter" width="11.53%"><p style="text-align:center">0.790080153</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="30.88%"><p style="text-align:center">Main: 0.27, Sub: 0.28, Super: 0.01</p></td> 
        <td class="acenter" width="10.29%"><p style="text-align:center">5</p></td> 
        <td class="acenter" width="10.30%"><p style="text-align:center">Malus</p></td> 
        <td class="acenter" width="11.76%"><p style="text-align:center">60</p></td> 
        <td class="acenter" width="13.72%"><p style="text-align:center">0.549828332</p></td> 
        <td class="acenter" width="11.52%"><p style="text-align:center">0</p></td> 
        <td class="acenter" width="11.53%"><p style="text-align:center">0.741504101</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="30.88%"><p style="text-align:center">Main: 0.31, Sub: 0.33, Super: 0.02</p></td> 
        <td class="acenter" width="10.29%"><p style="text-align:center">6</p></td> 
        <td class="acenter" width="10.30%"><p style="text-align:center">Malus</p></td> 
        <td class="acenter" width="11.76%"><p style="text-align:center">60</p></td> 
        <td class="acenter" width="13.72%"><p style="text-align:center">0.519726469</p></td> 
        <td class="acenter" width="11.52%"><p style="text-align:center">0</p></td> 
        <td class="acenter" width="11.53%"><p style="text-align:center">0.720920571</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="30.88%"><p style="text-align:center">Main: 0.18, Sub: 0.28, Super: 0.1</p></td> 
        <td class="acenter" width="10.29%"><p style="text-align:center">7</p></td> 
        <td class="acenter" width="10.30%"><p style="text-align:center">Malus</p></td> 
        <td class="acenter" width="11.76%"><p style="text-align:center">60</p></td> 
        <td class="acenter" width="13.72%"><p style="text-align:center">0.641818406</p></td> 
        <td class="acenter" width="11.52%"><p style="text-align:center">0</p></td> 
        <td class="acenter" width="11.53%"><p style="text-align:center">0.801135698</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="30.88%"><p style="text-align:center">Main: 0.16, Sub: 0.23, Super: 0.07</p></td> 
        <td class="acenter" width="10.29%"><p style="text-align:center">8</p></td> 
        <td class="acenter" width="10.30%"><p style="text-align:center">Malus</p></td> 
        <td class="acenter" width="11.76%"><p style="text-align:center">60</p></td> 
        <td class="acenter" width="13.72%"><p style="text-align:center">0.651281666</p></td> 
        <td class="acenter" width="11.52%"><p style="text-align:center">0</p></td> 
        <td class="acenter" width="11.53%"><p style="text-align:center">0.807020239</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="30.88%"><p style="text-align:center">Main: 0.19, Sub: 0.31, Super: 0.12</p></td> 
        <td class="acenter" width="10.29%"><p style="text-align:center">9</p></td> 
        <td class="acenter" width="10.30%"><p style="text-align:center">Malus</p></td> 
        <td class="acenter" width="11.76%"><p style="text-align:center">60</p></td> 
        <td class="acenter" width="13.72%"><p style="text-align:center">0.642128563</p></td> 
        <td class="acenter" width="11.52%"><p style="text-align:center">0</p></td> 
        <td class="acenter" width="11.53%"><p style="text-align:center">0.801329248</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="30.88%"><p style="text-align:center">Main: 0.2, Sub: 0.36, Super: 0.16</p></td> 
        <td class="acenter" width="10.29%"><p style="text-align:center">10</p></td> 
        <td class="acenter" width="10.30%"><p style="text-align:center">Malus</p></td> 
        <td class="acenter" width="11.76%"><p style="text-align:center">60</p></td> 
        <td class="acenter" width="13.72%"><p style="text-align:center">0.657233309</p></td> 
        <td class="acenter" width="11.52%"><p style="text-align:center">0</p></td> 
        <td class="acenter" width="11.53%"><p style="text-align:center">0.810699272</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="30.88%"><p style="text-align:center">Main: 0.05, Sub: 0.21, Super: 0.16</p></td> 
        <td class="acenter" width="10.29%"><p style="text-align:center">11</p></td> 
        <td class="acenter" width="10.30%"><p style="text-align:center">Malus</p></td> 
        <td class="acenter" width="11.76%"><p style="text-align:center">60</p></td> 
        <td class="acenter" width="13.72%"><p style="text-align:center">0.758825341</p></td> 
        <td class="acenter" width="11.52%"><p style="text-align:center">0</p></td> 
        <td class="acenter" width="11.53%"><p style="text-align:center">0.871105815</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="30.88%"><p style="text-align:center">Main: 0.09, Sub: 0.13, Super: 0.04</p></td> 
        <td class="acenter" width="10.29%"><p style="text-align:center">12</p></td> 
        <td class="acenter" width="10.30%"><p style="text-align:center">Malus</p></td> 
        <td class="acenter" width="11.76%"><p style="text-align:center">60</p></td> 
        <td class="acenter" width="13.72%"><p style="text-align:center">0.716696737</p></td> 
        <td class="acenter" width="11.52%"><p style="text-align:center">0</p></td> 
        <td class="acenter" width="11.53%"><p style="text-align:center">0.846579433</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="30.88%"><p style="text-align:center">Main: 0.01, Sub: 0.04, Super: 0.03</p></td> 
        <td class="acenter" width="10.29%"><p style="text-align:center">13</p></td> 
        <td class="acenter" width="10.30%"><p style="text-align:center">Malus</p></td> 
        <td class="acenter" width="11.76%"><p style="text-align:center">60</p></td> 
        <td class="acenter" width="13.72%"><p style="text-align:center">0.802881886</p></td> 
        <td class="acenter" width="11.52%"><p style="text-align:center">0</p></td> 
        <td class="acenter" width="11.53%"><p style="text-align:center">0.896036766</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="30.88%"><p style="text-align:center">Main: 0.1, Sub: 0.07, Super: 0.17</p></td> 
        <td class="acenter" width="10.29%"><p style="text-align:center">1</p></td> 
        <td class="acenter" width="10.30%"><p style="text-align:center">Bonus</p></td> 
        <td class="acenter" width="11.76%"><p style="text-align:center">60</p></td> 
        <td class="acenter" width="13.72%"><p style="text-align:center">0.856558954</p></td> 
        <td class="acenter" width="11.52%"><p style="text-align:center">0</p></td> 
        <td class="acenter" width="11.53%"><p style="text-align:center">0.925504702</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="30.88%"><p style="text-align:center">Main: 0.07, Sub: 0.18, Super: 0.25</p></td> 
        <td class="acenter" width="10.29%"><p style="text-align:center">2</p></td> 
        <td class="acenter" width="10.30%"><p style="text-align:center">Bonus</p></td> 
        <td class="acenter" width="11.76%"><p style="text-align:center">60</p></td> 
        <td class="acenter" width="13.72%"><p style="text-align:center">0.986289027</p></td> 
        <td class="acenter" width="11.52%"><p style="text-align:center">0</p></td> 
        <td class="acenter" width="11.53%"><p style="text-align:center">0.993120852</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="30.88%"><p style="text-align:center">Main: 0.29, Sub: 0.06, Super: 0.35</p></td> 
        <td class="acenter" width="10.29%"><p style="text-align:center">3</p></td> 
        <td class="acenter" width="10.30%"><p style="text-align:center">Bonus</p></td> 
        <td class="acenter" width="11.76%"><p style="text-align:center">60</p></td> 
        <td class="acenter" width="13.72%"><p style="text-align:center">1.356330747</p></td> 
        <td class="acenter" width="11.52%"><p style="text-align:center">0</p></td> 
        <td class="acenter" width="11.53%"><p style="text-align:center">1.164616137</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="30.88%"><p style="text-align:center">Main: 0.21, Sub: 0.11, Super: 0.32</p></td> 
        <td class="acenter" width="10.29%"><p style="text-align:center">4</p></td> 
        <td class="acenter" width="10.30%"><p style="text-align:center">Bonus</p></td> 
        <td class="acenter" width="11.76%"><p style="text-align:center">59</p></td> 
        <td class="acenter" width="13.72%"><p style="text-align:center">1.182306137</p></td> 
        <td class="acenter" width="11.52%"><p style="text-align:center">0.008528784</p></td> 
        <td class="acenter" width="11.53%"><p style="text-align:center">1.091253829</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="30.88%"><p style="text-align:center">Main: 0.27, Sub: 0.01, Super: 0.28</p></td> 
        <td class="acenter" width="10.29%"><p style="text-align:center">5</p></td> 
        <td class="acenter" width="10.30%"><p style="text-align:center">Bonus</p></td> 
        <td class="acenter" width="11.76%"><p style="text-align:center">60</p></td> 
        <td class="acenter" width="13.72%"><p style="text-align:center">1.03601914</p></td> 
        <td class="acenter" width="11.52%"><p style="text-align:center">0</p></td> 
        <td class="acenter" width="11.53%"><p style="text-align:center">1.017850254</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="30.88%"><p style="text-align:center">Main: 0.31, Sub: 0.02, Super: 0.33</p></td> 
        <td class="acenter" width="10.29%"><p style="text-align:center">6</p></td> 
        <td class="acenter" width="10.30%"><p style="text-align:center">Bonus</p></td> 
        <td class="acenter" width="11.76%"><p style="text-align:center">61</p></td> 
        <td class="acenter" width="13.72%"><p style="text-align:center">1.254448224</p></td> 
        <td class="acenter" width="11.52%"><p style="text-align:center">0.013434919</p></td> 
        <td class="acenter" width="11.53%"><p style="text-align:center">1.126003172</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="30.88%"><p style="text-align:center">Main: 0.18, Sub: 0.1, Super: 0.28</p></td> 
        <td class="acenter" width="10.29%"><p style="text-align:center">7</p></td> 
        <td class="acenter" width="10.30%"><p style="text-align:center">Bonus</p></td> 
        <td class="acenter" width="11.76%"><p style="text-align:center">59</p></td> 
        <td class="acenter" width="13.72%"><p style="text-align:center">1.017034063</p></td> 
        <td class="acenter" width="11.52%"><p style="text-align:center">0.008528784</p></td> 
        <td class="acenter" width="11.53%"><p style="text-align:center">1.012700769</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="30.88%"><p style="text-align:center">Main: 0.16, Sub: 0.07, Super: 0.23</p></td> 
        <td class="acenter" width="10.29%"><p style="text-align:center">8</p></td> 
        <td class="acenter" width="10.30%"><p style="text-align:center">Bonus</p></td> 
        <td class="acenter" width="11.76%"><p style="text-align:center">60</p></td> 
        <td class="acenter" width="13.72%"><p style="text-align:center">0.90172734</p></td> 
        <td class="acenter" width="11.52%"><p style="text-align:center">0</p></td> 
        <td class="acenter" width="11.53%"><p style="text-align:center">0.94959325</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="30.88%"><p style="text-align:center">Main: 0.19, Sub: 0.12, Super: 0.31</p></td> 
        <td class="acenter" width="10.29%"><p style="text-align:center">9</p></td> 
        <td class="acenter" width="10.30%"><p style="text-align:center">Bonus</p></td> 
        <td class="acenter" width="11.76%"><p style="text-align:center">60</p></td> 
        <td class="acenter" width="13.72%"><p style="text-align:center">1.134156274</p></td> 
        <td class="acenter" width="11.52%"><p style="text-align:center">0</p></td> 
        <td class="acenter" width="11.53%"><p style="text-align:center">1.064967734</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="30.88%"><p style="text-align:center">Main: 0.2, Sub: 0.16, Super: 0.36</p></td> 
        <td class="acenter" width="10.29%"><p style="text-align:center">10</p></td> 
        <td class="acenter" width="10.30%"><p style="text-align:center">Bonus</p></td> 
        <td class="acenter" width="11.76%"><p style="text-align:center">61</p></td> 
        <td class="acenter" width="13.72%"><p style="text-align:center">1.401428511</p></td> 
        <td class="acenter" width="11.52%"><p style="text-align:center">0.013434919</p></td> 
        <td class="acenter" width="11.53%"><p style="text-align:center">1.189480319</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="30.88%"><p style="text-align:center">Main: 0.05, Sub: 0.16, Super: 0.21</p></td> 
        <td class="acenter" width="10.29%"><p style="text-align:center">11</p></td> 
        <td class="acenter" width="10.30%"><p style="text-align:center">Bonus</p></td> 
        <td class="acenter" width="11.76%"><p style="text-align:center">60</p></td> 
        <td class="acenter" width="13.72%"><p style="text-align:center">0.935714343</p></td> 
        <td class="acenter" width="11.52%"><p style="text-align:center">0</p></td> 
        <td class="acenter" width="11.53%"><p style="text-align:center">0.967323288</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="30.88%"><p style="text-align:center">Main: 0.09, Sub: 0.04, Super: 0.13</p></td> 
        <td class="acenter" width="10.29%"><p style="text-align:center">12</p></td> 
        <td class="acenter" width="10.30%"><p style="text-align:center">Bonus</p></td> 
        <td class="acenter" width="11.76%"><p style="text-align:center">60</p></td> 
        <td class="acenter" width="13.72%"><p style="text-align:center">0.829939893</p></td> 
        <td class="acenter" width="11.52%"><p style="text-align:center">0</p></td> 
        <td class="acenter" width="11.53%"><p style="text-align:center">0.911010369</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="30.88%"><p style="text-align:center">Main: 0.01, Sub: 0.03, Super: 0.04</p></td> 
        <td class="acenter" width="10.29%"><p style="text-align:center">13</p></td> 
        <td class="acenter" width="10.30%"><p style="text-align:center">Bonus</p></td> 
        <td class="acenter" width="11.76%"><p style="text-align:center">60</p></td> 
        <td class="acenter" width="13.72%"><p style="text-align:center">0.836364554</p></td> 
        <td class="acenter" width="11.52%"><p style="text-align:center">0</p></td> 
        <td class="acenter" width="11.53%"><p style="text-align:center">0.91452969</p></td> 
       </tr> 
      </table>
     </table-wrap>
     <p>Notably, when we observe the effect of increasing δ values for the main diagonal for the Malus-shifted BMS, it becomes evident that the total error exhibits a decreasing trend (<xref ref-type="fig" rid="fig5">
       Figure 5
      </xref>, red line). However, in the case of a shift in the Bonus direction, a consistent behavior is not clearly discernible (<xref ref-type="fig" rid="fig5">
       Figure 5
      </xref>, green line). By putting them together at the same plot, we observe that the Total Error’s values for the Bonus-shifted BMS (<xref ref-type="fig" rid="fig6">
       Figure 6
      </xref>, green line) are always much greater than those of the Malus-shifted (<xref ref-type="fig" rid="fig6">
       Figure 6
      </xref>, red line).</p>
     <fig-group id="fig5" position="float">
      <fig id="fig5" position="float">
       <label>Figure 5</label>
       <caption>
        <title>(a)--(b)--Figure 5. Distance by δ values and Bonus-Malus shift direction.</title>
       </caption>
       <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/2410818-rId148.jpeg?20240710112501" />
      </fig>
      <fig id="fig5" position="float">
       <label>Figure 5</label>
       <caption>
        <title>(a)--(b)--Figure 5. Distance by δ values and Bonus-Malus shift direction.</title>
       </caption>
       <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/2410818-rId149.jpeg?20240710112501" />
      </fig>
     </fig-group>
     <fig id="fig6" position="float">
      <label>Figure 6</label>
      <caption>
       <title>Figure 6. Distance by δ values and Bonus-Malus shift direction (together).</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/2410818-rId150.jpeg?20240710112501" />
     </fig>
     <p>In this final section, we delve into the impact of introducing modifications to the rules of the BMS on the boundaries of the initial grouping. To provide some context, let’s first recall that the initial (Reference) partition, denoted as S’, is structured as follows:</p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msup> 
         <mi>
           S 
         </mi> 
         <mo>
           ′ 
         </mo> 
        </msup> 
        <mo>
          = 
        </mo> 
        <mrow> 
         <mo>
           { 
         </mo> 
         <mrow> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              1 
            </mn> 
            <mo>
              , 
            </mo> 
            <mn>
              2 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              7 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
          <mo>
            , 
          </mo> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              8 
            </mn> 
            <mo>
              , 
            </mo> 
            <mn>
              9 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              16 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
          <mo>
            , 
          </mo> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              17 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              20 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
         </mrow> 
         <mo>
           } 
         </mo> 
        </mrow> 
       </mrow> 
      </math>.</p>
     <p>With this foundation in mind, we proceed to investigate the effect of these boundary rule changes using the default transition matrix from the previous exercise (case 1) and the Matrix11 employed in application 1 (case 2). Specifically, we sequentially replace the non-zero elements of states 7, 8, 16, and 17 with the values 0.7, 0.1, 0.2. This substitution results in four distinct matrix variations derived from the initial default transition matrix. Consequently, these changes have a direct impact on the rules defining the boundaries for contract classification (profitable, no significant probability of becoming onerous, onerous) at states 7, 8, 16, and 17. Results are summarized in the following tables, respectively.</p>
     <p>Case 1 (<xref ref-type="table" rid="table4">
       Table 4
      </xref>)</p>
     <table-wrap id="table4">
      <label>
       <xref ref-type="table" rid="table4">
        Table 4
       </xref></label>
      <caption>
       <title>
        <xref ref-type="bibr" rid="scirp.133403-"></xref>Table 4. Application 3, Case1 Results.</title>
      </caption>
      <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
       <tr> 
        <td class="custom-bottom-td acenter" width="23.85%"><p style="text-align:center">Matrix Variation</p></td> 
        <td class="custom-bottom-td acenter" width="12.93%"><p style="text-align:center">Partition Index</p></td> 
        <td class="custom-bottom-td acenter" width="21.07%"><p style="text-align:center">Lumpability Error</p></td> 
        <td class="custom-bottom-td acenter" width="21.07%"><p style="text-align:center">Partition Error</p></td> 
        <td class="custom-bottom-td acenter" width="21.07%"><p style="text-align:center">Distance</p></td> 
       </tr> 
       <tr> 
        <td class="custom-top-td acenter" width="23.85%"><p style="text-align:center">Default</p></td> 
        <td class="custom-top-td acenter" width="12.93%"><p style="text-align:center">60</p></td> 
        <td class="custom-top-td acenter" width="21.07%"><p style="text-align:center">0.826992094</p></td> 
        <td class="custom-top-td acenter" width="21.07%"><p style="text-align:center">0</p></td> 
        <td class="custom-top-td acenter" width="21.07%"><p style="text-align:center">0.909391057</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="23.85%"><p style="text-align:center">Substitution for State 7</p></td> 
        <td class="acenter" width="12.93%"><p style="text-align:center">60</p></td> 
        <td class="acenter" width="21.07%"><p style="text-align:center">0.815838569</p></td> 
        <td class="acenter" width="21.07%"><p style="text-align:center">0</p></td> 
        <td class="acenter" width="21.07%"><p style="text-align:center">0.903237825</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="23.85%"><p style="text-align:center">Substitution for State 8</p></td> 
        <td class="acenter" width="12.93%"><p style="text-align:center">59</p></td> 
        <td class="acenter" width="21.07%"><p style="text-align:center">0.815124843</p></td> 
        <td class="acenter" width="21.07%"><p style="text-align:center">0.008528784</p></td> 
        <td class="acenter" width="21.07%"><p style="text-align:center">0.90755365</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="23.85%"><p style="text-align:center">Substitution for State 16</p></td> 
        <td class="acenter" width="12.93%"><p style="text-align:center">60</p></td> 
        <td class="acenter" width="21.07%"><p style="text-align:center">0.777439494</p></td> 
        <td class="acenter" width="21.07%"><p style="text-align:center">0</p></td> 
        <td class="acenter" width="21.07%"><p style="text-align:center">0.881725294</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="23.85%"><p style="text-align:center">Substitution for State 17</p></td> 
        <td class="acenter" width="12.93%"><p style="text-align:center">74</p></td> 
        <td class="acenter" width="21.07%"><p style="text-align:center">0.823502039</p></td> 
        <td class="acenter" width="21.07%"><p style="text-align:center">0.046929282</p></td> 
        <td class="acenter" width="21.07%"><p style="text-align:center">0.932969089</p></td> 
       </tr> 
      </table>
     </table-wrap>
     <p>Case 2 (<xref ref-type="table" rid="table5">
       Table 5
      </xref>)</p>
     <table-wrap id="table5">
      <label>
       <xref ref-type="table" rid="table5">
        Table 5
       </xref></label>
      <caption>
       <title>
        <xref ref-type="bibr" rid="scirp.133403-"></xref>Table 5. Application 3, Case2 Results.</title>
      </caption>
      <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
       <tr> 
        <td class="custom-bottom-td acenter" width="27.60%"><p style="text-align:center">Matrix Variation</p></td> 
        <td class="custom-bottom-td acenter" width="17.08%"><p style="text-align:center">Partition Index</p></td> 
        <td class="custom-bottom-td acenter" width="21.06%"><p style="text-align:center">Lumpability Error</p></td> 
        <td class="custom-bottom-td acenter" width="21.06%"><p style="text-align:center">Partition Error</p></td> 
        <td class="custom-bottom-td acenter" width="21.06%"><p style="text-align:center">Distance</p></td> 
       </tr> 
       <tr> 
        <td class="custom-top-td acenter" width="27.60%"><p style="text-align:center">Default</p></td> 
        <td class="custom-top-td acenter" width="17.08%"><p style="text-align:center">76</p></td> 
        <td class="custom-top-td acenter" width="21.06%"><p style="text-align:center">0.628300945</p></td> 
        <td class="custom-top-td acenter" width="21.06%"><p style="text-align:center">0.073645504</p></td> 
        <td class="custom-top-td acenter" width="21.06%"><p style="text-align:center">0.837822445</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="27.60%"><p style="text-align:center">Substitution for State 7</p></td> 
        <td class="acenter" width="17.08%"><p style="text-align:center">74</p></td> 
        <td class="acenter" width="21.06%"><p style="text-align:center">0.590692462</p></td> 
        <td class="acenter" width="21.06%"><p style="text-align:center">0.046929282</p></td> 
        <td class="acenter" width="21.06%"><p style="text-align:center">0.798512206</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="27.60%"><p style="text-align:center">Substitution for State 8</p></td> 
        <td class="acenter" width="17.08%"><p style="text-align:center">73</p></td> 
        <td class="acenter" width="21.06%"><p style="text-align:center">0.584155319</p></td> 
        <td class="acenter" width="21.06%"><p style="text-align:center">0.055435877</p></td> 
        <td class="acenter" width="21.06%"><p style="text-align:center">0.799744457</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="27.60%"><p style="text-align:center">Substitution for State 16</p></td> 
        <td class="acenter" width="17.08%"><p style="text-align:center">63</p></td> 
        <td class="acenter" width="21.06%"><p style="text-align:center">0.298725997</p></td> 
        <td class="acenter" width="21.06%"><p style="text-align:center">0.050471922</p></td> 
        <td class="acenter" width="21.06%"><p style="text-align:center">0.590929707</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="27.60%"><p style="text-align:center">Substitution for State 17</p></td> 
        <td class="acenter" width="17.08%"><p style="text-align:center">76</p></td> 
        <td class="acenter" width="21.06%"><p style="text-align:center">0.628300945</p></td> 
        <td class="acenter" width="21.06%"><p style="text-align:center">0.073645504</p></td> 
        <td class="acenter" width="21.06%"><p style="text-align:center">0.837822445</p></td> 
       </tr> 
      </table>
     </table-wrap>
     <p>First and foremost, it’s crucial to highlight that the new method significantly impacts the recommendations for optimal partitions. Additionally, the values within the transition matrix play a pivotal role, with Matrix11 appearing more susceptible to the influence of the new algorithm. Moreover, as observed in application 1, Matrix1 is affected by the new method, resulting in the optimal partition 76:</p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           S 
         </mi> 
         <mrow> 
          <mn>
            76 
          </mn> 
         </mrow> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mrow> 
         <mo>
           { 
         </mo> 
         <mrow> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              1 
            </mn> 
            <mo>
              , 
            </mo> 
            <mn>
              2 
            </mn> 
            <mo>
              , 
            </mo> 
            <mn>
              3 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              5 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
          <mo>
            , 
          </mo> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              6 
            </mn> 
            <mo>
              , 
            </mo> 
            <mn>
              9 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              15 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
          <mo>
            , 
          </mo> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              16 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              20 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
         </mrow> 
         <mo>
           } 
         </mo> 
        </mrow> 
       </mrow> 
      </math></p>
     <p>in contrast to the transition matrix used in application 2, which reverts to the reference partition 60:</p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msup> 
         <mi>
           S 
         </mi> 
         <mo>
           ′ 
         </mo> 
        </msup> 
        <mo>
          = 
        </mo> 
        <msub> 
         <mi>
           S 
         </mi> 
         <mrow> 
          <mn>
            60 
          </mn> 
         </mrow> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mrow> 
         <mo>
           { 
         </mo> 
         <mrow> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              1 
            </mn> 
            <mo>
              , 
            </mo> 
            <mn>
              2 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              7 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
          <mo>
            , 
          </mo> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              8 
            </mn> 
            <mo>
              , 
            </mo> 
            <mn>
              9 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              16 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
          <mo>
            , 
          </mo> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              17 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              20 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
         </mrow> 
         <mo>
           } 
         </mo> 
        </mrow> 
       </mrow> 
      </math></p>
     <p>In Case 1, changing state 8 leads to partition 59:</p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           S 
         </mi> 
         <mrow> 
          <mn>
            59 
          </mn> 
         </mrow> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mrow> 
         <mo>
           { 
         </mo> 
         <mrow> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              1 
            </mn> 
            <mo>
              , 
            </mo> 
            <mn>
              2 
            </mn> 
            <mo>
              , 
            </mo> 
            <mn>
              3 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              8 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
          <mo>
            , 
          </mo> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              9 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              16 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
          <mo>
            , 
          </mo> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              17 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              20 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
         </mrow> 
         <mo>
           } 
         </mo> 
        </mrow> 
       </mrow> 
      </math></p>
     <p>while altering state 17 leads to partition 74:</p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           S 
         </mi> 
         <mrow> 
          <mn>
            74 
          </mn> 
         </mrow> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mrow> 
         <mo>
           { 
         </mo> 
         <mrow> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              1 
            </mn> 
            <mo>
              , 
            </mo> 
            <mn>
              2 
            </mn> 
            <mo>
              , 
            </mo> 
            <mn>
              3 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              7 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
          <mo>
            , 
          </mo> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              8 
            </mn> 
            <mo>
              , 
            </mo> 
            <mn>
              9 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              15 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
          <mo>
            , 
          </mo> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              16 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              20 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
         </mrow> 
         <mo>
           } 
         </mo> 
        </mrow> 
       </mrow> 
      </math></p>
     <p>In Case 2, when changes occur at state 16, partition 63 becomes optimal:</p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           S 
         </mi> 
         <mrow> 
          <mn>
            63 
          </mn> 
         </mrow> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mrow> 
         <mo>
           { 
         </mo> 
         <mrow> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              1 
            </mn> 
            <mo>
              , 
            </mo> 
            <mn>
              2 
            </mn> 
            <mo>
              , 
            </mo> 
            <mn>
              3 
            </mn> 
            <mo>
              , 
            </mo> 
            <mn>
              4 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
          <mo>
            , 
          </mo> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              5 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              16 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
          <mo>
            , 
          </mo> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              17 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              20 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
         </mrow> 
         <mo>
           } 
         </mo> 
        </mrow> 
       </mrow> 
      </math></p>
     <p>and if the change is applied to state 8, partition 73 becomes the optimal choice:</p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           S 
         </mi> 
         <mrow> 
          <mn>
            73 
          </mn> 
         </mrow> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mrow> 
         <mo>
           { 
         </mo> 
         <mrow> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              1 
            </mn> 
            <mo>
              , 
            </mo> 
            <mn>
              2 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              8 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
          <mo>
            , 
          </mo> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              9 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              15 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
          <mo>
            , 
          </mo> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              16 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              20 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
         </mrow> 
         <mo>
           } 
         </mo> 
        </mrow> 
       </mrow> 
      </math></p>
     <p>Lastly, when a change takes place at state 7, partition 74 emerges as the optimal solution:</p>
     <p>
      <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
        <msub> 
         <mi>
           S 
         </mi> 
         <mrow> 
          <mn>
            74 
          </mn> 
         </mrow> 
        </msub> 
        <mo>
          = 
        </mo> 
        <mrow> 
         <mo>
           { 
         </mo> 
         <mrow> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              1 
            </mn> 
            <mo>
              , 
            </mo> 
            <mn>
              2 
            </mn> 
            <mo>
              , 
            </mo> 
            <mn>
              3 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              7 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
          <mo>
            , 
          </mo> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              8 
            </mn> 
            <mo>
              , 
            </mo> 
            <mn>
              9 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              15 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
          <mo>
            , 
          </mo> 
          <mrow> 
           <mo>
             { 
           </mo> 
           <mrow> 
            <mn>
              16 
            </mn> 
            <mo>
              , 
            </mo> 
            <mo>
              ⋯ 
            </mo> 
            <mo>
              , 
            </mo> 
            <mn>
              20 
            </mn> 
           </mrow> 
           <mo>
             } 
           </mo> 
          </mrow> 
         </mrow> 
         <mo>
           } 
         </mo> 
        </mrow> 
       </mrow> 
      </math></p>
    </sec>
   </sec>
   <sec id="s4">
    <title>4. Discussion and Conclusion</title>
    <p>The insurance industry grapples with a formidable challenge considering the implementation of the new regulatory standard, IFRS 17. Among the complex issues it confronts in the realm of contract classification, particularly centred on profitability levels, is the delineation of boundaries that distinguish contract categories. A commonly employed method to discern these demarcations relies on a broad profitability criterion, such as the loss ratio. However, this approach yields only approximate estimates lacking in robustness.</p>
    <p>In this paper, we present a novel methodology that not only encapsulates the attributes of the initial transition matrix while preserving the lumpability property but also takes into account the initial classification grounded in profitability criteria. This innovative approach furnishes more dependable outcomes pertaining to contract classification within the framework of IFRS 17. Throughout the paper, a Bonus-Malus System (BMS) serves as an illustrative model for insurance systems.</p>
    <p>Our proposed methodology builds upon an existing approach related to the lumpability property of Markov Chains and demonstrates its applicability when reducing the state space to a smaller one. In tackling this minimization problem, we introduce an additional dimension by incorporating considerations related to the initial contract classification. The results of this analysis highlight that the new approach significantly influences the outcomes, resulting in a shift in the optimal classification.</p>
    <p>Moreover, it is worth noting that the new approach demonstrates sensitivity to several critical parameters, including the entries within the Transition Matrix and its structure (e.g., tridiagonal), as well as the selection of an appropriate distance metric. Notably, adopting the widely recognized Wasserstein distance enhances the robustness and reliability of our findings, effectively mitigating concerns related to metric sensitivity. The incorporation of Loss Ratio values, probability distributions of the partitions, and the cost matrix also exert a significant influence on the selection of optimal solutions.</p>
    <p>Consequently, our method can be confidently applied across various contexts, with the assurance that its outcomes remain robust and dependable, even when considering different metric options. The innovative method, introduced by incorporating the classification criterion, introduces an additional verification step. This step empowers us to ascertain whether, under specific circumstances, an alternative partition can achieve exact lumpability or potentially outperform the initial one. Furthermore, to enhance the accuracy of these assessments, one can also leverage Monte Carlo simulations or employ bootstrapping techniques, thereby reducing potential probabilistic errors in the analysis.</p>
    <p>As an alternative approach, one may explore the use of specialized optimization solvers tailored to address nonlinear constrained optimization problems. Nevertheless, it is essential to acknowledge that delving into this discussion exceeds the boundaries of the present paper’s scope.</p>
    <p>Furthermore, our findings emphasize that even subtle modifications to the rules within a BMS can yield divergent optimal classifications. Comparable observations arise when transition probabilities are adjusted near the initial classification boundaries.</p>
    <p>In summary, our methodology unveils a sensitivity to the direction of shifts within a BMS, whether moving towards more stringent or more lenient rules. This comprehensive analysis illuminates the complexities of contract classification under IFRS 17 and highlights the multifaceted factors that influence this pivotal domain.</p>
   </sec>
   <sec id="s5">
    <title>Appendix</title>
    <p>Preliminaries—The Lumpability Concept in the context of a Markov Chain.</p>
    <p>A Bonus-Malus System (BMS) can be represented as a Markov Chain either of Discrete or Continuous time depending on its rules with Discrete State Space.</p>
    <p>The concept of Lumpability introduced by <xref ref-type="bibr" rid="scirp.133403-3">
      Kemeny and Snell (1960)
     </xref>, is a general method where a Markov chain of either discrete <xref ref-type="bibr" rid="scirp.133403-3">
      (Kemeny &amp; Snell, 1960)
     </xref> or continuous <xref ref-type="bibr" rid="scirp.133403-9">
      (Tian &amp; Kannan, 2006)
     </xref> time with a very large number of states is reduced to a Markov chain with a smaller sate space while at the same time the properties of the original chain are maintained. The new process is called the Lumped Process. In fact, this reduction of the dimensionality of the original state space comes by aggregating (combining) states together to form new compound states resulting thus to a partition of the initial one.</p>
    <p>In order to ensure that the new Markov Chain will preserve the properties of the original Markov chain two fundamental concepts must hold, Lumpability and Commutativity.</p>
    <p>Definition (Lumped Markov Chain)</p>
    <p>Let 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          { 
        </mo> 
        <mrow> 
         <msub> 
          <mi>
            X 
          </mi> 
          <mi>
            t 
          </mi> 
         </msub> 
        </mrow> 
       </mrow> 
       <mo>
         : 
       </mo> 
       <mi>
         t 
       </mi> 
       <mo>
         ∈ 
       </mo> 
       <mrow> 
        <mi>
          ℕ 
        </mi> 
        <mo>
          } 
        </mo> 
       </mrow> 
      </mrow> 
     </math> and 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         M 
       </mi> 
       <mo>
         = 
       </mo> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           S 
         </mi> 
         <mo>
           , 
         </mo> 
         <mi>
           P 
         </mi> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> be a Markov chain with initial vector π and 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msup> 
        <mi>
          S 
        </mi> 
        <mo>
          ′ 
        </mo> 
       </msup> 
       <mo>
         = 
       </mo> 
       <mrow> 
        <mo>
          { 
        </mo> 
        <mrow> 
         <msub> 
          <mi>
            A 
          </mi> 
          <mn>
            1 
          </mn> 
         </msub> 
         <mo>
           , 
         </mo> 
         <msub> 
          <mi>
            A 
          </mi> 
          <mn>
            2 
          </mn> 
         </msub> 
         <mo>
           , 
         </mo> 
         <mo>
           ⋯ 
         </mo> 
         <mo>
           , 
         </mo> 
         <msub> 
          <mi>
            A 
          </mi> 
          <mi>
            m 
          </mi> 
         </msub> 
        </mrow> 
        <mo>
          } 
        </mo> 
       </mrow> 
      </mrow> 
     </math>, where 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         m 
       </mi> 
       <mo>
         &lt; 
       </mo> 
       <mi>
         n 
       </mi> 
      </mrow> 
     </math>, be a partition of 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         S 
       </mi> 
       <mo>
         = 
       </mo> 
       <mrow> 
        <mo>
          { 
        </mo> 
        <mrow> 
         <mn>
           1 
         </mn> 
         <mo>
           , 
         </mo> 
         <mn>
           2 
         </mn> 
         <mo>
           , 
         </mo> 
         <mo>
           ⋯ 
         </mo> 
         <mo>
           , 
         </mo> 
         <mi>
           n 
         </mi> 
        </mrow> 
        <mo>
          } 
        </mo> 
       </mrow> 
      </mrow> 
     </math>. The chain M is called lumpable with respect to S' if, for any initial distribution it holds that:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         P 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <msub> 
          <mi>
            X 
          </mi> 
          <mi>
            t 
          </mi> 
         </msub> 
         <mo>
           ∈ 
         </mo> 
         <msub> 
          <mi>
            A 
          </mi> 
          <mi>
            j 
          </mi> 
         </msub> 
         <mo>
           | 
         </mo> 
         <msub> 
          <mi>
            X 
          </mi> 
          <mrow> 
           <mi>
             t 
           </mi> 
           <mo>
             − 
           </mo> 
           <mn>
             1 
           </mn> 
          </mrow> 
         </msub> 
         <mo>
           ∈ 
         </mo> 
         <msub> 
          <mi>
            A 
          </mi> 
          <mrow> 
           <msub> 
            <mi>
              i 
            </mi> 
            <mn>
              1 
            </mn> 
           </msub> 
          </mrow> 
         </msub> 
         <mo>
           , 
         </mo> 
         <mo>
           ⋯ 
         </mo> 
         <mo>
           , 
         </mo> 
         <msub> 
          <mi>
            X 
          </mi> 
          <mrow> 
           <mi>
             t 
           </mi> 
           <mo>
             − 
           </mo> 
           <mi>
             k 
           </mi> 
          </mrow> 
         </msub> 
         <mo>
           ∈ 
         </mo> 
         <msub> 
          <mi>
            A 
          </mi> 
          <mrow> 
           <msub> 
            <mi>
              i 
            </mi> 
            <mi>
              k 
            </mi> 
           </msub> 
          </mrow> 
         </msub> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mi>
         P 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <msub> 
          <mi>
            X 
          </mi> 
          <mi>
            t 
          </mi> 
         </msub> 
         <mo>
           ∈ 
         </mo> 
         <msub> 
          <mi>
            A 
          </mi> 
          <mi>
            j 
          </mi> 
         </msub> 
         <mo>
           | 
         </mo> 
         <msub> 
          <mi>
            X 
          </mi> 
          <mrow> 
           <mi>
             t 
           </mi> 
           <mo>
             − 
           </mo> 
           <mn>
             1 
           </mn> 
          </mrow> 
         </msub> 
         <mo>
           ∈ 
         </mo> 
         <msub> 
          <mi>
            A 
          </mi> 
          <mrow> 
           <msub> 
            <mi>
              i 
            </mi> 
            <mn>
              1 
            </mn> 
           </msub> 
          </mrow> 
         </msub> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math></p>
    <p>For any 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         t 
       </mi> 
       <mo>
         , 
       </mo> 
       <mi>
         k 
       </mi> 
       <mo>
         , 
       </mo> 
       <mi>
         j 
       </mi> 
      </mrow> 
     </math> and any 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          A 
        </mi> 
        <mrow> 
         <msub> 
          <mi>
            i 
          </mi> 
          <mn>
            1 
          </mn> 
         </msub> 
        </mrow> 
       </msub> 
       <mo>
         , 
       </mo> 
       <mo>
         ⋯ 
       </mo> 
       <mo>
         , 
       </mo> 
       <msub> 
        <mi>
          A 
        </mi> 
        <mrow> 
         <msub> 
          <mi>
            i 
          </mi> 
          <mi>
            k 
          </mi> 
         </msub> 
        </mrow> 
       </msub> 
       <mo>
         ∈ 
       </mo> 
       <msup> 
        <mi>
          S 
        </mi> 
        <mo>
          ′ 
        </mo> 
       </msup> 
      </mrow> 
     </math>, whenever these conditional probabilities are well-defined, i.e. these conditions occur with positive probability.</p>
    <p>Thus, it follows from the above definition that the transition probabilities are independent of the choice of the initial vector π.</p>
    <p>In other words, the above definition states that for the Markov chain M to be lumpable with respect to a partition S' is that for every pair of sets 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          A 
        </mi> 
        <mi>
          η 
        </mi> 
       </msub> 
      </mrow> 
     </math> and 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          A 
        </mi> 
        <mi>
          ξ 
        </mi> 
       </msub> 
      </mrow> 
     </math> the probabilities 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          P 
        </mi> 
        <mrow> 
         <mi>
           k 
         </mi> 
         <msub> 
          <mi>
            A 
          </mi> 
          <mi>
            ξ 
          </mi> 
         </msub> 
        </mrow> 
       </msub> 
      </mrow> 
     </math> have the same value for every 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         k 
       </mi> 
       <mo>
         ∈ 
       </mo> 
       <msub> 
        <mi>
          A 
        </mi> 
        <mi>
          η 
        </mi> 
       </msub> 
      </mrow> 
     </math>: 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mstyle displaystyle="true"> 
        <msub> 
         <mo>
           ∑ 
         </mo> 
         <mrow> 
          <mi>
            κ 
          </mi> 
          <mo>
            ∈ 
          </mo> 
          <msub> 
           <mi>
             A 
           </mi> 
           <mi>
             η 
           </mi> 
          </msub> 
         </mrow> 
        </msub> 
        <mrow> 
         <msub> 
          <mi>
            P 
          </mi> 
          <mrow> 
           <mi>
             i 
           </mi> 
           <mo>
             , 
           </mo> 
           <mi>
             k 
           </mi> 
          </mrow> 
         </msub> 
        </mrow> 
       </mstyle> 
       <mo>
         = 
       </mo> 
       <mstyle displaystyle="true"> 
        <msub> 
         <mo>
           ∑ 
         </mo> 
         <mrow> 
          <mi>
            κ 
          </mi> 
          <mo>
            ∈ 
          </mo> 
          <msub> 
           <mi>
             A 
           </mi> 
           <mi>
             η 
           </mi> 
          </msub> 
         </mrow> 
        </msub> 
        <mrow> 
         <msub> 
          <mi>
            P 
          </mi> 
          <mrow> 
           <mi>
             j 
           </mi> 
           <mo>
             , 
           </mo> 
           <mi>
             k 
           </mi> 
          </mrow> 
         </msub> 
        </mrow> 
       </mstyle> 
      </mrow> 
     </math>, for all 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         i 
       </mi> 
       <mo>
         , 
       </mo> 
       <mi>
         j 
       </mi> 
       <mo>
         ∈ 
       </mo> 
       <msub> 
        <mi>
          A 
        </mi> 
        <mi>
          ξ 
        </mi> 
       </msub> 
      </mrow> 
     </math>.</p>
    <p>These are the probabilities that form the transition matrix of the lumped chain.</p>
    <p>According to <xref ref-type="bibr" rid="scirp.133403-3">
      Kemeny and Snell (1960)
     </xref>, the above constitutes a necessary and sufficient condition for a Markov chain to be lumpable with respect to a partition S'. As already mentioned, the theorem is extended for continuous-time Markov chains <xref ref-type="bibr" rid="scirp.133403-9">
      (Tian &amp; Kannan, 2006)
     </xref>.</p>
    <p>Theorem (U-V Lumpability)</p>
    <p>If P is the transition matrix of a Markov chain 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          { 
        </mo> 
        <mrow> 
         <msub> 
          <mi>
            X 
          </mi> 
          <mi>
            t 
          </mi> 
         </msub> 
        </mrow> 
        <mo>
          } 
        </mo> 
       </mrow> 
      </mrow> 
     </math>, then 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          { 
        </mo> 
        <mrow> 
         <msub> 
          <mi>
            X 
          </mi> 
          <mi>
            t 
          </mi> 
         </msub> 
        </mrow> 
        <mo>
          } 
        </mo> 
       </mrow> 
      </mrow> 
     </math> is lumpable with respect to a partition S', if and only if</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         V 
       </mi> 
       <mi>
         U 
       </mi> 
       <mi>
         P 
       </mi> 
       <mi>
         V 
       </mi> 
       <mo>
         = 
       </mo> 
       <mi>
         P 
       </mi> 
       <mi>
         V 
       </mi> 
      </mrow> 
     </math></p>
    <p>and the transition matrix P is equally U-V - lumpable.</p>
    <p>When the above statement holds the, reduced stochastic process on S' retains the Markov property and the matrix 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msup> 
        <mi>
          P 
        </mi> 
        <mo>
          ∗ 
        </mo> 
       </msup> 
       <mo>
         : 
       </mo> 
       <mo>
         = 
       </mo> 
       <mi>
         U 
       </mi> 
       <mi>
         P 
       </mi> 
       <mi>
         V 
       </mi> 
      </mrow> 
     </math>, which is stochastic, is called the transition matrix of the lumped system.</p>
    <p>Matrix U is an m×n matrix whose ξth row 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         ξ 
       </mi> 
       <mo>
         = 
       </mo> 
       <mn>
         1 
       </mn> 
       <mo>
         , 
       </mo> 
       <mn>
         2 
       </mn> 
       <mo>
         , 
       </mo> 
       <mo>
         ⋯ 
       </mo> 
       <mo>
         , 
       </mo> 
       <mi>
         m 
       </mi> 
      </mrow> 
     </math> is the probability vector having equal component for states in 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          A 
        </mi> 
        <mi>
          ξ 
        </mi> 
       </msub> 
      </mrow> 
     </math> and 0 elsewhere.</p>
    <p>Matrix V is an n×m matrix with the ηth column, 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         η 
       </mi> 
       <mo>
         = 
       </mo> 
       <mn>
         1 
       </mn> 
       <mo>
         , 
       </mo> 
       <mn>
         2 
       </mn> 
       <mo>
         , 
       </mo> 
       <mo>
         ⋯ 
       </mo> 
       <mo>
         , 
       </mo> 
       <mi>
         m 
       </mi> 
      </mrow> 
     </math> is a vector with 1’ s in the components corresponding to states in 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          A 
        </mi> 
        <mi>
          η 
        </mi> 
       </msub> 
      </mrow> 
     </math> and 0 elsewhere.</p>
    <p>The reader is encouraged to refer to Georgiou et al. <xref ref-type="bibr" rid="scirp.133403-2">
      (Georgiou, Domazakis, Pappas, &amp; Yannacopoulos, 2021)
     </xref> for more information and details.</p>
    <p>However, exact lumpability may not hold for a Markov chain and it is quite a delicate property to hold at most of the times especially under the context of specific fields.</p>
    <p>A general method to approach exact lumpability as much as possible, named as Approximate lumpability was first discussed by <xref ref-type="bibr" rid="scirp.133403-3">
      Kemeny and Snell (1960)
     </xref>.</p>
    <p>The idea behind Approximate lumpability is to find a new Markov chain, which has the same dimension as the original one having its transition matrix as close as possible to the original chain, so as the new chain is exactly lumpable with respect to partition S'.</p>
    <p>Approximate Lumpability problem</p>
    <p>
     <xref ref-type="bibr" rid="scirp.133403-"></xref>Let a Markov chain 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         M 
       </mi> 
       <mo>
         = 
       </mo> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           S 
         </mi> 
         <mo>
           , 
         </mo> 
         <mi>
           P 
         </mi> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> with transition matrix 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         P 
       </mi> 
       <mo>
         ∈ 
       </mo> 
       <msup> 
        <mi>
          ℝ 
        </mi> 
        <mrow> 
         <mi>
           n 
         </mi> 
         <mo>
           × 
         </mo> 
         <mi>
           n 
         </mi> 
        </mrow> 
       </msup> 
      </mrow> 
     </math>, which is not exactly lumpable with respect to partition S', with dimension m &lt; n, defined by the corresponding matrices V, U. Let 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          P 
        </mi> 
        <mi>
          L 
        </mi> 
       </msub> 
       <mo>
         ∈ 
       </mo> 
       <msup> 
        <mi>
          ℝ 
        </mi> 
        <mrow> 
         <mi>
           n 
         </mi> 
         <mo>
           × 
         </mo> 
         <mi>
           n 
         </mi> 
        </mrow> 
       </msup> 
      </mrow> 
     </math> the transition matrix of the new Markov chain M' with same dimensions as M and be exactly lumpable with respect to partition S' and being as close as possible under some norm with the original one.</p>
    <p>From the above it follows that there will be an approximation error which can be minimized based on some appropriate norm for the difference 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          P 
        </mi> 
        <mi>
          L 
        </mi> 
       </msub> 
       <mo>
         − 
       </mo> 
       <mi>
         P 
       </mi> 
      </mrow> 
     </math>.</p>
    <p>Thus, the Approximate Lumpability Problem can be described as a minimizing problem under specific constraints as follows.</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <munder> 
        <mrow> 
         <mi>
           min 
         </mi> 
        </mrow> 
        <mrow> 
         <msub> 
          <mi>
            P 
          </mi> 
          <mi>
            L 
          </mi> 
         </msub> 
         <mo>
           ∈ 
         </mo> 
         <msup> 
          <mi>
            ℝ 
          </mi> 
          <mrow> 
           <mi>
             n 
           </mi> 
           <mo>
             × 
           </mo> 
           <mi>
             n 
           </mi> 
          </mrow> 
         </msup> 
        </mrow> 
       </munder> 
       <msub> 
        <mrow> 
         <mrow> 
          <mo>
            ‖ 
          </mo> 
          <mrow> 
           <msub> 
            <mi>
              P 
            </mi> 
            <mi>
              L 
            </mi> 
           </msub> 
           <mo>
             − 
           </mo> 
           <mi>
             P 
           </mi> 
          </mrow> 
          <mo>
            ‖ 
          </mo> 
         </mrow> 
        </mrow> 
        <mn>
          2 
        </mn> 
       </msub> 
      </mrow> 
     </math></p>
    <p>Subject to 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         V 
       </mi> 
       <mi>
         U 
       </mi> 
       <msub> 
        <mi>
          P 
        </mi> 
        <mi>
          L 
        </mi> 
       </msub> 
       <mi>
         V 
       </mi> 
       <mo>
         = 
       </mo> 
       <msub> 
        <mi>
          P 
        </mi> 
        <mi>
          L 
        </mi> 
       </msub> 
       <mi>
         V 
       </mi> 
      </mrow> 
     </math>, 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          P 
        </mi> 
        <mi>
          L 
        </mi> 
       </msub> 
       <msub> 
        <mn>
          1 
        </mn> 
        <mi>
          n 
        </mi> 
       </msub> 
       <mo>
         = 
       </mo> 
       <msub> 
        <mn>
          1 
        </mn> 
        <mi>
          n 
        </mi> 
       </msub> 
      </mrow> 
     </math>, 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mrow> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mi>
            P 
          </mi> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mrow> 
         <mi>
           i 
         </mi> 
         <mo>
           , 
         </mo> 
         <mi>
           j 
         </mi> 
        </mrow> 
       </msub> 
       <mo>
         ≥ 
       </mo> 
       <mn>
         0 
       </mn> 
      </mrow> 
     </math>,</p>
    <p>Where 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mrow> 
         <mrow> 
          <mo>
            ‖ 
          </mo> 
          <mrow> 
           <mtext>
               
           </mtext> 
           <mo>
             ⋅ 
           </mo> 
           <mtext>
               
           </mtext> 
          </mrow> 
          <mo>
            ‖ 
          </mo> 
         </mrow> 
        </mrow> 
        <mn>
          2 
        </mn> 
       </msub> 
      </mrow> 
     </math> denotes the 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msup> 
        <mi>
          ℓ 
        </mi> 
        <mn>
          2 
        </mn> 
       </msup> 
      </mrow> 
     </math> norm, the choice of the norm is indicative and various weighted 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msup> 
        <mi>
          ℓ 
        </mi> 
        <mn>
          2 
        </mn> 
       </msup> 
      </mrow> 
     </math> norm can be considered instead and 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mn>
          1 
        </mn> 
        <mi>
          n 
        </mi> 
       </msub> 
      </mrow> 
     </math> is the n-dimensional column vector whose entries are all 1. The constraints of the problem ensure the row-stochasticity of the transition matrix which is a required condition for 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          P 
        </mi> 
        <mi>
          L 
        </mi> 
       </msub> 
      </mrow> 
     </math> to be transition matrix.</p>
    <p>The Approximate Lumpability Problem can be reformulated as follows.</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <munder> 
        <mrow> 
         <mi>
           min 
         </mi> 
        </mrow> 
        <mrow> 
         <msub> 
          <mi>
            P 
          </mi> 
          <mi>
            L 
          </mi> 
         </msub> 
         <mo>
           ∈ 
         </mo> 
         <msup> 
          <mi>
            ℝ 
          </mi> 
          <mrow> 
           <mi>
             n 
           </mi> 
           <mo>
             × 
           </mo> 
           <mi>
             n 
           </mi> 
          </mrow> 
         </msup> 
        </mrow> 
       </munder> 
       <msub> 
        <mrow> 
         <mrow> 
          <mo>
            ‖ 
          </mo> 
          <mrow> 
           <msub> 
            <mi>
              p 
            </mi> 
            <mi>
              L 
            </mi> 
           </msub> 
           <mo>
             − 
           </mo> 
           <mi>
             p 
           </mi> 
          </mrow> 
          <mo>
            ‖ 
          </mo> 
         </mrow> 
        </mrow> 
        <mn>
          2 
        </mn> 
       </msub> 
      </mrow> 
     </math></p>
    <p>Subject to 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         A 
       </mi> 
       <msub> 
        <mi>
          p 
        </mi> 
        <mi>
          L 
        </mi> 
       </msub> 
       <mo>
         = 
       </mo> 
       <mi>
         b 
       </mi> 
      </mrow> 
     </math>, 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mrow> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mi>
            P 
          </mi> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mrow> 
         <mi>
           i 
         </mi> 
         <mo>
           , 
         </mo> 
         <mi>
           j 
         </mi> 
        </mrow> 
       </msub> 
       <mo>
         ≥ 
       </mo> 
       <mn>
         0 
       </mn> 
      </mrow> 
     </math>,</p>
    <p>Where the column vector b is given by 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         b 
       </mi> 
       <mo>
         = 
       </mo> 
       <msup> 
        <mrow> 
         <mrow> 
          <mo>
            [ 
          </mo> 
          <mrow> 
           <msub> 
            <mn>
              0 
            </mn> 
            <mrow> 
             <mi>
               m 
             </mi> 
             <mi>
               n 
             </mi> 
            </mrow> 
           </msub> 
           <mtext>
               
           </mtext> 
           <mtext>
               
           </mtext> 
           <msub> 
            <mn>
              1 
            </mn> 
            <mi>
              n 
            </mi> 
           </msub> 
          </mrow> 
          <mo>
            ] 
          </mo> 
         </mrow> 
        </mrow> 
        <mtext>
          T 
        </mtext> 
       </msup> 
      </mrow> 
     </math> and 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         A 
       </mi> 
       <mo>
         = 
       </mo> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mtable> 
          <mtr> 
           <mtd> 
            <mrow> 
             <mrow> 
              <mo>
                ( 
              </mo> 
              <mrow> 
               <mi>
                 V 
               </mi> 
               <mi>
                 U 
               </mi> 
               <mo>
                 − 
               </mo> 
               <msub> 
                <mi>
                  I 
                </mi> 
                <mi>
                  n 
                </mi> 
               </msub> 
              </mrow> 
              <mo>
                ) 
              </mo> 
             </mrow> 
             <mo>
               ⊗ 
             </mo> 
             <msup> 
              <mi>
                V 
              </mi> 
              <mtext>
                T 
              </mtext> 
             </msup> 
            </mrow> 
           </mtd> 
          </mtr> 
          <mtr> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                I 
              </mi> 
              <mrow> 
               <mi>
                 n 
               </mi> 
               <mo>
                 × 
               </mo> 
               <mi>
                 n 
               </mi> 
              </mrow> 
             </msub> 
             <mo>
               ⊗ 
             </mo> 
             <msubsup> 
              <mn>
                1 
              </mn> 
              <mi>
                n 
              </mi> 
              <mtext>
                T 
              </mtext> 
             </msubsup> 
            </mrow> 
           </mtd> 
          </mtr> 
         </mtable> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> with dimensionality 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         n 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           m 
         </mi> 
         <mo>
           + 
         </mo> 
         <mn>
           1 
         </mn> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         × 
       </mo> 
       <msup> 
        <mi>
          n 
        </mi> 
        <mn>
          2 
        </mn> 
       </msup> 
      </mrow> 
     </math>.</p>
    <p>A is called the Lumpability condition matrix and in fact it substitutes for the second and third conditions of the initial definition of the exact lumpability problem using the Kronecker product and vectoriazations 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          p 
        </mi> 
        <mi>
          L 
        </mi> 
       </msub> 
       <mo>
         , 
       </mo> 
       <mi>
         p 
       </mi> 
      </mrow> 
     </math> of matrices 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          P 
        </mi> 
        <mi>
          L 
        </mi> 
       </msub> 
       <mo>
         , 
       </mo> 
       <mi>
         P 
       </mi> 
      </mrow> 
     </math> respectively.</p>
    <p>Specifically, in <xref ref-type="bibr" rid="scirp.133403-2">
      (Georgiou, Domazakis, Pappas, &amp; Yannacopoulos, 2021)
     </xref> it is mentioned that due to the Cauchy-Schwartz inequality, solutions can be obtained using 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msup> 
        <mi>
          ℓ 
        </mi> 
        <mn>
          1 
        </mn> 
       </msup> 
      </mrow> 
     </math> norm.</p>
    <p>This method applies in our case since based on IFRS17 contract aggregation in fact only consecutive contracts in terms of profitability are lumped together. For example, the last class (state 3) of the three main aggregate classes consists of all contracts which are considered as onerous. All these states of onerous contracts before aggregation will be represented as consecutive states in the initial transition matrix P.</p>
    <p>The 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         A 
       </mi> 
       <msub> 
        <mi>
          p 
        </mi> 
        <mi>
          L 
        </mi> 
       </msub> 
       <mo>
         = 
       </mo> 
       <mi>
         b 
       </mi> 
      </mrow> 
     </math> captures the lumpability and the unit-row sum condition for 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          P 
        </mi> 
        <mi>
          L 
        </mi> 
       </msub> 
      </mrow> 
     </math> while, 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          P 
        </mi> 
        <mrow> 
         <mi>
           i 
         </mi> 
         <mo>
           , 
         </mo> 
         <mi>
           j 
         </mi> 
        </mrow> 
       </msub> 
       <mo>
         ≥ 
       </mo> 
       <mn>
         0 
       </mn> 
      </mrow> 
     </math> captures the non-negativity condition.</p>
    <p>Consequently, the solution to our problem is reduced to the orthogonal projection of P onto the intersection 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         ℒ 
       </mi> 
       <mo>
         ∩ 
       </mo> 
       <msubsup> 
        <mi>
          M 
        </mi> 
        <mi>
          n 
        </mi> 
        <mo>
          + 
        </mo> 
       </msubsup> 
      </mrow> 
     </math>, where:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         ℒ 
       </mi> 
       <mo>
         : 
       </mo> 
       <mo>
         = 
       </mo> 
       <mi>
         ℒ 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           U 
         </mi> 
         <mo>
           , 
         </mo> 
         <mi>
           V 
         </mi> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> is the set of all U-V lumpable, n-dimensional square matrices with unit-row sums and</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msubsup> 
        <mi>
          M 
        </mi> 
        <mi>
          n 
        </mi> 
        <mo>
          + 
        </mo> 
       </msubsup> 
      </mrow> 
     </math> is the set of all non-negative n-dimensional square matrices.</p>
    <p>Georgiou et al. proposed a general algorithm, to approach the Exact Lumpability Problem. For convenience we include the proposed algorithm. The reader is encouraged to refer to Georgiou et al. <xref ref-type="bibr" rid="scirp.133403-2">
      (Georgiou, Domazakis, Pappas, &amp; Yannacopoulos, 2021)
     </xref> for more information and details.</p>
    <p>Algorithm</p>
    <p>Given an initial and aggregate state space S and S', respectively, with 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          | 
        </mo> 
        <mi>
          S 
        </mi> 
        <mo>
          | 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mi>
         n 
       </mi> 
      </mrow> 
     </math> and 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          | 
        </mo> 
        <msup> 
         <mi>
           S 
         </mi> 
         <mo>
           ′ 
         </mo> 
        </msup> 
        <mo>
          | 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mi>
         m 
       </mi> 
      </mrow> 
     </math>, with the mapping 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         Φ 
       </mi> 
       <mo>
         : 
       </mo> 
       <mi>
         S 
       </mi> 
       <mo>
         → 
       </mo> 
       <msup> 
        <mi>
          S 
        </mi> 
        <mo>
          ′ 
        </mo> 
       </msup> 
      </mrow> 
     </math> and the partition matrices 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          L 
        </mi> 
        <mi>
          i 
        </mi> 
       </msub> 
      </mrow> 
     </math>, for 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         i 
       </mi> 
       <mo>
         ∈ 
       </mo> 
       <msup> 
        <mi>
          S 
        </mi> 
        <mo>
          ′ 
        </mo> 
       </msup> 
      </mrow> 
     </math> as defined above:</p>
    <p>1) Construct the condition matrix A;</p>
    <p>2) Construct the reparametrized transition matrix p (rearrange the entries of P based on the mapping);</p>
    <p>3) Construct vector b;</p>
    <p>4) Use Dykstra’s Iterative Scheme along with an appropriate stopping criterion, to find the entries of the lumpable matrix in vector form 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          p 
        </mi> 
        <mi>
          L 
        </mi> 
       </msub> 
      </mrow> 
     </math>;</p>
    <p>5) Use relabeling to obtain the solution in matrix form.</p>
    <p>For the above algorithm Georgiou et al. proposed analytically a method to construct matrix A using mapping function Φ. We do not provide further details about the construction of condition matrix and the reader is called to refer to <xref ref-type="bibr" rid="scirp.133403-2">
      (Georgiou, Domazakis, Pappas, &amp; Yannacopoulos, 2021)
     </xref> for more information.</p>
   </sec>
   <sec id="s6">
    <title>NOTES</title>
    <p><sup>1</sup>Please refer to the Appendix for more information.</p>
   </sec>
  </sec>
 </body><back>
  <ref-list>
   <title>References</title>
   <ref id="scirp.133403-ref1">
    <label>1</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Das, K. P. (2010). A Stochastic Approach to the Bonus-Malus System. Neural, Parallel, and Scientific Computations, 18, 283-290.
    </mixed-citation>
   </ref>
   <ref id="scirp.133403-ref2">
    <label>2</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Georgiou, K., Domazakis, G. N., Pappas, D.,&amp;Yannacopoulos, Y. N. (2021). Markov chain Lumpability and Applications to Credit Risk Modelling in Compliance with the International Financial Reporting Standard 9 framework. Elsevier. &gt;https://doi.org/10.1016/j.ejor.2020.11.014
    </mixed-citation>
   </ref>
   <ref id="scirp.133403-ref3">
    <label>3</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Kemeny, J. G.,&amp;Snell, J. L. (1960). Finite Markov Chains. Springer.
    </mixed-citation>
   </ref>
   <ref id="scirp.133403-ref4">
    <label>4</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Koukiou, G.,&amp;Anastassopoulos, V. (2021). Fully Polarimetric Land Cover Classification Based on Markov Chains. Advances in Remote Sensing, 10, 47-65. &gt;https://doi.org/10.4236/ars.2021.103003 
    </mixed-citation>
   </ref>
   <ref id="scirp.133403-ref5">
    <label>5</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Lemaire, J. (1995). Bonus-Malus Systems in Automobile Insurance. Kluwer Academic Publishers.
    </mixed-citation>
   </ref>
   <ref id="scirp.133403-ref6">
    <label>6</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Lemaire, J. (1998). Bonus-Malus Systems. North American Actuarial Journal, 2, 26-38. &gt;https://doi.org/10.1080/10920277.1998.10595668
    </mixed-citation>
   </ref>
   <ref id="scirp.133403-ref7">
    <label>7</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Loizides, M. I.,&amp;Yannacopoulos, A. N. (2012). Lumpable Markov Chains in Risk Management. Optimization Letters, 6, 489-501. &gt;https://doi.org/10.1007/s11590-010-0275-x
    </mixed-citation>
   </ref>
   <ref id="scirp.133403-ref8">
    <label>8</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Niemiec, M. (2007). Bonus-Malus Systems as Markov Set-Chains. ASTIN Bulletin, 37, 53-65. &gt;https://doi.org/10.2143/AST.37.1.2020798 
    </mixed-citation>
   </ref>
   <ref id="scirp.133403-ref9">
    <label>9</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Tian, J. P.,&amp;Kannan, D. (2006). Lumpability and Commutativity of Markov Processes. Stochastic Analysis and Applications, 24, 685-702. &gt;https://doi.org/10.1080/07362990600632045
    </mixed-citation>
   </ref>
  </ref-list>
 </back>
</article>