You are on page 1of 6

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/320126424

THE GENERATION OF SYNTETIC SEQUENCES OF MONTHLY RAINFALL USING


AUTOREGRESSIVE MODEL

Article · September 2002

CITATION READS

1 182

1 author:

Maimun Rizalihadi
Syiah Kuala University
25 PUBLICATIONS   45 CITATIONS   

SEE PROFILE

All content following this page was uploaded by Maimun Rizalihadi on 30 September 2017.

The user has requested enhancement of the downloaded file.


Jurnal Teknik Sipil ISSN 1412-548X
Universitas Syiah Kuala pp. 64-68

THE GENERATION OF SYNTETIC SEQUENCES OF


MONTHLY RAINFALL USING AUTOREGRESSIVE MODEL
Maimun Rizalihadi
Dept. of Civil Engineering Faculty of Engineering
The University of Syiah Kuala, Darussalam-Banda Aceh
email: laturfan@yahoo.com

Abstracs
The objective of this paper is to generate the sequences of monthly rainfall using autoregressive
model. The rainfall time series is assumed to be represented by an additive model with trend, periodic
and stochastic as its components. Each component is identified and, if found, removed from the
original series. The turning point test is applied for detecting the trend. In the analysis of series, the
correlogram technique is used to detect the periodicity, which is then analyzed by Fourier series
method. Harmonic analysis is done for identifying the number of significant harmonics. The series is
then tested for stationarity and the dependent part of the stochastic component. To conduct the
research, rainfall data is provided from the Blang Bintang Station for ten year records (1987-1996).
Based on the analysis it is found that the series is free trend series, six harmonics coefficient is well
used for periodic component, and to be well expressed by the third order autoregressive model. The
adequacy of fit is judged by the insignificant correlation and normal distribution of the obtained
residuals. The developed periodic-stochastic model may be used for representing the time based
structure of the rainfall time series for providing rainfall data in designing the irrigation projects or other
projects.
Keywords : Rainfall, Time series, Autoregressive, Stochastic.

1. INTRODUCTION stochastic parts and will also reflect the monthly


variations of rainfalls.
The design and operation of an irrigation or
water resource projects require detailed information During the past years, some researchs that
about the rainfall with respect to time. To provide study the stochastic modelling have been published
long sequence records of data was very difficult, so by Rizalihadi, 1998 and 2000. The investigation have
sometime, it is necessary to extent the record by analyzed the time series of streamflow, waves, and
generating the available record. Various methods evapotranspiration in Aceh. But, the study on the
have been used by engineer to provide this stochastic structure of the rainfall time series has not
information. Most of the existing methods are either been made.
deterministic or probabilistic in nature, Kottegoda,
The aim of research is to generate the
1980 and Yevjevich, 1972. While the former methods
sequences of monthly rainfall in Blang Bintang,
do not consider the random effects of various input
Banda Aceh. using autoregressive model. So that,
parameters, the later methods employ the concept of
the model can be used to provide reasonably rainfall
probability to the extent that the time based
data for planning the irrigation or water resource
characteristics of rainfalls are ignored. With the ever
projects in the future.
increasing demand for accuracy of analyzing rainfall
data, these methods are no longer sufficient. The The scope of research done consist of the
rainfalls are stochastic in nature because they are following analisis: test the rainfall time series for
affected by climatological parameters, i.e., stochastic stochasticity; identify and remove trend and periodic
climate variations are transferred to become components; study the structure of dependent
stochastic component of rainfalls. Hence the stochastic component; and diagnostically check for
rainfalls should be computed considering both the the independent stochastic component. Barsin, 1996,
deterministic and the stochastic parts of the process. menyatakan bahwa hidrasi dari kombinasi ggbf-
Considering all other factors known or assumed the semen sama dengan hidrasi pada semen portland,
rainfall is a function of the stochastic variation of the yaitu hidrasi calcium-silica. Tetapi hidrasi ggbf lebih
climate, Yevjevich, 1972. Hence stochastic analysis bersifat menyerupai gel dibandingkan dengan hidrasi
of rainfall time series will provide a mathematical dari semen (semen portlan) sehingga akan lebih
model that will account for the deterministic and menambah kepadatan pasta semen. Hal ini tampak

64 - Volume 1, Tahun I, No.2, September 2002


Jurnal Teknik Sipil
Universitas Syiah Kuala

dengan adanya peningkatan aktifitas hidrasi di umur number of significant harmonics was obtained and Pt
tua sehingga meningkatkan kuat tekan secara was computed, using Eq. 2.2, for these harmonics
signifikan. only.

