+ All Categories
Home > Documents > A note on on–off intermittency in a chaotic coin flip simulation

A note on on–off intermittency in a chaotic coin flip simulation

Date post: 04-Sep-2016
Category:
Upload: crystal-cooper
View: 214 times
Download: 0 times
Share this document with a friend
5

Click here to load reader

Transcript
Page 1: A note on on–off intermittency in a chaotic coin flip simulation

ARTICLE IN PRESS

0097-8493/$ - se

doi:10.1016/j.ca

E-mail addr

Computers & Graphics 31 (2007) 137–141

www.elsevier.com/locate/cag

Chaos and Graphics

A note on on–off intermittency in a chaotic coin flip simulation

Crystal Cooper

Department of Computer Studies, University of Maryland, University College, Adelphi, MD 20783-8084, USA

Abstract

Presented is a computer simulation of a variation of the Gambler’s Ruin game that is used to model intermittent chaos. A rich player

gambles with a set amount of money m. The poor player starts out with zero capital, and is allowed to flip a coin in order to try to win the

money. If the coin is heads, the poor player wins a dollar but if it is tails, the poor player loses a dollar. The length of time it takes for

either player A or player B to reach zero is recorded for a specified number of games. The simulation presents a model for intermittent

chaos, as it manifests quiescent or periodic behavior alternating with chaotic bursts.

r 2006 Elsevier Ltd. All rights reserved.

Keywords: Intermittent chaos; Coin flip; Fractals; Brownian motion; Random walk

1. Introduction

The gambler’s ruin game involves a random walkproblem with numerous applications in such various fieldsas genetics and quantum mechanics. The classical gam-bler’s ruin game proved to have fractal characteristics.Coin-toss problems in which money is exchanged arestudied by economists, due to the possible theoreticalmodels they provide.

Intermittency is characterized by periodic or almost-periodic behavior interspersed with chaotic behavior thatcan be in long or short bursts. On–off intermittency ischaracterized by extended periods of stasis that arefollowed by bursting [1]. Quiescent behavior followed bysharp outbursts is very common in nature, and volcanoeruptions and earthquakes are a few examples of suchbehavior. Chaotic bursting as a research topic is of interestin areas such as astronomy [2], financial markets [3], lasers[4], neurobiology [5], and circuits [6,7].

The present research simulates on–off intermittency via avariation on the gambler’s ruin random walk problem,which I call the ‘‘Y variation’’ [8] after its creator, JamesYorke. In the original Y variation, the length of the game isnot determined by the amount of money the gambler haslost, but is predetermined by the amount of flips allowed.The Y variation has two players, with player A represent-

e front matter r 2006 Elsevier Ltd. All rights reserved.

g.2006.10.007

ess: [email protected].

ing a rich man with a set amount of money m that hewishes to gamble, and player B, a poor man. The poor manis allowed to try to win this money by flipping anunweighted coin n times so that the game ends only whenn does. (In other words, that even when the poor man losesall of his money, he is allowed to keep flipping until n isreached.) The poor man wins a dollar if the coin is heads,and loses a dollar if the coin is tails.The generating equation that may be used to represent

the game is

X nþ1 ¼ X n þ gn (1)

with gn ¼ 1, �1, or 0. This equation thus represents thevelocity, or incremental movement of the money. Thismotion is different from the classical gambler’s ruin, wheregn has values equal to 1 or �1, only. Using standard time-series analysis tests of power spectra, Poincare sections,and Lyapunov exponents, the sequences generated arefound to be chaotic.The current paper presents a modification to the Y

variation. Instead of imposing a limit on the maximumnumber of flips player poor man is allowed, here a limit isimposed on the total number of games the poor man isallowed to play. Thus, the current paper examines thelength of a series of games played. This model results innearly flat behavior followed by bursting, which yieldsfractals in the shape of triangular bifurcations. Viana et al.[9] investigated on–off intermittency models using a biased

Page 2: A note on on–off intermittency in a chaotic coin flip simulation

ARTICLE IN PRESSC. Cooper / Computers & Graphics 31 (2007) 137–141138

