Next Article in Journal
An Entropy-Based Damage Characterization
Next Article in Special Issue
A Memristive Diode Bridge-Based Canonical Chua’s Circuit
Previous Article in Journal
Determining Common Weights in Data Envelopment Analysis with Shannon’s Entropy
Previous Article in Special Issue
Adaptive Synchronization of Fractional Neural Networks with Unknown Parameters and Time Delays
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Detecting Chaos from Agricultural Product Price Time Series

1
Shandong University of Finance and Economics, Jinan 250014, China
2
Dongfang College, Shandong University of Finance and Economics, Tai'an 271000, China
3
Management School of Tianjin University, Tianjin 300072, China
*
Author to whom correspondence should be addressed.
Entropy 2014, 16(12), 6415-6433; https://doi.org/10.3390/e16126415
Submission received: 13 July 2014 / Revised: 28 September 2014 / Accepted: 20 November 2014 / Published: 5 December 2014
(This article belongs to the Special Issue Complex Systems and Nonlinear Dynamics)

Abstract

:
Analysis of the characteristics of agricultural product price volatility and trend forecasting are necessary to formulate and implement agricultural price control policies. Taking wholesale cabbage prices as an example, a multiple test methodology has been adopted to identify the nonlinearity, fractality, and chaos of the data. The approaches used include the R/S analysis, the BDS test, the power spectra, the recurrence plot, the largest Lyapunov exponent, the Kolmogorov entropy, and the correlation dimension. The results show that there is chaos in agricultural wholesale price data, which provides a good theoretical basis for selecting reasonable forecasting models as prediction techniques based on chaos theory can be applied to forecasting agricultural prices.

1. Introduction

Recently, the prices of China’s agricultural products have been growing rapidly with frequent fluctuations. Although cyclical fluctuations in the prices of agricultural products are an inevitable phenomenon, violent price fluctuations will have a bad effect on farmers’ production decision-making and people’s consumption, and may even cause uneven development of the national economy. To explain the causes of agricultural price volatility, some researchers have discussed the impact of the development of bio-energy by using of the co-integration and error correction model (ECM). Raneses etc. [1] analyzed some possible impacts of the potential bio-energy market and its economic effects. Tokgoz [2] showed by running different scenarios that with the increase of the EU crude oil price, the impact of energy prices on the EU agricultural sector was increasing with the emergence of the bio-fuels sector. Benavides [3], using time series models, showed that exchange rates and inventories had a great impact on the fluctuations of corn and wheat prices. Mitra and Boussard [4], applying the nonlinear Cobweb models, thought that inventories deeply affected the food price volatility. Will agricultural prices lead to inflation? This problem has long been a controversial topic in academic circles. Garner [5] thought that commodity prices are a leading indicator of inflation, while Pindyck and Rotemberg [6] thought that macroeconomic or monetary factors will lead to changes in commodity prices. Cheng etc. [7] used an econometrics model to perform an analysis and showed that the rise in pork prices obviously spurred a rise in the CPI. The fluctuation of prices of different kinds of agricultural products has the characteristics of conductivity and synchronization. In [8], the author divided the fluctuations of China’s agricultural products prices from 1978 to 2006 into five cycles using the HP Filter method and the ECM. He proposed that increasing agricultural product prices would not cause inflation; however, the inflation contributed to the rising of agricultural products prices.
In brief, according to the existing literature, research on price fluctuations of agricultural products broadly includes two aspects. One is the causes of the agricultural product price fluctuation, the other is the effects. Essentially, the research belongs to the analysis of the phenomenon. Namely, causes and effects are analyzed and related suggestions are provided. In this paper, we try to provide effective tools to explain and predict the price fluctuations, through a deep econometric analysis of the characteristics of price time series.
Research on agricultural price data and prediction has a long history. However, some typical analytical methods, such as the linear analysis methods, have encountered challenges when used to predict agricultural prices, so researchers have developed various methods to predict agricultural prices besides the traditional regression analysis method. Recently, with the rapid development of intelligent analysis and information technology, some new technologies including neural networks, genetic algorithms, artificial intelligence and expert systems, and other new intelligent prediction methods have been gradually introduced to forecast prices. Therefore, the selection of an optimal analysis or prediction model according to the different data characteristics is a very important and practical problem. However, there is little literature on the analysis of the dynamics of agricultural market price time series. If the price system is chaotic, then not only the chaos and nonlinear prediction methods should be used as the main prediction approach (for example, see [911]), but the price fluctuation can also be understood and interpreted by using chaos theory. Different from [1214], where the authors used chaotic cobweb models to discuss price fluctuations, in this paper, we aim to find evidence whether chaos exists in price data, give the chaos criterion, and if so, prove that agricultural product prices can be predicted by chaotic methods.
Mandelbert [15] first described the “high peak and fat tails” in cotton prices. For the nonlinear, fractal, and chaotic features in agricultural markets, we refer to the articles [1622]. Corazza et al. [16] discussed the fractal structure in agricultural futures markets. Barkoulas et al. [17] researched the long memory effect in futures prices. Wei and Raymond [18] applied R/S analysis, modified R/S analysis, and the AFIMA model to discuss the long memory in six agricultural futures markets. Yang and Brorsen [19,20] researched the nonlinearity of futures markets. Jacobs and Onochie [21] discussed the relationship between return variability and trading volume in international futures markets. Bhar [22] used an EGARCH model to research return and volatility dynamics in the spot and futures markets in Australia. Although they researched agricultural markets, most of them used futures prices. Few articles discuss the nonlinear, fractal, and chaotic features in agricultural product wholesale markets prices. Factually, besides the futures prices, many factors (mentioned in the Introduction) can affect the wholesale market prices. Furthermore, not all agricultural products can be used as agricultural futures varieties, for example, fresh vegetables. Sometimes, the wholesale markets prices seem to be more indeterminate, and sometimes, the wholesale prices seem to be more stable. In any case, the wholesale prices are different from the futures prices. Since the wholesale market prices can affect the daily lives of consumers, we are interested in the wholesale market prices, but we must point out that generally, the sample capacity of the wholesale prices is small. If we can collect daily data for ten years, the total number of data points is only 365 × 10 = 3650, making detecting chaos in the wholesale prices is a challenge. However, chaos detection is very necessary for chaos prediction. If the time series is chaotic, then the chaotic prediction methods can be applied to forecast the future prices, so we can use chaotic detection methods to choose the appropriate forecasting method.
It is very difficult to detect chaos from an agricultural market price time series. On one hand, the main obstacle in empirical analysis arises from the limited data sources. On the other hand, since there are many artificial factors that emerge frequently during the data acquisition process, the level of noise in agricultural market prices data is high, so we must select the appropriate method very cautiously. Most of the techniques used in nonlinear dynamics come from disciplines like mathematics, physics, and engineering, so data quantity and quality are crucial when applying these methods, and not all the techniques are directly applicable to economic time series.
Since a single and reliable test for chaos is not available at present, in this study a multiple test methodology (see [23]) has been adopted to safeguard the reliability of our empirical findings. We start our analysis with the nonlinear and fractal judgment, and then we detect chaos in the time series by employing a variety of different available approaches in order to avoid misleading results. Then, we apply the above ideas to analyze a cabbage price time series, which is derived from the China Price Information Network using the weekly data of Shandong Province from January 2003 to December 2012 (number of observations = 525) as an example.
In this paper, chaos detection is used to analyze agricultural market prices. We select a series of applicable methods to identify chaos in agricultural price time series. Moreover, the normalization method is used to detrend the original data. In our empirical analysis, the log linear detrending approach is compared with the normalization approach. The results show that the latter is more appropriate for detecting chaos in agricultural prices. In addition, we improve the algorithm for determining the optimal linear scaling region due to the use of a small data set. The weighted averages algorithm is adopted to obtain the mean period.
The paper is organized as follows: in Section 2, we introduce the normalization method to pretreat the original data. In Section 3, we present the methods of testing nonlinearity and fractality, including the BDS method and the R/S analysis. In Section 4, we introduce a series of tests to examine the chaos in agricultural price time series, including the power spectra, the recurrence plot, the largest Lyapunov exponent, the Kolmogorov entropy, and the correlation dimension. Moreover, we improve some algorithms. Applying the above methods, in Section 5, we analyze the cabbage price time series. The results show there is chaos in the series. In Section 6, we present a discussion of the results and some concluding remarks.