2.3. Stochastic Component


2. MATHEMATICAL METHOD OF ANALYSIS
The component of stochastic (St)was assumed
A general additive model is used to describe the
that the value of St at time ("t") was the combined
rainfall time series, Xt, and is given by :
effect of the weighted sum of the past values so that
the dependent part of St may be represented by the
Xt = Tt + Pt + St ………………………….2.1
equation :
where Tt = the trend component at time, t, t = 1, 2, ...
 ∞ 
N, Pt = the periodec component, St = the stochastic St = ∑ Φ P,k St− k + at  ………………….2.3
 k =1 
component having dependent and independt parts,
and N = the number of data points. Eq. 2.1 was in which Φ p,k is the autoregressive parameter ; p =
systematically identified and its components the order of the model ; k = the number of
removed. The adopted procedures are described in parameters, k = 1,2 ... p ; and at = the independent
the following subsention. normally distributed error variable. Because of the
diminishing effect of past values of the present, the
2.1. Trend Component upper limit of Eq. 2.3 may be made finite, say p,
resulting in a finite order Markov model :
The component of trend Tt was identified using
the seasonal rainfall values (Zi, i = 1,2,3 ... n, n = St = Φ p,1St −1 + Φ p ,2 St − 2 + ... + Φ p, pS t − p + at …...2.4
number of seasons) obtained by the algebraic sum of
monthly rainfall data of each season, Gupta, 1986 and The model represented by Eq. 2.4 is known as
Hansen, 1971. For detecting trend, a hypotheses of the autoregressive model of order p, AR (p). The
no-trend was made using Turning Point Test to test fitting procedure of this model involves two stages
the hypotheses. The procedure is to determine the (Box and Jenkins, 1976), namely, selection of the
number of times, p, occurs at time i if Zi is either model order, p, and estimation of autoregressive
greater than Zi-1 and Zi+1 or lesser than the two coeffidients, p,k. For selection of order p, the
adjacent values. The expected number of p in a residual variance method was used where residual
random series is V = 2(n - 2)/3. Variance (V) can be variance, S2z (p), was computed using the following
computed as V = (16n - 29)/90. Consequently m' equations :
can be expressed as standard measure, i.e., m' = (p - 1
S 2 z ( p) = S (µ , q1 , q2 ,..., q p ) ……....2.5
V)/[var (V))]1/2, which is treated approximately as a N − 2 p −1
standard normal variiate. The value of m' was
compared with its table value at 5 % level of in which S (µ, q1, q2 - qp) = (N - p)(Co - 1 C1 - 2
significance. If the calculated value of m' is within C2 ... p Cp) (residual sum of square) : 1, 2 ... p =
the limits, the hypotheses of no-trend is accepted. Arparameters : and Co, C1 ... Cp = autocovariance
function at lag p, p = 0, 1, 2 ... The value of Cp for
2.2. Periodic Component any p was computed as,

The component of periodic (Yt) can be Cp = E [(St - µ) (St+p - µ)]


expressed in Fourier form, Hansen, 1971, as follows : where µ = E (St) …………….……..…….2.6
p/2
  2π kt   2 π kt  
Y = Ao + ∑  Ak Cos   + B k Sin   ….2.2 In the present analysis, Cp was computed for p
 P   P 
t
k =1 
= 0, 1, 2 and 3. The minimum value of S2z (p),
In which P is time span of periodicity; k is computed by Eq. 2.5, gave the appropriate order of
number of harmonics, 1<k<P/2; M is number of the model, p, for representing the dependence
significant harmonics, 1<M<P/2; and N is number of structure of time series. The autocorrelation
data points. For determining the number of coefficients, rp were determined as :
significant harmonics of Pt, an analysis of variance rp = Cp / Co ………………………….….2.7
test was done. In this test, the null hypothesis was
that the variance explained by harmonic k, which was The autoregression coefficents p,k, were
(N/2)(? 2 + ? 2), is zero. Computations were made to expressed as a function of rp and were computed by
test the ? k and ? k values for k = 6 , 5 ... 1 in order using the following recursive formula, (Kottegoda,
to obtain the F-ratio, which was then compared with 1980) :
its table value at 0.01 level of significance. Thus the [
Φ p , p = Φ ( p −1, k ) − Φ ( p , p ) (Φ ( p −1, p − k ) ) ] ……….2.8
Volume 1, Tahun I, No.2, September 2002 - 65
Jurnal Teknik Sipil
Universitas Syiah Kuala

in which k = 1,2 ... p. standard in between 33.87 to 141.30, while the


coefficient of variation ranges from 0.37 to 1.19,
The first three linear autoregressive models (i.e.,
which signifies the importance of time variability of
p = 1, p = 2 and p = 3 of Eq. 2.4) usually are good
monthly rainfall values. Again the values of SCC are
approximations for representing a time series, and
also significantly different from zero ranging in
hence were tried for analyzing the St of the rainfall
between –0,30 to 0.35, which shows that the rainfall
time series.
is mutually dependent.
The dependent part of St was obtained by Eq.
This confirms that the rainfall process is time-
2.4 and then was removed, leaving the independent
variant and not independent. Thus the rainfall time
part as follows :
series can be modeled on stochastic theory.
p
at = St − ∑ Φ ( p, k )St ………………….2.9 3.2 Trend Component.
k =1

The seasonal values, Zt, for 10 years is drawn


2.4. Diagnostic Checking in the Figure 2. Based on the figure is found 5
turning points. The computed m’, for the Turning
Diagnostic checking means statistically
Point test is –0.276, which are within the limits of ±
verifying the adquacy of the formulated model. For
1.960 at 5 % level of significance. It reveals the
this checking, the residual series was examined for
absence of Tt in the rainfall time series, hence the Xt
any lack of randomness. Autocorrelation
may be treated as the trend-free series.
coefficients of residual series for lag 1 (l = 30) were
computed amd were drawn against 1 with 95 %
tolerence limits. If the correlogram thus obtained is
well within the limits, then it can be derived that
residuals are normally distributewith zero mean and
var (1/l). Various other tests, details of which are not
given here due to lack of space, were also done to
confirm the randomness of the residuals, which is the
condition for accepting the formulated
autoregressive model.

3. DATA ANALYSIS AND RESULTS Figure 2. Seasonal Values of Rainfall

3.1. The Characteristic of Rainfall 3.3. Periodic Component.


The above mathematical method of analysis Presence of Pt in the rainfall series was
was used in investigating the structure of the time confirmed by the oscillating shape of the figure
series of rainfall in Blang Bintang, Banda Aceh. The displayed in Fig. 3. The value of ? k and ? k were
monthly rainfall values were obtained by computing estimated for the periodic mean rainfall series. To
the daily rainfall record during the 10 years (1987- further confirm this, an analysis of variance was
1996) from Blang Bintang Station as in attachement conducted as given in Table 1. The table explains
A. Figure 1 shows the mean values of the monthly that no one single of harmonic is more than 95 % of
rainfall over the 10 periods under analysis. the total variance, so it is recommended that the use
of the six harmonics in estimating the periodic
component is necessary in order to find 95% of the
total variance. Using Eq. 2.2, Pt was computed for k =
6, for all 5 years as shown in Fig. 3.
Table 1. Results of Fourier Analysis of Monthly
Rainfall Series

Fourier Coefficients Total


Harmonic
Variance
K Ak Bk (%)
1 33.41 4.242 35.41
2 6.282 -26.085 22.48
Figure 1. Mean Monthly Rainfall 3 9.568 -20.332 15.77
4 -11.350 -10.101 7.21
Based on analysis, mean monthly rainfall 5 14.474 7.657 8.37
ranges from 56.47 to 202.38 and the deviation 6 -12.463 0 4.85

66 - Volume 1, Tahun I, No.2, September 2002


Jurnal Teknik Sipil
Universitas Syiah Kuala

in which the vakues of Ak and Bk are as shown in


Table 1 above.
The first thriteen terms in the formulated model
represented by Eq. 3.1 constitute the detrministic
part of the rainfall time series. The first term is a
constant, indicating the arithmetic mean of the
rainfall. The second to thirteenth terms are the
harmonic portions of the deterministic part, and are
functions of time. The fourteenth and eigthteenth
terms represent the dependent stochastic component
Figure 3. Monthly Means and Harmonic-Fitted of the model, where the current value, St, depends on
Rainfall the weighted sum of its preceding four values. The
Mean values were obtained by averaging last term is the random independent part of the
figures for the monthly period during five years stochastic component with a zero mean. The
periods. The closeness of both the curves confirms formulated model was subjected to various checks to
the selection of the six harmonics (k = 6) for test its adequacy for representing the time
representing the Pt of the rainfall time series. The Pt, dependent structure of the rainfall. The
thus obtained was removed from the original time autocorrelation coefficients of the residuals for lags
series in order to get a new stationary series St. (l = 30) were computed. They are displayed in Fig. 4
in the form of a correlogram with 95 % tolerance
3.4. Stochastic Component. limits.

St was analyzed done by fitting the The correlogram shows that almost all the
autoregressive or Markov schemes to the series, as coefficients are very small and hence can be treated
outlined in Eq. 2.4. The order of the model was as non-significant. The residuals are normally
determined by the procedure explained in the distributed with a mean value of closing to zero
previous section. S2z (p) was computed using Eqs. (0.0008), and variance of 0.0188 less than (1/l = 0,033).
2.5 for p = 1, p = 2, p = 3, and p = 4, the results are This leads to the conclusion that the residuals are in
given in Table 2. Table 2 shows that S2z (p), 0.045 is dependent normally distributed. The Turning Point
minimum for p = 3 ; hence St, can be approximated test also confirmed the randomness of the residuals,
by the third order Markov model. corroborating the model. The rainfall, generated by
the formulate model, are plotted with the
Table 2. Residual Variance for Different Orders of corresponding observed values and are displayed in
Markov Model Fig. 5.
Model Autocorrelation Residual The plot indicates closeness of the values, and
order coef., variance thereby reflects the appropriateness of the
(P) rp at lag, p S2z(p) formulated rainfall model. Therefore, the model may
1 0.136 0.153 be employed to generate monthly rainfall values for
2 -0.013 0.092 use in planning and designing an irrigation projects
3 -0.029 0.045 or other hydrologic studies.
4 0.063 0.169
4. CONCLUSIONS
The autoregression coefficient ( p,k where p =
a. The rainfall series is free trend series.
3 and k = 1, 2, and 3) was computed using Eqs. 2.7
and 2.8. As the rainfall time series, x (t), is a trend-free b. The periodic component of the rainfall was
series, the developed model describes the periodeic- found to be represented by the six harmonics.
stochanstic behavior of the original series.
c. The time-dependence of the stochastic portion
It is a superposition of a harmonic-deterministic may be well approximated by the third order
process and second order Markov model. The autoregressive model, with constant
developed model can be denoted as follows : autoregressive coefficients.
6
  2π kt   2 π kt  
X t
= 125 . 217 + ∑  Ak Cos  12 
 + B k Sin 
 12  

k =1
+ 0. 139 S t − 1 − 0 . 029 S t − 2 − 0 . 0236 S t − 3

……….….…….. 3.1

Volume 1, Tahun I, No.2, September 2002 - 67


Jurnal Teknik Sipil
Universitas Syiah Kuala

1.6
1.2
Corr. Coef. (rp) 0.8
0.4
0
-0.4 0 5 10 15 20 25 30
-0.8
-1.2
-1.6
Lag (p)

Figure 4. Correlogram of Residual Series with 95 % Tolerance Limits

400
350
Rainfall in mm

300
250
200
150
100
50
0
0 20 40 60 80 100 120
month
Observed Generated

Figure 5. Comparison of Observed and Generated Data of Monthly rainfall

5. ACKNOWLEDGEMENT
3. Gupta, R.K., et.al.,1986, Stochastic Modeling of
The first writer is grateful to the Director of
Irrigation Requirements, J. of Irrg. Drain. Eng.,
HEDS-DGHE-JICA for supporting financial during
the research, and the director of civil engineering Vol. 112.
journal for giving permission to publish this paper. 4. Kottegoda N.T., 1980, Stochastic Water
The writers also appreciate the members of the Resaource Technology, Mac Millan, Hongkong.
Advisory Committee for their suggestions and 5. Rizalihadi, M., & Jamil. M., 1998, Stochastic
assistance for improving this paper, and also to all Modelling of Discharge of Krueng Aceh
research members having been working hard for River, SST Proc., HEDS-JICA, Lampung.
completion the report. 6. Rizalihadi, M., & Jamil. M., 2000, Stochastic
Modelling of Wave Height in KR. Raya Port,
SST Proc., HEDS-JICA, Batam.
6. REFERENCES
7. Mutreja K.N., 1992, Applied Hydrology, Mc.
1. Clark, R.T., 1973, Mathematical Models in Graww-hill Pub., New Delhi.
Hydrology, Food Agriculture Organization, 8. Yevjevich V., 1972, Structural Analysis of
FAO-19, Rome. Hydrologic Time Series, Colorado State
2. Hansen, E., 1971, Analyse of Hydroliske University, Fort Collins
Tidsserie, Danmarks Tekniske Hoejskole,
Lyngby.

68 - Volume 1, Tahun I, No.2, September 2002

View publication stats

You might also like