random walk model to study shadowability breakdown insystems with chaotic bursting has been studied by.Shadowability breakdown occurs when a chaotic trajectoryis no longer close to and is no longer deformable to anotherchaotic trajectory.

2. On–off intermittency and the Y variation

Classical Brownian motion has a mean of zero and a unitvariance. These conditions do not hold for the Y variation,where the both the mean and the variance are positive andincreasing. Chaos arises in the Y variation as a result offluctuations in the variance [8]. Fig. 1 is a phase space plot

Fig. 1. Phase space plot of the variance for one million points.

Fig. 2. Recurrence plot of the va

of the variance for a game with a sequence of 1 millionpoints, where the money gambled is limited to $1000. Thelower states are more densely populated than the higherones, with the latter rarely being visited in comparison.Furthermore, the figure shows regions where the trajec-tories bifurcate, undergoing doubling, tripling, and evenquadrupling before eventually settling onto the mainattractor. Recurrence plots are diagnostic tools that displaytime correlation behavior that is otherwise inaccessible [10].A recurrence plot of the variance also suggests chaoticbehavior (Fig. 2). The horizontal and vertical linesdisplayed show times where the states are invariant orvery slow to change, which is a characteristic of inter-mittency [11]. Recurrence plots for financial time seriessuch as residuals in macroeconomics [12] and the DowJones industrial index and the NIKKEI 500 typically showsimilar behavior [13].For the present research, a modification of the original Y

variation is introduced. A computer program simulates, asbefore, two players gambling with a set amount of moneym. Player B, the poor man, starts off with a dollar. Thistime however, a game ends whenever player A or B loses allof the money. The number of flips taken before player A orB loses is recorded, and this gives the length of time eachgame is played. The total number of games is predeter-mined by an amount n, which takes on the values 102, 104,105, or 106. An example for a game with 104 sets isrepresented in the plot in Fig. 3. The y-axis represents thelength of games or number of flips, and the x-axisrepresents the total number of games played. Most of the

riance for one million points.

Page 3: A note on on–off intermittency in a chaotic coin flip simulation

ARTICLE IN PRESS

Fig. 3. Plot of a typical coin flip simulation in the current research.

Fig. 4. Phase space map for the trajectory in Fig. 3.

C. Cooper / Computers & Graphics 31 (2007) 137–141 139

games end with one toss of the coin. Occasionally thegames last beyond a few flips, with the longest one recordedat 106. The simulation has regular behavior interspersedwith bursting, and hence simulates on–off intermittency.The inset graph in Fig. 3 provides a view of one of thebursts. There is a marked similarity to the tent map orchaotic sawtooth wave insofar as the triangular appearanceis concerned. However the height, frequency, width, andlocation of the bursts vary within the graph. Outside of thebursts, the periodic part is a main attractor, which is aninvariant hyperplane, and has a value equal to one. The

other games show the same type of behavior, though thebursting parameters are different, thus displaying sensitiv-ity to the initial conditions.Fig. 4 is a phase space map for the trajectory of Fig. 3.

This strange attractor represents a series of triangles thatbifurcate by doubling, tripling, quadrupling and thensplitting several more times, before settling onto the mainattractor. The phase map shows more than one attractor,with orbits visiting certain states more than once, asevinced by the thickness of the lines. The map displays ashift amongst both axes that is properly displayed in an

Page 4: A note on on–off intermittency in a chaotic coin flip simulation

ARTICLE IN PRESS

Fig. 5. Poincare section of the chaotic trajectory.

Fig. 6. The transformed signal of Fig. 3.

C. Cooper / Computers & Graphics 31 (2007) 137–141140

embedding dimension of three or more. This attractor hasthe same shape for all of the games, though as before, theparameters are different.

Fig. 5 is a Poincare section of Fig. 4. The attractors arein the form of an L shape with the y-axis separated intodistinct groups. The L shape becomes denser on both axes,and the attractor grouping more pronounced as n increases(not shown).

3. Applications

