<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">JDAIP</journal-id><journal-title-group><journal-title>Journal of Data Analysis and Information Processing</journal-title></journal-title-group><issn pub-type="epub">2327-7211</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jdaip.2020.83011</article-id><article-id pub-id-type="publisher-id">JDAIP-102232</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Computer Science&amp;Communications</subject><subject> Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Forecasting Diabetes Patients Attendance at Al-Baha Hospitals Using Autoregressive Fractional Integrated Moving Average (ARFIMA) Models
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Salem</surname><given-names>Al Zahrani</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Fath</surname><given-names>Al Rahman Al Sameeh</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Abdulaziz</surname><given-names>C. M. Musa</given-names></name><xref ref-type="aff" rid="aff3"><sup>3</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Ashaikh</surname><given-names>A. A. Shokeralla</given-names></name><xref ref-type="aff" rid="aff4"><sup>4</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff4"><addr-line>Department of Mathematics, College of Science and Arts, Al-Baha University, Al-Makhwah, KSA</addr-line></aff><aff id="aff3"><addr-line>Department of Statistics &amp;amp; Mathematics, College of Mathematical Sciences &amp;amp; Statistics, Al-Neelain University, Khartoum, Sudan</addr-line></aff><aff id="aff2"><addr-line>Department of Mathematics, College of Science &amp;amp; Arts, Al-Baha University, Baljursy, KSA</addr-line></aff><aff id="aff1"><addr-line>Department of Mathematics, College of Science and Arts, Al-Baha University, Al-Mandag, KSA</addr-line></aff><pub-date pub-type="epub"><day>02</day><month>07</month><year>2020</year></pub-date><volume>08</volume><issue>03</issue><fpage>183</fpage><lpage>194</lpage><history><date date-type="received"><day>19,</day>	<month>June</month>	<year>2020</year></date><date date-type="rev-recd"><day>15,</day>	<month>August</month>	<year>2020</year>	</date><date date-type="accepted"><day>18,</day>	<month>August</month>	<year>2020</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  Diabetes has become a concern in the developed and developing countries with its growing number of patients reported to the ministry of health records. This paper discusses the use of the Autoregressive Fractional Moving Average (ARFIMA) technique to modeling the diabetes patient’s attendance at Al-Baha hospitals using monthly time series data. The data used in the analysis of this paper are monthly readings of diabetes patients data covered the period January 2006-December 2016. The data were collected from the General Directorate of Health Affairs, Al-Baha region. The autoregressive fractional moving average approach was applied to the data through the model identification, estimation, diagnostic checking and forecasting. Hurst test results and ACF confirmed that there is a long memory behavior in diabetic patient’s data. Also, the fractional difference to diabetes series data revealed that (
  <em>d</em> = 0.44). Moreover, unit root tests indicated that the fractional difference of diabetes series level is stationary. Furthermore, according to AIC and BIC of model selection criteria ARFIMA (1, 0.44, 0) model shown the smallest values, hence this model was chosen as an adequate represents the data. Also, a diagnostic check confirmed that ARFIMA was appropriate and highly recommended in modeling and forecasting this type of data.
 
