Code covered by the BSD License  

Highlights from
0 - 1 test for chaos

Be the first to rate this file! 15 Downloads (last 30 days) File Size: 1.58 KB File ID: #25050

0 - 1 test for chaos

by Paul Matthews

 

17 Aug 2009

Implements the Gottwald - Melbourne 0 - 1 test for chaos

| Watch this File

File Information
Description

In 2004 Georg Gottwald and Ian Melbourne introduced a new test for chaos (Proc. Roy. Soc. A 460, 603–611). The input is any time series, that may come from a discrete map, a differential equation or an experiment. The output is a single number, which in theory is either 0, for non-chaotic data, or 1, for chaotic data. In practice, the result is close to 0 or close to 1, provided that enough data is used and provided that the input data is not over-sampled. The test has some advantages over other methods such as calculating Lyapunov exponents.

Z1TEST implements the 0 - 1 test as described in their most recent paper, "On the Implementation of the 0–1 Test for Chaos", available at http://arxiv.org/abs/0906.1418. To get good results you should have at least 1000 points. For continuous systems such as differential equations, you must be careful that the system is not oversampled. Roughly speaking, the graph of the data should not look smooth. Z1TEST incorporates two very basic checks to see if the series is oversampled and issues a warning if it is.

MATLAB release MATLAB 7.8 (R2009a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
21 Aug 2009 Paul Matthews

There are a few things I should have added to the description above.

1. Please read at least one of the papers by Gottwald and Melbourne before using the code. Marco, there is a discussion and explanation of the oversampling issue in section 6 of the paper linked above, and a helpful picture (fig 10). Oversampling of continuous data can lead to an incorrect result of zero for chaotic systems.
2. The two checks for oversampling that lead to the warning are very crude and should not be relied upon. The code sometimes gives the warning when it shouldn't.
3. The test is designed for deterministic systems. It cannot be used to distinguish chaos from noise.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
chaos Paul Matthews 17 Aug 2009 13:54:32
dynamics Paul Matthews 17 Aug 2009 13:54:33
test Paul Matthews 17 Aug 2009 13:54:33

Contact us at files@mathworks.com