Abstract

There are many parameters which are very difficult to calibrate in the threshold autoregressive prediction model for nonlinear time series. The threshold value, autoregressive coefficients, and the delay time are key parameters in the threshold autoregressive prediction model. To improve prediction precision and reduce the uncertainties in the determination of the above parameters, a new DNA (deoxyribonucleic acid) optimization threshold autoregressive prediction model (DNAOTARPM) is proposed by combining threshold autoregressive method and DNA optimization method. The above optimal parameters are selected by minimizing objective function. Real ice condition time series at Bohai are taken to validate the new method. The prediction results indicate that the new method can choose the above optimal parameters in prediction process. Compared with improved genetic algorithm threshold autoregressive prediction model (IGATARPM) and standard genetic algorithm threshold autoregressive prediction model (SGATARPM), DNAOTARPM has higher precision and faster convergence speed for predicting nonlinear ice condition time series.

1. Introduction

Many natural phenomena, such as ice condition, runoff, are usually nonlinear, complex, and dynamic processes. Prediction of ice conditions is of primary importance for weather forecasting, agriculture, geosciences, and marine transportation safety. The simulation of the nonlinear time series was very difficult with the traditional deterministic mathematic models, which cause new challenges to calibrate the parameters [1, 2]. There are many methods for predicting nonlinear time series [310]. Threshold autoregressive (TAR) models are typically applied to time series data as an extension of autoregressive models for higher degree of flexibility in model parameters through a regime switching behavior. TAR models were introduced by Tong and Li in 1977 and more fully developed in the seminal paper [11]. The threshold autoregressive model is a special case of Tong’s general threshold autoregressive models. The latter allows the threshold variable to be very flexible, such as an exogenous time series in the open-loop threshold autoregressive system [1113]. For a comprehensive review of developments over the 30 years since the birth of the model, see Tong [14]. However, the uncertainties in determining the parameters of the threshold variables, autoregressive coefficients, and the delay time exist in the developed threshold autoregressive model. So as to improve the prediction accuracy, the key problem is how to determine the parameters in the prediction model.

The global optimization in determining all the parameters is intractable mathematically. Once an objective function has many local extreme points, the traditional optimization methods may not obtain the global optimal solution. A genetic algorithm (GA) based on the genetic evolution of a species was proposed by Holland [15]. GA is a global optimization algorithm. However, the computational amount is very large and premature convergence phenomena exist in GA [1620]. Recently, Adleman [21] showed that DNA can be used to solve a computationally hard problem. Many scientists used DNA computation to solve real problems [2224].

In this study, DNA optimization threshold autoregressive prediction model (DNAOTARPM) is presented to determine the parameters and to improve the calculation precision for predicting ice condition time series. In order to validate the new method, some real ice condition time series are used.

2. DNA Optimization Threshold Autoregressive Prediction Model (DNAOTARPM)

The TAR model is a tool for predicting future values in time series assuming that the behavior of the time series changes once the time series shifts to a different regime. The switch from one regime to another depends on the past values of the series. The model consists of autoregressive (AR) parts for each different regime. The model is usually referred to as the TAR (, ) model where is the number of regimes and is the order of the autoregressive part. Since those can differ between regimes, the portion is sometimes dropped and models are denoted simply as TAR (). A -regime TAR (;) model for time series () has the form where , , () are nontrivial threshold parameters dividing the domain into different regimes; is the delay time parameters, is the regressive coefficients in the th regime, stands for white-noise error term with constant variance, and is the autoregressive order in the th regime of the model. The threshold parameters satisfy the constraint:

Here , and are parameters in TAR model. It is very difficult to determine these parameters with the traditional methods.

In this paper, we use DNA optimization method to determine the parameters and improve model accuracy. The new model, DNA optimization threshold autoregressive prediction method (DNAOTARPM), is described as follows.

Step 1 (Determine the delay time and the number of regressive coefficients). The delay time is determined by the autocorrelation function method [21]. The autocorrelation function for delay time is calculated as The delay time is selected when autocorrelation function [25] satisfies the following condition: where is the upper percentage point of the normal distribution for confidence level. The number of regressive coefficients . Some of the values are regarded as the delay time.

Step 2 (Determine the number and ranges of threshold parameters). Considering a set from the time series , we divide into regimes . Suppose there are number of in the th part, and the corresponding is regarded as . In the th part, the conditional expectation of given the event is Let be horizontal axis, and let be vertical axis; we can get the scatter plots. When the scatter plots are piecewise linear map, we can estimate the number and ranges of threshold parameters. The piecewise number of piecewise linear map is the number of threshold parameters, and the ranges of the piecewise points are the ranges of threshold parameters.

Step 3 (Construct the objective function). The parameter estimation for DNAOTARPM can be obtained by the following objective function, namely, the mean of least residual absolute value sum:

Step 4 (Solve objective function by DNA optimization method). Solving the parameters of , in the optimization objective function (2.7) is one nonlinear optimization problem. It is rather difficult to deal with it using a traditional optimization method. The above optimal model can be solved by the following DNA optimization method [24]. The -regime prediction formula will be seen in the following application part in detail.

If we solve objective function (2.7) with improved genetic algorithm, we call the method improved genetic algorithm [18] threshold autoregressive prediction method (IGATARPM), and if we solve objective function (2.7) with standard genetic optimization method [15], we call the method standard genetic algorithm threshold autoregressive prediction method (SGATARPM).

3. DNA Optimization Method (DNAOM)

Consider the following optimization problem: where , is a parameter to be optimized, is an objective function, and , is the range of .

The procedure of DNAOM is shown as follows [25].

