<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.0 20040830//EN" "http://dtd.nlm.nih.gov/publishing/2.0/journalpublishing.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" dtd-version="2.0">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">JMI</journal-id>
      <journal-id journal-id-type="nlm-ta">JMIR Med Inform</journal-id>
      <journal-title>JMIR Medical Informatics</journal-title>
      <issn pub-type="epub">2291-9694</issn>
      <publisher>
        <publisher-name>JMIR Publications</publisher-name>
        <publisher-loc>Toronto, Canada</publisher-loc>
      </publisher>
    </journal-meta>
    <article-meta>
    <article-id pub-id-type="publisher-id">v4i3e25</article-id>
    <article-id pub-id-type="pmid">27444059</article-id>
    <article-id pub-id-type="doi">10.2196/medinform.5650</article-id>
    <article-categories>
      <subj-group subj-group-type="heading">
        <subject>Original Paper</subject>
      </subj-group>
      <subj-group subj-group-type="article-type">
        <subject>Original Paper</subject>
      </subj-group>
    </article-categories>
    <title-group>
      <article-title>Forecasting Daily Patient Outflow From a Ward Having No Real-Time Clinical Data</article-title>
    </title-group>
    <contrib-group>
      <contrib contrib-type="editor">
        <name>
          <surname>Eysenbach</surname>
          <given-names>Gunther</given-names>
        </name>
      </contrib>
    </contrib-group>
    <contrib-group>
      <contrib contrib-type="reviewer">
        <name>
          <surname>Barnes</surname>
          <given-names>Sean</given-names>
        </name>
      </contrib>
      <contrib contrib-type="reviewer">
        <name>
          <surname>Levin</surname>
          <given-names>Scott</given-names>
        </name>
      </contrib>
    </contrib-group>
    <contrib-group>
      <contrib contrib-type="author" id="contrib1" corresp="yes">
      <name name-style="western">
        <surname>Gopakumar</surname>
        <given-names>Shivapratap</given-names>
      </name>
      <degrees>MTech</degrees>
      <xref rid="aff1" ref-type="aff">1</xref>
      <address>
        <institution>Centre for Pattern Recognition and Data Analytics</institution>
        <institution>Deakin University</institution>
        <addr-line>Building KA</addr-line>
        <addr-line>75 Pigdons Road</addr-line>
        <addr-line>Geelong Waurn Ponds, 3216</addr-line>
        <country>Australia</country>
        <phone>61 3 5227 1266</phone>
        <fax>61 3 5227 2028</fax>
        <email>shivapratap@gmail.com</email>
      </address>  
      <ext-link ext-link-type="orcid">http://orcid.org/0000-0002-7986-7752</ext-link></contrib>
      <contrib contrib-type="author" id="contrib2">
        <name name-style="western">
          <surname>Tran</surname>
          <given-names>Truyen</given-names>
        </name>
        <degrees>PhD</degrees>
        <xref rid="aff1" ref-type="aff">1</xref>
        <ext-link ext-link-type="orcid">http://orcid.org/0000-0001-6531-8907</ext-link>
      </contrib>
      <contrib contrib-type="author" id="contrib3">
        <name name-style="western">
          <surname>Luo</surname>
          <given-names>Wei</given-names>
        </name>
        <degrees>PhD</degrees>
        <xref rid="aff1" ref-type="aff">1</xref>
        <ext-link ext-link-type="orcid">http://orcid.org/0000-0002-4711-7543</ext-link>
      </contrib>
      <contrib contrib-type="author" id="contrib4">
        <name name-style="western">
          <surname>Phung</surname>
          <given-names>Dinh</given-names>
        </name>
        <degrees>PhD</degrees>
        <xref rid="aff1" ref-type="aff">1</xref>
        <ext-link ext-link-type="orcid">http://orcid.org/0000-0002-9977-8247</ext-link>
      </contrib>
      <contrib contrib-type="author" id="contrib5">
        <name name-style="western">
          <surname>Venkatesh</surname>
          <given-names>Svetha</given-names>
        </name>
        <degrees>PhD</degrees>
        <xref rid="aff1" ref-type="aff">1</xref>
        <ext-link ext-link-type="orcid">http://orcid.org/0000-0001-8675-6631</ext-link>
      </contrib>
    </contrib-group>
    <aff id="aff1">
    <sup>1</sup>
    <institution>Centre for Pattern Recognition and Data Analytics</institution>
    <institution>Deakin University</institution>  
    <addr-line>Geelong Waurn Ponds</addr-line>
    <country>Australia</country></aff>
    <author-notes>
      <corresp>Corresponding Author: Shivapratap Gopakumar 
      <email>shivapratap@gmail.com</email></corresp>
    </author-notes>
    <pub-date pub-type="collection"><season>Jul-Sep</season><year>2016</year></pub-date>
    <pub-date pub-type="epub">
      <day>21</day>
      <month>07</month>
      <year>2016</year>
    </pub-date>
    <volume>4</volume>
    <issue>3</issue>
    <elocation-id>e25</elocation-id>
    <!--history from ojs - api-xml-->
    <history>
      <date date-type="received">
        <day>14</day>
        <month>2</month>
        <year>2016</year>
      </date>
      <date date-type="rev-request">
        <day>6</day>
        <month>4</month>
        <year>2016</year>
      </date>
      <date date-type="rev-recd">
        <day>29</day>
        <month>5</month>
        <year>2016</year>
      </date>
      <date date-type="accepted">
        <day>21</day>
        <month>6</month>
        <year>2016</year>
      </date>
    </history>
    <!--(c) the authors - correct author names and publication date here if necessary. Date in form ', dd.mm.yyyy' after jmir.org-->
    <copyright-statement>©Shivapratap Gopakumar, Truyen Tran, Wei Luo, Dinh Phung, Svetha Venkatesh. Originally published in JMIR Medical Informatics (http://medinform.jmir.org), 21.07.2016.</copyright-statement>
    <copyright-year>2016</copyright-year>
    <license license-type="open-access" xlink:href="http://creativecommons.org/licenses/by/2.0/">
      <p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR Medical Informatics, is properly cited. The complete bibliographic information, a link to the original publication on http://medinform.jmir.org/, as well as this copyright and license information must be included.</p>
    </license>  
    <self-uri xlink:href="http://medinform.jmir.org/2016/3/e25/" xlink:type="simple"/>
    <abstract>
      
      <p><bold>Background</bold><bold>:</bold> Modeling patient flow is crucial in understanding resource demand and prioritization. We study patient outflow from an open ward in an Australian hospital, where currently bed allocation is carried out by a manager relying on past experiences and looking at demand. Automatic methods that provide a reasonable estimate of total next-day discharges can aid in efficient bed management. The challenges in building such methods lie in dealing with large amounts of discharge noise introduced by the nonlinear nature of hospital procedures, and the nonavailability of real-time clinical information in wards.</p>
      
      <sec sec-type="objective">
        <title>Objective</title>
        <p>Our study investigates different models to forecast the total number of next-day discharges from an open ward having no real-time clinical data.</p>
        
      </sec>
      <sec sec-type="methods">
        <title>Methods</title>
        <p>We compared 5 popular regression algorithms to model total next-day discharges: (1) autoregressive integrated moving average (ARIMA), (2) the autoregressive moving average with exogenous variables (ARMAX), (3) k-nearest neighbor regression, (4) random forest regression, and (5) support vector regression. Although the autoregressive integrated moving average model relied on past 3-month discharges, nearest neighbor forecasting used median of similar discharges in the past in estimating next-day discharge. In addition, the ARMAX model used the day of the week and number of patients currently in ward as exogenous variables. For the random forest and support vector regression models, we designed a predictor set of 20 patient features and 88 ward-level features.</p>
        
      </sec>
      <sec sec-type="results">
        <title>Results</title>
        <p>Our data consisted of 12,141 patient visits over 1826 days. Forecasting quality was measured using mean forecast error, mean absolute error, symmetric mean absolute percentage error, and root mean square error. When compared with a moving average prediction model, all 5 models demonstrated superior performance with the random forests achieving 22.7% improvement in mean absolute error, for all days in the year 2014.</p>
        
      </sec>
      <sec sec-type="conclusions">
        <title>Conclusions</title>
        <p>In the absence of clinical information, our study recommends using patient-level and ward-level data in predicting next-day discharges. Random forest and support vector regression models are able to use all available features from such data, resulting in superior performance over traditional autoregressive methods. An intelligent estimate of available beds in wards plays a crucial role in relieving access block in emergency departments.</p>
        
        
      </sec>
    </abstract>
    <kwd-group>
      <kwd>patient flow</kwd>
      <kwd>discharge planning</kwd>
      <kwd>predictive models</kwd>
    </kwd-group></article-meta>
  </front>
  <body>
    <sec sec-type="introduction">
      <title>Introduction</title>
      <p>Demand for health care services has become unsustainable [<xref ref-type="bibr" rid="ref1">1</xref>,<xref ref-type="bibr" rid="ref2">2</xref>]. This is largely due to increase in population and life expectancy, escalating costs, increased patient expectations, and workforce issues [<xref ref-type="bibr" rid="ref3">3</xref>]. Despite increased demands, the number of inpatient beds in hospitals has come down by 2% since the last decade [<xref ref-type="bibr" rid="ref2">2</xref>,<xref ref-type="bibr" rid="ref4">4</xref>]. Efficient bed management is key to meeting this rising demand and reducing health care costs.</p>
      <p>Daily discharge rate can be a potential real-time indicator of operational efficiency [<xref ref-type="bibr" rid="ref5">5</xref>]. From a ward-level perspective, a good estimate of next-day discharges will enable hospital staff to foresee potential problems such as changes in number of available beds and changes in number of required staff. Efficient forecasting reduces bed crisis and improves resource allocation. This foresight can help accelerate discharge preparation, which has huge cost on clinical staff and educating patients and family, requiring postdischarge planning [<xref ref-type="bibr" rid="ref6">6</xref>,<xref ref-type="bibr" rid="ref7">7</xref>]. However, studying patient flow from general wards offers several challenges.</p>
      <p>Ward-level discharges incorporate far greater hospital dynamics that are often nonlinear [<xref ref-type="bibr" rid="ref8">8</xref>]. Accessing real-time clinical information in wards can be difficult because of administrative and procedural barriers, such data may not be available for predictive applications. Because the diagnosis coding is performed after discharge, there is little information about medical condition or variation in care quality in real time. In addition, factors other than patient condition play a role in discharge decisions [<xref ref-type="bibr" rid="ref5">5</xref>,<xref ref-type="bibr" rid="ref9">9</xref>,<xref ref-type="bibr" rid="ref10">10</xref>].</p>
      <p>The current practice of bed allocation in general wards of most hospitals involves a hospital staff/team, who use past information and experience, to schedule and assign beds [<xref ref-type="bibr" rid="ref11">11</xref>]. Modern machine learning techniques can be used to aid such decisions and help understand the underlying process. As an example, <xref ref-type="fig" rid="figure1">Figure 1</xref> illustrates a decision tree trained on past discharges and ward occupancy statistics, which models the daily discharge pattern from an open ward in a regional Australian hospital. Although the absence of patient medical information affected forecast performance, the decision rules provide important insight into the discharge process.</p>
      <p>Motivated by this result, we address the open problem of forecasting daily discharges from a ward with no real-time clinical data. Specifically, we compare the forecasting performance of 5 popular regression models: (1) the classical autoregressive integrated moving average (ARIMA), (2) the autoregressive moving average with exogenous variables (ARMAX), (3) k-nearest neighbor (kNN) regression, (4) random forest (RF) regression, and (v) support vector regression (SVR). Our experiments were conducted on commonly available data from a recovery ward (heath wing 5) in Barwon Health, a regional hospital in Victoria, Australia. The ARIMA and kNN models are built from daily discharges from ward. To account for the seasonal nature of discharges, the ARMAX model included day of the week and ward occupancy statistics. We identified and constructed 20 ward-level and 88 patient-level predictors to derive the RF and SVR models.</p>
      <p>Forecasting accuracy was measured using 3 metrics on a held out set of 2511 patient visits in the year 2014. When compared with a naive forecasting method of using the mean of last week discharges, we demonstrate through our experiments that (1) using regression methods for forecasting discharge outperforms naive forecasting, (2) SVR and RF models outperform the autoregressive methods and kNN, (3) an RF model derived from 108 features has the minimum error for next-day forecasts.</p>
      <p>The significance of our study is in identifying the importance of foreseeing available beds in wards, which could help relieve emergency access block [<xref ref-type="bibr" rid="ref12">12</xref>].</p>
      <p>Patient length of stay directly contributes to hospital costs and resource allocation. Long-term forecasting in health care aims to model bed and staffing needs over a period of months to years. Cote and Tucker categorize the common methods in health care demand forecasting as percent adjustment, 12-month moving average, trendline, and seasonalized forecast [<xref ref-type="bibr" rid="ref13">13</xref>]. Although each of these methods is built from historical demand, seasonalized forecasting provides more realistic results as it takes into account the seasonal variations and trends in the data. Mackay and Lee [<xref ref-type="bibr" rid="ref3">3</xref>] advise modeling the patient flow in health care institutions for tactical and strategic forecasting. To this end, compartmental modeling [<xref ref-type="bibr" rid="ref14">14</xref>,<xref ref-type="bibr" rid="ref15">15</xref>], queuing models [<xref ref-type="bibr" rid="ref16">16</xref>,<xref ref-type="bibr" rid="ref17">17</xref>] and simulation models [<xref ref-type="bibr" rid="ref17">17</xref>-<xref ref-type="bibr" rid="ref20">20</xref>] have been applied to analyze patient flow. To understand long-term patient flow, studies analyze metrics such as bed occupancy [<xref ref-type="bibr" rid="ref3">3</xref>,<xref ref-type="bibr" rid="ref8">8</xref>,<xref ref-type="bibr" rid="ref14">14</xref>,<xref ref-type="bibr" rid="ref19">19</xref>,<xref ref-type="bibr" rid="ref21">21</xref>,<xref ref-type="bibr" rid="ref22">22</xref>], patient arrivals [<xref ref-type="bibr" rid="ref23">23</xref>], and individual patient length of stay [<xref ref-type="bibr" rid="ref19">19</xref>,<xref ref-type="bibr" rid="ref24">24</xref>-<xref ref-type="bibr" rid="ref27">27</xref>].</p>
      <p>On the other hand, our work implements short-term forecasting. The short-term forecasting methods are concerned with hourly and daily forecasts from a single unit in a care environment. The most popular unit of interest is the emergency or acute care department because this is often a key performance indicator metric in assessing quality of care [<xref ref-type="bibr" rid="ref28">28</xref>,<xref ref-type="bibr" rid="ref29">29</xref>].</p>
      <fig id="figure1" position="float">
        <label>Figure 1</label>
        <caption>
          <p>Decision tree modeling of total discharges from an open ward from day of the week and ward occupancy (previous day occupation) data for 5 years. The leaves represent total number of patient discharges.</p>
        </caption>
        <graphic xlink:href="medinform_v4i3e25_fig1.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
      </fig>
      <sec>
        <title>Time Series and Smoothing Methods</title>
        <p>When looking at discharges as time series, autoregressive moving average models are the most popular [<xref ref-type="bibr" rid="ref30">30</xref>-<xref ref-type="bibr" rid="ref32">32</xref>]. Exponential smoothing techniques have also been used to forecast monthly [<xref ref-type="bibr" rid="ref33">33</xref>] and daily patient flow [<xref ref-type="bibr" rid="ref34">34</xref>].</p>
        <p>Jones et al used the classical ARIMA to forecast daily bed occupancy in emergency department of a European hospital [<xref ref-type="bibr" rid="ref30">30</xref>]. The model which included seasonality terms demonstrated reasonable performance to predict bed occupancy. The authors speculated whether nonlinear forecasting techniques could improve over ARIMA. A recent study confirmed the effectiveness of this forecasting technique in a US hospital setting [<xref ref-type="bibr" rid="ref35">35</xref>]. ARIMA models were also successfully used to forecast the number of occupied beds during a SARS outbreak in a Singapore hospital [<xref ref-type="bibr" rid="ref36">36</xref>]. A recent study used patient attendances in a pediatric emergency department to model daily demand using ARIMA [<xref ref-type="bibr" rid="ref37">37</xref>].</p>
        <p>Jones et al [<xref ref-type="bibr" rid="ref34">34</xref>] compared the ARIMA mode with exponential smoothing and artificial neural networks to forecast daily patient volumes in emergency department. The study revealed no single model to be superior and concluded that seasonal patterns play a major role in daily demand.</p>
      </sec>
      <sec>
        <title>Simulation Methods</title>
        <p>Modeling using simulation is typically used to study the behavior of complex systems. An early work in investigated the effects of emergency admissions on daily bed requirements in acute care, using discrete-event stochastic simulation modeling [<xref ref-type="bibr" rid="ref38">38</xref>]. Sinreich and Marmor [<xref ref-type="bibr" rid="ref39">39</xref>] proposed a guide for building a simulation tool based on data from emergency departments of 5 Israeli hospitals. Their method analyzed the flow of patients clustered into 8 types along with time elements. The simulation demonstrated that patient processes are better characterized by type of the patients, rather than specific hospitals visited. Yeh and Lin used a simulation model to characterize patient flow through a hospital emergency department and reduced waiting times using a genetic algorithm [<xref ref-type="bibr" rid="ref40">40</xref>]. A similar experiment was carried out in a geriatric department using a combination of discrete event simulation and queuing model to analyze bed occupancy [<xref ref-type="bibr" rid="ref19">19</xref>].</p>
      </sec>
      <sec>
        <title>Regression for Forecasting</title>
        <p>Regression models analyze the relationship between the forecasted variable and features in the data. Linear regression that encoded monthly variations was used to forecast patient admissions over a 6-month horizon and outperformed quadratic and autoregressive models [<xref ref-type="bibr" rid="ref41">41</xref>]. Another study used clustering and Principle Component Analysis PCA to find significant predictors from patient data to model emergency length of stay using linear regression [<xref ref-type="bibr" rid="ref42">42</xref>]. A nonlinear approach using regression trees was proposed in forecasting patient admissions which demonstrated superior performance over a neural net framework [<xref ref-type="bibr" rid="ref43">43</xref>].</p>
        <p>Barnes et al used 10 predictors to model real-time inpatient length of stay in a 36-bed unit using an RF model [<xref ref-type="bibr" rid="ref24">24</xref>].</p>
        <p>Nonlinear regression is better suited to model the changing dynamics of patient flow. To characterize the outflow of patients from the ward, we resort to regression using RF, kNN, and SVR. In the area of pattern recognition, kNNs [<xref ref-type="bibr" rid="ref44">44</xref>] are the most effective method that exploits repeated patterns. The kNN algorithm has been successfully applied to forecast to histogram time series in financial data [<xref ref-type="bibr" rid="ref45">45</xref>]. The nonparametric regression using kNN has been successfully demonstrated for short-term traffic forecasting [<xref ref-type="bibr" rid="ref46">46</xref>,<xref ref-type="bibr" rid="ref47">47</xref>] and electricity load forecasting [<xref ref-type="bibr" rid="ref48">48</xref>,<xref ref-type="bibr" rid="ref49">49</xref>]. However, kNN regression has not been studied for patient flow.</p>
        <p>Another powerful and popular regression technique, SVR, uses kernel functions to map features into a higher dimensional space to perform linear regression. Though this technique has not seen much application in medical forecasting, support vector machines have been successful in financial market prediction, electricity forecasting, business forecasting, and reliability forecasting [<xref ref-type="bibr" rid="ref50">50</xref>].</p>
        <p>Apart from the standard autoregressive methods, we use kNN, RFs, and SVR in forecasting next-day discharges. Because discharge patterns repeat over time, kNN regression can be applied to search for a matching pattern from past discharges. RFs and SVR regression are powerful modelling techniques requiring minimum tuning to effectively handle nonlinearity in the hospital processes.</p>
        <p>Recently, RF forecasting was used to predict total patient discharges from a 36 bed unit in an urban hospital [<xref ref-type="bibr" rid="ref24">24</xref>]. Apart from 4 demographic and 2 timing predictors, this study used 3 clinical predictors for patients: (1) reason for visit: identified by a physician and recorded using International Classification of Diseases: version 9 (ICD-9) diagnosis codes [<xref ref-type="bibr" rid="ref51">51</xref>], (2) observation status: assigned to patients for monitoring purpose, and (3) pending discharge location. Total number of discharges was estimated from aggregate of individual patient length of stay.</p>
        <p>The absence of real-time clinical information in our data makes calculating patient length of stay impossible. Instead, we resort to modelling next-day discharges by observing previous discharge patterns and examining demographics and flow characteristics in the ward.</p>
        
      </sec>
    </sec>
    <sec sec-type="methods">
      <title>Methods</title>
      <sec>
        <title>Data</title>
        <p>Our study used retrospective data collected from a recovery ward in Barwon Health, a large public health provider in Victoria, Australia serving about 350,000 residents. Ethics approval was obtained from the Hospital and Research Ethics Committee at Barwon Health (number 12/83) and Deakin University. The total number of available beds depended on the number of staff assigned to the ward. On average, the ward had 36 staffed beds, but fluctuated between 20 and 80 beds with varying patient flow. The physicians in the ward had no teaching responsibilities.</p>
        
        
        <table-wrap position="float" id="table1">
          <label>Table 1</label>
          <caption>
            <p>Tables in hospital database used in our data collection.</p>
          </caption>
          <table width="541" cellpadding="7" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="210"/>
            <col width="301"/>
            <thead>
              <tr valign="top">
                <td>Tables</td>
                <td>Columns</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td rowspan="3">Patients</td>
                <td>1. Patient ID</td>
              </tr>
              <tr valign="top">
                <td>2. Age</td>
              </tr>
              <tr valign="top">
                <td>3. Gender</td>
              </tr>
              <tr valign="top">
                <td rowspan="4">Ward Stay</td>
                <td>1. Admission ID</td>
              </tr>
              <tr valign="top">
                <td>2. Name of the ward</td>
              </tr>
              <tr valign="top">
                <td>3. Time (entry, exit)</td>
              </tr>
              <tr valign="top">
                <td>4. Bed ID</td>
              </tr>
              <tr valign="top">
                <td rowspan="5">Admissions</td>
                <td>1. Patient ID</td>
              </tr>
              <tr valign="top">
                <td>2. Admission ID</td>
              </tr>
              <tr valign="top">
                <td>3. Time (admit, discharge)</td>
              </tr>
              <tr valign="top">
                <td>4. Patient Class (21 categories)</td>
              </tr>
              <tr valign="top">
                <td>5. Admission type (7 categories)</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        
        
        
        <table-wrap position="float" id="table2">
          <label>Table 2</label>
          <caption>
            <p>Cohort details.</p>
          </caption>
          <table width="541" cellpadding="7" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="210"/>
            <col width="301"/>
            <thead>
              <tr valign="top">
                <td>Cohort</td>
                <td>Stats</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td>Total patient visits</td>
                <td>12,141</td>
              </tr>
              <tr valign="top">
                <td>Unique patients</td>
                <td>10,610</td>
              </tr>
              <tr valign="top">
                <td>Length of stay (mean, median, IQR<sup>a</sup>)</td>
                <td>4.26, 3, 5</td>
              </tr>
              <tr valign="top">
                <td>Discharges per day (mean, median, IQR)</td>
                <td>8.7, 8, 5</td>
              </tr>
              <tr valign="top">
                <td>Admissions per day (mean, median, IQR)</td>
                <td>8.6, 8, 5</td>
              </tr>
              <tr valign="top">
                <td>Mean ward occupancy, IQR</td>
                <td>30.9, 4</td>
              </tr>
              <tr valign="top">
                <td>Gender</td>
                <td>54.8% Female</td>
              </tr>
              <tr valign="top">
                <td>Age (mean, median)</td>
                <td>66, 63.23</td>
              </tr>
            </tbody>
          </table>
          <table-wrap-foot>
            <fn id="table2fn1">
              <p><sup>a</sup>IQR, interquartile range.</p>
            </fn>
          </table-wrap-foot>
        </table-wrap>
        
        <p>The data for our study came from three tables in the hospital database, as shown in <xref ref-type="table" rid="table1">Table 1</xref>. Additional real-time data that described patient condition or disease progression were unavailable because diagnosis coding using medical codes is done after discharge. Patient flow was collected for a period of 4 years. Using the admission and discharge times for each patient, we calculated the daily discharges from our ward in study. A total of 12,141 patients were admitted into the ward with a median discharge of 8 patients per day from January 1, 2010, to December 31, 2014. <xref ref-type="table" rid="table2">Table 2</xref> summarizes the main characteristics of our data.</p>
        
        
        <p>A time series decomposition of our data revealed strong seasonal variations and high nonlinearity in daily discharge patterns. There was a defined weekly pattern–discharge from ward peaked on Fridays and dropped significantly on weekends (see <xref ref-type="fig" rid="figure2">Figure 2</xref>). This seasonal nature is in tune with previous studies [<xref ref-type="bibr" rid="ref9">9</xref>,<xref ref-type="bibr" rid="ref32">32</xref>]. Aggregating the daily discharges into a monthly time series revealed defined monthly patterns (see <xref ref-type="fig" rid="figure3">Figure 3</xref>). The data displayed no significant trend. In addition, the daily discharge pattern was found to be highly nonlinear. Our forecasting methods must be able to handle such data dynamics.</p>
        <p>We describe the following diverse methods that are applicable to forecasting under complex data dynamics: (1) ARIMA, (2) autoregressive moving, (3) forecasting using kNN discharge patterns, (4) RF, and (5) SVR. Autoregressive methods model the temporal linear correlation between nearby data points in the time series. Nearest patterns lift this linearity assumption and assumes that short periods form repeated patterns. Finally, RF and SVR look for a nonlinear functional relationship between the future outcomes and descriptors in the past.</p>
        <fig id="figure2" position="float">
          <label>Figure 2</label>
          <caption>
            <p>Mean admissions and discharges per day from ward.</p>
          </caption>
          <graphic xlink:href="medinform_v4i3e25_fig2.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
        <fig id="figure3" position="float">
          <label>Figure 3</label>
          <caption>
            <p>Time series of monthly discharges from ward.</p>
          </caption>
          <graphic xlink:href="medinform_v4i3e25_fig3.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
      </sec>
      <sec>
        <title>Forecasting Methods</title>
        <sec>
          <title>Autoregressive Integrated Moving Average</title>
          <p>Time-series forecasting methods can analyze the pattern of past discharges and formulate a forecasting model from underlying temporal relationships [<xref ref-type="bibr" rid="ref52">52</xref>]. Such models can then be used to extrapolate the discharge time series into the future. ARIMA models are widely used in time-series forecasting. Their popularity can be attributed to ease of model formulation and interpretability [<xref ref-type="bibr" rid="ref53">53</xref>]. ARIMA models look for linear relationships in the discharge sequence to detect local trends and seasonality. However, such relationships can change over time. ARIMA models are able to capture these changes and update themselves accordingly. This is done by combining autoregressive (AR) and moving average (MA) models. Autoregressive models formulate discharge at time <italic>t</italic>=y<sub>t</sub>, as a linear combination of previous discharges. On the other hand, moving averages models characterize as linear combination of previous forecast errors. For ARIMA model, the discharge time series is made stationary using differencing. Let <italic>∅</italic> be autoregressive parameters, <italic>θ</italic> be moving average parameters, and <italic>ϵ</italic> be the forecast errors. Such an ARIMA model can be defined as shown in <xref ref-type="fig" rid="figure4">Figure 4</xref>, where <italic>µ</italic> is a constant. By varying <italic>p</italic> and <italic>q</italic>, we can generate different models to fit the data. Box Jenkins method [<xref ref-type="bibr" rid="ref54">54</xref>] provides a well-defined approach for model identification and parameter estimation. In our work, we choose the auto.arima() function from the forecast package [<xref ref-type="bibr" rid="ref55">55</xref>] in R [<xref ref-type="bibr" rid="ref56">56</xref>] to automatically select the best model.</p>
          
          <fig id="figure4" position="anchor">
            <label>Figure 4</label>
            <caption>
              <p>Classical ARIMA model.</p>
            </caption>
            <graphic xlink:href="medinform_v4i3e25_fig4.png" alt-version="no" mimetype="image" position="anchor" xlink:type="simple"/>
          </fig>
        </sec>
        <sec>
          <title>Autoregressive Moving Average With Exogenous Variables (ARMAX)</title>
          <p>Dynamic regression techniques allow adding additional explanatory variables, like day of the week and number of current patients in the ward, to autoregressive models. The autoregressive moving ARMAX modifies ARIMA model by including depending external variable <italic>x</italic><sub>t</sub> at time <italic>t</italic>, as shown in <xref ref-type="fig" rid="figure5">Figure 5</xref>. We model <italic>x</italic><sub>t</sub> using features from the hospital database.</p>
          
          <fig id="figure5" position="anchor">
            <label>Figure 5</label>
            <caption>
              <p>ARIMA model with exogenous variable xt.</p>
            </caption>
            <graphic xlink:href="medinform_v4i3e25_fig5.png" alt-version="no" mimetype="image" position="anchor" xlink:type="simple"/>
          </fig>
        </sec>
        <sec>
          <title>Detecting Discharge Patterns Using k-Nearest Neighbors</title>
          <p>The kNN algorithm takes advantage of the locality in data space. We assume that the next-day discharge depends on the discharges happening in previous days. Using kNN principles, we can do a regression to forecast the next-day discharge. Let <italic>y</italic><sub>d</sub> represent number of discharges on the current day: <italic>d</italic>. To forecast the next day discharge: <italic>y</italic><sub>d+1</sub>, we look at the discharges over the past <italic>p</italic> days as: disch_vec=[<italic>y</italic><sub>d-p</sub>: <italic>y</italic><sub>d</sub>]. Using Euclidean distance metric, we find <italic>k</italic> closest matches to disch_vec from the training data. An estimate of next-day discharge: <italic>ŷ</italic><sub>d+1</sub>, is calculated as a measure of the next-day discharges of the <italic>k</italic> matched patterns: (<italic>y</italic><sub>match</sub>)<sub>i</sub><italic>i</italic> ϵ(1:k). <xref ref-type="fig" rid="figure6">Figure 6</xref> shows an example of kNN based forecasting. Here, disch_vec in red [<italic>y</italic><sub>d-7</sub>: <italic>y</italic><sub>d</sub>] results in 3 matches from the training data. For simplicity, we have plotted the matched patterns alongside disch_vec, although they had occurred in the past. The next-day forecast <italic>ŷ</italic><sub>d+1</sub> becomes a measure of (<italic>y</italic><sub>match</sub>)<sub>i</sub>, where (<italic>y</italic><sub>match</sub>)<sub>i</sub><italic>i ϵ</italic> (1:3) is the (<italic>d</italic> +1)<sup>th</sup>term of each of the matched patterns [<xref ref-type="bibr" rid="ref57">57</xref>].</p>
          <p>One popular method of calculating <italic>ŷ</italic><sub>d+1</sub> is by minimizing the weighted quadratic loss (<xref ref-type="fig" rid="figure7">Figure 7</xref>), where <italic>w</italic><sub>i</sub> takes values between 0 and 1, with ∑<sup>k</sup><sub>i=1</sub><italic>w</italic><sub>i</sub><italic>=1</italic><sub>.</sub> However, there are 2 main drawbacks making it less desirable for our data. First, the quadratic loss is sensitive to outliers. Second, a robust estimate of { <italic>w</italic><sub>i</sub>} becomes difficult.</p>
          <p>Our data contain significant noise, causing large variations in next-day forecasts of the <italic>k</italic> matched patterns. We illustrate this problem in <xref ref-type="fig" rid="figure8">Figure 8</xref>. For a given day, kNN regression returns 125 matched patterns. The next-day forecasts from each k=125 patterns displayed significant variations. In such scenario, we resort to estimating <italic>ŷ</italic><sub>t+1</sub> by minimizing the robust loss (<xref ref-type="fig" rid="figure9">Figure 9</xref>).</p>
          
          <fig id="figure6" position="float">
            <label>Figure 6</label>
            <caption>
              <p>k-nearest neighbor forecasting example with k=3 and <italic>P</italic>=7.</p>
            </caption>
            <graphic xlink:href="medinform_v4i3e25_fig6.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
          </fig>
          <fig id="figure7" position="anchor">
            <label>Figure 7</label>
            <caption>
              <p>Calculating ŷd+1 by minimizing the weighted quadratic loss.</p>
            </caption>
            <graphic xlink:href="medinform_v4i3e25_fig7.png" alt-version="no" mimetype="image" position="anchor" xlink:type="simple"/>
          </fig>
          <fig id="figure8" position="float">
            <label>Figure 8</label>
            <caption>
              <p>Scatterplot of next-day forecast using k-nearest neighbor for a given day. X-axis represents each matched nearest-neighbor pattern. Y-axis represents the next day forecast of that matched pattern.</p>
            </caption>
            <graphic xlink:href="medinform_v4i3e25_fig8.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
          </fig>
          <fig id="figure9" position="anchor">
            <label>Figure 9</label>
            <caption>
              <p>Estimating ŷt+1 by minimizing the robust loss.</p>
            </caption>
            <graphic xlink:href="medinform_v4i3e25_fig9.png" alt-version="no" mimetype="image" position="anchor" xlink:type="simple"/>
          </fig>
        </sec>
        <sec>
          <title>Random Forest</title>
          <p>In this approach, we assume the next-day discharge as a function of historical descriptor vector: <italic>x</italic>. We use each day in the past as a data point, where the next-day discharge is the outcome, and the short period before the discharge are used to derive descriptors. The RF used in this paper is currently one of the most powerful methods to model the function <italic>y</italic>= <italic>f</italic> (<italic>x</italic>) [<xref ref-type="bibr" rid="ref58">58</xref>,<xref ref-type="bibr" rid="ref59">59</xref>]. An RF is an ensemble of regression trees. A regression tree approximates a function <italic>f</italic> (<italic>x</italic>) by recursively partitioning the descriptor space. At each region <italic>R</italic><sub>p</sub>, the function is approximated as shown in <xref ref-type="fig" rid="figure10">Figure 10</xref>, where &#124; <italic>R</italic><sub>p</sub>&#124; is the number of data point falling in region <italic>R</italic><sub>p</sub><italic>.</italic> The RF creates a diverse collection of random trees by varying the subsets of data points to train the trees and the subsets of descriptors at each step of space partitioning. The final outcome of RF is an average of all trees in the ensemble. Since tree growing is a highly adaptive process, it can discover any nonlinear function to any degree of approximation if given enough training data. However, the flexibility makes regression tree prone to overfitting, that is, the inability to generalize to unseen data. This requires controlling the growth by setting the number of descriptors per partitioning step, and the minimum size of region <italic>R</italic><sub>p</sub><italic>.</italic></p>
          <p>The voting leads to great benefits: reduce the variations per tree. The randomness helps combat against overfitting. There is no assumption about the distribution of data or the form of the function (<italic>x</italic>). There is controllable quality of fits.</p>
          <fig id="figure10" position="anchor">
            <label>Figure 10</label>
            <caption>
              <p>Random forests formulation of next day discharges (y) from historical descriptors (x).</p>
            </caption>
            <graphic xlink:href="medinform_v4i3e25_fig10.png" alt-version="no" mimetype="image" position="anchor" xlink:type="simple"/>
          </fig>
        </sec>
        <sec>
          <title>Support Vector Regression</title>
          <p>The historical descriptor vector <italic>x,</italic> used in the RF model can also be used to build a SVR model [<xref ref-type="bibr" rid="ref60">60</xref>]. Given the set of data {(<italic>x</italic><sub>1</sub>, <italic>y</italic><sub>1</sub>), (<italic>x</italic><sub>2</sub>, <italic>y</italic><sub>2</sub>), … (<italic>x</italic><sub>n</sub>, <italic>y</italic><sub>n</sub>)}, where each <italic>x</italic><sub>i</sub>ϵ <italic>R</italic><sup>m</sup> denotes the input descriptor for the corresponding next day forecast <italic>y</italic><sub>i</sub>ϵ <italic>R</italic><sup>1</sup>, a regression function takes the form: <italic>ŷ</italic><sub>i</sub>= <italic>f</italic> (<italic>x</italic><sub>i</sub>). SVR works by (1) mapping the input space of <italic>x</italic><sub>i</sub> into a higher dimensional space using a nonlinear mapping function: <italic>ϕ</italic>, (2) performing a linear regression in this higher dimensional space. In general, we can express the regression function as: <italic>f</italic> (<italic>x</italic>) = (<italic>wϕ</italic> (<italic>x</italic>))+ <italic>b,</italic> where, <italic>w</italic> ϵ <italic>R</italic><sup>m</sup> is the weights and <italic>b</italic> ϵ <italic>R</italic><sup>1</sup>is the bias term. Vapnik [<xref ref-type="bibr" rid="ref60">60</xref>] proposed the ϵ-insensitive loss function for SVR, which takes the form as shown in Equation 1 in <xref ref-type="fig" rid="figure11">Figure 11</xref>. The loss function <italic>L</italic><sub>ϵ</sub> tolerates errors that are smaller than the threshold: <italic>ϵ,</italic> resulting in a “tube” around the true discharge values. Model parameters can be estimated by minimizing the cost function as shown in Equation 2 in <xref ref-type="fig" rid="figure11">Figure 11</xref>, where <italic>C</italic> is a constant that penalizes error in training data.</p>
          <p>In our work, we use an RBF kernel [<xref ref-type="bibr" rid="ref61">61</xref>] for mapping our input data to higher dimensional feature space. RBF kernels are a good choice for fitting our nonlinear discharge pattern because of its ability to map the training data to an infinite dimensional space and easy implementation. The solution to the dual formulation of SVR cost function is detailed in [<xref ref-type="bibr" rid="ref60">60</xref>,<xref ref-type="bibr" rid="ref62">62</xref>].</p>
          <fig id="figure11" position="anchor">
            <label>Figure 11</label>
            <caption>
              <p>The SVR learning model.</p>
            </caption>
            <graphic xlink:href="medinform_v4i3e25_fig11.png" alt-version="no" mimetype="image" position="anchor" xlink:type="simple"/>
          </fig>
        </sec>
      </sec>
      <sec>
        <title>Experiments</title>
        <p>We extracted all data from the database tables (as in <xref ref-type="table" rid="table1">Table 1</xref>) for our ward in study. Patient flow was analyzed for a period of 5 years. We formatted our data as a matrix where each row corresponds to a day and each column represents a feature (descriptor). Two main groups of features were identified: (1) ward level and (2) patient level. Our feature creation process resulted in 20 ward-level and 88 patient-level predictors, as listed in <xref ref-type="table" rid="table3">Table 3</xref>. The ward-level descriptor: trend of next-day discharge was calculated by fitting a locally weighted polynomial regression [<xref ref-type="bibr" rid="ref63">63</xref>] from past discharges. An example of this regression fitting is shown in <xref ref-type="fig" rid="figure12">Figure 12</xref>.</p>
        
        
        <table-wrap position="float" id="table3">
          <label>Table 3</label>
          <caption>
            <p>Features constructed from ward data in hospital database.<sup>a</sup></p>
          </caption>
          <table width="674" cellpadding="7" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="280"/>
            <col width="136"/>
            <col width="215"/>
            <thead>
              <tr valign="top">
                <td>Type</td>
                <td>Predictor</td>
                <td>Description</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td rowspan="5">Ward-level</td>
                <td>Seasonality</td>
                <td>Current day-of-week, current month</td>
              </tr>
              <tr valign="top">
                <td>Trend</td>
                <td>Calculated using locally weighted polynomial regression from past discharges on the same weekday</td>
              </tr>
              <tr valign="top">
                <td>Admissions</td>
                <td>Number of admissions during past 7 days</td>
              </tr>
              <tr valign="top">
                <td>Discharges</td>
                <td>Number of discharges during past 7 days, number of discharges in previous 14th day and 21st day</td>
              </tr>
              <tr valign="top">
                <td>Occupancy</td>
                <td>Ward occupancy in previous day</td>
              </tr>
              <tr valign="top">
                <td><break/></td>
                <td><break/></td>
                <td><break/></td>
              </tr>
              <tr valign="top">
                <td rowspan="6">Patient-level</td>
                <td>Admission type</td>
                <td>5 categories</td>
              </tr>
              <tr valign="top">
                <td>Patient referral</td>
                <td>49 categories</td>
              </tr>
              <tr valign="top">
                <td>Patient class</td>
                <td>21 categories</td>
              </tr>
              <tr valign="top">
                <td>Age category</td>
                <td>8 categories</td>
              </tr>
              <tr valign="top">
                <td>Number of wards visited</td>
                <td>4 categories</td>
              </tr>
              <tr valign="top">
                <td>Elapsed length of stay</td>
                <td>Calculated daily for each patient in the ward</td>
              </tr>
            </tbody>
          </table>
          <table-wrap-foot>
            <fn id="table3fn1">
              <p><sup>a</sup> The random forest and support vector regression models used the full set of features. The ARMAX (autoregressive moving average with exogenous variables) model used seasonality and occupancy. All other models were derived from daily discharges.</p>
            </fn>
          </table-wrap-foot>
        </table-wrap>
        
        <fig id="figure12" position="float">
          <label>Figure 12</label>
          <caption>
            <p>An example of the discharge trend, as derived from a locally weighted polynomial regression model.</p>
          </caption>
          <graphic xlink:href="medinform_v4i3e25_fig12.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
      </sec>
      <sec>
        <title>Evaluation Protocol</title>
        <p>Our training and testing sets are separated by time. This strategy reflects the common practice of training the model using data in the past and applying it on future data. Training data consisted of 1460 days from January 1, 2010, to December 31, 2013. Testing data consisted of 365 days in the year 2014. The characteristics of the training and validation cohort are shown in <xref ref-type="table" rid="table4">Table 4</xref>. Most stays were short, around 65% of patients stayed for less than 5 days.</p>
        
        
        <table-wrap position="float" id="table4">
          <label>Table 4</label>
          <caption>
            <p>Characteristics of training and validation cohorts.</p>
          </caption>
          <table width="631" cellpadding="7" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="48"/>
            <col width="232"/>
            <col width="179"/>
            <col width="113"/>
            <thead>
              <tr valign="top">
                <td colspan="2">Categorization</td>
                <td>Training (2010-2013)</td>
                <td>Testing (2014)</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td colspan="2">Total days</td>
                <td>1460</td>
                <td>365</td>
              </tr>
              <tr valign="top">
                <td colspan="2">Mean discharges per day</td>
                <td>8.47</td>
                <td>9.17</td>
              </tr>
              <tr valign="top">
                <td colspan="2">Number of admissions</td>
                <td>9630</td>
                <td>2511</td>
              </tr>
              <tr valign="top">
                <td colspan="2">Gender</td>
                <td><break/></td>
                <td><break/></td>
              </tr>
              <tr valign="top">
                <td><break/></td>
                <td>Male</td>
                <td>4329 (44.9%)</td>
                <td>1135 (45.2%)</td>
              </tr>
              <tr valign="top">
                <td><break/></td>
                <td>Female</td>
                <td>5301 (55.1%)</td>
                <td>1376 (54.8%)</td>
              </tr>
              <tr valign="top">
                <td colspan="2">Mean age (years)</td>
                <td>63.65</td>
                <td>61.62</td>
              </tr>
              <tr valign="top">
                <td colspan="2">Length of stay</td>
                <td><break/></td>
                <td><break/></td>
              </tr>
              <tr valign="top">
                <td><break/></td>
                <td>1-4 days</td>
                <td>6377 (66.22%)</td>
                <td>1636 (65.15%)</td>
              </tr>
              <tr valign="top">
                <td><break/></td>
                <td>5 or more days</td>
                <td>3253 (33.78%)</td>
                <td>875 (34.85%)</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        
        <sec>
          <title>Baseline Forecasting</title>
          <p>The current hospital strategy involves using past experience to foresee available beds. To compare the efficiency of our proposed approaches, we model the following baselines: (1) Naive forecasting using the last day of week discharge: since our data were found to have defined weekly patterns, we model the next day discharge as the number of discharges for the same day during previous week; (2) naive forecasting using mean of last week discharges: to better model the variation and noise in weekly discharges, we model the next-day discharge as the mean of discharges during previous 7 days; and (3) naive forecasting using mean of last 3-week discharges: to account for the monthly and weekly variations in our data, we use mean of daily discharges over the past 3 weeks to model the next-day discharge.</p>
        </sec>
        <sec>
          <title>Measuring Forecast Performance</title>
          <p>We compare the next-day forecasts of our proposed approaches with the baseline methods on the measures of mean forecast error, mean absolute error, symmetric mean absolute percentage error, and root mean square error [<xref ref-type="bibr" rid="ref64">64</xref>,<xref ref-type="bibr" rid="ref65">65</xref>]. If <italic>y</italic><sub>t</sub> is the measured discharge at time <italic>t</italic>, <italic>f</italic><sub>t</sub> is the forecasted dishcharge at time <italic>t</italic>, we can define the following:</p>
          <p>• Mean forecast error (MFE): is used to gauge model bias and is calculated as MFE = mean(<italic>y</italic><sub>t</sub>- <italic>f</italic><sub>t</sub>)</p>
          <p>• For an ideal model, MFE = 0. If MFE &#62; 0, the model tends to underforecast. When MFE &#60; 0, the model tends to overforecast.</p>
          <p>• Mean absolute error (MAE): is the average of unsigned errors: MAE = mean&#124; <italic>y</italic><sub>t</sub>- <italic>f</italic><sub>t</sub>&#124;.</p>
          <p>MAE indicates the absolute size of the errors.</p>
          <p>• Root mean square error (RMSE) is a measure of the deviation of forecast errors. It is calculated as: RMSE = √mean(<italic>y</italic><sub>t</sub>- <italic>f</italic><sub>t</sub><italic>)</italic><sup>2</sup></p>
          <p>Due to squaring and averaging, large errors tend to have more influence over RMSE. In contrast, individual errors are weighted equally in MAE. There has been much debate on the choice of MAE or RMSE as an indicator of model performance [<xref ref-type="bibr" rid="ref66">66</xref>,<xref ref-type="bibr" rid="ref67">67</xref>].</p>
          <p>•Symmetric mean absolute percentage error (sMAPE): It is scale independent and hence can be used to compare forecast performance between different data series. It overcomes 2 disadvantages of mean absolute percentage error (MAPE) namely, (1) the inability to calculate error when the true discharge is zero and (2) heavier penalties for positive errors than negative errors. sMAPE is a more robust estimate of forecast error and is calculated as: sMAPE = mean(200[&#124; <italic>y</italic><sub>t</sub>- <italic>f</italic><sub>t</sub>&#124;/ <italic>y</italic><sub>t</sub>+ <italic>f</italic><sub>t</sub>]). However, sMAPE ranges from −200% to 200%, giving it an ambiguous interpretation [<xref ref-type="bibr" rid="ref68">68</xref>].</p>
          
        </sec>
      </sec>
    </sec>
    <sec sec-type="results">
      <title>Results</title>
      <sec>
        <title>Model Performance</title>
        <p>In this section, we describe the results of comparing our different forecasting methods. The model parameters for kNN forecast, RF, and SVR models were tuned to minimize forecast errors.</p>
        <p>For kNN regression, the optimum value of pattern length: <italic>d</italic> and number of nearest neighbours: <italic>k</italic>, was obtained by analyzing forecast RMSE for values <italic>d</italic> ϵ (1,100) and <italic>k</italic> ϵ(5,1000). Minimum RMSE of 3.77 was obtained at <italic>d</italic>=70 and <italic>k</italic>=125.</p>
        <p>The SVR parameters <italic>C</italic> (penalty cost) and <italic>ϵ</italic> (amount of allowed error) were determined by choosing the best value from a grid search, that minimized the model RMSE. Similarly, the optimum number of variables in building each node of the RF was chosen by examining its effect on minimizing the out-of-bag estimate.</p>
        <p>We compared the naive forecasting methods with our proposed 5 models using MFE, MAE, RMSE, and sMAPE. The results are summarized in <xref ref-type="table" rid="table5">Table 5</xref>, whereas <xref ref-type="fig" rid="figure13">Figure 13</xref> compares the distribution of actual discharges with different model forecasts.</p>
        
        
        <table-wrap position="float" id="table5">
          <label>Table 5</label>
          <caption>
            <p>Forecast accuracy of different models.</p>
          </caption>
          <table width="612" cellpadding="7" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="20"/>
            <col width="114"/>
            <col width="57"/>
            <col width="57"/>
            <col width="85"/>
            <col width="85"/>
            <col width="85"/>
            <thead>
              <tr valign="top">
                <td colspan="2">Model</td>
                <td>Mean forecast error</td>
                <td>Mean absolute error</td>
                <td>Symmetric mean <break/>absolute percentage <break/>error</td>
                <td>Root mean square error</td>
                <td>Mean absolute error improve over naïve</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td colspan="2">Naive forecast</td>
                <td><break/></td>
                <td><break/></td>
                <td><break/></td>
                <td><break/></td>
                <td><break/></td>
              </tr>
              <tr valign="top">
                <td><break/></td>
                <td>Using discharge from last <break/>weekday</td>
                <td>0.03</td>
                <td>3.81</td>
                <td>45.70 %</td>
                <td>4.95</td>
                <td><break/></td>
              </tr>
              <tr valign="top">
                <td><break/></td>
                <td>Using mean of last week <break/>discharges</td>
                <td>0.02</td>
                <td>3.57</td>
                <td>41.68 %</td>
                <td>4.42</td>
                <td><break/></td>
              </tr>
              <tr valign="top">
                <td><break/></td>
                <td>Using mean of last 3-week <break/>discharges</td>
                <td>0.04</td>
                <td>3.44</td>
                <td>40.14%</td>
                <td>4.34</td>
                <td><break/></td>
              </tr>
              <tr valign="top">
                <td colspan="2">ARIMA<sup>a</sup></td>
                <td>0.06</td>
                <td>3.27</td>
                <td>38.32 %</td>
                <td>4.15</td>
                <td>4.9 %</td>
              </tr>
              <tr valign="top">
                <td colspan="2">ARMAX<sup>b</sup></td>
                <td>-0.01</td>
                <td>2.99</td>
                <td>34.86 %</td>
                <td>3.84</td>
                <td>13.1 %</td>
              </tr>
              <tr valign="top">
                <td colspan="2">k-nearest neighbor</td>
                <td>1.09</td>
                <td>2.88</td>
                <td>34.92 %</td>
                <td>3.77</td>
                <td>16.3 %</td>
              </tr>
              <tr valign="top">
                <td colspan="2">Support vector regression</td>
                <td>0.73</td>
                <td>2.75</td>
                <td>32.88%</td>
                <td>3.64</td>
                <td>20.1 %</td>
              </tr>
              <tr valign="top">
                <td colspan="2">Random forest</td>
                <td>0.44</td>
                <td>2.66</td>
                <td>31.86 %</td>
                <td>3.49</td>
                <td>22.7 %</td>
              </tr>
            </tbody>
          </table>
          <table-wrap-foot>
            <fn id="table5fn1">
              <p><sup>a</sup> ARIMA: autoregressive integrated moving average</p>
            </fn>
            <fn id="table5fn2">
              <p><sup>b</sup> ARMAX: autoregressive moving average with exogenous variables</p>
            </fn>
          </table-wrap-foot>
        </table-wrap>
        
        <p>The naive forecasts are unable to capture all variations in the data and resulted in the maximum error when compared with other models.</p>
        <p>The variations in seasonality and trend are better captured in ARIMA and ARMAX models. The time series consisting of past 3-month discharges were used to generate the next-day discharge forecast. The ARMAX model also included the day of week and ward occupancy as exogenous variables, which resulted in better forecast performance over ARIMA.</p>
        <p>Interestingly, kNN was more successful than ARIMA and ARMAX in capturing the variations in discharge, demonstrating about 3% improvement in MAE, when compared with ARMAX. However, the kNN model tends to under forecast (MFE = 1.09), possibly because of resorting to median values for forecast. In comparison, RF and SVR forecast models demonstrated better performance. This can be expected because they are derived from all the 108 features. However, RF demonstrated a relative improvement of 3.3 % in MAE over SVR model (see <xref ref-type="table" rid="table5">Table 5</xref>). When looking at forecast errors for each day of week, RF model confirmed better performance, as shown in <xref ref-type="fig" rid="figure14">Figure 14</xref>.</p>
        <p>The process of SVR with RBF kernel maps all data into a higher dimensional space. Hence, the original features responsible for forecast cannot be recovered, and the model acts as a black box. Alternatively, RF algorithm returns an estimate of importance for each variable for regression. Examining the features with high importance could give us a better understanding of the discharge process.</p>
        <fig id="figure13" position="float">
          <label>Figure 13</label>
          <caption>
            <p>Comparison of actual and forecasted discharges from ward for each day in 2014.</p>
          </caption>
          <graphic xlink:href="medinform_v4i3e25_fig13.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
        <fig id="figure14" position="float">
          <label>Figure 14</label>
          <caption>
            <p>Forecast error in predicting each day of week in 2014.</p>
          </caption>
          <graphic xlink:href="medinform_v4i3e25_fig14.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
      </sec>
      <sec>
        <title>Feature Importance in the Random Forest model</title>
        <p>The features in random forecast model were ranked on importance scores. The top 10 significant features are described as follows. The day of week for the forecast proved to be the most important feature. Other features were number of patients in the ward during the day of forecast, the trend of discharges measured using locally weighted polynomial regression, number of discharges in past 14th day, number of discharges in past 21st day, number of patients who had visited only one previous ward, the number of males in the ward, number of patients labelled as: “public standard,” and current month of forecast.</p>
        
      </sec>
    </sec>
    <sec sec-type="discussion">
      <title>Discussion</title>
      <sec>
        <title>Principal Findings</title>
        <p>Improved patient flow and efficient bed management is key to counter escalating service and economic pressures in hospitals. Predicting next-day discharges is crucial but has been seldom studied for general wards. When compared with emergency and acute care wards, predicting next-day discharges from a general ward is more challenging because of the nonavailability of real-time clinical information. The daily discharge pattern is seasonal and irregular. This could be attributed to management of hospital processes such as ward rounds, inpatient tests, and medication. The nonlinear nature of these processes contributes to unpredictable length of stay even in patients with similar diagnosis.</p>
        <p>Typically, for open wards, a floor manager uses previous experience to foresee the number of available beds. In this paper, we attempt to model total number of next-day discharges using 5 methods. We have compared the forecasting performance using MAE, RMSE, and sMAPE. Our predictors are extracted from commonly available data in the hospital database. Although the kNN method is simple to implement, requiring no special expertise, software packages for other models are available for all common platforms. These models can be implemented by the analytics staff in hospital IT department and can be easily integrated into existing health information systems.</p>
        <p>In our experiments, forecast based on RF model outperformed all other models. Forecasting error rate is 31.9% (as measured by sMAPE) which is in the same ballpark as the recent work of [<xref ref-type="bibr" rid="ref24">24</xref>], though we had no real-time clinical information. An RF model makes minimum assumptions about the underlying data. Hence, it is the most flexible, and at the same time, comes with great overfitting control. Similarly, SVR also demonstrated superior performance, compared with the autoregressive and kNN models. The RBF kernel maps the features into a higher dimensional space during the regression process. Hence, the physical meaning of the features is lost, making it difficult to interpret the model. Finally, RFs and SVR are able to handle more features. This extra information in the form of patient demographics and past admission and discharge statistics contributed to improve the predictive performance when compared with other models.</p>
        <p>The kNN regression also performed well as it assumes only the locality in the data. But it is not adaptive, and thus less flexible in capturing complex patterns. The kNN regression assumes similar patterns in past discharges extrapolate to similar future discharge, which is not true for daily discharges from ward. ARMAX model outperformed the traditional ARIMA forecasts since it incorporated seasonal information as external regressors. As expected, a naive forecast of using the median of past discharges performed worst.</p>
        <p>We noticed a weekly pattern (<xref ref-type="fig" rid="figure2">Figure 2</xref>) and monthly pattern (<xref ref-type="fig" rid="figure3">Figure 3</xref>) in discharges from the ward. Other studies have also confirmed that discharges peak on Friday and drop during weekends [<xref ref-type="bibr" rid="ref5">5</xref>,<xref ref-type="bibr" rid="ref9">9</xref>,<xref ref-type="bibr" rid="ref10">10</xref>]. This “weekend effect” could be attributed to shortages in staffing or reduced availability of services like sophisticated tests and procedures [<xref ref-type="bibr" rid="ref10">10</xref>,<xref ref-type="bibr" rid="ref69">69</xref>]. This suggests discharges are heavily influenced by administrative reasons and staffing.</p>
        <p>Feature importance score from an RF model helps in identifying the features contributing to the regression process. The day of forecast proved to be one of the most important features in the RF model. Other important features included trend based on nonlinear regression of past weekdays, number of discharges in the past days, ward occupancy in previous day, number of males in the ward, and number of general patients in ward.</p>
        <p>When looking at for each day of the week, the RF and SVR model consistently outperformed other models. Sundays and Thursdays proved to be the easiest to predict for all models (<xref ref-type="fig" rid="figure14">Figure 14</xref>). This can be expected since these days had the least variation in our data. Fridays proved to be the most difficult to forecast. Retraining the RF model by omitting “day of the week” increased the forecast error by 1.39% (as measured by sMAPE).</p>
        <p>Patient length of stay is inherently variable, partly due to the complex nonlinear structure of medical care [<xref ref-type="bibr" rid="ref8">8</xref>]. The number of discharges from a ward is strongly related to the length of stay of the current patients in the ward. Hence, the variability in ward-level discharges is compounded by the variability in individual patient length of stay. In our study, the daily discharge pattern from ward shows great variation for each day of week. Apart from patient level details, we believe that a knowledge of hospital policies is also required to capture such nonlinearity.</p>
      </sec>
      <sec>
        <title>Practical Significance</title>
        <p>In our study, we were able to validate that the weekend patterns affect discharges from a general ward. The RF model was able to give a reasonable estimate of number of next-day discharges from the ward. Clinical staff can use this information as an aid to decisions regarding staffing and resource utilization. This foresight can also aid discharge planning such as communication and patient transfer between wards or between hospitals.</p>
        <p>An estimate of number of free beds can also help reduce emergency department (ED) boarding time and improve patient flow [<xref ref-type="bibr" rid="ref12">12</xref>,<xref ref-type="bibr" rid="ref23">23</xref>]. ED boarding time is the time spent by a patient in emergency care when a bed is not available in the ward. ED boarding time severely reduces the hospital efficiency. High bed occupancy in ward directly contributes to ED overcrowding [<xref ref-type="bibr" rid="ref70">70</xref>]. In our data, 42.81% of patients were admitted from the emergency care. An estimate of daily forecasts can be helpful in deciding the number of beds in wards to ease patient flow.</p>
      </sec>
      <sec>
        <title>Study Limitations</title>
        <p>We acknowledge the following limitations in our study. First, we focused only on a single ward. However, it was a ward with different patient types, and hence the results could be an indication for all general wards. Second, we did not use patient clinical data to model discharges. This was because clinical diagnosis data were available only for 42.81% of patients who came from emergency. In a general ward, clinical coding is not done in real time. However, we believe that incorporating clinical information to model patient length of stay could improve forecasting performance. Third, we did not compare our forecasts with clinicians/managing nurses. Finally, our study is retrospective. However, we have selected prediction period separated from development period. This has eliminated possible leakage and optimism.</p>
      </sec>
      <sec>
        <title>Conclusion</title>
        <p>This study set out to model patient outflow from an open ward with no real-time clinical information. We have demonstrated that using patient-level and ward-level features in modelling forecasts outperforms the traditional autoregressive methods. Our proposed models are built from commonly available data and hence could be easily extended to other wards. By supplementing patient-level clinical information when available, we believe that the forecasting accuracy of our models can be further improved.</p>
        
      </sec>
    </sec>
  </body>
  <back>
    <glossary>
      <title>Abbreviations</title>
      <def-list>
        <def-item>
          <term id="abb1">ARIMA</term>
          <def>
            <p>autoregressive intensive moving average</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb2">ARMAX</term>
          <def>
            <p>autoregressive moving average with exogenous variables</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb3">ED</term>
          <def>
            <p>emergency department</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb4">kNN</term>
          <def>
            <p>k-nearest neighbor</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb5">MAE</term>
          <def>
            <p>mean absolute error</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb6">MAPE</term>
          <def>
            <p>mean absolute percentage error</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb7">MFE</term>
          <def>
            <p>mean forecast error</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb8">RF</term>
          <def>
            <p>random forest</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb9">RMSE</term>
          <def>
            <p>root mean square error</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb10">sMAPE</term>
          <def>
            <p>symmetric mean absolute percentage error</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb11">SVR</term>
          <def>
            <p>support vector regression</p>
          </def>
        </def-item>
      </def-list>
    </glossary>
    <ack>
      <p>The authors would like to thank the anonymous reviewers for their comments and suggestions which greatly improved the quality of the paper. This work is partially supported by the Telstra-Deakin Centre of Excellence in Big Data and Machine Learning.</p>
      
    </ack>
    <fn-group>
      <fn fn-type="conflict">
        <p>None declared.</p>
        
      </fn>
    </fn-group>
    <ref-list>
      <ref id="ref1">
        <label>1</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Kalache</surname>
            <given-names>A</given-names>
          </name>
          <name name-style="western">
            <surname>Gatti</surname>
            <given-names>A</given-names>
          </name>
        </person-group>
        <article-title>Active ageing: a policy framework</article-title>
        <source>Adv Gerontol</source>  
        <year>2003</year>  
        <volume>11</volume>  
        <fpage>7</fpage>  
        <lpage>18</lpage>  
        <pub-id pub-id-type="medline">12820516</pub-id></nlm-citation>
      </ref>
      <ref id="ref2">
        <label>2</label>
        <nlm-citation citation-type="book">
        <person-group person-group-type="author">
          <collab>OECD</collab>
        </person-group>
        <source>A Disease-based Comparison of Health Systems: What is Best and at what Cost?</source>  
        <year>2003</year>  
        <publisher-loc>Paris</publisher-loc>
        <publisher-name>OECD publishing</publisher-name></nlm-citation>
      </ref>
      <ref id="ref3">
        <label>3</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Mackay</surname>
            <given-names>M</given-names>
          </name>
          <name name-style="western">
            <surname>Lee</surname>
            <given-names>M</given-names>
          </name>
        </person-group>
        <article-title>Choice of models for the analysis and forecasting of hospital beds</article-title>
        <source>Health Care Manag Sci</source>  
        <year>2005</year>  
        <month>08</month>  
        <volume>8</volume>  
        <issue>3</issue>  
        <fpage>221</fpage>  
        <lpage>30</lpage>  
        <pub-id pub-id-type="medline">16134435</pub-id></nlm-citation>
      </ref>
      <ref id="ref4">
        <label>4</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Alijani</surname>
            <given-names>A</given-names>
          </name>
          <name name-style="western">
            <surname>Hanna</surname>
            <given-names>GB</given-names>
          </name>
          <name name-style="western">
            <surname>Ziyaie</surname>
            <given-names>D</given-names>
          </name>
          <name name-style="western">
            <surname>Burns</surname>
            <given-names>SL</given-names>
          </name>
          <name name-style="western">
            <surname>Campbell</surname>
            <given-names>KL</given-names>
          </name>
          <name name-style="western">
            <surname>McMurdo</surname>
            <given-names>ME</given-names>
          </name>
          <name name-style="western">
            <surname>Cuschieri</surname>
            <given-names>A</given-names>
          </name>
        </person-group>
        <article-title>Instrument for objective assessment of appropriateness of surgical bed occupancy: validation study</article-title>
        <source>BMJ</source>  
        <year>2003</year>  
        <month>06</month>  
        <day>7</day>  
        <volume>326</volume>  
        <issue>7401</issue>  
        <fpage>1243</fpage>  
        <lpage>4</lpage>  
        <comment>
          <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://europepmc.org/abstract/MED/12791738"/>
        </comment>  
        <pub-id pub-id-type="doi">10.1136/bmj.326.7401.1243</pub-id>
        <pub-id pub-id-type="medline">12791738</pub-id>
        <pub-id pub-id-type="pii">326/7401/1243</pub-id>
        <pub-id pub-id-type="pmcid">PMC161553</pub-id></nlm-citation>
      </ref>
      <ref id="ref5">
        <label>5</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Wong</surname>
            <given-names>H</given-names>
          </name>
          <name name-style="western">
            <surname>Wu</surname>
            <given-names>RC</given-names>
          </name>
          <name name-style="western">
            <surname>Caesar</surname>
            <given-names>M</given-names>
          </name>
          <name name-style="western">
            <surname>Abrams</surname>
            <given-names>H</given-names>
          </name>
          <name name-style="western">
            <surname>Morra</surname>
            <given-names>D</given-names>
          </name>
        </person-group>
        <article-title>Real-time operational feedback: daily discharge rate as a novel hospital efficiency metric</article-title>
        <source>Qual Saf Health Care</source>  
        <year>2010</year>  
        <month>12</month>  
        <volume>19</volume>  
        <issue>6</issue>  
        <fpage>e32</fpage>  
        <pub-id pub-id-type="doi">10.1136/qshc.2010.040832</pub-id>
        <pub-id pub-id-type="medline">20724394</pub-id>
        <pub-id pub-id-type="pii">qshc.2010.040832</pub-id></nlm-citation>
      </ref>
      <ref id="ref6">
        <label>6</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Connolly</surname>
            <given-names>M</given-names>
          </name>
          <name name-style="western">
            <surname>Deaton</surname>
            <given-names>C</given-names>
          </name>
          <name name-style="western">
            <surname>Dodd</surname>
            <given-names>M</given-names>
          </name>
          <name name-style="western">
            <surname>Grimshaw</surname>
            <given-names>J</given-names>
          </name>
          <name name-style="western">
            <surname>Hulme</surname>
            <given-names>T</given-names>
          </name>
          <name name-style="western">
            <surname>Everitt</surname>
            <given-names>S</given-names>
          </name>
          <name name-style="western">
            <surname>Tierney</surname>
            <given-names>S</given-names>
          </name>
        </person-group>
        <article-title>Discharge preparation: do healthcare professionals differ in their opinions?</article-title>
        <source>J Interprof Care</source>  
        <year>2010</year>  
        <month>11</month>  
        <volume>24</volume>  
        <issue>6</issue>  
        <fpage>633</fpage>  
        <lpage>43</lpage>  
        <pub-id pub-id-type="doi">10.3109/13561820903418614</pub-id>
        <pub-id pub-id-type="medline">20919958</pub-id></nlm-citation>
      </ref>
      <ref id="ref7">
        <label>7</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Connolly</surname>
            <given-names>M</given-names>
          </name>
          <name name-style="western">
            <surname>Grimshaw</surname>
            <given-names>J</given-names>
          </name>
          <name name-style="western">
            <surname>Dodd</surname>
            <given-names>M</given-names>
          </name>
          <name name-style="western">
            <surname>Cawthorne</surname>
            <given-names>J</given-names>
          </name>
          <name name-style="western">
            <surname>Hulme</surname>
            <given-names>T</given-names>
          </name>
          <name name-style="western">
            <surname>Everitt</surname>
            <given-names>S</given-names>
          </name>
          <name name-style="western">
            <surname>Tierney</surname>
            <given-names>S</given-names>
          </name>
          <name name-style="western">
            <surname>Deaton</surname>
            <given-names>C</given-names>
          </name>
        </person-group>
        <article-title>Systems and people under pressure: the discharge process in an acute hospital</article-title>
        <source>J Clin Nurs</source>  
        <year>2009</year>  
        <month>02</month>  
        <volume>18</volume>  
        <issue>4</issue>  
        <fpage>549</fpage>  
        <lpage>58</lpage>  
        <pub-id pub-id-type="doi">10.1111/j.1365-2702.2008.02551.x</pub-id>
        <pub-id pub-id-type="medline">19192004</pub-id>
        <pub-id pub-id-type="pii">JCN2551</pub-id></nlm-citation>
      </ref>
      <ref id="ref8">
        <label>8</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Harper</surname>
            <given-names>P</given-names>
          </name>
          <name name-style="western">
            <surname>Shahani</surname>
            <given-names>AK</given-names>
          </name>
        </person-group>
        <article-title>Modelling for the Planning and Management of Bed Capacities in Hospitals</article-title>
        <source>The Journal of the Operational Research Society</source>  
        <year>2002</year>  
        <volume>53</volume>  
        <issue>1</issue>  
        <fpage>11</fpage>  
        <lpage>18</lpage>  
        <comment>
          <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://www.jstor.org/stable/822874"/>
        </comment> </nlm-citation>
      </ref>
      <ref id="ref9">
        <label>9</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Wong</surname>
            <given-names>H</given-names>
          </name>
          <name name-style="western">
            <surname>Wu</surname>
            <given-names>RC</given-names>
          </name>
          <name name-style="western">
            <surname>Tomlinson</surname>
            <given-names>G</given-names>
          </name>
          <name name-style="western">
            <surname>Caesar</surname>
            <given-names>M</given-names>
          </name>
          <name name-style="western">
            <surname>Abrams</surname>
            <given-names>H</given-names>
          </name>
          <name name-style="western">
            <surname>Carter</surname>
            <given-names>MW</given-names>
          </name>
          <name name-style="western">
            <surname>Morra</surname>
            <given-names>D</given-names>
          </name>
        </person-group>
        <article-title>How much do operational processes affect hospital inpatient discharge rates?</article-title>
        <source>J Public Health (Oxf)</source>  
        <year>2009</year>  
        <month>12</month>  
        <volume>31</volume>  
        <issue>4</issue>  
        <fpage>546</fpage>  
        <lpage>53</lpage>  
        <comment>
          <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://jpubhealth.oxfordjournals.org/cgi/pmidlookup?view=long&#38;pmid=19465455"/>
        </comment>  
        <pub-id pub-id-type="doi">10.1093/pubmed/fdp044</pub-id>
        <pub-id pub-id-type="medline">19465455</pub-id>
        <pub-id pub-id-type="pii">fdp044</pub-id></nlm-citation>
      </ref>
      <ref id="ref10">
        <label>10</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>van</surname>
            <given-names>WC</given-names>
          </name>
          <name name-style="western">
            <surname>Bell</surname>
            <given-names>CM</given-names>
          </name>
        </person-group>
        <article-title>Risk of death or readmission among people discharged from hospital on Fridays</article-title>
        <source>CMAJ</source>  
        <year>2002</year>  
        <month>06</month>  
        <day>25</day>  
        <volume>166</volume>  
        <issue>13</issue>  
        <fpage>1672</fpage>  
        <lpage>3</lpage>  
        <comment>
          <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://www.cmaj.ca/cgi/pmidlookup?view=long&#38;pmid=12126321"/>
        </comment>  
        <pub-id pub-id-type="medline">12126321</pub-id>
        <pub-id pub-id-type="pmcid">PMC116153</pub-id></nlm-citation>
      </ref>
      <ref id="ref11">
        <label>11</label>
        <nlm-citation citation-type="confproc">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Daniels</surname>
            <given-names>MJ</given-names>
          </name>
          <name name-style="western">
            <surname>Kuhl</surname>
            <given-names>ME</given-names>
          </name>
          <name name-style="western">
            <surname>Hager</surname>
            <given-names>E</given-names>
          </name>
        </person-group>
        <article-title>Forecasting Hospital Bed Availability Using Simulation and Neural Networks</article-title>
        <source>Proceedings of IIE Annual Conference</source>  
        <year>2005</year>  
        <conf-name>IIE Annual Conference and Exposition</conf-name>
        <conf-date>May 14-18, 2005</conf-date>
        <conf-loc>Atlanta</conf-loc></nlm-citation>
      </ref>
      <ref id="ref12">
        <label>12</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Luo</surname>
            <given-names>W</given-names>
          </name>
          <name name-style="western">
            <surname>Cao</surname>
            <given-names>J</given-names>
          </name>
          <name name-style="western">
            <surname>Gallagher</surname>
            <given-names>M</given-names>
          </name>
          <name name-style="western">
            <surname>Wiles</surname>
            <given-names>J</given-names>
          </name>
        </person-group>
        <article-title>Estimating the intensity of ward admission and its effect on emergency department access block</article-title>
        <source>Stat Med</source>  
        <year>2013</year>  
        <month>07</month>  
        <day>10</day>  
        <volume>32</volume>  
        <issue>15</issue>  
        <fpage>2681</fpage>  
        <lpage>94</lpage>  
        <pub-id pub-id-type="doi">10.1002/sim.5684</pub-id>
        <pub-id pub-id-type="medline">23172783</pub-id></nlm-citation>
      </ref>
      <ref id="ref13">
        <label>13</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Côté</surname>
            <given-names>MJ</given-names>
          </name>
          <name name-style="western">
            <surname>Tucker</surname>
            <given-names>SL</given-names>
          </name>
        </person-group>
        <article-title>Four methodologies to improve healthcare demand forecasting</article-title>
        <source>Healthc Financ Manage</source>  
        <year>2001</year>  
        <month>05</month>  
        <volume>55</volume>  
        <issue>5</issue>  
        <fpage>54</fpage>  
        <lpage>8</lpage>  
        <pub-id pub-id-type="medline">11351811</pub-id></nlm-citation>
      </ref>
      <ref id="ref14">
        <label>14</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>McClean</surname>
            <given-names>S</given-names>
          </name>
          <name name-style="western">
            <surname>Millard</surname>
            <given-names>PH</given-names>
          </name>
        </person-group>
        <article-title>A decision support system for bed-occupancy management and planning hospitals</article-title>
        <source>IMA J Math Appl Med Biol</source>  
        <year>1995</year>  
        <volume>12</volume>  
        <issue>3-4</issue>  
        <fpage>249</fpage>  
        <lpage>57</lpage>  
        <pub-id pub-id-type="medline">8919561</pub-id></nlm-citation>
      </ref>
      <ref id="ref15">
        <label>15</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>McClean</surname>
            <given-names>S</given-names>
          </name>
          <name name-style="western">
            <surname>Millard</surname>
            <given-names>PH</given-names>
          </name>
        </person-group>
        <article-title>A three compartment model of the patient flows in a geriatric department: a decision support approach</article-title>
        <source>Health Care Manag Sci</source>  
        <year>1998</year>  
        <month>10</month>  
        <volume>1</volume>  
        <issue>2</issue>  
        <fpage>159</fpage>  
        <lpage>63</lpage>  
        <pub-id pub-id-type="medline">10916595</pub-id></nlm-citation>
      </ref>
      <ref id="ref16">
        <label>16</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>el-Darzi</surname>
            <given-names>E</given-names>
          </name>
          <name name-style="western">
            <surname>Vasilakis</surname>
            <given-names>C</given-names>
          </name>
          <name name-style="western">
            <surname>Chaussalet</surname>
            <given-names>T</given-names>
          </name>
          <name name-style="western">
            <surname>Millard</surname>
            <given-names>PH</given-names>
          </name>
        </person-group>
        <article-title>A simulation modelling approach to evaluating length of stay, occupancy, emptiness and bed blocking in a hospital geriatric department</article-title>
        <source>Health Care Manag Sci</source>  
        <year>1998</year>  
        <month>10</month>  
        <volume>1</volume>  
        <issue>2</issue>  
        <fpage>143</fpage>  
        <lpage>9</lpage>  
        <pub-id pub-id-type="medline">10916593</pub-id></nlm-citation>
      </ref>
      <ref id="ref17">
        <label>17</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Mills</surname>
            <given-names>TM</given-names>
          </name>
        </person-group>
        <article-title>A mathematician goes to hospital</article-title>
        <source>Australian Mathematical Society Gazette</source>  
        <year>2004</year>  
        <volume>31</volume>  
        <issue>5</issue>  
        <fpage>320</fpage>  
        <lpage>327</lpage> </nlm-citation>
      </ref>
      <ref id="ref18">
        <label>18</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Costa</surname>
            <given-names>A</given-names>
          </name>
          <name name-style="western">
            <surname>Ridley</surname>
            <given-names>SA</given-names>
          </name>
          <name name-style="western">
            <surname>Shahani</surname>
            <given-names>AK</given-names>
          </name>
          <name name-style="western">
            <surname>Harper</surname>
            <given-names>PR</given-names>
          </name>
          <name name-style="western">
            <surname>De</surname>
            <given-names>SV</given-names>
          </name>
          <name name-style="western">
            <surname>Nielsen</surname>
            <given-names>MS</given-names>
          </name>
        </person-group>
        <article-title>Mathematical modelling and simulation for planning critical care capacity</article-title>
        <source>Anaesthesia</source>  
        <year>2003</year>  
        <month>04</month>  
        <volume>58</volume>  
        <issue>4</issue>  
        <fpage>320</fpage>  
        <lpage>7</lpage>  
        <comment>
          <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://onlinelibrary.wiley.com/resolve/openurl?genre=article&#38;sid=nlm:pubmed&#38;issn=0003-2409&#38;date=2003&#38;volume=58&#38;issue=4&#38;spage=320"/>
        </comment>  
        <pub-id pub-id-type="medline">12648112</pub-id>
        <pub-id pub-id-type="pii">3042</pub-id></nlm-citation>
      </ref>
      <ref id="ref19">
        <label>19</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>el-Darzi</surname>
            <given-names>E</given-names>
          </name>
          <name name-style="western">
            <surname>Vasilakis</surname>
            <given-names>C</given-names>
          </name>
          <name name-style="western">
            <surname>Chaussalet</surname>
            <given-names>T</given-names>
          </name>
          <name name-style="western">
            <surname>Millard</surname>
            <given-names>PH</given-names>
          </name>
        </person-group>
        <article-title>A simulation modelling approach to evaluating length of stay, occupancy, emptiness and bed blocking in a hospital geriatric department</article-title>
        <source>Health Care Manag Sci</source>  
        <year>1998</year>  
        <month>10</month>  
        <volume>1</volume>  
        <issue>2</issue>  
        <fpage>143</fpage>  
        <lpage>9</lpage>  
        <pub-id pub-id-type="medline">10916593</pub-id></nlm-citation>
      </ref>
      <ref id="ref20">
        <label>20</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Hoot</surname>
            <given-names>N</given-names>
          </name>
          <name name-style="western">
            <surname>LeBlanc</surname>
            <given-names>LJ</given-names>
          </name>
          <name name-style="western">
            <surname>Jones</surname>
            <given-names>I</given-names>
          </name>
          <name name-style="western">
            <surname>Levin</surname>
            <given-names>SR</given-names>
          </name>
          <name name-style="western">
            <surname>Zhou</surname>
            <given-names>C</given-names>
          </name>
          <name name-style="western">
            <surname>Gadd</surname>
            <given-names>CS</given-names>
          </name>
          <name name-style="western">
            <surname>Aronsky</surname>
            <given-names>D</given-names>
          </name>
        </person-group>
        <article-title>Forecasting emergency department crowding: a discrete event simulation</article-title>
        <source>Ann Emerg Med</source>  
        <year>2008</year>  
        <month>08</month>  
        <volume>52</volume>  
        <issue>2</issue>  
        <fpage>116</fpage>  
        <lpage>25</lpage>  
        <pub-id pub-id-type="doi">10.1016/j.annemergmed.2007.12.011</pub-id>
        <pub-id pub-id-type="medline">18387699</pub-id>
        <pub-id pub-id-type="pii">S0196-0644(07)01860-4</pub-id></nlm-citation>
      </ref>
      <ref id="ref21">
        <label>21</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Mackay</surname>
            <given-names>M</given-names>
          </name>
        </person-group>
        <article-title>Practical experience with bed occupancy management and planning systems: an Australian view</article-title>
        <source>Health Care Manag Sci</source>  
        <year>2001</year>  
        <month>02</month>  
        <volume>4</volume>  
        <issue>1</issue>  
        <fpage>47</fpage>  
        <lpage>56</lpage>  
        <pub-id pub-id-type="medline">11315885</pub-id></nlm-citation>
      </ref>
      <ref id="ref22">
        <label>22</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Gorunescu</surname>
            <given-names>F</given-names>
          </name>
          <name name-style="western">
            <surname>McClean</surname>
            <given-names>SI</given-names>
          </name>
          <name name-style="western">
            <surname>Millard</surname>
            <given-names>PH</given-names>
          </name>
        </person-group>
        <article-title>Using a queueing model to help plan bed allocation in a department of geriatric medicine</article-title>
        <source>Health Care Manag Sci</source>  
        <year>2002</year>  
        <month>11</month>  
        <volume>5</volume>  
        <issue>4</issue>  
        <fpage>307</fpage>  
        <lpage>12</lpage>  
        <pub-id pub-id-type="medline">12437280</pub-id></nlm-citation>
      </ref>
      <ref id="ref23">
        <label>23</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Peck</surname>
            <given-names>JS</given-names>
          </name>
          <name name-style="western">
            <surname>Benneyan</surname>
            <given-names>JC</given-names>
          </name>
          <name name-style="western">
            <surname>Nightingale</surname>
            <given-names>DJ</given-names>
          </name>
          <name name-style="western">
            <surname>Gaehde</surname>
            <given-names>SA</given-names>
          </name>
        </person-group>
        <article-title>Predicting emergency department inpatient admissions to improve same-day patient flow</article-title>
        <source>Acad Emerg Med</source>  
        <year>2012</year>  
        <month>09</month>  
        <volume>19</volume>  
        <issue>9</issue>  
        <fpage>E1045</fpage>  
        <lpage>54</lpage>  
        <comment>
          <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://dx.doi.org/10.1111/j.1553-2712.2012.01435.x"/>
        </comment>  
        <pub-id pub-id-type="doi">10.1111/j.1553-2712.2012.01435.x</pub-id>
        <pub-id pub-id-type="medline">22978731</pub-id></nlm-citation>
      </ref>
      <ref id="ref24">
        <label>24</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Barnes</surname>
            <given-names>S</given-names>
          </name>
          <name name-style="western">
            <surname>Hamrock</surname>
            <given-names>E</given-names>
          </name>
          <name name-style="western">
            <surname>Toerper</surname>
            <given-names>M</given-names>
          </name>
          <name name-style="western">
            <surname>Siddiqui</surname>
            <given-names>S</given-names>
          </name>
          <name name-style="western">
            <surname>Levin</surname>
            <given-names>S</given-names>
          </name>
        </person-group>
        <article-title>Real-time prediction of inpatient length of stay for discharge prioritization</article-title>
        <source>J Am Med Inform Assoc</source>  
        <year>2016</year>  
        <month>04</month>  
        <volume>23</volume>  
        <issue>e1</issue>  
        <fpage>e2</fpage>  
        <lpage>e10</lpage>  
        <pub-id pub-id-type="doi">10.1093/jamia/ocv106</pub-id>
        <pub-id pub-id-type="medline">26253131</pub-id>
        <pub-id pub-id-type="pii">ocv106</pub-id></nlm-citation>
      </ref>
      <ref id="ref25">
        <label>25</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Levin</surname>
            <given-names>SR</given-names>
          </name>
          <name name-style="western">
            <surname>Harley</surname>
            <given-names>ET</given-names>
          </name>
          <name name-style="western">
            <surname>Fackler</surname>
            <given-names>JC</given-names>
          </name>
          <name name-style="western">
            <surname>Lehmann</surname>
            <given-names>CU</given-names>
          </name>
          <name name-style="western">
            <surname>Custer</surname>
            <given-names>JW</given-names>
          </name>
          <name name-style="western">
            <surname>France</surname>
            <given-names>D</given-names>
          </name>
          <name name-style="western">
            <surname>Zeger</surname>
            <given-names>SL</given-names>
          </name>
        </person-group>
        <article-title>Real-time forecasting of pediatric intensive care unit length of stay using computerized provider orders</article-title>
        <source>Crit Care Med</source>  
        <year>2012</year>  
        <month>11</month>  
        <volume>40</volume>  
        <issue>11</issue>  
        <fpage>3058</fpage>  
        <lpage>64</lpage>  
        <pub-id pub-id-type="doi">10.1097/CCM.0b013e31825bc399</pub-id>
        <pub-id pub-id-type="medline">22824935</pub-id></nlm-citation>
      </ref>
      <ref id="ref26">
        <label>26</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Clark</surname>
            <given-names>DE</given-names>
          </name>
          <name name-style="western">
            <surname>Ryan</surname>
            <given-names>LM</given-names>
          </name>
        </person-group>
        <article-title>Concurrent prediction of hospital mortality and length of stay from risk factors on admission</article-title>
        <source>Health Serv Res</source>  
        <year>2002</year>  
        <month>06</month>  
        <volume>37</volume>  
        <issue>3</issue>  
        <fpage>631</fpage>  
        <lpage>45</lpage>  
        <comment>
          <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://europepmc.org/abstract/MED/12132598"/>
        </comment>  
        <pub-id pub-id-type="medline">12132598</pub-id>
        <pub-id pub-id-type="pmcid">PMC1434655</pub-id></nlm-citation>
      </ref>
      <ref id="ref27">
        <label>27</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Marshall</surname>
            <given-names>A</given-names>
          </name>
          <name name-style="western">
            <surname>Vasilakis</surname>
            <given-names>C</given-names>
          </name>
          <name name-style="western">
            <surname>El-Darzi</surname>
            <given-names>E</given-names>
          </name>
        </person-group>
        <article-title>Length of stay-based patient flow models: recent developments and future directions</article-title>
        <source>Health Care Manag Sci</source>  
        <year>2005</year>  
        <month>08</month>  
        <volume>8</volume>  
        <issue>3</issue>  
        <fpage>213</fpage>  
        <lpage>20</lpage>  
        <pub-id pub-id-type="medline">16134434</pub-id></nlm-citation>
      </ref>
      <ref id="ref28">
        <label>28</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Kulinskaya</surname>
            <given-names>E</given-names>
          </name>
          <name name-style="western">
            <surname>Kornbrot</surname>
            <given-names>D</given-names>
          </name>
          <name name-style="western">
            <surname>Gao</surname>
            <given-names>H</given-names>
          </name>
        </person-group>
        <article-title>Length of stay as a performance indicator: robust statistical methodology</article-title>
        <source>IMA Journal of Management Mathematics</source>  
        <year>2005</year>  
        <volume>16</volume>  
        <issue>4</issue>  
        <fpage>369</fpage>  
        <lpage>381</lpage> </nlm-citation>
      </ref>
      <ref id="ref29">
        <label>29</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Lindsay</surname>
            <given-names>P</given-names>
          </name>
          <name name-style="western">
            <surname>Schull</surname>
            <given-names>M</given-names>
          </name>
          <name name-style="western">
            <surname>Bronskill</surname>
            <given-names>S</given-names>
          </name>
          <name name-style="western">
            <surname>Anderson</surname>
            <given-names>G</given-names>
          </name>
        </person-group>
        <article-title>The development of indicators to measure the quality of clinical care in emergency departments following a modified-delphi approach</article-title>
        <source>Acad Emerg Med</source>  
        <year>2002</year>  
        <month>11</month>  
        <volume>9</volume>  
        <issue>11</issue>  
        <fpage>1131</fpage>  
        <lpage>9</lpage>  
        <comment>
          <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://onlinelibrary.wiley.com/resolve/openurl?genre=article&#38;sid=nlm:pubmed&#38;issn=1069-6563&#38;date=2002&#38;volume=9&#38;issue=11&#38;spage=1131"/>
        </comment>  
        <pub-id pub-id-type="medline">12414461</pub-id></nlm-citation>
      </ref>
      <ref id="ref30">
        <label>30</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Jones</surname>
            <given-names>SA</given-names>
          </name>
          <name name-style="western">
            <surname>Joy</surname>
            <given-names>MP</given-names>
          </name>
          <name name-style="western">
            <surname>Pearson</surname>
            <given-names>J</given-names>
          </name>
        </person-group>
        <article-title>Forecasting demand of emergency care</article-title>
        <source>Health Care Manag Sci</source>  
        <year>2002</year>  
        <month>11</month>  
        <volume>5</volume>  
        <issue>4</issue>  
        <fpage>297</fpage>  
        <lpage>305</lpage>  
        <pub-id pub-id-type="medline">12437279</pub-id></nlm-citation>
      </ref>
      <ref id="ref31">
        <label>31</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Littig</surname>
            <given-names>SJ</given-names>
          </name>
          <name name-style="western">
            <surname>Isken</surname>
            <given-names>MW</given-names>
          </name>
        </person-group>
        <article-title>Short term hospital occupancy prediction</article-title>
        <source>Health Care Manag Sci</source>  
        <year>2007</year>  
        <month>02</month>  
        <volume>10</volume>  
        <issue>1</issue>  
        <fpage>47</fpage>  
        <lpage>66</lpage>  
        <pub-id pub-id-type="medline">17323654</pub-id></nlm-citation>
      </ref>
      <ref id="ref32">
        <label>32</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Lin</surname>
            <given-names>RC</given-names>
          </name>
          <name name-style="western">
            <surname>Pasupathy</surname>
            <given-names>KS</given-names>
          </name>
          <name name-style="western">
            <surname>Sir</surname>
            <given-names>MY</given-names>
          </name>
        </person-group>
        <article-title>Estimating Admissions and Discharges for Planning Purposes-Case of an Academic Health System</article-title>
        <source>Advances in Business and Management Forecasting</source>  
        <year>2011</year>  
        <volume>8</volume>  
        <fpage>115</fpage>  
        <lpage>128</lpage> </nlm-citation>
      </ref>
      <ref id="ref33">
        <label>33</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Lin</surname>
            <given-names>WT</given-names>
          </name>
        </person-group>
        <article-title>Modeling and forecasting hospital patient movements: Univariate and multiple time series approaches</article-title>
        <source>International Journal of Forecasting</source>  
        <year>1989</year>  
        <month>1</month>  
        <volume>5</volume>  
        <issue>2</issue>  
        <fpage>195</fpage>  
        <lpage>208</lpage>  
        <pub-id pub-id-type="doi">10.1016/0169-2070(89)90087-3</pub-id></nlm-citation>
      </ref>
      <ref id="ref34">
        <label>34</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Jones</surname>
            <given-names>SS</given-names>
          </name>
          <name name-style="western">
            <surname>Thomas</surname>
            <given-names>A</given-names>
          </name>
          <name name-style="western">
            <surname>Evans</surname>
            <given-names>RS</given-names>
          </name>
          <name name-style="western">
            <surname>Welch</surname>
            <given-names>SJ</given-names>
          </name>
          <name name-style="western">
            <surname>Haug</surname>
            <given-names>PJ</given-names>
          </name>
          <name name-style="western">
            <surname>Snow</surname>
            <given-names>GL</given-names>
          </name>
        </person-group>
        <article-title>Forecasting daily patient volumes in the emergency department</article-title>
        <source>Acad Emerg Med</source>  
        <year>2008</year>  
        <month>02</month>  
        <volume>15</volume>  
        <issue>2</issue>  
        <fpage>159</fpage>  
        <lpage>70</lpage>  
        <comment>
          <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://dx.doi.org/10.1111/j.1553-2712.2007.00032.x"/>
        </comment>  
        <pub-id pub-id-type="doi">10.1111/j.1553-2712.2007.00032.x</pub-id>
        <pub-id pub-id-type="medline">18275446</pub-id>
        <pub-id pub-id-type="pii">ACEM032</pub-id></nlm-citation>
      </ref>
      <ref id="ref35">
        <label>35</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Schweigler</surname>
            <given-names>LM</given-names>
          </name>
          <name name-style="western">
            <surname>Desmond</surname>
            <given-names>JS</given-names>
          </name>
          <name name-style="western">
            <surname>McCarthy</surname>
            <given-names>ML</given-names>
          </name>
          <name name-style="western">
            <surname>Bukowski</surname>
            <given-names>KJ</given-names>
          </name>
          <name name-style="western">
            <surname>Ionides</surname>
            <given-names>EL</given-names>
          </name>
          <name name-style="western">
            <surname>Younger</surname>
            <given-names>JG</given-names>
          </name>
        </person-group>
        <article-title>Forecasting models of emergency department crowding</article-title>
        <source>Acad Emerg Med</source>  
        <year>2009</year>  
        <month>04</month>  
        <volume>16</volume>  
        <issue>4</issue>  
        <fpage>301</fpage>  
        <lpage>8</lpage>  
        <comment>
          <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://dx.doi.org/10.1111/j.1553-2712.2009.00356.x"/>
        </comment>  
        <pub-id pub-id-type="doi">10.1111/j.1553-2712.2009.00356.x</pub-id>
        <pub-id pub-id-type="medline">19210488</pub-id>
        <pub-id pub-id-type="pii">ACEM356</pub-id></nlm-citation>
      </ref>
      <ref id="ref36">
        <label>36</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Earnest</surname>
            <given-names>A</given-names>
          </name>
          <name name-style="western">
            <surname>Chen</surname>
            <given-names>MI</given-names>
          </name>
          <name name-style="western">
            <surname>Ng</surname>
            <given-names>D</given-names>
          </name>
          <name name-style="western">
            <surname>Sin</surname>
            <given-names>LY</given-names>
          </name>
        </person-group>
        <article-title>Using autoregressive integrated moving average (ARIMA) models to predict and monitor the number of beds occupied during a SARS outbreak in a tertiary hospital in Singapore</article-title>
        <source>BMC Health Serv Res</source>  
        <year>2005</year>  
        <volume>5</volume>  
        <fpage>36</fpage>  
        <comment>
          <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://bmchealthservres.biomedcentral.com/articles/10.1186/1472-6963-5-36"/>
        </comment>  
        <pub-id pub-id-type="doi">10.1186/1472-6963-5-36</pub-id>
        <pub-id pub-id-type="medline">15885149</pub-id>
        <pub-id pub-id-type="pii">1472-6963-5-36</pub-id>
        <pub-id pub-id-type="pmcid">PMC1274243</pub-id></nlm-citation>
      </ref>
      <ref id="ref37">
        <label>37</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Kadri</surname>
            <given-names>F</given-names>
          </name>
          <name name-style="western">
            <surname>Harrou</surname>
            <given-names>F</given-names>
          </name>
          <name name-style="western">
            <surname>Chaabane</surname>
            <given-names>S</given-names>
          </name>
          <name name-style="western">
            <surname>Tahon</surname>
            <given-names>C</given-names>
          </name>
        </person-group>
        <article-title>Time series modelling and forecasting of emergency department overcrowding</article-title>
        <source>J Med Syst</source>  
        <year>2014</year>  
        <month>09</month>  
        <volume>38</volume>  
        <issue>9</issue>  
        <fpage>107</fpage>  
        <pub-id pub-id-type="doi">10.1007/s10916-014-0107-0</pub-id>
        <pub-id pub-id-type="medline">25053208</pub-id></nlm-citation>
      </ref>
      <ref id="ref38">
        <label>38</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Bagust</surname>
            <given-names>A</given-names>
          </name>
          <name name-style="western">
            <surname>Place</surname>
            <given-names>M</given-names>
          </name>
          <name name-style="western">
            <surname>Posnett</surname>
            <given-names>JW</given-names>
          </name>
        </person-group>
        <article-title>Dynamics of bed use in accommodating emergency admissions: stochastic simulation model</article-title>
        <source>BMJ</source>  
        <year>1999</year>  
        <month>07</month>  
        <day>17</day>  
        <volume>319</volume>  
        <issue>7203</issue>  
        <fpage>155</fpage>  
        <lpage>8</lpage>  
        <comment>
          <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://europepmc.org/abstract/MED/10406748"/>
        </comment>  
        <pub-id pub-id-type="medline">10406748</pub-id>
        <pub-id pub-id-type="pmcid">PMC28163</pub-id></nlm-citation>
      </ref>
      <ref id="ref39">
        <label>39</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Sinreich</surname>
            <given-names>D</given-names>
          </name>
          <name name-style="western">
            <surname>Marmor</surname>
            <given-names>Y</given-names>
          </name>
        </person-group>
        <article-title>Emergency department operations: the basis for developing a simulation tool</article-title>
        <source>IIE transactions</source>  
        <year>2005</year>  
        <volume>37</volume>  
        <issue>3</issue>  
        <fpage>233</fpage>  
        <lpage>245</lpage> </nlm-citation>
      </ref>
      <ref id="ref40">
        <label>40</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Yeh</surname>
            <given-names>JY</given-names>
          </name>
          <name name-style="western">
            <surname>Lin</surname>
            <given-names>WS</given-names>
          </name>
        </person-group>
        <article-title>Using simulation technique and genetic algorithm to improve the quality care of a hospital emergency department</article-title>
        <source>Expert Systems with Applications</source>  
        <year>2007</year>  
        <volume>32</volume>  
        <issue>4</issue>  
        <fpage>1073</fpage>  
        <lpage>1083</lpage> </nlm-citation>
      </ref>
      <ref id="ref41">
        <label>41</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Boyle</surname>
            <given-names>J</given-names>
          </name>
          <name name-style="western">
            <surname>Wallis</surname>
            <given-names>M</given-names>
          </name>
          <name name-style="western">
            <surname>Jessup</surname>
            <given-names>M</given-names>
          </name>
          <name name-style="western">
            <surname>Crilly</surname>
            <given-names>J</given-names>
          </name>
          <name name-style="western">
            <surname>Lind</surname>
            <given-names>J</given-names>
          </name>
          <name name-style="western">
            <surname>Miller</surname>
            <given-names>P</given-names>
          </name>
          <name name-style="western">
            <surname>Fitzgerald</surname>
            <given-names>G</given-names>
          </name>
        </person-group>
        <article-title>Regression forecasting of patient admission data</article-title>
        <source>Conf Proc IEEE Eng Med Biol Soc</source>  
        <year>2008</year>  
        <volume>2008</volume>  
        <fpage>3819</fpage>  
        <lpage>22</lpage>  
        <pub-id pub-id-type="doi">10.1109/IEMBS.2008.4650041</pub-id>
        <pub-id pub-id-type="medline">19163544</pub-id></nlm-citation>
      </ref>
      <ref id="ref42">
        <label>42</label>
        <nlm-citation citation-type="confproc">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Combes</surname>
            <given-names>C</given-names>
          </name>
          <name name-style="western">
            <surname>Kadri</surname>
            <given-names>F</given-names>
          </name>
          <name name-style="western">
            <surname>Chaabane</surname>
            <given-names>S</given-names>
          </name>
        </person-group>
        <article-title>Predicting Hospital Length Of Stay Using Regression Models: Application To Emergency Department</article-title>
        <year>2014</year>  
        <conf-name>10ème Conférence Francophone de Modélisation, Optimisation et Simulation-MOSIM</conf-name>
        <conf-date>November 5-7, 2014</conf-date>
        <conf-loc>France</conf-loc>
        <fpage>14</fpage> </nlm-citation>
      </ref>
      <ref id="ref43">
        <label>43</label>
        <nlm-citation citation-type="confproc">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Garcia</surname>
            <given-names>KA</given-names>
          </name>
          <name name-style="western">
            <surname>Chan</surname>
            <given-names>PK</given-names>
          </name>
        </person-group>
        <article-title>Estimating Hospital Admissions with a Randomized Regression Approach</article-title>
        <year>2012</year>  
        <conf-name>11th International Conference on Machine Learning and Applications ICMLA 2012</conf-name>
        <conf-date>December 12-15, 2012</conf-date>
        <conf-loc>Boca Raton, FL</conf-loc>
        <fpage>179</fpage>  
        <lpage>184</lpage> </nlm-citation>
      </ref>
      <ref id="ref44">
        <label>44</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Cover</surname>
            <given-names>T</given-names>
          </name>
          <name name-style="western">
            <surname>Hart</surname>
            <given-names>P</given-names>
          </name>
        </person-group>
        <article-title>Nearest neighbor pattern classification</article-title>
        <source>IEEE Transactions on Information Theory</source>  
        <year>1967</year>  
        <volume>13</volume>  
        <issue>1</issue>  
        <fpage>21</fpage>  
        <lpage>27</lpage> </nlm-citation>
      </ref>
      <ref id="ref45">
        <label>45</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Arroyo</surname>
            <given-names>J</given-names>
          </name>
          <name name-style="western">
            <surname>Mat'e</surname>
            <given-names>C</given-names>
          </name>
        </person-group>
        <article-title>Forecasting histogram time series with k-nearest neighbours methods</article-title>
        <source>International Journal of Forecasting</source>  
        <year>2009</year>  
        <volume>25</volume>  
        <issue>1</issue>  
        <fpage>192</fpage>  
        <lpage>207</lpage> </nlm-citation>
      </ref>
      <ref id="ref46">
        <label>46</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Davis</surname>
            <given-names>GA</given-names>
          </name>
          <name name-style="western">
            <surname>Nihan</surname>
            <given-names>NL</given-names>
          </name>
        </person-group>
        <article-title>Nonparametric Regression and Short-Term Freeway Traffic Forecasting</article-title>
        <source>Journal of Transportation Engineering</source>  
        <year>1991</year>  
        <volume>117</volume>  
        <fpage>178</fpage>  
        <lpage>188</lpage> </nlm-citation>
      </ref>
      <ref id="ref47">
        <label>47</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Zhang</surname>
            <given-names>L</given-names>
          </name>
          <name name-style="western">
            <surname>Liu</surname>
            <given-names>Q</given-names>
          </name>
          <name name-style="western">
            <surname>Yang</surname>
            <given-names>W</given-names>
          </name>
          <name name-style="western">
            <surname>Wei</surname>
            <given-names>N</given-names>
          </name>
          <name name-style="western">
            <surname>Dong</surname>
            <given-names>D</given-names>
          </name>
        </person-group>
        <article-title>An improved k-nearest neighbor model for short-term traffic flow prediction</article-title>
        <source>Procedia-Social and Behavioral Sciences</source>  
        <year>2013</year>  
        <volume>96</volume>  
        <fpage>653</fpage>  
        <lpage>662</lpage> </nlm-citation>
      </ref>
      <ref id="ref48">
        <label>48</label>
        <nlm-citation citation-type="confproc">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Al-Qahtani</surname>
            <given-names>Fahad H</given-names>
          </name>
          <name name-style="western">
            <surname>Crone</surname>
            <given-names>Sven F</given-names>
          </name>
        </person-group>
        <article-title>Multivariate k-nearest neighbour regression for time series data—A novel algorithm for forecasting UK electricity demand</article-title>
        <year>2013</year>  
        <conf-name>Neural Networks (IJCNN), The 2013 International Joint Conference</conf-name>
        <conf-date>August 4-9, 2013</conf-date>
        <conf-loc>Dallas, TX</conf-loc>
        <pub-id pub-id-type="doi">10.1109/IJCNN.2013.6706742</pub-id></nlm-citation>
      </ref>
      <ref id="ref49">
        <label>49</label>
        <nlm-citation citation-type="confproc">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Tsakoumis</surname>
            <given-names>AC</given-names>
          </name>
          <name name-style="western">
            <surname>Vladov</surname>
            <given-names>SS</given-names>
          </name>
          <name name-style="western">
            <surname>Mladenov</surname>
            <given-names>VM</given-names>
          </name>
        </person-group>
        <article-title>Daily load forecasting based on previous day load</article-title>
        <year>2002</year>  
        <conf-name>Neural Network Applications in Electrical Engineering, 2002 (NEUREL'02)</conf-name>
        <conf-date>May 12-17, 2002</conf-date>
        <conf-loc>Honolulu</conf-loc>
        <fpage>83</fpage>  
        <lpage>86</lpage>  
        <pub-id pub-id-type="doi">10.1109/NEUREL.2002.1057973</pub-id></nlm-citation>
      </ref>
      <ref id="ref50">
        <label>50</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Sapankevych</surname>
            <given-names>N</given-names>
          </name>
          <name name-style="western">
            <surname>Sankar</surname>
            <given-names>R</given-names>
          </name>
        </person-group>
        <article-title>Time series prediction using support vector machines: a survey</article-title>
        <source>IEEE Computational Intelligence Magazine</source>  
        <year>2009</year>  
        <volume>4</volume>  
        <issue>2</issue>  
        <fpage>24</fpage>  
        <lpage>38</lpage> </nlm-citation>
      </ref>
      <ref id="ref51">
        <label>51</label>
        <nlm-citation citation-type="web">
        <source>Centers for Disease Control and Prevention</source>  
        <year>1978</year>  
        <access-date>2016-07-12</access-date>
        <comment>International Classification of Diseases, Ninth Revision, Clinical Modification (ICD-9-CM)
        <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://www.cdc.gov/nchs/icd/icd9cm.htm">http://www.cdc.gov/nchs/icd/icd9cm.htm</ext-link>
        <ext-link ext-link-type="webcite" xlink:href="6iwJ90Tnk"/></comment> </nlm-citation>
      </ref>
      <ref id="ref52">
        <label>52</label>
        <nlm-citation citation-type="book">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Chatfield</surname>
            <given-names>C</given-names>
          </name>
        </person-group>
        <article-title>The analysis of time series: an introduction</article-title>
        <source>The Analysis of Time Series: An Introduction, Sixth Edition</source>  
        <year>2003</year>  
        <publisher-loc>London</publisher-loc>
        <publisher-name>Chapman &#38; Hall/CRC</publisher-name></nlm-citation>
      </ref>
      <ref id="ref53">
        <label>53</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Kane</surname>
            <given-names>MJ</given-names>
          </name>
          <name name-style="western">
            <surname>Price</surname>
            <given-names>N</given-names>
          </name>
          <name name-style="western">
            <surname>Scotch</surname>
            <given-names>M</given-names>
          </name>
          <name name-style="western">
            <surname>Rabinowitz</surname>
            <given-names>P</given-names>
          </name>
        </person-group>
        <article-title>Comparison of ARIMA and Random Forest time series models for prediction of avian influenza H5N1 outbreaks</article-title>
        <source>BMC Bioinformatics</source>  
        <year>2014</year>  
        <volume>15</volume>  
        <fpage>276</fpage>  
        <comment>
          <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://bmcbioinformatics.biomedcentral.com/articles/10.1186/1471-2105-15-276"/>
        </comment>  
        <pub-id pub-id-type="doi">10.1186/1471-2105-15-276</pub-id>
        <pub-id pub-id-type="medline">25123979</pub-id>
        <pub-id pub-id-type="pii">1471-2105-15-276</pub-id>
        <pub-id pub-id-type="pmcid">PMC4152592</pub-id></nlm-citation>
      </ref>
      <ref id="ref54">
        <label>54</label>
        <nlm-citation citation-type="book">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Box</surname>
            <given-names>G</given-names>
          </name>
          <name name-style="western">
            <surname>Jenkins</surname>
            <given-names>GM</given-names>
          </name>
          <name name-style="western">
            <surname>Reinsel</surname>
            <given-names>GC</given-names>
          </name>
        </person-group>
        <source>Time series analysis: forecasting and control</source>  
        <year>1994</year>  
        <publisher-loc>Englewood Cliffs, NJ</publisher-loc>
        <publisher-name>Prentice Hall</publisher-name></nlm-citation>
      </ref>
      <ref id="ref55">
        <label>55</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Hyndman</surname>
            <given-names>R</given-names>
          </name>
          <name name-style="western">
            <surname>Khandakar</surname>
            <given-names>JY</given-names>
          </name>
        </person-group>
        <article-title>Automatic time series forecasting: the forecast package for R</article-title>
        <source>Journal of Statistical Software</source>  
        <year>2008</year>  
        <volume>26</volume>  
        <issue>3</issue>  
        <fpage>1</fpage>  
        <lpage>22</lpage> </nlm-citation>
      </ref>
      <ref id="ref56">
        <label>56</label>
        <nlm-citation citation-type="web">
        <person-group person-group-type="author">
          <collab>R Development Core Team</collab>
        </person-group>
        <source>GBIF</source>  
        <year>2011</year>  
        <access-date>2016-07-12</access-date>
        <publisher-loc>Vienna, Austria</publisher-loc>
        <comment>R: A Language and Environment for Statistical Computing
        <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://www.R-project.org/">http://www.R-project.org/</ext-link>
        <ext-link ext-link-type="webcite" xlink:href="6iwep4Khx"/></comment> </nlm-citation>
      </ref>
      <ref id="ref57">
        <label>57</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Altman</surname>
            <given-names>NS</given-names>
          </name>
        </person-group>
        <article-title>An introduction to kernel and nearest-neighbor nonparametric regression</article-title>
        <source>The American Statistician</source>  
        <year>1992</year>  
        <volume>46</volume>  
        <issue>3</issue>  
        <fpage>175</fpage>  
        <lpage>185</lpage> </nlm-citation>
      </ref>
      <ref id="ref58">
        <label>58</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Breiman</surname>
            <given-names>L</given-names>
          </name>
        </person-group>
        <article-title>Random forests</article-title>
        <source>Machine learning</source>  
        <year>2001</year>  
        <volume>45</volume>  
        <issue>1</issue>  
        <fpage>5</fpage>  
        <lpage>32</lpage> </nlm-citation>
      </ref>
      <ref id="ref59">
        <label>59</label>
        <nlm-citation citation-type="book">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Hastie</surname>
            <given-names>T</given-names>
          </name>
          <name name-style="western">
            <surname>Tibshirani</surname>
            <given-names>R</given-names>
          </name>
          <name name-style="western">
            <surname>Friedman</surname>
            <given-names>JH</given-names>
          </name>
        </person-group>
        <source>The elements of statistical learning: data mining, inference, and prediction</source>  
        <year>2001</year>  
        <publisher-loc>New York</publisher-loc>
        <publisher-name>Springer</publisher-name></nlm-citation>
      </ref>
      <ref id="ref60">
        <label>60</label>
        <nlm-citation citation-type="book">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Vapnik</surname>
            <given-names>V</given-names>
          </name>
        </person-group>
        <source>The nature of statistical learning theory</source>  
        <year>2000</year>  
        <publisher-loc>New York</publisher-loc>
        <publisher-name>Springer</publisher-name></nlm-citation>
      </ref>
      <ref id="ref61">
        <label>61</label>
        <nlm-citation citation-type="book">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Schölkopf</surname>
            <given-names>B</given-names>
          </name>
          <name name-style="western">
            <surname>Tsuda</surname>
            <given-names>K</given-names>
          </name>
          <name name-style="western">
            <surname>Vert</surname>
            <given-names>JP</given-names>
          </name>
        </person-group>
        <source>Kernel methods in computational biology</source>  
        <year>2004</year>  
        <publisher-loc>Cambridge, MA</publisher-loc>
        <publisher-name>MIT Press</publisher-name></nlm-citation>
      </ref>
      <ref id="ref62">
        <label>62</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Smola</surname>
            <given-names>AJ</given-names>
          </name>
          <name name-style="western">
            <surname>Schölkopf</surname>
            <given-names>B</given-names>
          </name>
        </person-group>
        <article-title>A tutorial on support vector regression</article-title>
        <source>Statistics and computing</source>  
        <year>2004</year>  
        <volume>14</volume>  
        <issue>3</issue>  
        <fpage>199</fpage>  
        <lpage>222</lpage> </nlm-citation>
      </ref>
      <ref id="ref63">
        <label>63</label>
        <nlm-citation citation-type="book">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Cleveland</surname>
            <given-names>W</given-names>
          </name>
          <name name-style="western">
            <surname>Grosse</surname>
            <given-names>E</given-names>
          </name>
          <name name-style="western">
            <surname>Shyun</surname>
            <given-names>W</given-names>
          </name>
          <name name-style="western">
            <surname>Chambers</surname>
            <given-names>J</given-names>
          </name>
          <name name-style="western">
            <surname>Hastie</surname>
            <given-names>T</given-names>
          </name>
        </person-group>
        <article-title>Local regression models</article-title>
        <source>Statistical models in S</source>  
        <year>1992</year>  
        <publisher-loc>New York</publisher-loc>
        <publisher-name>Chapman and Hall</publisher-name>
        <fpage>309</fpage>  
        <lpage>376</lpage> </nlm-citation>
      </ref>
      <ref id="ref64">
        <label>64</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Hyndman</surname>
            <given-names>RJ</given-names>
          </name>
          <name name-style="western">
            <surname>Koehler</surname>
            <given-names>AB</given-names>
          </name>
        </person-group>
        <article-title>Another look at measures of forecast accuracy</article-title>
        <source>International Journal of Forecasting</source>  
        <year>2006</year>  
        <month>10</month>  
        <volume>22</volume>  
        <issue>4</issue>  
        <fpage>679</fpage>  
        <lpage>688</lpage>  
        <pub-id pub-id-type="doi">10.1016/j.ijforecast.2006.03.001</pub-id></nlm-citation>
      </ref>
      <ref id="ref65">
        <label>65</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Shcherbakov</surname>
            <given-names>MV</given-names>
          </name>
          <name name-style="western">
            <surname>Brebels</surname>
            <given-names>A</given-names>
          </name>
          <name name-style="western">
            <surname>Shcherbakova</surname>
            <given-names>NL</given-names>
          </name>
          <name name-style="western">
            <surname>Tyukov</surname>
            <given-names>AP</given-names>
          </name>
          <name name-style="western">
            <surname>Janovsky</surname>
            <given-names>TA</given-names>
          </name>
          <name name-style="western">
            <surname>Kamaev</surname>
            <given-names>V</given-names>
          </name>
        </person-group>
        <article-title>A survey of forecast error measures</article-title>
        <source>World Applied Sciences Journal</source>  
        <year>2013</year>  
        <volume>24</volume>  
        <fpage>171</fpage>  
        <lpage>176</lpage> </nlm-citation>
      </ref>
      <ref id="ref66">
        <label>66</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Willmott</surname>
            <given-names>C</given-names>
          </name>
          <name name-style="western">
            <surname>Matsuura</surname>
            <given-names>K</given-names>
          </name>
        </person-group>
        <article-title>Advantages of the mean absolute error (MAE) over the root mean square error (RMSE) in assessing average model performance</article-title>
        <source>Climate Research</source>  
        <year>2005</year>  
        <volume>30</volume>  
        <issue>1</issue>  
        <fpage>79</fpage>  
        <lpage>82</lpage> </nlm-citation>
      </ref>
      <ref id="ref67">
        <label>67</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Chai</surname>
            <given-names>T</given-names>
          </name>
          <name name-style="western">
            <surname>Draxler</surname>
            <given-names>R</given-names>
          </name>
        </person-group>
        <article-title>Root mean square error (RMSE) or mean absolute error (MAE)?</article-title>
        <source>Geoscientific Model Development Discussions</source>  
        <year>2014</year>  
        <volume>7</volume>  
        <fpage>1525</fpage>  
        <lpage>1534</lpage> </nlm-citation>
      </ref>
      <ref id="ref68">
        <label>68</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Hyndman</surname>
            <given-names>RJ</given-names>
          </name>
        </person-group>
        <article-title>Another look at forecast-accuracy metrics for intermittent demand</article-title>
        <source>Foresight: The International Journal of Applied Forecasting</source>  
        <year>2006</year>  
        <volume>4</volume>  
        <issue>4</issue>  
        <fpage>43</fpage>  
        <lpage>46</lpage> </nlm-citation>
      </ref>
      <ref id="ref69">
        <label>69</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Lee</surname>
            <given-names>LH</given-names>
          </name>
          <name name-style="western">
            <surname>Swensen</surname>
            <given-names>SJ</given-names>
          </name>
          <name name-style="western">
            <surname>Gorman</surname>
            <given-names>CA</given-names>
          </name>
          <name name-style="western">
            <surname>Moore</surname>
            <given-names>RR</given-names>
          </name>
          <name name-style="western">
            <surname>Wood</surname>
            <given-names>DL</given-names>
          </name>
        </person-group>
        <article-title>Optimizing weekend availability for sophisticated tests and procedures in a large hospital</article-title>
        <source>Am J Manag Care</source>  
        <year>2005</year>  
        <month>09</month>  
        <volume>11</volume>  
        <issue>9</issue>  
        <fpage>553</fpage>  
        <lpage>8</lpage>  
        <comment>
          <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://www.ajmc.com/pubMed.php?pii=2943"/>
        </comment>  
        <pub-id pub-id-type="medline">16159045</pub-id>
        <pub-id pub-id-type="pii">2943</pub-id></nlm-citation>
      </ref>
      <ref id="ref70">
        <label>70</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Forster</surname>
            <given-names>AJ</given-names>
          </name>
          <name name-style="western">
            <surname>Stiell</surname>
            <given-names>I</given-names>
          </name>
          <name name-style="western">
            <surname>Wells</surname>
            <given-names>G</given-names>
          </name>
          <name name-style="western">
            <surname>Lee</surname>
            <given-names>AJ</given-names>
          </name>
          <name name-style="western">
            <surname>van</surname>
            <given-names>WC</given-names>
          </name>
        </person-group>
        <article-title>The effect of hospital occupancy on emergency department length of stay and patient disposition</article-title>
        <source>Acad Emerg Med</source>  
        <year>2003</year>  
        <month>02</month>  
        <volume>10</volume>  
        <issue>2</issue>  
        <fpage>127</fpage>  
        <lpage>33</lpage>  
        <comment>
          <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://onlinelibrary.wiley.com/resolve/openurl?genre=article&#38;sid=nlm:pubmed&#38;issn=1069-6563&#38;date=2003&#38;volume=10&#38;issue=2&#38;spage=127"/>
        </comment>  
        <pub-id pub-id-type="medline">12574009</pub-id></nlm-citation>
      </ref>
    </ref-list>
  </back>
</article>