</p></abstract><kwd-group><kwd>Long Memory</kwd><kwd> ARFIMA</kwd><kwd> Rescaled Range R/S Method</kwd><kwd> Diabetes Patients</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>An increasing diabetic patient became a great challenge in The General Directorate of Health Affairs, Al-Baha, Kingdom of Saudi Arabia; therefore studying of this phenomenon becomes an important issue. Diabetes is a common disease around the world, which can encourage various systemic diseases and high mortality. It is a disease, which categorizes by high sugar levels in the blood and urine. It is usually diagnosed by means of a glucose tolerance test (GTT). There are three kinds of diabetes mellitus [<xref ref-type="bibr" rid="scirp.102232-ref1">1</xref>]. The first kind of diabetes mellitus results from the body’s failure to produce sufficient insulin. It is often occurring among children young. Type 2 diabetes mellitus results from resistance to the insulin, often initially with normal or increased levels of circulating insulin. Gestational diabetes, the third kind is Gestational diabetes and it happens when pregnant women without a previous history of diabetes develop a high blood glucose level. Diabetes is a main health challenge. Globally, the estimated number diagnosed with Diabetes is approximately 463 million people per year and mortality is 4.2 million deaths per year [<xref ref-type="bibr" rid="scirp.102232-ref2">2</xref>]. Al-Baha Health Affairs have launched the “Diabetes Friend” Initiative, targeting 1500 diabetics, including children, school students, and the elderly across the region. The Affairs serve about 20,000 diabetics through the Diabetes Center of King Fahad Hospital-Al-Baha and diabetes clinics of the region’s hospitals, in addition to the follow-up of healthcare centers [<xref ref-type="bibr" rid="scirp.102232-ref3">3</xref>].</p><p>There have been growing efforts developed by Saudi Arabia researchers to study and analyze the number of diabetes patients incidence behavior especially Al Baha region. In this study autoregressive fractional integrated moving average of time series methods will apply to data representing diabetes patient in Al Baha hospitals with the objective of deciding which of these models provide accurate prediction to diabetes patients in the Kingdom of Saudi Arabia based accuracy measurements such as AIC, BIC. The study also hypothesizes that the number of diabetes patient’s attendance trend at Al Baha hospitals goes to increasing over the time which led to existence of the long memory characteristic in data. In this study, we shall identify the order of ARFIMA models, estimate the parameters, make relevant forecast based on the models. The paper is organized as follows. In Section 3, we briefly present some theoretical framework on ARFIMA models. Empirical results are discussed in Section 4. Finally, the conclusion is presented in Section 7.</p></sec><sec id="s2"><title>2. Literature Review</title><p>Nemours forecasting models were proposed to modeling and forecasting the number of patients in many diseases however, very few papers are available for diabetes incidence researches using the time series model.</p><p>Earnest et al. (2005) used autoregressive integrated moving average (ARIMA) models to predict the number of beds occupied during a severe acute respiratory syndrome (SARS) outbreak in tertiary hospital, they used Hospital admission and occupancy for isolation beds data from Tan Tock Seng hospital for the period 14th March 2003 to 31st May 2003. They found that the ARIMA(1, 0, 3) model was able to describe and predict the number of beds occupied during the SARS outbreak well. They also provided three-day forecasts of the number of beds required [<xref ref-type="bibr" rid="scirp.102232-ref4">4</xref>].</p><p>Appiah et al. (2015) used time series analysis to forecast Malaria cases in Ejisu Juaben Municipality, they found that ARIMA(2, 1, 1) autoregressive process of order 2, differencing of order 1 and moving average of order 1 was best fit for the secondary data. Using the obtained model, they forecasted for the next two years from 2014 and 2016. Pan et al. [<xref ref-type="bibr" rid="scirp.102232-ref5">5</xref>] (2016) used the ARIMA model for forecasting the patient number of epidemic disease. They have used actual data of every day patient number of epidemic disease between January and August 2014, in total 223 days, which they obtained from real life CDC (center of disease control). They identify time series model of ARIMA (7, 1, 0) best fit the data. Villani et al. [<xref ref-type="bibr" rid="scirp.102232-ref6">6</xref>] (2017) used the time series modeling to forecast diabetic emergencies who attended prehospital Emergency Medical Services (EMS). Within the period from January 2009 until December 2015. The SARIMA (0, 1, 0) &#215; (0, 1, 0) 12 model provided the best fit model dealing with the number of patients [<xref ref-type="bibr" rid="scirp.102232-ref7">7</xref>].</p></sec><sec id="s3"><title>3. ARFIMA Models</title><p>The classical approach in modeling time series data is to apply the Box–Jenkins methodology depending on whether the series is stationary or not. If the series show long memory property prediction values based on the identified and estimated Box-Jenkins models may not be dependable [<xref ref-type="bibr" rid="scirp.102232-ref8">8</xref>]; and [<xref ref-type="bibr" rid="scirp.102232-ref9">9</xref>]. The time-series data exhibiting long memory property can be better modeled using the most appropriate model namely ARFIMA(p, d, q), this model presented by Granger and [<xref ref-type="bibr" rid="scirp.102232-ref10">10</xref>]. They showed that it is likely to model long memory series of any span using the Extended Maximum Likelihood (EML) estimation method. In general, the Box-Jenkins ARIMA process is as follows [<xref ref-type="bibr" rid="scirp.102232-ref11">11</xref>] and [<xref ref-type="bibr" rid="scirp.102232-ref12">12</xref>]:</p><p>∅ k ( B ) ( 1 − B ) d x t = θ ( B ) e t (1.1)</p><p>where: x t = time series data, d = nonnegative integer representing the difference to achieve stationarity, B = the difference lag operator, ∅ = the autoregressive parameters, θ = e moving average parameters. A long memory process is stationary with gradual decreasing AIC function ρ k at lag as → ∞ .</p><p>∑ k = 0 ∞ | ρ k | = ∞ (1.2)</p><p>Let a process { X t } ; t = 1 , ⋯ , T be a stochastic process, the model of an ARFIMA process of order (p, d, q) [<xref ref-type="bibr" rid="scirp.102232-ref13">13</xref>], symbolize by ARFIMA(p, d, q), with mean zero and constant variance can be written using backward shift operator notation as [<xref ref-type="bibr" rid="scirp.102232-ref14">14</xref>]</p><p>∅ ( B ) ( 1 − B ) d X t = θ ( B ) e t (1.3)</p><p>where: ∅ ( B ) = ( 1 − ∅ 1 B − ∅ 2 B 2 − ⋯ − ∅ p B p ) and θ ( B ) = ( 1 − θ 1 B − θ 2 B 2 − ⋯ − θ q B q ) are polynomials in with no common factors with roots outside the unit circle, ∅ i , ( i = 1 , ⋯ , p ) and θ i , ( i = 1 , ⋯ , q ) are parameters of the autoregressive and moving average, respectively. e t = white noise process with zero mean, constant variance σ e 2 , B = the backward-shift operator.</p><p>The fractional differencing operator is [<xref ref-type="bibr" rid="scirp.102232-ref15">15</xref>]:</p><p>( 1 − B ) d = ∇ d (1.4)</p><p>= ∑ k = 0 ∞ ( d k ) ( − 1 ) k B k (1.5)</p><p>= ∑ k = 0 ∞ Γ ( k − d ) B k Γ ( − d ) Γ ( k + 1 ) (1.6)</p><p>with Γ ( . ) denoting the gamma function and the parameter d is escapable to have any real value. The parameter may not be an integer (Fractionally Integrated). A process { X t } ; t = 1 , ⋯ , T is stationary if; d = 0 which is reduced to an ARMA(p, q) [<xref ref-type="bibr" rid="scirp.102232-ref15">15</xref>], procedure. The − 0.5 &lt; d &lt; 0.5 time series display a stationary and invertible ARMA method with geometrically restricted autocorrelations [<xref ref-type="bibr" rid="scirp.102232-ref8">8</xref>]. A long memory process or ARFIMA(p, d, q) processes 0 &lt; d &lt; 0.5 is a stationary process with slowly decreases autocorrelation function ρ k at lag k as k → ∞ .</p><p>According to [<xref ref-type="bibr" rid="scirp.102232-ref16">16</xref>], the autocorrelation function of the fractionally ARIMA process can be expressed as follows:</p><p>ρ 1 = d 1 − d , ρ 2 = d ( 1 + d ) ( 1 − d ) ( 2 − d ) and ρ k = ∏ i = 0 k ( i − 1 + d i − d ) such that</p><p>ρ k = Γ ( k + d ) Γ ( 1 − d ) Γ ( d ) Γ ( k − d + 1 ) (1.7)</p><p>≈ Γ ( 1 − d ) Γ ( d ) k 2 d − 1</p><p>ρ k ≈ m k 2 d − 1 (1.8)</p><p>The partial autocorrelation function of the fractionally ARIMA process can be expressed as follows [<xref ref-type="bibr" rid="scirp.102232-ref17">17</xref>]:</p><p>∅ k k = d k − d (1.9)</p><p>Hurst parameter (H) is a measure of the strength of a precise time series. ARFIMA(p, d,q) with 0 &lt; d &lt; 0.5 . The process is not stationary if d ≥ 0.5</p></sec><sec id="s4"><title>4. Estimating the Hurst Parameter</title><p>There are several methods to estimate Hurst parameters of FARIMA model, the most important one is R/S method [<xref ref-type="bibr" rid="scirp.102232-ref18">18</xref>].</p></sec><sec id="s5"><title>5. The Rescaled Range R/S Method</title><p>The rescaled range (R/S) technique was first presented by Hurst; He defined the range [<xref ref-type="bibr" rid="scirp.102232-ref19">19</xref>]</p><p>R ( t , m ) as: max 1 ≤ t ≤ m Y ( t , m ) − min 1 ≤ t ≤ m Y ( t , m ) (1.10)</p><p>where: t = the discrete integer-valued time, m = the time-span and the standard deviation of the process, S ( t , m ) , is:</p><p>S ( t , m ) = 1 m ∑ t = 1 m ( Y ( t , m ) − Y ( m ) &#175; ) 2 (1.11)</p><p>The use of R/S ratio permits the observation of the ranges of numerous processes to be linked to long periods. Hurst found that the power acts practical relative among the proportion of the range R ( t , m ) and the standard deviation to be:</p><p>S ( t , m ) : E [ R ( m ) / S ( m ) ] = c m H as m → ∞ (1.12)</p><p>where H is the Hurst parameter (0 &lt; 1), and c is a finite positive constant that does not hang on the period m. by Taking logarithms to (1) (where are H and c in the equations) [<xref ref-type="bibr" rid="scirp.102232-ref20">20</xref>].</p><p>log { E [ R ( m ) / S ( m ) ] } = C + H log ( m ) + e ( m ) (1.13)</p><p>Equation (13) is recognized as the pox diagram of R/S.</p></sec><sec id="s6"><title>6. Empirical Results</title><p>This section discusses the empirical analysis results of applying ARFIMA models to data representing the diabetes patients attended Al-Baha hospitals during the period from January 2006 to November 2016 through testing of long memory, identification, estimation, and diagnostic checking using statistical R software.</p><p>The sequence chart of diabetes patients attended at Al-Baha hospitals from the period January 2006 to November 2016 fluctuates is shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>.</p><p>It can be shown that the number of diabetes patients fluctuate shows a slight increase start from 2008 to 4308 patients in February 2014 and then decreased to 245 patients in June 2014, before it fluctuated steadily till the end of the study interval in 2016. The descriptive statistics of diabetes patients attended at Al-Baha hospitals during the period from January 2006 to November 2016 are reported in <xref ref-type="table" rid="table1">Table 1</xref>.</p><p>From <xref ref-type="table" rid="table1">Table 1</xref> the mean and standered deviatin of diabetes patients attended at al Baha hospitals are 878.18 and 651.786 respectively the value of jarque-bera test is 130.14 with a significant probability value of 0.000 which indicates that the distribution of diabetes patients attended Al-Baha hospitals is not normal.</p><p><xref ref-type="fig" rid="fig2">Figure 2</xref> shows Autocorrelation Function and Partial Autocorrelation Function of diabetes patients attended Al-Baha hospitals from January 2006 to November 2016.</p><p>It can be shown that the autocorrelation function starts with large positive peaks decays gradually to zero at increasing lags, while the partial autocorrelation function shows a large positive peaks cutoff to zero after lag 5, these results confirmed that the diabetes patients attended Al-Baha hospitals series are non-stationary and</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Sequence chart and descriptive statistics of diabetes patients attended Al Baha Hospitals</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Measure</th><th align="center" valign="middle" >Mean</th><th align="center" valign="middle" >Median</th><th align="center" valign="middle" >Max</th><th align="center" valign="middle" >Min</th><th align="center" valign="middle" >Std. Dev</th><th align="center" valign="middle" >Skewness</th><th align="center" valign="middle" >Kurtosis</th><th align="center" valign="middle" >Jarque-Bera</th><th align="center" valign="middle" >Prob</th></tr></thead><tr><td align="center" valign="middle" >Value</td><td align="center" valign="middle" >878.18</td><td align="center" valign="middle" >757</td><td align="center" valign="middle" >4308</td><td align="center" valign="middle" >26</td><td align="center" valign="middle" >651.789</td><td align="center" valign="middle" >1.258</td><td align="center" valign="middle" >7.13</td><td align="center" valign="middle" >130.14</td><td align="center" valign="middle" >0.000</td></tr></tbody></table></table-wrap><p>their time series shows long memory. To check whether the diabetes patients series is stationary both Augmented dickey fuller ADF test as well as Philippe Peron PP test are applied to diabetes patients attended Al-Baha hospitals from January 2006 to November 2016 series level and its first difference, their empirical results are reported in <xref ref-type="table" rid="table2">Table 2</xref>.</p><p>A closer look to <xref ref-type="table" rid="table2">Table 2</xref> for the series level, it can be seen that both ADF and PP tests results in absolute terms are (2.15) with a probability (0.51) and (8.74) with probability (0.21) respectively, this results confirmed that the diabetes patients series level is nonstationary however the application of both tests to the first difference of diabetes patients series revealed that both tests results in absolute terms are (6.65) with a probability (0.01) and (14.52) with probability (0.01) respectively, this results conclude that the first difference of diabetes patients series is stationary. The long memory time series characteristic was also investigated to test whether diabetes patients attended Al-Baha hospitals from January 2006 to November 2016 series has a long memory. Hurst exponent test was applied to the diabetes patient’s data, the empirical results is reported in <xref ref-type="table" rid="table3">Table 3</xref>.</p><p>The application of Hurst exponent test results of diabetes patient’s data are reported in <xref ref-type="table" rid="table3">Table 3</xref>, the test findings confirmed that there is a long memory in diabetes patient’s data. Ones Both correlogram and Hurst exponent test produced by the Rescaled range analysis confirmed the presence of long memory in the data of diabetes patients attended Al-Baha hospitals, fractionally difference must be estimated in order to carry out the fractional difference value d.</p><p>Three estimation methods, such as Sperio, Geweke, and Porter-Hudak and R/S Analysis, d = H – 0.5 , were applied to data representing diabetes patients attended Al-Baha hospitals to estimate the fractional difference d their finding are shown in <xref ref-type="table" rid="table4">Table 4</xref>.</p><p>The estimated values of fractional difference d are reported in <xref ref-type="table" rid="table4">Table 4</xref> a fractional differenced parameter d = H − 0.5 = 0.44 is used to estimate ARFIMA model. In order to construct an autoregressive fractionally difference model that used to forecast the diabetes patients data, and after the estimation of the fractionally difference d, the estimated fractionally difference d = 0.44 was used to generate the fractionally differenced diabetes patients data that used to construct ARFIMA model. <xref ref-type="table" rid="table5">Table 5</xref> demonstrates the application of ADF as well as PP tests to the fractional difference of diabetes patient’s data.</p><p>Both ADF and PP tests were applied to the fractional difference of diabetes series data ( d = 0.44 ), the empirical findings confirmed that fractional difference</p><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> ADF test results of diabetes patients attended Al-Baha hospitals</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  colspan="5"  >Unit root test results/Diabetes data</th></tr></thead><tr><td align="center" valign="middle"  rowspan="2"  >Test Type</td><td align="center" valign="middle"  colspan="2"  >Level</td><td align="center" valign="middle"  colspan="2"  >1<sup>st</sup> Difference</td></tr><tr><td align="center" valign="middle" >Test value</td><td align="center" valign="middle" >Prob</td><td align="center" valign="middle" >Test value</td><td align="center" valign="middle" >Prob</td></tr><tr><td align="center" valign="middle" >ADF test</td><td align="center" valign="middle" >−2.15</td><td align="center" valign="middle" >0.51</td><td align="center" valign="middle" >−6.65</td><td align="center" valign="middle" >0.01</td></tr><tr><td align="center" valign="middle" >PP test</td><td align="center" valign="middle" >−8.74</td><td align="center" valign="middle" >0.21</td><td align="center" valign="middle" >−14.52</td><td align="center" valign="middle" >0.01</td></tr></tbody></table></table-wrap><table-wrap id="table3" ><label><xref ref-type="table" rid="table3">Table 3</xref></label><caption><title> Hurst exponent test results of diabetes patients attended Al-Baha hospitals</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  colspan="5"  >Hurst Exponent Test Values</th></tr></thead><tr><td align="center" valign="middle" >Simple R/S</td><td align="center" valign="middle" >Corrected R over S</td><td align="center" valign="middle" >Empirical Hurst Exp</td><td align="center" valign="middle" >Corrected empirical Hurst Exp</td><td align="center" valign="middle" >Theoretical Hurst Exp</td></tr><tr><td align="center" valign="middle" >0.80535</td><td align="center" valign="middle" >1.0635</td><td align="center" valign="middle" >0.74807</td><td align="center" valign="middle" >0.75877</td><td align="center" valign="middle" >0.52635</td></tr></tbody></table></table-wrap><table-wrap id="table4" ><label><xref ref-type="table" rid="table4">Table 4</xref></label><caption><title> Fractional differenced d estimation results</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  colspan="2"  >Fractional Differenced d Estimation Results</th></tr></thead><tr><td align="center" valign="middle" >Sperio Estimate for “d” (dSperio)*</td><td align="center" valign="middle" >0.74</td></tr><tr><td align="center" valign="middle" >Geweke and Porter-Hudak Estimator</td><td align="center" valign="middle" >0.78</td></tr><tr><td align="center" valign="middle" >R/S Analysis, d = H – 0.5</td><td align="center" valign="middle" >0.44</td></tr></tbody></table></table-wrap><table-wrap id="table5" ><label><xref ref-type="table" rid="table5">Table 5</xref></label><caption><title> ADF test results of frac diff (diabetes) patients attended Al-Baha hospitals</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  colspan="3"  >Unit Root Test Results/fracdiff (Diabetes) Series</th></tr></thead><tr><td align="center" valign="middle"  rowspan="2"  >Test type</td><td align="center" valign="middle"  colspan="2"  >Level</td></tr><tr><td align="center" valign="middle" >Test value</td><td align="center" valign="middle" >Prb</td></tr><tr><td align="center" valign="middle" >ADF test</td><td align="center" valign="middle" >−3.7785</td><td align="center" valign="middle" >0.022</td></tr><tr><td align="center" valign="middle" >PP test</td><td align="center" valign="middle" >−130.2</td><td align="center" valign="middle" >0.001</td></tr></tbody></table></table-wrap><p>of diabetes series level is stationary. After the empirical results of both correlogram and Hurst exponent test produced by the Rescaled range analysis confirmed the presence of long memory in the data of diabetes patients attended Al-Baha hospitals, and the estimation of fractional difference was achieved the findings confirmed that the autoregressive fractional time series model is appropriate in modeling and forecasting the diabetes patients data. In order to build an ARFIMA model, the fractional difference value of d : 0 &lt; 0.44 &lt; 0.5 is used for the estimation of ARFIMA model. Diabetes patient’s fractional differenced data has been generated. Numerous ARFIMA(p, 0.44, q) models with fixed fractional parameters are estimated and tested in <xref ref-type="table" rid="table6">Table 6</xref> in order to select an appropriate and parsimonious candidate model for forecasting the time series data.</p><p>A closer look at the <xref ref-type="table" rid="table6">Table 6</xref> it can be shown that ARFIMA(1, 0.44, 0) model has the smallest value of AIC and BSC of model selection criteria. In this model it is assumed that diabetes patients’ data is subject to autoregressive order 1, moving average of order 0, and difference of order 0.44. <xref ref-type="table" rid="table7">Table 7</xref> reports</p><table-wrap id="table6" ><label><xref ref-type="table" rid="table6">Table 6</xref></label><caption><title> Simulation of ARFIMA models for diabetes patients attended Al-Baha hospitals</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >ARFIMA(p, d, q)</th><th align="center" valign="middle" >AIC</th><th align="center" valign="middle" >BIC</th><th align="center" valign="middle" >Fraction Difference d</th></tr></thead><tr><td align="center" valign="middle" >ARFIMA(1, d, 0)</td><td align="center" valign="middle" >1594.423</td><td align="center" valign="middle" >1605.959</td><td align="center" valign="middle" >0.44</td></tr><tr><td align="center" valign="middle" >ARFIMA(1, d, 1)</td><td align="center" valign="middle" >1596.422</td><td align="center" valign="middle" >1610.836</td><td align="center" valign="middle" >0.44</td></tr><tr><td align="center" valign="middle" >ARFIMA(2, d, 1)</td><td align="center" valign="middle" >1595.143</td><td align="center" valign="middle" >1612.437</td><td align="center" valign="middle" >0.44</td></tr><tr><td align="center" valign="middle" >ARFIMA(1, d, 2)</td><td align="center" valign="middle" >1595.026</td><td align="center" valign="middle" >1612.323</td><td align="center" valign="middle" >0.44</td></tr><tr><td align="center" valign="middle" >ARFIMA(2, d, 0)</td><td align="center" valign="middle" >1596.387</td><td align="center" valign="middle" >1610.801</td><td align="center" valign="middle" >0.44</td></tr><tr><td align="center" valign="middle" >ARFIMA(0, d, 2)</td><td align="center" valign="middle" >1596.0 357</td><td align="center" valign="middle" >1610.771</td><td align="center" valign="middle" >0.44</td></tr><tr><td align="center" valign="middle" >ARFIMA(2, d, 2)</td><td align="center" valign="middle" >1596.236</td><td align="center" valign="middle" >1615.416</td><td align="center" valign="middle" >0.44</td></tr></tbody></table></table-wrap><table-wrap id="table7" ><label><xref ref-type="table" rid="table7">Table 7</xref></label><caption><title> ARFIMA(1, 0.44, 0) Parameter estimate for diabetes patients attended Al Baha Hospitals</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  colspan="4"  >ARFIMA(1, 0.44, 0)</th></tr></thead><tr><td align="center" valign="middle" >ARFIMA(1, 0.44, 0)</td><td align="center" valign="middle" >Estimates</td><td align="center" valign="middle" >Std. Errors</td><td align="center" valign="middle" >Prob.</td></tr><tr><td align="center" valign="middle" >∅ 1</td><td align="center" valign="middle" >−0.023</td><td align="center" valign="middle" >0.088</td><td align="center" valign="middle" >0.01</td></tr></tbody></table></table-wrap><p>ARFIMA(1, 0.44, 0) parameter estimate for diabetes patients attended Al-Baha hospitals, the estimates of the ARFIMA(1, 0.44, 0) model above, the autoregressive parameter estimates are statistically significant at 0.05 significance level, therefore this model appears to be a good fit model (<xref ref-type="fig" rid="fig3">Figure 3</xref>).</p><p><xref ref-type="fig" rid="fig3">Figure 3</xref> shows the forecasts values of diabetes patients attendance at Al-Baha hospitals for ‎‎24 months generated from the fitted ARFIMA(1, 0.44, 0) model as well as 95% confidence ‎limits, these forecasts are approximately close to the original data under consideration .‎</p><p>The estimated equation of ARFIMA(1, 0.44, 0) is expressed as follows:</p><p>( 1 + 0.023 B ) 0.44 D i a b e t s t = ε t</p></sec><sec id="s7"><title>7. Conclusions</title><p>An increasing number of diabetes patients is a great challenge to the General Directorate of Health Affairs, Al Baha, Kingdom of Saudi Arabia, and this paper uses ARFIMA models to model diabetes patients who attended Al-Baha hospitals. Monthly records of diabetes patients covering the period from January 2006 to December 2016 are collected from the General Directorate of Health Affairs Al-Baha region. The empirical results indicate that there is a slight increase in the number of diabetes patients in the region, and the correlogram shows large positive significant patterns decays slowing gradually at increasing lags.</p><p>Both ADF and PP tests confirmed that the series level is non-stationary; however, the first difference is stationary. Hurst test results and ACF confirmed that there is a long memory behavior in diabetes patients’ data, and the fractional difference in the data of diabetes series revealed that ( d = 0.44 ), also unit root tests indicated that fractional difference of diabetes series level is stationary. Nemours models have been suggested to model diabetic patient’s data, according to model selection criteria, ARFIMA(1, 0.44, 0) model shows the smallest values of AIC and BSC, hence this model I is chosen to represent the data. Diagnostic check confirms that ARFIMA(1, 0.44, 0) is an appropriate adequate parsimonious model for diabetes patients attended in Al-Baha hospitals. These findings indicate that for this particular type of data ARFIMA is highly recommended in modeling and forecasting diabetic patient’s data.</p></sec><sec id="s8"><title>Acknowledgements</title><p>The authors are grateful to Professor Muhammad Osman Abdullah Al-Baha University for ‎valuable comments.</p></sec><sec id="s9"><title>Conflicts of Interest</title><p>The authors declare no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s10"><title>Cite this paper</title><p>Al Zahrani, S., Al Rahman Al Sameeh, F., Musa, A.C.M. and Shokeralla, A.A.A. (2020) Forecasting Diabetes Patients Attendance at Al-Baha Hospitals Using Autoregressive Fractional Integrated Moving Average (ARFIMA) Models. Journal of Data Analysis and Information Processing, 8, 183-194. https://doi.org/10.4236/jdaip.2020.83011</p></sec></body><back><ref-list><title>References</title><ref id="scirp.102232-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Classification of Diabetes Mellitus 2019. file:///C:/Users/sshok/Downloads/9789241515702-eng.pdf</mixed-citation></ref><ref id="scirp.102232-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">(2020) International Diabetes Federation. https://www.idf.org/our-activities/congress/idf-complications-congress-2020/abstract-submission.html?gclid=Cj0KCQjwz4z3BRCgARIsAES_OVfz2BXcgbH9U2VZ9UCzEJowzWWaBeMLOJ9vH1M8FmqTGcOZxvqt65EaAujLEALw_wcB</mixed-citation></ref><ref id="scirp.102232-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">World Health Organization. Global Report on Diabetes.http://www.who.int/diabetes/global-report/en/</mixed-citation></ref><ref id="scirp.102232-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Earnest, A., Chen, M.I., Ng, D. and Sin, L.Y. (2005) Using Autoregressive Integrated Moving Average (ARIMA) Models. BMC Health Services Research, 5, Article No. 36.https://bmchealthservres.biomedcentral.com/track/pdf/10.1186/1472-6963-5-36?site=bmchealthservres.biomed https://doi.org/10.1186/1472-6963-5-36</mixed-citation></ref><ref id="scirp.102232-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Singye, T. and Unhapipat, S. (2018) Time Series Analysis of Diabetes Patients: A Case Study of Jigme Dorji Wangchuk National Referral Hospital in Bhutan. Journal of Physics: Conference Series, 1039, Article ID: 012033.https://doi.org/10.1088/1742-6596/1039/1/012033</mixed-citation></ref><ref id="scirp.102232-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Villani, M., Earnest, A., Nanayakkara, N., Smith, K., De Courten, B. and Zoungas, S. (2016) Time Series Modelling to Forecast Prehospital EMS Demand for Diabetic Emergencies. BMC Health Services Research, 17, Article No. 332.https://doi.org/10.1186/s12913-017-2280-6</mixed-citation></ref><ref id="scirp.102232-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Villani, M., Nanayakkara, N., Ranasinha, S., Earnest, A., Smith, K., Soldatos, G., Teede, H. and Zoungas, S. (2017) Utilisation of Prehospital Emergency Medical Services for Hyperglycaemia: A Community-Based Observational Study. PLoS ONE, 12, e0182413. https://doi.org/10.1371/journal.pone.0182413</mixed-citation></ref><ref id="scirp.102232-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Box, G.E.P. and Jenkins, G.M. (1976) Time Series Analysis Forecasting and Control. 2nd Edition, Holden-Day, San Francisco.</mixed-citation></ref><ref id="scirp.102232-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Hosking, J.R.M. (1984) Modeling Persistence in Hydrological Time Series Using Fractional Differencing. Water Resources Research, 20, 1898-1908.https://doi.org/10.1029/WR020i012p01898</mixed-citation></ref><ref id="scirp.102232-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Granger, C.W.J. and Joyeux, R. (1980) An Introduction to Long-Memory Time Series and Fractional Differencing. Journal of Time Series Analysis, 1, 15-29.https://doi.org/10.1111/j.1467-9892.1980.tb00297.x</mixed-citation></ref><ref id="scirp.102232-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Galbraith, J. and Zinde-Walsh, V. (2001) Autoregression-Based Estimators for ARFIMA Models. CIRANO, Montreal, 1-45.</mixed-citation></ref><ref id="scirp.102232-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Makraidkis, S., Wheelright, S. and McGee, E. (1983) Forecasting: Methods and Application. 2nd Edition, John Wiley &amp; Sons, Hoboken.</mixed-citation></ref><ref id="scirp.102232-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Purohit, S., Kelkar, S. and Simha, V. (1998) Time Series Analysis of Patients with Rotavirus Diarrhoea in Pune, India. Journal Diarrhoeal Disease Research Bangladesh, 16, 74-83.</mixed-citation></ref><ref id="scirp.102232-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Peters, E.E. (1991) Fractal Market Analysis. Wiley, New York.</mixed-citation></ref><ref id="scirp.102232-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Sowell, F. (1992) Modeling Long-Run Behavior with the Fractional ARIMA-Model. Journal of Monetary Econometrics, 29, 277-302.https://doi.org/10.1016/0304-3932(92)90016-U</mixed-citation></ref><ref id="scirp.102232-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Teverovsky, V., Taqqu, M.S. and Willingerb, W. (1999) A Critical Look at Lo’s Modified R/S Statistic. Journal of Statistical Planning and Inference, 80, 211-227. https://doi.org/10.1016/S0378-3758(98)00250-X</mixed-citation></ref><ref id="scirp.102232-ref17"><label>17</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Hurst</surname><given-names> H.E. </given-names></name>,<etal>et al</etal>. (<year>1951</year>)<article-title>Long-Term Storage of Reservoirs</article-title><source> Transactions of the American Society of Civil Engineers</source><volume> 116</volume>,<fpage> 770</fpage>-<lpage>799</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.102232-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Reisen, V., Abraham, B. and Lopes, S. (2001) Estimation of Parameters in ARFIMA Processes: A Simulation Study. Communication in Statistics—Simulation and Computation, 30, 787-813.</mixed-citation></ref><ref id="scirp.102232-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Reisen, V.A. (1994) Estimation of the Fractional Difference Parameter in the ARIMA(p,d,q) Model Using the Smoothed Periodogram. Journal of Time Series Analysis, 15, 335-350. https://doi.org/10.1111/j.1467-9892.1994.tb00198.x</mixed-citation></ref><ref id="scirp.102232-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">Sheng, H., Chen, Y.Q. and Qiu, T. (2011) On the Robustness of Hurst Estimators. IET Signal Process, 5, 209-225. https://doi.org/10.1049/iet-spr.2009.0241</mixed-citation></ref></ref-list></back></article>