<?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">
    ojem
   </journal-id>
   <journal-title-group>
    <journal-title>
     Open Journal of Emergency Medicine
    </journal-title>
   </journal-title-group>
   <issn pub-type="epub">
    2332-1806
   </issn>
   <issn publication-format="print">
    2332-1814
   </issn>
   <publisher>
    <publisher-name>
     Scientific Research Publishing
    </publisher-name>
   </publisher>
  </journal-meta>
  <article-meta>
   <article-id pub-id-type="doi">
    10.4236/ojem.2024.124018
   </article-id>
   <article-id pub-id-type="publisher-id">
    ojem-138473
   </article-id>
   <article-categories>
    <subj-group subj-group-type="heading">
     <subject>
      Articles
     </subject>
    </subj-group>
    <subj-group subj-group-type="Discipline-v2">
     <subject>
      Medicine 
     </subject>
     <subject>
       Healthcare
     </subject>
    </subj-group>
   </article-categories>
   <title-group>
    Risk Factors Associated with Hospital Mortality: Analysis of the Length of Stay Using Risk Prediction Cox Regression Non-Proportional Hazard Model
   </title-group>
   <contrib-group>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Mawahib Mohamed Abdelgayoum
      </surname>
      <given-names>
       Ahmed
      </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>
       Ahmed
      </surname>
      <given-names>
       Elfaham
      </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>
       Ahmed
      </surname>
      <given-names>
       Asad
      </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>
       Ahmed
      </surname>
      <given-names>
       Alsaeidi
      </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>
       Mohamed
      </surname>
      <given-names>
       Shoukri
      </given-names>
     </name> 
     <xref ref-type="aff" rid="aff2"> 
      <sup>2</sup>
     </xref>
    </contrib>
   </contrib-group> 
   <aff id="aff1">
    <addr-line>
     aDepartment of Accidents and Emergency Medicine, Barking Havering and Redbridge University Hospitals Trust Romford, London, UK
    </addr-line> 
   </aff> 
   <aff id="aff2">
    <addr-line>
     aDepartment of Epidemiology and Biostatistics, University of Western Ontario, London, Ontario, Canada
    </addr-line> 
   </aff> 
   <pub-date pub-type="epub">
    <day>
     04
    </day> 
    <month>
     11
    </month>
    <year>
     2024
    </year>
   </pub-date> 
   <volume>
    12
   </volume> 
   <issue>
    04
   </issue>
   <fpage>
    156
   </fpage>
   <lpage>
    168
   </lpage>
   <history>
    <date date-type="received">
     <day>
      4,
     </day>
     <month>
      December
     </month>
     <year>
      2024
     </year>
    </date>
    <date date-type="published">
     <day>
      23,
     </day>
     <month>
      December
     </month>
     <year>
      2024
     </year> 
    </date> 
    <date date-type="accepted">
     <day>
      23,
     </day>
     <month>
      December
     </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>
    <b>Background:</b> In-hospital mortality is a key indicator of the quality of care. Studies so far have demonstrated the influence of patient and hospital-related factors on in-hospital mortality. Currently, new variables, such as components of metabolic syndrome as comorbid conditions, are being incorporated as independent risk factors. We aimed to identify which individual, clinical and hospital characteristics are related to hospital mortality. 
    <b>Objectives:</b> Demonstrate that the Cox proportional hazard model is not appropriate for the analysis of hospital mortality data when diagnostic-related groups are incorporated in the covariate structure. 
    <b>Methods</b>: A retrospective single-center observational study design was used. Sampling was conducted between January 2016 and December 2018. Patients over 10 years, admitted to the emergency department with a precited stay of at least 1 hour were included. Multivariate Cox regression for survival data analyses was employed to analyze the data. 
    <b>Results</b>: The sample consisted of 5897 patients. The mean age of all patients was 32.21 ± 0.29 years old, and the mean length of stay (LOS) was 9.47 ± 0.16 hours. We also categorized patients according to five Diagnosis Related Groups (DGR). Among the patients,1308 suffered from acute leukemia, 1127 had endocrine diseases, 1173 with kidney diseases, and 1016 had respiratory problems. At least one component of metabolic syndrome was present in 27.5% of the patients. During the observation period, 2299 (39%) died in hospital, and 3598 (61%) were discharged alive. We used the multivariate Cox regression non-proportional hazard model to evaluate the joint effect of these factors on the “Length of Stay” or LOS (the dependent variable of Cox regression). Age at admission, the presence of metabolic syndrome, and the DRG were significantly associated with the LOS.
   </abstract>
   <kwd-group> 
    <kwd>
     Diagnostic Related Groups
    </kwd> 
    <kwd>
      Length of Stay
    </kwd> 
    <kwd>
      Metabolic Syndrome
    </kwd> 
    <kwd>
      Multivariate Cox-Regression Model
    </kwd> 
    <kwd>
      Schoenfeld Residuals
    </kwd> 
    <kwd>
      Deviance Residuals
    </kwd>
   </kwd-group>
  </article-meta>
 </front>
 <body>
  <sec id="s1">
   <title>1. Introduction</title>
   <p>The ability to evaluate hospital performance using patient outcome data depends upon many factors. In principle, the outcome needs to reflect features that are directly affected by the quality of hospital care, to name but a few: mortality, readmission rates of patients and employee satisfaction <xref ref-type="bibr" rid="scirp.138473-1">
     [1]
    </xref> <xref ref-type="bibr" rid="scirp.138473-2">
     [2]
    </xref>. One of the important factors that we shall include in this study is the Diagnostic Related Groups (DRGs). This concept was first developed at Yale University in 1975 <xref ref-type="bibr" rid="scirp.138473-3">
     [3]
    </xref>. The main objective was to group patients with similar treatments and conditions for comparative studies. DRGs were designed to be homogeneous units of hospital activity to which binding prices could be attached. A central theme in the advocacy of DRGs was that this reimbursement system would, by constraining the hospitals, oblige their administrators to alter the behavior of the physicians and surgeons comprising their medical staff. Hospitals were forced to leave the nearly risk-free world of cost reimbursement, and face the uncertain financial consequences associated with the provision of health care. DRGs were designed to provide practice pattern information that administrators could use to influence individual physician behavior. From a statistical viewpoint, DRG’s are considered artificial clusters of subjects.</p>
   <p>Krumholz et al. <xref ref-type="bibr" rid="scirp.138473-4">
     [4]
    </xref> discussed several factors that should be considered when assessing hospital quality. These relate to differences in the chronic and clinical acuity of patients at hospital presentation, the number of patients treated at a hospital, the frequency of the outcome studied, the extent to which the outcome reflects a hospital quality signal, and the form of the performance metric used to assess hospital quality. However, issues related to DRG have not been considered as factors of importance. Since the outcome of interest is hospital mortality, any attempt to derive risk-adjusted mortality that does not take into account the relative importance of DRG will produce biased estimates. This issue will be highlighted within the statistical models that are considered in this paper.</p>
  </sec><sec id="s2">
   <title>2. Study Design and Study Variables</title>
   <p>Hospital discharge status, available from the hospital medical records from January 2016 through December 2018, was extracted. For each subject, the age at admission, length of stay, presence of metabolic syndrome (at least one of its components) as we define in the next section, and DRG membership were included in this cross-sectional retrospective design. The study was reviewed and approved by the Institutional Review Board at the King Faisal Specialist Hospital and Research Center (KFSHRC).</p>
   <sec id="s2_1">
    <title>2.1. Dependent Variable</title>
    <p>Length of stay (LOS) is the dependent variable, measured on a continuous scale. It is considered a time-to-event variable, where the event is in hospital death. Patients who survive the observation period are considered censored.</p>
   </sec>
   <sec id="s2_2">
    <title>2.2. Independent Variables</title>
    <p>1) DRG</p>
    <p>Because DRG is a categorical variable with an excessive number of levels, our modeling strategy used DRG as a categorical variable and is modeled as a fixed effect variable. We selected the five most prevalent DRGs in the database.</p>
    <p>The evaluation process of hospital performance will then be based on an effective risk adjustment. Though one might wish to have additional information on patient attributes and clinical severity, even with currently available data, we should evaluate whether a more flexible risk adjustment model will improve performance. <xref ref-type="table" rid="table1">
      Table 1
     </xref> shows the summary measures of age at admission for each of the selected DRG.</p>
    <p>We were able to obtain such information for five DRG groups, as listed below in <xref ref-type="table" rid="table1">
      Table 1
     </xref>:</p>
    <p>a) Acute Leukemia (R60B)</p>
    <p>b) Lymphoma (R61B)</p>
    <p>c) Endocrine metabolic diseases (K64B)</p>
    <p>d) Kidney diseases (L04C)</p>
    <p>e) Diseases of the respiratory systems (E62B)</p>
    <table-wrap id="table1">
     <label>
      <xref ref-type="table" rid="table1">
       Table 1
      </xref></label>
     <caption>
      <title>
       <xref ref-type="bibr" rid="scirp.138473-"></xref>Table 1. Summary measures of patients’ age at admission (AAA) for each DRG.</title>
     </caption>
     <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
      <tr> 
       <td class="custom-bottom-td acenter" width="24.60%"><p style="text-align:center">DRG</p></td> 
       <td class="custom-bottom-td acenter" width="8.35%"><p style="text-align:center">N</p></td> 
       <td class="custom-bottom-td acenter" width="11.65%"><p style="text-align:center">MEAN</p></td> 
       <td class="custom-bottom-td acenter" width="8.35%"><p style="text-align:center">SD</p></td> 
       <td class="custom-bottom-td acenter" width="12.74%"><p style="text-align:center">MEDIAN</p></td> 
       <td class="custom-bottom-td acenter" width="7.60%"><p style="text-align:center">IQR</p></td> 
       <td class="custom-bottom-td acenter" width="12.90%"><p style="text-align:center">Minimum</p></td> 
       <td class="custom-bottom-td acenter" width="13.81%"><p style="text-align:center">Maximum</p></td> 
      </tr> 
      <tr> 
       <td class="custom-top-td acenter" width="24.60%"><p style="text-align:center">Acute Leukemia</p></td> 
       <td class="custom-top-td acenter" width="8.35%"><p style="text-align:center">1308</p></td> 
       <td class="custom-top-td acenter" width="11.65%"><p style="text-align:center">16.7</p></td> 
       <td class="custom-top-td acenter" width="8.35%"><p style="text-align:center">18.8</p></td> 
       <td class="custom-top-td acenter" width="12.74%"><p style="text-align:center">9.5</p></td> 
       <td class="custom-top-td acenter" width="7.60%"><p style="text-align:center">21</p></td> 
       <td class="custom-top-td acenter" width="12.90%"><p style="text-align:center">1</p></td> 
       <td class="custom-top-td acenter" width="13.81%"><p style="text-align:center">218</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="24.60%"><p style="text-align:center">Endocrine Metabolic Disease</p></td> 
       <td class="acenter" width="8.35%"><p style="text-align:center">1127</p></td> 
       <td class="acenter" width="11.65%"><p style="text-align:center">4.17</p></td> 
       <td class="acenter" width="8.35%"><p style="text-align:center">3.03</p></td> 
       <td class="acenter" width="12.74%"><p style="text-align:center">4</p></td> 
       <td class="acenter" width="7.60%"><p style="text-align:center">1</p></td> 
       <td class="acenter" width="12.90%"><p style="text-align:center">1</p></td> 
       <td class="acenter" width="13.81%"><p style="text-align:center">314</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="24.60%"><p style="text-align:center">Kidney disease</p></td> 
       <td class="acenter" width="8.35%"><p style="text-align:center">1173</p></td> 
       <td class="acenter" width="11.65%"><p style="text-align:center">5.71</p></td> 
       <td class="acenter" width="8.35%"><p style="text-align:center">4.2</p></td> 
       <td class="acenter" width="12.74%"><p style="text-align:center">5</p></td> 
       <td class="acenter" width="7.60%"><p style="text-align:center">2</p></td> 
       <td class="acenter" width="12.90%"><p style="text-align:center">1</p></td> 
       <td class="acenter" width="13.81%"><p style="text-align:center">48</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="24.60%"><p style="text-align:center">Lymphoma</p></td> 
       <td class="acenter" width="8.35%"><p style="text-align:center">1273</p></td> 
       <td class="acenter" width="11.65%"><p style="text-align:center">11</p></td> 
       <td class="acenter" width="8.35%"><p style="text-align:center">12</p></td> 
       <td class="acenter" width="12.74%"><p style="text-align:center">7</p></td> 
       <td class="acenter" width="7.60%"><p style="text-align:center">9</p></td> 
       <td class="acenter" width="12.90%"><p style="text-align:center">1</p></td> 
       <td class="acenter" width="13.81%"><p style="text-align:center">174</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="24.60%"><p style="text-align:center">Respiratory System Diseases</p></td> 
       <td class="acenter" width="8.35%"><p style="text-align:center">1013</p></td> 
       <td class="acenter" width="11.65%"><p style="text-align:center">9</p></td> 
       <td class="acenter" width="8.35%"><p style="text-align:center">10.14</p></td> 
       <td class="acenter" width="12.74%"><p style="text-align:center">6</p></td> 
       <td class="acenter" width="7.60%"><p style="text-align:center">7</p></td> 
       <td class="acenter" width="12.90%"><p style="text-align:center">1</p></td> 
       <td class="acenter" width="13.81%"><p style="text-align:center">107</p></td> 
      </tr> 
     </table>
    </table-wrap>
    <p>1) Metabolic Syndrome as an independent covariate</p>
    <p>Although Saudi Arabia reports one of the highest prevalence levels of obesity and diabetes, a very limited number of epidemiological studies have examined the prevalence of metabolic syndrome in Saudi Arabia <xref ref-type="bibr" rid="scirp.138473-5">
      [5]
     </xref>. The prevalence of metabolic syndrome in Saudi Arabia was found to be 39.8% (34.4% in men and 29.2% in women) and 31.6% (45.0% in men and 35.4% in women), according to the NCEP ATP III and IDF criteria, respectively. Metabolic syndrome was also observed to be more prevalent among men and older subjects. The most frequently observed component of metabolic syndrome was found to be low levels of high-density lipoprotein (HDL), followed by abdominal obesity. The World Health Organization’s widely used definition of metabolic syndrome is <xref ref-type="bibr" rid="scirp.138473-6">
      [6]
     </xref>. The components of each definition and criteria for making the diagnosis of the metabolic syndrome are summarized in <xref ref-type="table" rid="table1">
      Table 1
     </xref>. In addition, definitions were proposed by the European Group for the Study of Insulin Resistance <xref ref-type="bibr" rid="scirp.138473-7">
      [7]
     </xref> and the American Association of Clinical Endocrinologists. Essentially, these are modifications of the WHO and NCEP definitions, respectively.</p>
    <p>Recently, the International Diabetes Federation has proposed a new definition (see <xref ref-type="table" rid="table2">
      Table 2
     </xref>) that it hopes will become the international standard. This definition is similar to the NCEP definition, being based on relatively simple measures applicable in a clinical or epidemiological setting, but differs in three important respects. Central obesity, as determined by waist circumference, is mandatory, and different waist cut points for different ethnic groups are given based on available data linking waist circumference to other components of the syndrome. Finally, the IDF definition uses a lower fasting glucose level than the original NCEP definition, using the American Diabetes Association 2003 cut point for impaired fasting glucose <xref ref-type="bibr" rid="scirp.138473-8">
      [8]
     </xref>.</p>
    <p>The abbreviations of the medical official bodies given in <xref ref-type="table" rid="table2">
      Table 2
     </xref> are:</p>
    <p>IDF = International Diabetes Federation</p>
    <p>WHO = World Health Organization</p>
    <p>EGIR = European Group for the Study of Insulin Resistance</p>
    <p>NCEP = National Cholesterol Education Program</p>
    <table-wrap id="table2">
     <label>
      <xref ref-type="table" rid="table2">
       Table 2
      </xref></label>
     <caption>
      <title>
       <xref ref-type="bibr" rid="scirp.138473-"></xref>Table 2. Definition of the components of metabolic syndrome [Journal of the Royal Society of Medicine, Vol. 99, September 2006].</title>
     </caption>
     <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
      <tr> 
       <td rowspan="2" class="acenter" width="19.61%"><p style="text-align:center">Component</p></td> 
       <td class="custom-bottom-td acenter" width="23.34%" colspan="2"><p style="text-align:center">IDF</p></td> 
       <td class="custom-bottom-td acenter" width="28.01%" colspan="2"><p style="text-align:center">WHO</p></td> 
       <td class="custom-bottom-td acenter" width="25.21%" colspan="2"><p style="text-align:center">EGIR</p></td> 
       <td class="custom-bottom-td acenter" width="23.34%" colspan="2"><p style="text-align:center">NCEP</p></td> 
      </tr> 
      <tr> 
       <td class="custom-bottom-td custom-top-td acenter" width="12.14%"><p style="text-align:center">M</p></td> 
       <td class="custom-bottom-td custom-top-td acenter" width="11.20%"><p style="text-align:center">F</p></td> 
       <td class="custom-bottom-td custom-top-td acenter" width="14.01%"><p style="text-align:center">M</p></td> 
       <td class="custom-bottom-td custom-top-td acenter" width="14.01%"><p style="text-align:center">F</p></td> 
       <td class="custom-bottom-td custom-top-td acenter" width="12.14%"><p style="text-align:center">M</p></td> 
       <td class="custom-bottom-td custom-top-td acenter" width="13.07%"><p style="text-align:center">F</p></td> 
       <td class="custom-bottom-td custom-top-td acenter" width="12.14%"><p style="text-align:center">M</p></td> 
       <td class="custom-bottom-td custom-top-td acenter" width="11.20%"><p style="text-align:center">F</p></td> 
      </tr> 
      <tr> 
       <td class="custom-top-td aleft" width="19.61%"><p style="text-align:left">1. Central Obesity</p></td> 
       <td class="custom-top-td acenter" width="12.14%"><p style="text-align:center">≥102</p></td> 
       <td class="custom-top-td acenter" width="11.20%"><p style="text-align:center">≥88</p></td> 
       <td class="custom-top-td acenter" width="14.01%"><p style="text-align:center">≥102</p></td> 
       <td class="custom-top-td acenter" width="14.01%"><p style="text-align:center">≥88</p></td> 
       <td class="custom-top-td acenter" width="12.14%"><p style="text-align:center">≥94</p></td> 
       <td class="custom-top-td acenter" width="13.07%"><p style="text-align:center">≥80</p></td> 
       <td class="custom-top-td acenter" width="12.14%"><p style="text-align:center">≥102</p></td> 
       <td class="custom-top-td acenter" width="11.20%"><p style="text-align:center">≥88</p></td> 
      </tr> 
      <tr> 
       <td class="aleft" width="19.61%"><p style="text-align:left">2. Raised TG</p></td> 
       <td class="acenter" width="12.14%"><p style="text-align:center">≥1.7</p></td> 
       <td class="acenter" width="11.20%"><p style="text-align:center">≥1.7</p></td> 
       <td class="acenter" width="14.01%"><p style="text-align:center">≥1.7</p></td> 
       <td class="acenter" width="14.01%"><p style="text-align:center">≥1.7</p></td> 
       <td class="acenter" width="12.14%"><p style="text-align:center">≥2.0</p></td> 
       <td class="acenter" width="13.07%"><p style="text-align:center">≥2.0</p></td> 
       <td class="acenter" width="12.14%"><p style="text-align:center">≥1.7</p></td> 
       <td class="acenter" width="11.20%"><p style="text-align:center">≥1.7</p></td> 
      </tr> 
      <tr> 
       <td class="aleft" width="19.61%"><p style="text-align:left">3. Low HDL</p></td> 
       <td class="acenter" width="12.14%"><p style="text-align:center">&lt;1.03</p></td> 
       <td class="acenter" width="11.20%"><p style="text-align:center">&lt;1.29</p></td> 
       <td class="acenter" width="14.01%"><p style="text-align:center">≤.9</p></td> 
       <td class="acenter" width="14.01%"><p style="text-align:center">≤1</p></td> 
       <td class="acenter" width="12.14%"><p style="text-align:center">≤1</p></td> 
       <td class="acenter" width="13.07%"><p style="text-align:center">≤1</p></td> 
       <td class="acenter" width="12.14%"><p style="text-align:center">≤1.03</p></td> 
       <td class="acenter" width="11.20%"><p style="text-align:center">≤1.29</p></td> 
      </tr> 
      <tr> 
       <td class="aleft" width="19.61%"><p style="text-align:left">4. Hypertension</p></td> 
       <td class="acenter" width="12.14%"><p style="text-align:center">≥130/85</p></td> 
       <td class="acenter" width="11.20%"><p style="text-align:center">≥130/85</p></td> 
       <td class="acenter" width="14.01%"><p style="text-align:center">≥140/90</p></td> 
       <td class="acenter" width="14.01%"><p style="text-align:center">≥140/90</p></td> 
       <td class="acenter" width="12.14%"><p style="text-align:center">≥140/90</p></td> 
       <td class="acenter" width="13.07%"><p style="text-align:center">≥140/90</p></td> 
       <td class="acenter" width="12.14%"><p style="text-align:center">≥130/85</p></td> 
       <td class="acenter" width="11.20%"><p style="text-align:center">≥130/85</p></td> 
      </tr> 
      <tr> 
       <td class="aleft" width="19.61%"><p style="text-align:left">5. Fasting Glucose</p></td> 
       <td class="acenter" width="12.14%"><p style="text-align:center">≥5.6</p></td> 
       <td class="acenter" width="11.20%"><p style="text-align:center">≥5.6</p></td> 
       <td class="acenter" width="14.01%"><p style="text-align:center">≥6.1</p></td> 
       <td class="acenter" width="14.01%"><p style="text-align:center">≥6.1</p></td> 
       <td class="acenter" width="12.14%"><p style="text-align:center">≥6.1</p></td> 
       <td class="acenter" width="13.07%"><p style="text-align:center">≥6.1</p></td> 
       <td class="acenter" width="12.14%"><p style="text-align:center">≥6.1</p></td> 
       <td class="acenter" width="11.20%"><p style="text-align:center">≥6.1</p></td> 
      </tr> 
     </table>
    </table-wrap>
    <p>The main reason why the metabolic syndrome attracts the attention of clinicians and epidemiologists is that its components are associated with increased morbidity, long-term disability and eventually death. It is also believed that both cancer and heart disease are consequences of the syndrome if left untreated. However, some researchers question the importance of including the syndrome as a risk factor for heart diseases beyond what is expected in a multifactorial model <xref ref-type="bibr" rid="scirp.138473-9">
      [9]
     </xref>. The volume of studies on the distribution of the syndrome in different populations is quite large and spans countries from all over the world. In our study, a patient who has at least one component of the metabolic syndrome will be coded as (1); otherwise, it will be given the code (0).</p>
    <p>In addition to the above two categorical variables, patients’ age at admission (AAA) will be recorded as a continuous variable in the constructed risk prediction model.</p>
   </sec>
  </sec><sec id="s3">
   <title>3. Statistical Analysis</title>
   <sec id="s3_1">
    <title>3.1. Modeling Time-to-Event Data</title>
    <p>In this section, we shall develop a Cox proportional hazard model. The Cox model is one of the most accurate methods belonging to the class of semiparametric statistical models. This model has the advantage that it can use different types of independent variables (continuous, ordered categorical, and nominal variables). In the second stage of the analysis, we develop a predictive model for the risk of overstaying. The regression coefficients, their standard errors, and the corresponding p-values are presented in <xref ref-type="table" rid="table3">
      Table 3
     </xref>.</p>
    <table-wrap id="table3">
     <label>
      <xref ref-type="table" rid="table3">
       Table 3
      </xref></label>
     <caption>
      <title>
       <xref ref-type="bibr" rid="scirp.138473-"></xref>Table 3. Results of fitting Cox proportional hazard model using R.</title>
     </caption>
     <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
      <tr> 
       <td class="custom-bottom-td acenter" width="22.02%"><p style="text-align:center">Covariate</p></td> 
       <td class="custom-bottom-td acenter" width="14.85%"><p style="text-align:center">Coef</p></td> 
       <td class="custom-bottom-td acenter" width="14.85%"><p style="text-align:center">Exp (coef)</p></td> 
       <td class="custom-bottom-td acenter" width="14.85%"><p style="text-align:center">Se (coef)</p></td> 
       <td class="custom-bottom-td acenter" width="14.86%"><p style="text-align:center">Z</p></td> 
       <td class="custom-bottom-td acenter" width="18.57%"><p style="text-align:center">P-value</p></td> 
      </tr> 
      <tr> 
       <td class="custom-top-td acenter" width="22.02%"><p style="text-align:center">log (AAA)</p></td> 
       <td class="custom-top-td acenter" width="14.85%"><p style="text-align:center">0.038</p></td> 
       <td class="custom-top-td acenter" width="14.85%"><p style="text-align:center">1.038</p></td> 
       <td class="custom-top-td acenter" width="14.85%"><p style="text-align:center">0.002</p></td> 
       <td class="custom-top-td acenter" width="14.86%"><p style="text-align:center">21.384</p></td> 
       <td class="custom-top-td acenter" width="18.57%"><p style="text-align:center">&lt;2e−16***</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="22.02%"><p style="text-align:center">metabolic</p></td> 
       <td class="acenter" width="14.85%"><p style="text-align:center">0.278</p></td> 
       <td class="acenter" width="14.85%"><p style="text-align:center">1.320</p></td> 
       <td class="acenter" width="14.85%"><p style="text-align:center">0.083</p></td> 
       <td class="acenter" width="14.86%"><p style="text-align:center">3.335</p></td> 
       <td class="acenter" width="18.57%"><p style="text-align:center">0.001***</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="22.02%"><p style="text-align:center">Endocrine</p></td> 
       <td class="acenter" width="14.85%"><p style="text-align:center">2.433</p></td> 
       <td class="acenter" width="14.85%"><p style="text-align:center">11.391</p></td> 
       <td class="acenter" width="14.85%"><p style="text-align:center">0.096</p></td> 
       <td class="acenter" width="14.86%"><p style="text-align:center">25.287</p></td> 
       <td class="acenter" width="18.57%"><p style="text-align:center">&lt;2e−16***</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="22.02%"><p style="text-align:center">Kidney</p></td> 
       <td class="acenter" width="14.85%"><p style="text-align:center">1.431</p></td> 
       <td class="acenter" width="14.85%"><p style="text-align:center">4.183</p></td> 
       <td class="acenter" width="14.85%"><p style="text-align:center">0.101</p></td> 
       <td class="acenter" width="14.86%"><p style="text-align:center">14.209</p></td> 
       <td class="acenter" width="18.57%"><p style="text-align:center">&lt;2e−16***</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="22.02%"><p style="text-align:center">Lymph</p></td> 
       <td class="acenter" width="14.85%"><p style="text-align:center">0.903</p></td> 
       <td class="acenter" width="14.85%"><p style="text-align:center">2.467</p></td> 
       <td class="acenter" width="14.85%"><p style="text-align:center">0.093</p></td> 
       <td class="acenter" width="14.86%"><p style="text-align:center">9.738</p></td> 
       <td class="acenter" width="18.57%"><p style="text-align:center">&lt;2e−16***</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="22.02%"><p style="text-align:center">Respiratory</p></td> 
       <td class="acenter" width="14.85%"><p style="text-align:center">0.753</p></td> 
       <td class="acenter" width="14.85%"><p style="text-align:center">2.123</p></td> 
       <td class="acenter" width="14.85%"><p style="text-align:center">0.098</p></td> 
       <td class="acenter" width="14.86%"><p style="text-align:center">7.636</p></td> 
       <td class="acenter" width="18.57%"><p style="text-align:center">2.24e−14***</p></td> 
      </tr> 
     </table>
    </table-wrap>
    <p>Note that: Acute Leukemia is the reference category.</p>
    <p>The estimated survival curve is given in <xref ref-type="fig" rid="fig1">
      Figure 1
     </xref>.</p>
    <p>In order to construct a plausible Cox regression model <xref ref-type="bibr" rid="scirp.138473-10">
      [10]
     </xref> to be able to reliably predict the risk of death of any patient with a particular covariate profile, we need to make sure that the assumptions of the Cox model are satisfied. There are three basic assumptions:</p>
    <p>1) The proportional hazards assumption should be verified.</p>
    <p>2) Examining influential observations (or outliers).</p>
    <p>3) Detecting nonlinearity in the relationship between the log hazard and the covariates that are measured on the continuous scale.</p>
    <p>In order to check these model assumptions, we use residuals. The common residuals for the Cox model include:</p>
    <fig id="fig1" position="float">
     <label>Figure 1</label>
     <caption>
      <title>Figure 1. Survival probabilities.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1750296-rId16.jpeg?20241226014618" />
    </fig>
    <p>The proportional hazards (PH) assumption can be checked using statistical tests and graphical diagnostics based on the scaled Schoenfeld residuals <xref ref-type="bibr" rid="scirp.138473-13">
      [13]
     </xref>. If the proportionality assumption is not satisfied, we use the weighted Cox regression <xref ref-type="bibr" rid="scirp.138473-14">
      [14]
     </xref>-<xref ref-type="bibr" rid="scirp.138473-16">
      [16]
     </xref>.</p>
    <p>In principle, the Schoenfeld residuals are independent of time. A plot that shows a non-random pattern against time is evidence of violation of the PH assumption.</p>
    <p>The function cox.zph() in the survival package in R <xref ref-type="bibr" rid="scirp.138473-17">
      [17]
     </xref> provides a convenient solution to test the proportional hazards assumption for each covariate included in a Cox regression model fit.</p>
    <p>For each covariate, the function cox.zph() correlates the corresponding set of scaled Schoenfeld residuals with time to test for independence between residuals and time. Additionally, it performs a global test for the model as a whole.</p>
    <p>The proportional hazard assumption is supported by a non-significant relationship between residuals and time and refuted by a significant relationship. The testing for proportionality assumption can be achieved analytically and graphically. Using the R program, we found that,</p>
    <p>DRG_CODE: p-value &lt; 0.0000001, GLOBAL: p-value &lt; 0.0000004</p>
    <p>From the output above, the tests are statistically significant for the DRG covariate, and the global test is also statistically significant. This means there is not enough evidence in the data to support the proportionality assumption. The violation of the proportionality assumption can also be detected graphically using the survival function plot. From <xref ref-type="fig" rid="fig2">
      Figure 2
     </xref>, the crossing survival functions for each of the DRG indicate that the proportionality assumption is violated. Therefore, we cannot assume the proportional hazards.</p>
    <p>One solution is the weighted Cox regression, which is also valid for non-proportional hazards.</p>
    <fig id="fig2" position="float">
     <label>Figure 2</label>
     <caption>
      <title>Figure 2. Crossing survival curves is indicative of a violation of the proportional hazard assumption.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1750296-rId17.jpeg?20241226014618" />
    </fig>
   </sec>
   <sec id="s3_2">
    <title>3.2. Weighted Cox Regression Model</title>
    <p>In the standard unweighted partial likelihood, all patients contribute to the estimation of the regression coefficients to the same extent. This might not be desirable when the cohort is heterogeneous due to known subgroups that are associated with different prognoses. In this situation, it is reasonable to fit a separate Cox model for each subgroup. This can be done by using only the data from the subgroup of interest or by including information from the other subgroups <xref ref-type="bibr" rid="scirp.138473-15">
      [15]
     </xref> <xref ref-type="bibr" rid="scirp.138473-16">
      [16]
     </xref>.</p>
   </sec>
   <sec id="s3_3">
    <title>3.3. Testing Influential Observation</title>
    <p>It’s also possible to check outliers by visualizing the deviance residuals. The deviance residual is a normalized transformation of the martingale residual <xref ref-type="bibr" rid="scirp.138473-13">
      [13]
     </xref>. These residuals should be roughly symmetrically distributed at about zero with a standard deviation of 1. From <xref ref-type="fig" rid="fig3">
      Figure 3
     </xref>, the pattern looks symmetric around 0. Therefore, we conclude that there are no influential observations.</p>
   </sec>
   <sec id="s3_4">
    <title>3.4. Testing for Outliers</title>
    <p>The below index plots in <xref ref-type="fig" rid="fig4">
      Figure 4
     </xref> show that comparing the magnitudes of the largest dfbeta values to the regression coefficients suggests that none of the</p>
    <fig id="fig3" position="float">
     <label>Figure 3</label>
     <caption>
      <title>Figure 3. Deviance residual plot to check for influential observations.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1750296-rId18.jpeg?20241226014620" />
    </fig>
    <fig id="fig4" position="float">
     <label>Figure 4</label>
     <caption>
      <title>Figure 4. Testing for outliers using deviance residuals.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1750296-rId19.jpeg?20241226014620" />
    </fig>
    <p>observations is terribly influential individually, even though some of the dfbeta values for age are large compared with the others. It’s also possible to check outliers by visualizing the deviance residuals. The deviance residual is a normalized transformation of the martingale residual. These residuals should be roughly symmetrically distributed about zero with a standard deviation of 1. Positive values correspond to individuals that “died too soon” compared to expected survival times. Negative values correspond to individuals that “lived too long”. Very large or small values are outliers, which are poorly predicted by the model.</p>
   </sec>
   <sec id="s3_5">
    <title>3.5. Testing for the Functional Form of the Continuous Variable Age at Admission</title>
    <p>Plotting the Martingale residuals against continuous covariates is a common approach used to detect nonlinearity or, in other words, to assess the functional form of a covariate.</p>
    <p>For a given continuous covariate, patterns in the plot may suggest that the variable is not properly fit. Nonlinearity is not an issue for categorical variables, so we only examine plots of martingale residuals and partial residuals against a continuous variable, which is Age-At-Admission.</p>
    <p>Martingale residuals may present any value in the range (−INF, +1). A value of martingale residuals near 1 represents individuals that “died too soon”, and large negative values correspond to individuals that “lived too long”.</p>
    <p>To assess the functional form of a continuous variable in a Cox proportional hazards model, we’ll use the function ggcoxfunctional [in the survminer R package].</p>
    <p>As shown in <xref ref-type="fig" rid="fig5">
      Figure 5
     </xref>, the function ggcoxfunctional displays graphs of continuous</p>
    <fig id="fig5" position="float">
     <label>Figure 5</label>
     <caption>
      <title>Figure 5. Testing for the functional form of the continuous covariate (Age at Admission).</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1750296-rId20.jpeg?20241226014620" />
    </fig>
    <p>covariates against martingale residuals of null Cox proportional hazards model. It is evident from <xref ref-type="fig" rid="fig5">
      Figure 5
     </xref> that the logarithmic transformation of age at admission seems quite appropriate <xref ref-type="bibr" rid="scirp.138473-14">
      [14]
     </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.138473-"></xref>Table 4. Weighted Cox regression. Model fitted by weighted estimation using R.</title>
     </caption>
     <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
      <tr> 
       <td class="custom-bottom-td acenter" width="33.39%"><p style="text-align:center">Variable</p></td> 
       <td class="custom-bottom-td acenter" width="15.63%"><p style="text-align:center">Coef</p></td> 
       <td class="custom-bottom-td acenter" width="15.65%"><p style="text-align:center">Se (coef)</p></td> 
       <td class="custom-bottom-td acenter" width="15.65%"><p style="text-align:center">Exp (coef)</p></td> 
       <td class="custom-bottom-td acenter" width="19.69%"><p style="text-align:center">P-value</p></td> 
      </tr> 
      <tr> 
       <td class="custom-top-td acenter" width="33.39%"><p style="text-align:center">DRG_CODEEndocrin</p></td> 
       <td class="custom-top-td acenter" width="15.63%"><p style="text-align:center">2.004</p></td> 
       <td class="custom-top-td acenter" width="15.65%"><p style="text-align:center">0.098</p></td> 
       <td class="custom-top-td acenter" width="15.65%"><p style="text-align:center">7.422</p></td> 
       <td class="custom-top-td acenter" width="19.69%"><p style="text-align:center">0.0000</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="33.39%"><p style="text-align:center">DRG_CODEKidney_D</p></td> 
       <td class="acenter" width="15.63%"><p style="text-align:center">1.144</p></td> 
       <td class="acenter" width="15.65%"><p style="text-align:center">0.099</p></td> 
       <td class="acenter" width="15.65%"><p style="text-align:center">3.141</p></td> 
       <td class="acenter" width="19.69%"><p style="text-align:center">0.00001</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="33.39%"><p style="text-align:center">DRG_CODELymph</p></td> 
       <td class="acenter" width="15.63%"><p style="text-align:center">0.604</p></td> 
       <td class="acenter" width="15.65%"><p style="text-align:center">0.107</p></td> 
       <td class="acenter" width="15.65%"><p style="text-align:center">1.829</p></td> 
       <td class="acenter" width="19.69%"><p style="text-align:center">0.00001</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="33.39%"><p style="text-align:center">DRG_CODERespirat</p></td> 
       <td class="acenter" width="15.63%"><p style="text-align:center">0.451</p></td> 
       <td class="acenter" width="15.65%"><p style="text-align:center">0.101</p></td> 
       <td class="acenter" width="15.65%"><p style="text-align:center">1.570</p></td> 
       <td class="acenter" width="19.69%"><p style="text-align:center">0.00001</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="33.39%"><p style="text-align:center">Log(AAA)</p></td> 
       <td class="acenter" width="15.63%"><p style="text-align:center">0.038</p></td> 
       <td class="acenter" width="15.65%"><p style="text-align:center">0.0023</p></td> 
       <td class="acenter" width="15.65%"><p style="text-align:center">1.039</p></td> 
       <td class="acenter" width="19.69%"><p style="text-align:center">0.00001</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="33.39%"><p style="text-align:center">Metabolic</p></td> 
       <td class="acenter" width="15.63%"><p style="text-align:center">0.242</p></td> 
       <td class="acenter" width="15.65%"><p style="text-align:center">0.102</p></td> 
       <td class="acenter" width="15.65%"><p style="text-align:center">1.273</p></td> 
       <td class="acenter" width="19.69%"><p style="text-align:center">0.0019</p></td> 
      </tr> 
     </table>
    </table-wrap>
    <p>Comparing the coefficients in <xref ref-type="table" rid="table3">
      Table 3
     </xref> (Cox proportional hazard model fit) to their values in <xref ref-type="table" rid="table4">
      Table 4
     </xref> (weighted Cox regression), we notice differences in the values of the estimates of the regression parameters corresponding to the categorical variable DRG.</p>
   </sec>
  </sec><sec id="s4">
   <title>4. Risk Prediction Function</title>
   <p>The estimated survival function and the Cox regression estimated parameters are very useful in building risk prediction functions. We shall use the following notations:</p>
   <p>(X<sub>1</sub> = Endocrine, β<sub>1</sub> = 2.004), (X<sub>2</sub> = Kidney β<sub>2</sub> = 1.144), (X<sub>3</sub> = Lymph β<sub>3</sub> = 0.604)</p>
   <p>(X<sub>4</sub> = Respiratory β<sub>4</sub> = 0.451), (X<sub>5</sub> = Log(AAA) β<sub>5</sub> = 0.038), (X<sub>6</sub> = metabolic β<sub>6</sub> = 0.242)</p>
   <p>We define the linear predictor as the function 
    <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        h 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mi>
         x 
       </mi> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <mtext>
        exp 
      </mtext> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <mstyle displaystyle="true"> 
         <msubsup> 
          <mo>
            ∑ 
          </mo> 
          <mrow> 
           <mi>
             j 
           </mi> 
           <mo>
             = 
           </mo> 
           <mn>
             1 
           </mn> 
          </mrow> 
          <mn>
            6 
          </mn> 
         </msubsup> 
         <mrow> 
          <msub> 
           <mi>
             β 
           </mi> 
           <mi>
             j 
           </mi> 
          </msub> 
          <msub> 
           <mi>
             x 
           </mi> 
           <mi>
             j 
           </mi> 
          </msub> 
         </mrow> 
        </mstyle> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
     </mrow> 
    </math>.</p>
   <p>The risk prediction equation is given by <xref ref-type="bibr" rid="scirp.138473-18">
     [18]
    </xref>:</p>
   <p>
    <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        R 
      </mi> 
      <mi>
        i 
      </mi> 
      <mi>
        s 
      </mi> 
      <mi>
        k 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mi>
         t 
       </mi> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <mn>
        1 
      </mn> 
      <mo>
        − 
      </mo> 
      <mi>
        S 
      </mi> 
      <msup> 
       <mrow> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mi>
           t 
         </mi> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
       <mrow> 
        <mi>
          h 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mi>
           x 
         </mi> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </msup> 
     </mrow> 
    </math> (1)</p>
   <p>The components of the prediction analyses are:</p>
   <p>
    <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        h 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mi>
         x 
       </mi> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <mtext>
        exp 
      </mtext> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <mstyle displaystyle="true"> 
         <msubsup> 
          <mo>
            ∑ 
          </mo> 
          <mrow> 
           <mi>
             j 
           </mi> 
           <mo>
             = 
           </mo> 
           <mn>
             1 
           </mn> 
          </mrow> 
          <mn>
            5 
          </mn> 
         </msubsup> 
         <mrow> 
          <msub> 
           <mi>
             β 
           </mi> 
           <mi>
             j 
           </mi> 
          </msub> 
          <msub> 
           <mi>
             x 
           </mi> 
           <mi>
             j 
           </mi> 
          </msub> 
         </mrow> 
        </mstyle> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
     </mrow> 
    </math> (2)</p>
   <p>x<sub>1</sub> = 1 if patient belongs to Endocrine disease group, and 0 otherwise,</p>
   <p>x<sub>2</sub> = 1 if patient belongs to Kidney disease group, and 0 otherwise,</p>
   <p>x<sub>3</sub> = 1 if patient belongs to Lymph disease group, and 0 otherwise</p>
   <p>x<sub>4</sub> = 1 if patient belongs to the Respiratory disease group, and 0 otherwise</p>
   <p>x<sub>5</sub> = Log(AAA), and x<sub>6</sub> = 1 if patient belongs to Metabolic disease, and 0 otherwise.</p>
   <p>Hence,</p>
   <p>
    <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mtable> 
      <mtr> 
       <mtd> 
        <mi>
          h 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mi>
           x 
         </mi> 
         <mo>
           ) 
         </mo> 
        </mrow> 
        <mo>
          = 
        </mo> 
        <mi>
          exp 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mn>
            2.004 
          </mn> 
          <mo>
            ∗ 
          </mo> 
          <msub> 
           <mi>
             x 
           </mi> 
           <mn>
             1 
           </mn> 
          </msub> 
         </mrow> 
        </mrow> 
        <mo>
          + 
        </mo> 
        <mn>
          1.144 
        </mn> 
        <mo>
          ∗ 
        </mo> 
        <msub> 
         <mi>
           x 
         </mi> 
         <mn>
           2 
         </mn> 
        </msub> 
        <mo>
          + 
        </mo> 
        <mn>
          0.604 
        </mn> 
        <mo>
          ∗ 
        </mo> 
        <msub> 
         <mi>
           x 
         </mi> 
         <mn>
           3 
         </mn> 
        </msub> 
        <mo>
          + 
        </mo> 
        <mn>
          0.451 
        </mn> 
        <mo>
          ∗ 
        </mo> 
        <msub> 
         <mi>
           x 
         </mi> 
         <mn>
           4 
         </mn> 
        </msub> 
       </mtd> 
      </mtr> 
      <mtr> 
       <mtd> 
        <mtext>
            
        </mtext> 
        <mtext>
            
        </mtext> 
        <mo>
          + 
        </mo> 
        <mn>
          0.038 
        </mn> 
        <mo>
          ∗ 
        </mo> 
        <msub> 
         <mi>
           x 
         </mi> 
         <mn>
           5 
         </mn> 
        </msub> 
        <mo>
          + 
        </mo> 
        <mrow> 
         <mrow> 
          <mn>
            0.242 
          </mn> 
          <mo>
            ∗ 
          </mo> 
          <msub> 
           <mi>
             x 
           </mi> 
           <mn>
             6 
           </mn> 
          </msub> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mtd> 
      </mtr> 
     </mtable> 
    </math> (3)</p>
   <p>and 
    <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        S 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mi>
         t 
       </mi> 
       <mo>
         ) 
       </mo> 
      </mrow> 
     </mrow> 
    </math> is the survival function at time t.</p>
   <p>Equations (1)-(3) complete the specifications of the Cox regression prediction model. To clarify the utility of the above approach, we will consider the example below.</p>
   <p>The above coding of the DRG’s means that the “Acute Leukemia” is taken to be the reference group. Moreover, from the Cox regression model, we estimate the 24-hour survival probability to be:</p>
   <p>
    <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        S 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <mn>
          24 
        </mn> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <mn>
        0.701 
      </mn> 
     </mrow> 
    </math></p>
   <p>Now suppose that we have two Respiratory disease patients (x<sub>4</sub> = 1). The age of one patient is 20 years, who has at least one component of the metabolic syndrome (x<sub>6</sub> = 1), and the age of the other patient is 60 years, without metabolic syndrome. That is 
    <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        h 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mi>
         x 
       </mi> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <mi>
        exp 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <mn>
          0.451 
        </mn> 
        <mo>
          + 
        </mo> 
        <mn>
          0.038 
        </mn> 
        <mo>
          ∗ 
        </mo> 
        <mi>
          log 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mn>
            20 
          </mn> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
        <mo>
          + 
        </mo> 
        <mn>
          0.242 
        </mn> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <mn>
        2.24 
      </mn> 
     </mrow> 
    </math>, for the first patient, and the risk of staying over 24 hours is</p>
   <p>
    <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         R 
       </mi> 
       <mn>
         1 
       </mn> 
      </msub> 
      <mo>
        = 
      </mo> 
      <mn>
        1 
      </mn> 
      <mo>
        − 
      </mo> 
      <msup> 
       <mrow> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mn>
            0.701 
          </mn> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
       <mrow> 
        <mn>
          2.24 
        </mn> 
       </mrow> 
      </msup> 
      <mo>
        = 
      </mo> 
      <mn>
        54.8 
      </mn> 
      <mi>
        % 
      </mi> 
     </mrow> 
    </math></p>
   <p>For the other patient we have 
    <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        h 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mi>
         x 
       </mi> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <mi>
        exp 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <mn>
          0.451 
        </mn> 
        <mo>
          + 
        </mo> 
        <mn>
          0.038 
        </mn> 
        <mo>
          ∗ 
        </mo> 
        <mi>
          log 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mn>
            60 
          </mn> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <mn>
        1.834 
      </mn> 
     </mrow> 
    </math>, and the risk of staying over 24 hours is</p>
   <p>
    <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         R 
       </mi> 
       <mn>
         2 
       </mn> 
      </msub> 
      <mo>
        = 
      </mo> 
      <mn>
        1 
      </mn> 
      <mo>
        − 
      </mo> 
      <msup> 
       <mrow> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mn>
            0.802 
          </mn> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
       <mrow> 
        <mn>
          1.834 
        </mn> 
       </mrow> 
      </msup> 
      <mo>
        = 
      </mo> 
      <mn>
        33.3 
      </mn> 
      <mi>
        % 
      </mi> 
     </mrow> 
    </math></p>
   <p>Therefore, the relative risk is R<sub>1</sub>/R<sub>2</sub> = 01.66.</p>
   <p>This means that a 20-year-old Respiratory patient, who has metabolic syndrome, has a 66% increase in the risk of overstaying relative to a 60-year-old Respiratory disease patient who does not have metabolic syndrome.</p>
  </sec><sec id="s5">
   <title>5. Discussion</title>
   <p>The results of this hospital mortality data analysis revealed that the fundamental assumption in Cox regression of Proportional Hazard must be assessed before estimating the risk prediction. More than one-fifth of the studies were found to include a probable non-proportional Cox model without the authors mentioning or adjusting it. The problems associated with the misunderstanding and misuse of statistical methods in medical research are well documented in <xref ref-type="bibr" rid="scirp.138473-13">
     [13]
    </xref>-<xref ref-type="bibr" rid="scirp.138473-15">
     [15]
    </xref>. Adding data from other subgroups in a penalized weighted Cox model should increase the power through a larger sample size compared to the classical subgroup analysis that ignores the information from all other individuals. Weights are based on the probability of belonging to the subgroup of interest.</p>
  </sec><sec id="s6">
   <title>6. Conclusion</title>
   <p>Reporting survival analysis and testing of hospital mortality data must be preceded by testing the assumption of proportionality of the Cox proportional hazard regression model. Neglecting background assumptions of most used statistical methods may lead to unreliable results and conclusions. Obviously, this has implications for patient care as biased results may alter the conclusions and the objectives of the study. Therefore, involving epidemiologists and biostatisticians in the planning stage of the study is highly recommended.</p>
  </sec><sec id="s7">
   <title>Acknowledgements</title>
   <p>The authors acknowledge the constructive comments made by an anonymous reviewer.</p>
  </sec><sec id="s8">
   <title>Disclosure Statement</title>
   <p>Dr. Mawahib Ahmed conceived the idea; Dr. M. Shoukri provided the data and helped with the analysis. All authors collaborated to write the final version of the paper.</p>
  </sec>
 </body><back>
  <ref-list>
   <title>References</title>
   <ref id="scirp.138473-ref1">
    <label>1</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Bueno, H. (2010) Trends in Length of Stay and Short-Term Outcomes among Medicare Patients Hospitalized for Heart Failure, 1993-2006. JAMA, 303, 2141-2147. &gt;https://doi.org/10.1001/jama.2010.748
    </mixed-citation>
   </ref>
   <ref id="scirp.138473-ref2">
    <label>2</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Rotter, T., Kinsman, L., James, E.L., Machotta, A., Gothe, H., Willis, J., et al. (2010) Clinical Pathways: Effects on Professional Practice, Patient Outcomes, Length of Stay and Hospital Costs. Cochrane Database of Systematic Reviews, No. 3, CD006632. &gt;https://doi.org/10.1002/14651858.cd006632.pub2
    </mixed-citation>
   </ref>
   <ref id="scirp.138473-ref3">
    <label>3</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Alford, R. (1975) Health Care Politics: Ideological and Interest Group Barriers to Reform. University of Chicago Press. 
    </mixed-citation>
   </ref>
   <ref id="scirp.138473-ref4">
    <label>4</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Krumholz, H.M. (2008) Outcomes Research: Generating Evidence for Best Practice and Policies. Circulation, 118, 309-318. &gt;https://doi.org/10.1161/circulationaha.107.690917
    </mixed-citation>
   </ref>
   <ref id="scirp.138473-ref5">
    <label>5</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Al-Rubeaan, K., Bawazeer, N., Al Farsi, Y., Youssef, A.M., Al-Yahya, A.A., AlQumaidi, H., et al. (2018) Prevalence of Metabolic Syndrome in Saudi Arabia—A Cross Sectional Study. BMC Endocrine Disorders, 18, Article No. 16. &gt;https://doi.org/10.1186/s12902-018-0244-4
    </mixed-citation>
   </ref>
   <ref id="scirp.138473-ref6">
    <label>6</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     World Health Organization (2023) Noncommunicable Diseases. &gt;http://www.who.int/mediacentre/factsheets/fs355/en/
    </mixed-citation>
   </ref>
   <ref id="scirp.138473-ref7">
    <label>7</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     World Health Organization (2024) Chronic Obstructive Pulmonary Disease (COPD). &gt;http://www.who.int/mediacentre/factsheets/fs315/en/
    </mixed-citation>
   </ref>
   <ref id="scirp.138473-ref8">
    <label>8</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Abdulkareem, A.O., Farag, Y.M.K., Al Sayyari, A.A., Mousa, D., Alhejaili, F., Al-Harbi, A., et al. (2010) Epidemiology of Chronic Kidney Disease in the Kingdom of Saudi Arabia (SEEK-Saudi Investigators)—A Pilot Study. Saudi Journal of Kidney Diseases and Transplantation, 21, 1066-1072.
    </mixed-citation>
   </ref>
   <ref id="scirp.138473-ref9">
    <label>9</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Brasel, K.J. (2007) Length of Stay: An Appropriate Quality Measure? Archives of Surgery, 142, 461-466. &gt;https://doi.org/10.1001/archsurg.142.5.461
    </mixed-citation>
   </ref>
   <ref id="scirp.138473-ref10">
    <label>10</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Collett, D. (2003) Modeling Survival Data in Medical Research. 2nd Edition, Chapman&amp;Hall/CRC.
    </mixed-citation>
   </ref>
   <ref id="scirp.138473-ref11">
    <label>11</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Schoenfeld, D. (1982) Partial Residuals for the Proportional Hazards Regression Model. Biometrika, 69, 239-241. &gt;https://doi.org/10.1093/biomet/69.1.239
    </mixed-citation>
   </ref>
   <ref id="scirp.138473-ref12">
    <label>12</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Therneau, T.M., Grambsch, P.M. and Fleming, T.R. (1990) Martingale-Based Residuals for Survival Models. Biometrika, 77, 147-160. &gt;https://doi.org/10.1093/biomet/77.1.147
    </mixed-citation>
   </ref>
   <ref id="scirp.138473-ref13">
    <label>13</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Lin, D.Y. (1991) Goodness-of-Fit Analysis for the Cox Regression Model Based on a Class of Parameter Estimators. Journal of the American Statistical Association, 86, 725-728. &gt;https://doi.org/10.1080/01621459.1991.10475101
    </mixed-citation>
   </ref>
   <ref id="scirp.138473-ref14">
    <label>14</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Royston, P. and Sauerbrei, W. (2008) Multivariable Model‐Building: A Pragmatic Approach to Regression Analysis Based on Fractional Polynomials for Modelling Continuous Variables. Wiley. &gt;https://doi.org/10.1002/9780470770771
    </mixed-citation>
   </ref>
   <ref id="scirp.138473-ref15">
    <label>15</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Sasieni, P. (1993) Maximum Weighted Partial Likelihood Estimators for the Cox Model. Journal of the American Statistical Association, 88, 144-152. &gt;https://doi.org/10.1080/01621459.1993.10594304
    </mixed-citation>
   </ref>
   <ref id="scirp.138473-ref16">
    <label>16</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Schemper, M., Wakounig, S. and Heinze, G. (2009) The Estimation of Average Hazard Ratios by Weighted Cox Regression. Statistics in Medicine, 28, 2473-2489. &gt;https://doi.org/10.1002/sim.3623
    </mixed-citation>
   </ref>
   <ref id="scirp.138473-ref17">
    <label>17</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Dunkler, D., Ploner, M., Schemper, M. and Heinze, G. (2018) Weighted Cox Regression Using the R Package Coxphw. Journal of Statistical Software, 84, 1-26. &gt;https://doi.org/10.18637/jss.v084.i02
    </mixed-citation>
   </ref>
   <ref id="scirp.138473-ref18">
    <label>18</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Klein, J., Rizzo, J., Zhang, M. and Keiding, N. (2001) Statistical Methods for the Analysis and Presentation of the Results of Bone Marrow Transplants. Part 2: Regression Modeling. Bone Marrow Transplantation, 28, 1001-1011. &gt;https://doi.org/10.1038/sj.bmt.1703271
    </mixed-citation>
   </ref>
  </ref-list>
 </back>
</article>