The amount of money in this simulation is arbitrarily setto $1000, but, aside from changing this limit, rescaling canbe introduced to select the region of interest. This, coupledwith filtering to suppress noise and/or unwanted frequen-cies, can be used to retain the basic attractor characteristicswhile altering the phase space dynamics. If one rescales the

Page 5: A note on on–off intermittency in a chaotic coin flip simulation

ARTICLE IN PRESS

Fig. 7. Phase space plot of the transformed signal.

C. Cooper / Computers & Graphics 31 (2007) 137–141 141

sequence Fig. 3 by multiplying by 10�6, and then subjectingit to a low-pass filter, the adjusted signal in Fig. 6 and thephase space in Fig. 7 results. The set is limited to valuesbetween 0 and 1, and the chaotic bursts are in the shape ofgamma distributions. As before, the phase space hasseveral attractor regions, but the angle of the L-shapedattractor is more acute, so that the bottom ends at a point,and the attractor shapes are nearly elliptical.

4. Conclusion

This work presented a novel approach for modelingon–off intermittency by using a variation on the gambler’sruin problem. In this work, the Y variation uses n torepresent a collection of games, where the value that isrecorded for analysis is the length of the individual game.The signals that are output from this modification simulateon–off intermittency, where relatively long periods ofquiescent or periodic behavior are suddenly interruptedby chaotic bursts. These signals, instead of being stochas-tic, are chaotic, and are in the form of strange attractors.

Acknowledgments

The author wishes to thank James A. Yorke forsuggesting the original problem, and to Puneet Khetarpal

and Steven Hudak for suggesting using the lengths of thegames. Thanks are also given to Puneet Khetarpal, StevenHudak, Cory Mass, and Amanda Schmidt for generatingthe sequences and operating the software used. NicoleMilson is thanked for providing a critique of some of thefigures. Jerome Schnall is thanked for his encouragementand support. Finally, the author wishes to thank especiallyG. Rogers and Theresa Cooper, who provided the financialsupport that made this research possible.

References

[1] Platt N, Spiegel EA, Tresser C. On–off intermittency: a mechanism

for bursting. Phys Rev Lett 1993;70(3):279–82.

[2] Ogurtsov MG, Kocharov GE, Nagovitsyn YA. Solar cyclicity during

the Maunder minimum. Astron Rep 2003;47(6):517–24.

[3] Krawiecki A, Holyst JA, Helbing D. Volatility clustering and scaling

for financial time series due to attractor bubbling. Phys Rev Lett

2002;89(15):158701-1–4.

[4] Yim G, Park Y. Transition from laser-off to laser-on through on–off

intermittency in a gain-modulated CO2 laser. J Opt Soc Am B

2004;21(12):2112–6.

[5] Rulkov N. Regularization of chaotic bursts. Phys Rev Lett 2001;

86(1):183–6.

[6] Cooper C. Experimental observation and characterization of chaotic

properties in a driven infrared diode circuit. Chaos Sol Frac

2005;24(1):157–63.

[7] de S. Cavalcante HLD, Rios Leite JFR. Averages and critical

exponents in type-III intermittent chaos. Phys Rev E 2003;66(2):

026210/1–5.

[8] Cooper C. Strange attractors in a chaotic coin flip simulation, Chaos

Sol Frac 2006;30(1).

[9] Viana RL, de S. Pinto SE, Grebogi C. Chaotic bursting at the onset

of unstable dimension variability. Phys Rev E 2002;66:0446213/1–9.

[10] Eckmann JP, Kamphorst SO, Ruelle D. Recurrence plots of

dynamical systems. Euro Lett 1987;4(9):973–7.

[11] Marwan N, Wessel N, Meyerfeldt U, Schirdewan A, Kurths J.

Recurrence plot-based measures of complexity and their application

to heart-rate-variability data. Phys Rev E 2002;66:026702/1–8.

[12] Bevilacqua F, van Zon A. Random walks and nonlinear paths in

macroeconomic time series. MERIT-Infonomics 2001 research

memoranda, Maastricht, 2001. p. 1–28.

[13] Antoniou A, Vorlow C. Recurrence plots and financial time series

analysis. Neural Network World 2000;10(1–2):131–45.


Recommended