Step 1 (DNA encoding). Suppose DNA-encoding length is in every parameter, the th parameter range is the interval , and then each interval is divided into subintervals: where the length of subinterval of the th parameter is constant. The searching location is an integer, and , is a random variable, and , for .
The DNA code array of the th parameter is denoted by the grid points of for every individual: DNAOM’s process operates on a population of individuals (also called DNA code array, strings, or chromosomes). Each individual represents a potential solution to the problem. For corresponding . The first position value “1” or “0” expresses the position of DNA code and the second position value “1” or “0” expresses the true value of binary code and the value of DNA code.

Step 2 (creating the initial population). To cover the whole solution space and to avoid individuals entering into the same region, large uniformity random population is selected in this algorithm. Once the initial father population has been generated, the decoding and fitness evaluation should be done.

Step 3 (evaluating fitness value of each individual). The smaller the value is, the higher the fitness of its corresponding th chromosome is . So the fitness function of th chromosome is defined as follows:

Step 4 (selection). Select chromosome pairs randomly depending on their fitness value from the initial population. Two groups of N-chromosomes and , are gotten ().

Step 5 (two-point crossover and two-point mutation). Perform crossover and mutation on chromosomes the same as GA.

Step 6 (DNA evolution). Repeat Steps 36 until the evolution times ( is the total evolution times) or the termination condition is satisfied.

Step 7 (accelerating cycle). The parameter ranges of -excellent individuals obtained by -times of the DNA-encoded optimal evolution alternating are regarded as the new ranges of the parameters, and then the whole process is back to the DNA-encoding. The DNAOM computation is over until the algorithm running times reaches the designed times or there exists an optimal chromosome whose fitness satisfies a given criterion. In the former case the is the fittest chromosome or the most excellent chromosome in the population. That is, the chromosome represents the solution [25].

The parameters of the DNAOM are selected as follows. The length , population size , the number of excellent individuals , the times of evolution alternating , the crossover probability , and the mutation probability .

4. Application in Ice Condition Time Series

The real ice condition time series in this study are chosen as the annual ice condition at Bohai in China for the period of 1966 to 1994 (29 years) [25]. For the ice condition time series, the first modeling data set is the data during the period of 1966 to 1993 (28 years). The prediction lead time is the year of 1970–1994 (25 years).

4.1. The Autocorrelation Function for Delay Time

The changes of the autocorrelation functions for the time series are presented at the confidence level 70% in Figure 1.

From Figure 1, we can see that only the values of , , satisfy condition (2.4). So the delay time is 1, 3, or 4 in DNAOTARPM.

4.2. The Number and Ranges of Threshold Parameters

The number and ranges of threshold parameters of the above ice condition time series are determined by the conditional expectation of given the event . The scatter plot of the conditional expectation is shown in Figure 2.

From Figure 2, we can see that there are two piecewise linear maps, and the piecewise point is around the mean value of the time series. So we suppose , and the -regime TAR model has the following form for :

The parameters of are required in this model. In this work, the three parameters are estimated with respect to one criterion, namely, the mean of least residual absolute value sum shown in (2.6).

4.3. Result Comparison between DNAOTARPM, IGATARPM, and SGATARPM

The time series were predicted by DNAOTARPM, IGATARPM, and SGATARPM, respectively.

Mean least residual absolute value sum is 0.5737 for DNAOTARPM. The evaluation number of the objective function is 900. The computational results of the above model are given in Table 1.

For IGATARPM, the evaluation number of the objective function is 2700, and the prediction error is 0.6016.

For SGATARPM, the evaluation number of the objective function is 2700, and the prediction error is 0.6380.

From Table 1, we can see that prediction results for DNAOTARPM are better than those with the other methods. The prediction results of the practical example are shown in Figure 3 with different methods.

From Table 1 and Figure 3, we can see that the results achieved with our DNAOTARPM method are satisfactory in global optimum and prediction precision.

Compared with IGATARPM and SGATARPM, DNAOTARPM has a faster convergence speed and higher precision. And it is useful for parameter optimization of the nonlinear ice condition time series model.

5. Conclusions

In order to improve prediction precision and reduce the uncertainties in determination of the parameters for forecasting nonlinear ice condition time series, a new DNA optimization threshold autoregressive prediction model (DNAOTARPM) is proposed in this paper. The ice condition time series at Bohai in China are studied by using DNAOTARPM. The main conclusions are given as follows. (1)DNAOTARPM is established by using DNA optimization method and threshold autoregressive model. The delay time is selected with autocorrelation function, and the results indicate have significant influence on the ice condition time series () at Bohai. (2)DNA optimization method is proposed for optimizing all parameters in DNAOTARPM model. The optimal parameters, that is, the threshold value, autoregressive coefficients, and the delay time, are obtained for predicting the ice condition time series at Bohai by using DNA optimization method. (3)The prediction errors are 0.5737, 0.6016, and 0.6380 with DNAOTARPM, IGATARPM, and SGATARPM at Bohai, respectively. DNAOTARPM can reduce the calculation errors. It provides a new way to forecast nonlinear ice condition time series. (4)The evaluation number of the objective function is 900, 2700, and 2700 with DNAOTARPM, IGATARPM, and SGATARPM at Bohai, respectively. Compared with IGATARPM and SGATARPM, DNAOTARPM model has a faster convergence speed. The new model (DNAOTARPM) can be used in predicting other nonlinear systems in the future and its theory will be further studied.

Acknowledgments

The present work is supported by the Program for the National Basic Research Program of China (no. 2010CB951104), the Project of National Natural Science Foundation of China (nos. 50939001 and 51079004), the Specialized Research Fund for the Doctoral Tutor Program of Higher Education (no. 20100003110024), and the Program for Changjiang Scholars and Innovative Research Team in University (no. IRT0809).