2. Data Preprocessing

The data preprocessing in this paper aims at eliminating the tendency of the original data. In chaos and fractal analysis of economic time series, the log linear detrending approach (see [24]) is reasonable and common. In this paper, we present a normalization approach which has not been widely used. There are many different ways to normalize a time series. We adopt the following one:
Assume:
X = { X t , t = 1 , 2 , , N }
is an original time series, then the transformation P t = X t min X max X min X , t = 1 , 2 , , N changes X to the new time series {Pt, t = 1, 2, …, N} in the interval [0, 1]. In addition, we suppose that {Qt, t = 1, 2, …, N} is the resulting log linear detrended time series, where Qt = lnXt − (a + bt); a and b are the intersection and the constant growth rate, respectively.

3. Tests for Nonlinearity and Fractality

3.1. The BDS Test

The BDS test is a powerful test for independence and randomness and is based on the correlation integral concept (see [25]). Given a time series (1), we can form m-dimensional vectors:
X t m = { X t , X t + τ , , X t + ( m 1 ) τ } , t = 1 , 2 , , T
where m is the embedding dimension and τ is the delay time, and calculate the correlation integral defined as:
C ( m , N , r , τ ) = 2 T ( T 1 ) t < s H ( r X t m X s m ) ,
H = { 0 , z 0 1 , z > 0 ,
where T=N − (m1)τ, ║·║ is the ∞-norm, and r > 0 is the tolerance distance. The ∞-norm means that X = max 1 i T | X i | for any X = {X1, X2, …, XT}. If X is a random series of independence and identically distributed (i. i. d.) observations, then as m ≥ 2 and N→∞, the BDS statistic converges to the standard normal distribution.

3.2. The R/S Analysis

The R/S test or Rescale Range analysis was established by Hurst and improved later (see [25]). According to the R/S test, long-term dependence for a time series (1) is detected through the Hurst exponent which can be estimated from the relationship:
( R / S ) n = cn H ,
where c is a constant, n is the time index for periods of different length, H is the Hurst exponent, and (R/S)n is the rescaled range statistic. The relation between the Hurst exponent and the fractal dimension is simply D = 2 − H. The autocorrelation function is C = 22H−1 − 1. Values of H = 0.5, D = 1.5 and C = 0 indicate a true random walk (a Brownian time series). If 0 ≤ H < 0.5, D > 1.5, and −0.5 ≤ C < 0, the values correspond to a profile like curve showing persistent behavior, while for 0.5 < H < 1, D < 1.5, 0 ≤ C < 1 we have an antipersistent behavior. In addition, we can test the significance on the index t = H E ( H ) 1 / N.

4. Detecting Chaos

4.1. Power Spectrum

Chaotic signals are wideband signals, so they can be easily distinguished from periodic signals by looking at their frequency spectra. If the behavior is chaotic, then the power spectrum of the system is expressed in terms of oscillations with a wide continuum of frequencies.

4.2. The Phase Space Reconstruction

It is well known that an attractor, which is topologically equivalent to a scalar time series, can be reconstructed from a dynamic system of m variables by using the time delay coordinates. It is crucial and difficult to select an appropriate time delay and an embedding dimension for reconstruction. There are many methods to determine the reconstructed parameters. For the determination of optimal time delay of nonlinear systems, the average mutual information [26] is better than the autocorrelation function, as the former contains the nonlinear characteristic in a time series. Cao’s method [27] improved the false nearest neighbors’ method for estimating the embedding dimension. In this paper, we use Cao’s method to estimate the embedding dimension and the mutual information method to determine optimal time delay.

4.2.1. The Mutual Information Method

Assume s1, s2, …,sn and q1, q2, …, qm are two nonlinear time series. The entropy of S = {s1, s2, …,sn} and Q = { q1, q2, …, qm} are as follows:
H ( S ) = i = 1 n P s ( s i ) log 2 ( P s ( s i ) ) , H ( Q ) = i = 1 m P q ( q i ) log 2 ( P q ( q i ) ) ,
where Ps(si) and Pq(qi) are the probability distributions of si and qi respectively. For given S, the mutual entropy between S and Q is:
I ( Q , S ) = H ( Q ) H ( Q | S ) = i j P s , q ( s i , q j ) log 2 [ P s , q ( s i , q j ) P s ( s i ) P q ( q j ) ] ,
where Ps,q(si, qj) is the joint probability distribution of si and qi. For the time series (1), we suppose that S = {Xt} and Q = {Xt}, then the mutual entropy between S and Q is:
I ( τ ) = X t , X t + τ P ( X t , X t + τ ) log 2 [ P ( X t , X t + τ ) P ( X t ) P ( X t + τ ) ] .
The first local minimum of I(τ) can be selected as the optimal time delay.

4.2.2. Cao’s Method

Assume vectors of the reconstructed phase space are Equation (2). The value a ( i , m ) = X j m X i m m + 1 X j m X i m m can be calculated, where i = 1,2,⋯,N, ║·║ is the ∞-norm, j is a positive integer on [ 1 , N m τ ] ; X j m is the nearest neighbor of Xmi in the m-dimensional space. The minimum embedding dimension can be found by the plots of E1(m) and E2(m), where E 1 ( m ) = E ( m + 1 ) E ( m ), E 2 ( m ) = E ( m + 1 ) E ( m ), E ( m ) = 1 N m τ i = 1 N m τ a ( i , m ) and E * ( m ) = 1 N m τ i = 1 N m τ | X i + m τ X j + m τ |.

4.3. Recurrence Plot and Recurrence Quantification Analysis

We detect the determinism by Recurrence Plot and Recurrence quantification analysis. Recurrence Plot (RP) is a graphical tool that evaluates the temporal and phase space distance [28]. It is a method designed to locate hidden recurring patterns, non-stationarity and structural changes. RPs make it instantly apparent whether a system is periodic or chaotic and are particularly suitable to investigate the economic time series that are characterized by noise and short data sets. Assume Equation (1) is the original time series and is reconstructed in an m-dimensional phase space with vectors Equation (2). A recurrence plot is represented by the binary function R i , j = H ( r 0 X i m X j m ), where r0 is the threshold radius and H is defined as Equation (4). When Ri,j = 1 a black dot is plotted on an otherwise white graph. A plot of random time series shows recurrent points distributed in homogenous random patterns. If the analyzed time series is deterministic, then the recurrence plot shows short line segments parallel to the main diagonal; on the other hand, if the series is white noise, then the recurrence plot does not show any structure. Chaotic behavior causes very short diagonals, whereas periodic behavior causes longer diagonals.
However, researchers can only obtain some rough information from the RPs. The recurrence quantification analysis (RQA), proposed by Webber and Zbilut (for example, see [29,30]), can measure the complexity quantitatively. To measure determinism, we introduced the measure variable: determinism (%DET). The ratio of recurrence points on the diagonal structures to all recurrence points is called %DET, defined as % D E T = l = l min T l P ( l ) i , j T R i , j, where T is the number of the vectors; P(l) is the frequency distribution of the lengths of the diagonal structures in the RP; lmin is the threshold, which excludes the diagonal lines formed by the tangential motion of a phase space trajectory. In this paper we fix lmin = 2. %DET is a determinism (or predictability) measure of a system.

4.4. The Correlation Dimension and Kolmogorov Entropy

Correlation dimension is a spatial correlation measure of the points on an attractor and can be interpreted as a lower bound to the degrees of freedom of a dynamical system. The Kolmogorov entropy is an important characteristic to distinguish a chaos system and measure the chaotic degree of a chaotic system. The Kolmogorov entropy is defined as the sum of all the positive Lyapunov exponents. If a system is chaotic, its correlation is not an integer and its K-entropy is positive and finite.
The G-P algorithm [31] is often used to estimate the correlation dimension and the K-entropy from a time signal. The outline of calculating the correlation dimension is as follows. First, one should reconstruct the phase space with vectors (Equation (2)). Second, correlation integrals (Equation (3)) are calculated for different r. Finally, the correlation dimension is defined as:
D 2 ( m ) = lim r 0 ln C ( m , N , r , τ ) ln r
which can be estimated through lnr~lnC(m, N, r, τ) curve fitting by the least square method. When the embedding dimension m is large enough, D2(m) tends to a non-integer positive number for a chaotic series, while D2(m) tends to infinity for a stochastic system. The estimation of the Kolmogorov entropy [32] is the Renyi’s quadratic entropy defined as:
K 2 = lim r 0 lim m 1 τ ( ln C ( m , N , r , τ ) C ( m + 1 , N , r , τ ) ) .
However, since the G-P algorithm was too subjective, many researchers improved it. In [33], the authors proposed an optimal algorithm for computing simultaneously the correlation dimension and the K2 entropy from time series. Provided enough data, this algorithm is concise, reliable, and has been widely used. But for small data sets, the results will change a lot when different r are given. Thus, an algorithm, in [25], was proposed to determine the r value by observing the image of the derivative (D2(m)), where:
d ( D 2 ( m ) ) = lim r 0 D 2 ( m ) ln r .
However, when data sets are small, it is difficult to determine r since the computing results of derivatives are very rough. Therefore, based on the above methods, a new algorithm is proposed in this paper for computing simultaneously the correlation dimension and the K2-entropy from time series with small samples and high noise levels. Our algorithm includes the following steps:
Step 1. Calculate the correlation dimension.
After reconstructing the phase space with vectors (2), one should divide the interval [lnrmin, lnrmax] into K equal subinterval assuming r ∈ [rmin, rmax], where K is selected according to actual situation. Then the sequence {lnr0, lnr1, …, lnrK} is obtained, where lnri = lnrmin + iΔlnr, i = 0, 1, …, K. Suppose r corresponding to lnrmin + iΔlnr, i = 0, 1, …, K is rj for i = 0, 1, …, K. For a fixed m and different rj, the corresponding correlation integrals lnC(m, N, rj, τ) defined as Equation (3) can be calculated. Then, one can draw the curve of lnr~lnC(m, N, r, τ). One also can get a series of curves corresponding to different embedding dimensions. Keep increasing the value of m until the slope in the plot of lnr~lnC(m, N, r, τ) reaches a plateau. Here, we omit m, N, and τ of C(m, N, r, τ) for convenience.
Step 2. Determine the linear scaling region (or the non-scale range).
Assume the derivative of a lnr~lnC(r) curve is:
ln C ( r j ) = d [ ln C ( r j ) ] d [ ln r j ] = ln C ( r j + 1 ) ln C ( r j ) ln r j + 1 ln r j , j = 0 , 1 , , K 1 ,
and the second-order derivative is:
ln C ( r j ) = d [ ln C ( r j ) ] d [ ln r j ] = ln C ( r j + 1 ) ln C ( r j ) ln r j + 1 ln r j
= ln C ( r j + 2 ) ln C ( r j + 1 ) ln r j + 2 ln r j + 1 ln C ( r j + 1 ) ln C ( r j ) ln r j + 1 ln r j ln r j + 1 ln r j , j = 0 , 1 , , K 2.
Since lnr are chosen equidistantly, lnrj+2 − lnrj+1= lnrj+1 − lnrj = Δlnr, we have:
ln C ( r j ) = ln C ( r j + 2 ) + ln C ( r j + 1 ) 2 ln C ( r j ) ( Δ r ) 2
Draw the plots of lnr~lnC(r), lnr~lnC′(r) and lnr~lnC″(r). The optimal scaling region can be selected in the region where the plot of lnr~lnC(r) appears oblique line, the plot of lnr~lnC'(r) appears horizontal line, and simultaneously the values of lnC″(r) are zero.
Step 3. Compute the correlation dimension and the K2-entropy.
In the linear scaling region determined according to Step 2, assume the embedding dimension is m, and assume xmj and ymj are the abscissas and ordinates of the points on the lnr~lnC(r) curves, respectively. Then, the correlation dimension D2 and the K2-entropy K2 are D 2 = m j ( x m j x m ¯ ) ( y m j y m ¯ ) m j ( x m j x m ¯ ) 2 and K 2 ( m ) = y m ¯ D 2 x m ¯ , respectively, where x m ¯ and y m ¯ is the mean of all the xmj and ymj for fixed m. Draw the plot of m~K2(m). When K2(m) tends to a stable value, this value can be taken as the estimate of K2.

4.5. The Largest Lyapunov Exponent

Lyapunov exponents determine the rate of divergence or convergence of initially nearby trajectories in phase space. In general, an m-dimensional system has m different Lyapunov exponents. For a chaotic system, at least one Lyapunov exponent is positive. Thus, for our purposes it suffices to constrain the analysis solely to the largest Lyapunov exponent. Many algorithms were developed to calculate the largest Lyapunov exponent. In this paper, we select the algorithm of Rosenstein [34], which is fast, easy to implement, and robust to changes in the following quantities: embedding dimension, size of data set, reconstruction delay, and noise level.

4.5.1. Determine the Mean Period

When we apply the algorithm of Rosenstein, the mean period is an important parameter, but determination of the mean period has been controversial. In this paper, the weighted averages algorithm [35] is adopted to obtain the mean period, which is more reliable. The first step of this algorithm consists of changing the time series by using of the fast Fourier transform (FFT). Next, we assume the amplitudes are A1, A2, …, An corresponding to the frequencies f1, f2, …, fn, respectively. Then, the mean period is:
p = i = 1 n A i i = 1 n f i A i

4.5.2. Calculate the Largest Lyapunov Exponent

First, we reconstruct the phase space with vectors Equation (2). Next, the algorithm of Rosenstein locates the nearest neighbor X j ^ m of each point X j ^ m on the trajectory. We denote their distance by d j ( 0 ) = min X j m X j ^ m 2, | j ^ - j |> p where ║·║2 is the Euclidean norm or 2-norm and p is the mean period of the time series. The Euclidean norm means that X 2 = i = 1 T | X i | 2 for any vector X = {X1, X2, …, XT}. After i time intervals, the two points separate exponentially. Their distant is changed to d j ( i ) = min X j + i m X j ^ + i m 2. Then, for each i we calculate the average value S(i) of all lndj(i), where S ( i ) = 1 q Δ t j = 1 q ln d j ( i ), q is the number of all non-zero dj(i), and Δt is the time interval. The final step is to perform i~S(i) curve fitting with the least square method. The estimate of the largest Lyapunov exponent is:
λ = ( n + 1 ) i = 0 n S ( i ) i i = 0 n S ( i ) i = 0 n i ( n + 1 ) i = 0 n i 2 ( i = 0 n i ) 2 ,
where n is the number of i.

5. Empirical Analyses

In the China Price Information Network, we obtained the time series of the arithmetic average wholesale cabbage prices of Shandong Province, which yielded 525 weekly data points from January 2003 to December 2014.

5.1. Statistical Description and Stationary Tests

We use X, XNl and XLLD to represent the original price sequence, the normalized series, and the resulting log linear detrended series, respectively. The basic statistical properties and the results for the ADF and PP tests of XNl and XLLD are listed in Table 1. We can find out that both of the results for the J-B tests reject the null hypothesis of normal distribution at a 0.001 level of significance; the distribution of XNl has a high peak and a fat tail, but the one of XLLD has not.

5.2. Tests for Nonlinearity

5.2.1. The BDS Test

Our data were filtered first, by best-fit time series linear models in order to remove any linear dependence. For XNl, the AIC and SC indicates AR(3) specification as the most suitable. For XLLD, AR(4) is the most suitable model. Then we get the AR(3) residuals and the AR(4) residuals denoting by XNl-resid and XLLD-resid, respectively. Tables 2 and 3 show the BDS test statistics and the probabilities for the AR(3) and AR(4) residuals.
At the 0.05 level of significance, the results of BDS tests reject the null hypothesis of i.i.d. It is well known that the BDS test has good power to detect four types of non- i.i.d. behavior: linear dependence, non-stationarity, chaos and nonlinear stochastic processes. Therefore, combining the stationary test results we have that the time series XNl and XLLD are nonlinear, but we are not sure that they are chaotic sequences.

5.2.2. The R/S Analysis

Table 4 contains the Hurst exponents H, the fractal dimensions D, the autocorrelation function values C, and the t values of XNl and XLLD. We can see that the two time series are persistent and fractal with long-term memories. Figure 1 gives the logn~log(R/S)n curves of XNl and XLLD, respectively.
It is worth pointing out that we detrended the original time series by the approach of log first differentiating and the approach of first differentiating. Then we calculated the Hurst exponents of the two resulting detrended series. The two exponents are 0.3242 and 0.3212, which indicate an anti-persistent time series. The reason is that first differentiating detrending is a high-pass filter or noise-amplifier (see [10]). Therefore, we believe that different detrending approaches can affect the results of Hurst exponents. For the agricultural products price time series, the approach of log linear detrending and the normalization approach are more reliable, and the latter is better.

5.3. Detecting Chaos

  • We plot the power spectrum of XNl and XLLD (see Figure 2), which are decaying, continuous, and not flat.
  • The phase space is reconstructed using delays and dimensions as selected respectively (see Table 5) from mutual information function and false nearest neighbors. From Figures 3 and 4, it can be seen that E2 increase with m increasing and tend to 1 eventually. Both of the time series exhibit the chaotic behavior instead of the stochastic one.
  • The RPs are shown in Figures 5 and 6 after selecting the standard deviations as the threshold radius. Very short diagonals can be seen in these figures, which indicate chaotic behavior.
    We draw the %DET plots of the two time series which show the %DET changes with increasing time (see Figure 7, the red curve is for XNl and the blue one is for XLLD). We can see that the %DET tend to stable values. The %DET of XNl and XLLD are 0.7842 and 0.7479, respectively. We also calculate the %DET values of a random series, a sine series and a logistic series (μ = 4) with the same sample capacity 525. The results are 0.4229, 0.9969, 0.7627, respectively. Hence, the determinism of our time series are stronger than that of random series, are weaker than that of sine series and are similar to that of logistic series. Since the logistic series is chaotic when (μ = 4), it is possible that our series are chaotic, too. The series XNl shows stronger determinism than XLLD.
  • We compute D2, K2, and the largest Lyapunov exponents λ of the two time series. All the results are listed in Figure 5. When we observe the plot of lnr~lnC(m, N, r, τ), we can get many linear scaling regions (for example, see Figure 8, the plot of XNllnr~lnC(m, N, r, τ)). Therefore, in order to determine the optimal linear scaling region, we compute the derivatives and the second-order derivatives of lnr~lnC(r) curves and draw the plots of lnr~lnC′(r) and lnr~lnC″(r) (for example, see Figure 9, the XNl plots of lnr~lnC'(r) and lnr~lnC″(r)) according to the new algorithm in this paper. Then we can find out the optimal linear scaling region (for example, see Figure 9, the interval [−0.8,−0.6] is optimal). The values of D2, K2 can be obtained in the scaling regions. Following the algorithms of weighted averages and Rosenstein, we can estimate the mean period p and the largest Lyapunov exponent λ (see Figure 5).
From Table 5, the two series have the positive Kolmogorov entropy, the positive largest Lyapunov exponents, and non-integer correlation dimensions, which indicate a possible existence of chaos. Since the values of the largest Lyapunov exponents and Kolmogorov entropy are small, the price system exhibits behaviors of weak chaos. Another evidence of weak chaos is the correlation dimension 1.2625 of XNl. As the reciprocal of the Kolmogorov entropy describes a possible temporal forecasting scale, it is reasonable that the price can be forecasted from 1 to 4 years but cannot be forecasted for a long term.
In addition, the correlation dimension result of XLLD 4.7185 is not reliable. In fact, the minimum data points with a D-dimensional attractor can be estimated (see [24]). Empirically, 500 points are needed for D = 2 and more than 10,000 points for D = 3. So, with only 525 weekly data points, the discovery of economic strange attractors whose dimensionality is higher than 4 is unlikely. This also shows that the normalization method is more suitable for detecting chaos in agricultural price data.

6. Conclusions

In this paper, we consider a time series of cabbage prices, detrend this series by the approaches of LLD detrending and normalization, and analyze the two resulting detrended series. We can make the following conclusions: (1) the results of the BDS test and the stationary tests indicate that our series are nonlinear; (2) both of the two time series have Hurst exponents larger than 0.5, which means they are persistent and fractal with long-term memories; (3) the power spectra of the two data display wide continuum; (4) the two RPs show short line segments parallel to their main diagonals; the %DET of the two series are bigger than that of a random series, are smaller than that of a sine data and are similar to that of a chaotic logistic series, which imply determinism behavior; (5) we show that the largest Lyapunov exponents are positive, the estimates of the Kolmogorov entropy is positive, and the correlation dimensions are non-integer numbers, which are strong indicators for the chaotic behavior of the system; (6) the price can be forecasted for a short term, but cannot be forecasted for a long term; (7) based on the above evidence, we think that there is low-dimension and weak chaos in the price system; (8) the chaotic prediction methods can be used to forecast the agricultural products prices; (9) the multi- test can detect chaos even if the sample capacity is small and the level of noise is big; (10) for a chaotic time series, the chaotic prediction method is evidently more available, hence, when we find out chaos in a price data by using of the multi test, a chaotic or nonlinear prediction method is appropriate, conversely, when we cannot find chaos in a price data, we should use a non-chaotic prediction method.
Empirical analysis also show that: (1) different detrending approaches can affect the detection of chaos, since the first differencing or log first differencing detrending is noise-amplifier and the correlation dimension result of the LLD detrended series is not reliable; (2) the optimal linear scaling region can be quickly obtained by using our new algorithm, and then the correlation dimension and the K2-entropy can be calculated simultaneously; (3) prediction techniques based on the chaos theory can be applied to forecast agricultural prices.
The results in this paper indicate that there are nonlinear, fractal, and chaotic characteristics in the agricultural price system. Therefore, nonlinear and chaotic models, as well as the prediction techniques based on the chaos theory, can be applied to forecast the agricultural products prices.
It is very important to know whether the agricultural prices are reasonable and stable. This not only affects agricultural development, the circulation and consumption of agricultural products, and the income level of farmers, but also affects the industrial costs and prices and affects the material benefit relationship between the country and the farmers, between the urban and the rural people, and among the farmers. Furthermore, it would have a profound impact on social stability. Nowadays, in China, a new bout of rising agricultural products prices has started: from 2006 to the end of 2010, the wheat, rice, corn and soybean prices rose 47%, 50%, 67% and 68%, respectively; in 2011, Chinese food prices year-on-year rose nearly 15%, where meat and poultry prices rose the most, the growth of pork prices reached 48.7%, mutton prices rose 25.3%, the growth of chicken and beef prices also reached 17.5% and 16.1%, respectively. Therefore, the government not only should follow the rules of the agricultural market, but also should strengthen the macro-control. It is very urgent for the government to develop and implement policies for stabilizing agricultural prices. However, an important prerequisite is to accurately grasp the characteristics of agricultural products prices and trends. Our paper represents exploratory research with this aim.
With the development of Chinese informatization, a lot of provinces, cities, areas and agricultural products wholesale markets regularly publish information about agricultural product prices, including the annual, monthly and daily data, thus how to make full use of these data to predict agricultural products prices is very important that.
In fact, presently, there are a lot of methods used to forecast the agricultural products prices including linear and nonlinear methods, econometrics models, time series models, neural networks, gray prediction methods, etc. However, on the one hand, agricultural products have huge number of varieties. The data of every different variety has different characteristics. It is not practical to try all the methods and find the best one. On the other hand, there are many causes which can lead to volatility in agricultural product prices, such as climate, supply and demand, prices of capital goods, energy prices, exchange rates, stocks, import and export trades, emergencies, natural disasters, etc. Moreover, the price evolution has greatly uncertainty. Any small changes would be likely to result in unpredictable results. It is usually ineffective to predict the agricultural product prices by establishing models including all the factors that cause the volatility, but if we can determine whether the data is chaotic, then for the chaotic data, we can use the chaotic prediction methods, and for non-chaotic data, we can use the non-chaotic prediction methods. The prediction efficiency will be improved a lot. Furthermore, the prediction methods according to the chaotic characteristics of the data can bypass the dilemma of looking for the volatility causes. Therefore, our method of detecting chaos can be considered as a data classification method for agricultural product prices and provides an effective way to choose the optimal prediction method. In addition, our methodology can also be used in other economic and financial data.
By comparing the present methods of predicting agricultural products prices, we can see that nonlinear methods, especially the neural network methods, have more advantages. However, the neural network method is only one of the chaotic prediction methods. Other chaotic predictions such as the chaotic local adding-weight forecasting algorithm and the Lyapunov exponent forecasting algorithm are rarely used to forecast agricultural product prices. What’s more, most of the literature that used the neural network method did not dig into the essential reasons for using this method. We think that the reason why the nonlinear methods, using the neural network method as a representative, have higher prediction accuracy is that data have nonlinear or chaotic characteristics. Furthermore, we also think the chaotic prediction methods should be widely used as the main method to forecast agricultural product prices.
For the chaotic agricultural product prices, any macro-control policy can have unpredictably serious impacts. Hence, the government should put forward any policy cautiously. Comparing with the research on looking for the volatility reasons of prices, we think that establishing the chaotic prediction models, studying the influence degree of different macro-control policies on chaos through simulations or artificial intelligence methods, and dealing with abnormal fluctuations by using of chaotic control or reverse control are more important and effective. Macroeconomic policies for adjusting agricultural prices should be quantified in order to realize the precise control. In addition, we expect that this study can provide a valuable reference for China and other developing countries for establishing price policies, regulating markets, and inspecting implementation effects in their agricultural product markets.

Acknowledgments

This work is partially supported by the National Natural Science Foundation of China (No. 61340043); this work is also partially supported by Program for Soft Science Research Project of Shandong Province (No. 2013RKB01253). The authors would like to acknowledge the referees for their valuable comments and suggestions which helped to improve the presentation of this paper.

Author Contributions

Xin Su, Yi Wang, Shengsen Duan and Junhai Ma all contributed to this study. Xin Su generated the idea and collected the data. Yi Wang chose the method, analyzed the data and programmed. Xin Su and Yi Wang reviewed the literature and provided research funding for the study. Yi Wang and Xin Su drafted the article. Yi Wang, Xin Su, Shengsen Duan and Junhai Ma reviewed and edited the manuscript. All authors have read and approved the final manuscript.
PACS Codes: 05.45. Tp time series analysis; 05.45. Gg control of chaos, applications of chaos; 05.45. Pq numerical simulations of chaotic systems

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Raneses, A.R.; Glaser, L.K.; Price, J.M.; Duffield, J.A. Potential biodiesel markets and their economic effects on the agricultural sector of the United States. Ind. Crops Prod 1999, 9, 151–162. [Google Scholar]
  2. Tokgoz, S. The Impact of Energy Markets on the Eu Agricultural Sector; Working Paper 09-WP485; Center for Agricultural and Rural Development, Iowa State University: Ames, IA, USA, 2009. [Google Scholar]
  3. Benavides, G. Price Volatility Forecasts for Agricultural Commodities: An Application of Historical Volatility Models, Option Implied and Composite Approaches for Futures Prices of Corn and Wheat; Central Bank of Mexico: Mexico City, Mexico, 2004. [Google Scholar]
  4. Mitra, S.; Boussard, J. A simple model of endogenous agricultural commodity price fluctuations with storage. Agric. Econ 2012, 43, 1–15. [Google Scholar]
  5. Garner, C.A. Commodity prices: Policy target or information variable note. J. Money Credit Bank 1989, 21, 508–514. [Google Scholar]
  6. Pindyck, R.S.; Rotemberg, J.J. The excess co-movement of commodity price. Econ. J 1990, 100, 1173–1189. [Google Scholar]
  7. Cheng, G.; Hu, B.; Xu, X. An analysis of the impact of the new round of rise in the prices of agricultural produce. Manag. World 2008, 1, 57–62. [Google Scholar]
  8. Xu, X. The New-round fluctuation cycle of agricultural products prices: Characteristics, mechanism and effects. J. Financ. Econ 2008, 34, 110–119. [Google Scholar]
  9. Ma, J.; Liu, L. Multivariate Nonlinear Analysis and Prediction of Shanghai Stock Market. Discret. Dyn. Nat. Soc 2008, 2008, 526734. [Google Scholar]
  10. Ma, J.; Cui, Y.; Liu, L. Hopf bifurcation and chaos of financial system on condition of specific combination of parameters. J. Syst. Sci. Complex 2008, 21, 250–259. [Google Scholar]
  11. Ma, J.; Wang, Z.; Chen, Y. Prediction techniques of chaotic time series and its applications at low noise level. Appl. Math Mech 2006, 1, 7–14. [Google Scholar]
  12. Hommes, C.H. Dynamics of the cobweb model with expectations and nonlinear supply and adaptive demand. J. Econ. Behav. Organ 1994, 24, 315–335. [Google Scholar]
  13. Onozaki, T.; Sieg, G.; Yokoo, M. Complex dynamics in a cobweb model with adaptive production adjustment. J. Econ. Behav. Organ 2000, 41, 101–115. [Google Scholar]
  14. Commendatore, P.; Currie, M. The cobweb, borrowing and financial crises. J. Econ. Behav. Organ 2008, 66, 625–640. [Google Scholar]
  15. Mandelbert, B.B. New method in statistical economics. J. Polit. Econ 1963, 71, 421–440. [Google Scholar]
  16. Corazza, M.; Malhairs, A.; Nardelli, C. Searching for fractal structure in agricultural futures markets. J. Futures Mark 1997, 17, 433–473. [Google Scholar]
  17. Barkoulas, J.T.; Labys, W.C.; Onochie, J.I. Long memory in futures prices. Finical Rev 1999, 34, 91–95. [Google Scholar]
  18. Wei, A.; Leuthold, R.M. Agricultural Futures Prices and Long Memory Processes; Working Paper 00-04; Office for Futures and Options Research, University of Illinois at Urbana-Champaign: Champaign, IL, USA, 2000. [Google Scholar]
  19. Yang, S.R.; Brorsen, B.W. Nonlinear dynamics of daily cash prices. Am. J. Agric. Econ 1992, 74, 706–715. [Google Scholar]
  20. Yang, S.R.; Brorsen, B.W. Nonlinear dynamics of daily futures prices: Conditional heteroscedasticity or chaos? J. Futures Mark 1993, 13, 175–191. [Google Scholar]
  21. Michael, J., Jr.; Onochie, J. A bivariate generalized autoregressive conditional heteroscedasticity-in-mean study of the relationship between return variability and trading volume in international futures markets. J. Futures Mark 1998, 18, 379–397. [Google Scholar]
  22. Bhar, R. Return and Volatility Dynamics in the Spot and Futures Markets in Australia: An Intervention Analysis in a Bivariate EGARCH-X Framework. J. Futures Mark 2001, 21, 833–850. [Google Scholar]
  23. Papaioannou, G.; Karytinos, A. Nonlinear time series analysis of the stock exchange: The case of an emerging market. Int. J. Bifurc. Chaos 1995, 5, 1557–1584. [Google Scholar]
  24. Chen, P. A random-walk or color-chaos on the stock market?-time-frequency analysis of S&P indexes. Stud. Nonlinear Dyn. Econom 1996, 1, 87–103. [Google Scholar]
  25. Rolo-Naranjo, A.; Montesino-Otero, M. A method for the correlation dimension estimation for online condition monitoring of large rotating machinery. Mech. Syst. Signal Process 2005, 19, 939–954. [Google Scholar]
  26. Fraser, A.M.; Swinney, H.L. Independent coordinates for strange attractors from mutual information. Phys. Rev. A 1986, 33, 1134–1140. [Google Scholar]
  27. Cao, L.Y. Practical method for determining the minimum embedding dimension for a scalar time series. Physica D 1997, 110, 43–50. [Google Scholar]
  28. Faggini, M. Chaos detection in economics. In Metric versus Topological Tools; MPRA Paper 30928; Munich Personal RePEc Archive: Munich, Germany, 2011. [Google Scholar]
  29. Webber, C.L., Jr. Dynamical assessment of physiological systems and states using recurrence plot strategies. J. Appl. Physiol 1994, 76, 965–973. [Google Scholar]
  30. Zbilut, J.P.; Giuliani, A.; Webber, C.L., Jr. Recurrence quantification analysis as an empirical test to distinguish relatively short deterministic versus random number series. Phys. Lett. A 2000, 267, 174–178. [Google Scholar]
  31. Grassberger, P.; Rorcaccia, I. Measuring the strangeness of strange attractors. Physica D 1983, 9, 189–208. [Google Scholar]
  32. Grassberger, P.; Rorcaccia, I. Estimation of the Kolmogorov entropy from a chaotic signal. Phys. Rev. Lett 1983, 28, 2591–2593. [Google Scholar]
  33. Zhao, G.; Shi, Y.; Duan, W.; Yu, H. Computing fractal dimension and the Kolmogorov entropy from chaotic time series. Chin. J. Comput. Phys 1999, 16, 309–315. [Google Scholar]
  34. Rosenstein, M.T.; Collins, J.J.; de Luca, C.J. A practical method for calculating largest Lyapunov exponents from small data sets. Physica D 1993, 65, 117–134. [Google Scholar]
  35. Yang, Y.; Wu, M.; Gao, Z.; Wu, Y.; Ren, X. Parameters selection for calculating largest Lyapunov exponent for small data sets. J. Vib. Meas. Diagn 2012, 32, 371–374. [Google Scholar]
Figure 1. The logn~log(R/S)n curves of XNl and XLLD. The red curve is for XNl and the blue curve is for XLLD.
Figure 1. The logn~log(R/S)n curves of XNl and XLLD. The red curve is for XNl and the blue curve is for XLLD.
Entropy 16 06415f1
Figure 2. Power spectrum for XNl and XLLD. The red curve is for XNl. The blue curve is for XLLD. The x axis represents the values of frequency, and the y axis represents the values of spectrum.
Figure 2. Power spectrum for XNl and XLLD. The red curve is for XNl. The blue curve is for XLLD. The x axis represents the values of frequency, and the y axis represents the values of spectrum.
Entropy 16 06415f2
Figure 3. The m~E1 and E2 plot of XNl.
Figure 3. The m~E1 and E2 plot of XNl.
Entropy 16 06415f3
Figure 4. The m~E1 and E2 plot of XLLD.
Figure 4. The m~E1 and E2 plot of XLLD.
Entropy 16 06415f4
Figure 5. The RP plot of XNl.
Figure 5. The RP plot of XNl.
Entropy 16 06415f5
Figure 6. The RP plot of XLLD.
Figure 6. The RP plot of XLLD.
Entropy 16 06415f6
Figure 7. %DET curves of XNl and XLLD.
Figure 7. %DET curves of XNl and XLLD.
Entropy 16 06415f7
Figure 8. The XNl plot of lnr~lnC(m, N, r, τ).
Figure 8. The XNl plot of lnr~lnC(m, N, r, τ).
Entropy 16 06415f8
Figure 9. The XNl plots of lnr~lnC′(r) and lnr~lnC″(r)).
Figure 9. The XNl plots of lnr~lnC′(r) and lnr~lnC″(r)).
Entropy 16 06415f9
Table 1. Statistical description and stationary tests. The ADF and PP tests are in level;trends and Intercepts are not included in the test equations; the lag lengths are selected using the SIC; the results of ADP and PP tests indicate the stationary of the series at a 0.01 level of significance.
Table 1. Statistical description and stationary tests. The ADF and PP tests are in level;trends and Intercepts are not included in the test equations; the lag lengths are selected using the SIC; the results of ADP and PP tests indicate the stationary of the series at a 0.01 level of significance.
AverageStd. Dev.KurtosisSkewnessJarque-Bera/Prob.ADF/Prob.PP/Prob.
XNl0.27770.16245.27821.2559251.5453/0.0000−3.3862/0.0007−2.6754/0.0074
XLLD7.62 × 10−120.46142.9657−0.402314.18629/0.0008−5.7027/0.0000−7.452/0.0000
Table 2. XNl-resid BDS test statistics and probabilities. σ1 is the standard deviation of X-resid.
Table 2. XNl-resid BDS test statistics and probabilities. σ1 is the standard deviation of X-resid.
0.5σ11.0σ11.5σ12.0σ1
m = 27.8591/0.00005.4748/0.00004.1701/0.00005.968/0.0000
m = 37.6953/0.00002.8132/0.00494.9304/0.00007.1725/0.0000
m = 4−6.132/0.00002.25/0.004510.9701/0.000010.8574/0.0000
m = 5−3.762/0.0002−4.7486/0.000011.0967/0.000013.5797/0.0000
Table 3. XLLD-resid BDS test statistics and probabilities. σ2 is the standard deviation of XLLD-resid.
Table 3. XLLD-resid BDS test statistics and probabilities. σ2 is the standard deviation of XLLD-resid.
0.5σ21.0σ21.5σ22.0σ2
m = 24.7493/0.00003.3066/0.00093.0615/0.00003.4306/0.0006
m = 32.9711/0.0032.9031/0.00373.808/0.00003.2573/0.0011
m = 43.7979/0.00013.4747/0.00054.3133/0.00002.9763/0.0029
m = 518.3401/0.00003.4747/0.00056.1617/0.00002.7693/0.0056
Table 4. The R/S analysis. The level of significance is 0.01. The critical value of t is 2.58.
Table 4. The R/S analysis. The level of significance is 0.01. The critical value of t is 2.58.
HCDt
XNl0.83990.60191.16016.024
XLLD0.71990.35651.28013.275
Table 5. The results for τ, m, p, D2, K2 and λ.
Table 5. The results for τ, m, p, D2, K2 and λ.
τmpD2K2λ
XNl3102.29571.26250.00450.00064
XLLD382.00484.71850.01950.00025

Share and Cite

MDPI and ACS Style

Su, X.; Wang, Y.; Duan, S.; Ma, J. Detecting Chaos from Agricultural Product Price Time Series. Entropy 2014, 16, 6415-6433. https://doi.org/10.3390/e16126415

AMA Style

Su X, Wang Y, Duan S, Ma J. Detecting Chaos from Agricultural Product Price Time Series. Entropy. 2014; 16(12):6415-6433. https://doi.org/10.3390/e16126415

Chicago/Turabian Style

Su, Xin, Yi Wang, Shengsen Duan, and Junhai Ma. 2014. "Detecting Chaos from Agricultural Product Price Time Series" Entropy 16, no. 12: 6415-6433. https://doi.org/10.3390/e16126415

Article Metrics

Back to TopTop