《The pilot study of the heterogeneous multiagent complex systems.doc》由会员分享,可在线阅读,更多相关《The pilot study of the heterogeneous multiagent complex systems.doc(5页珍藏版)》请在三一办公上搜索。
1、The pilot study of the heterogeneous multiagent complex systemsLiu Liying,Xu BingzhenFaculty of Science, Ningbo University, Ningbo(315211)E-mail:liuliying1979.AbstractIn this paper we study the heterogeneous multiagent complex systems base on the minority game andevolutionary minority game in stock
2、markets. In this model, not only the number of the agents change, but also the amount invested of every agent at every time step change too. Under the underlying idea, we find they are disciplinary that distributions of the survival probability with risk coefficient or action preference, and distrib
3、ution of the total assets with risk coefficient by the simulationKeywords: Minority game; Heterogeneous multiagent complex systems; Risk coefficient; Asset distribution; Survival probabilityPACC:0175, 0520D, 7120H1.IntroductionAgent-based models of complex adaptive systems16,17 are attracting signif
4、icant interest across many disciplines1.They can be applied to different fields such as: stock markets,alternative roads between two locations and in general problems in which the players inthe minority win. One of the most studied models in the field of complex adaptive systems is the minority game
5、(MG) proposed by D. Chellet and Y. C. Zhang2,3,4 andits evolutionary version(EMG)5,6,7,8,9,10,11,12.The minoritygame comes from the so-called El Farol bar problem by W. B. Arthur. The underlying idea is competition for limited resources, so the agents compete to be in the minority by making decision
6、s based on global information created by the agents themselves. While, in the evolutionary formulation of the model(EMG), the agents are allowed to evolve their strategies according to the past experiences. In the other words, each agent tries to learn from his past mistakes and adjust his strategy
7、in order to survive or perform better. In this Letter, we proposed a heterogeneous multiagent complex systems model, which based on the minority game and its evolutionary version.The MG15 is a simple model of interacting agents, and the EMG is evolving based on theMG. So we can introduce the EMG sim
8、ply.The basic model of the EMG consists of N (odd) agents, each having some finite number of strategies. At each time step, each agent has to choose independently one of the two kinds of actions, such as buying and selling the asset in a financial market. Early studies of the EMG were restricted to
9、situations in which the prize-to-fine ratio R was assumed to be equal to unity. All agents have taken their actions independently, those who are in the minority group win and acquire a point. A remarkable conclusion deduced from the EMG 5 is that a population of competing agents tends to self-segreg
10、ate into opposing groups characterized by extreme behavior. However, in many real life situations the prize-to-fine tatio R may take a variety of different values11. A different kind of strategy may be more favored in such situations. In fact, our daily experience indicates that in difficult situati
11、ons humans tend to be confused and indecisive.2.Model2.1 Model introduction- 5 -Based on this qualitative expectation, we have recently extended the exploration of the MG and various extensions of the model5,13,14 including EMG. Then, it is proposed that the heterogeneous multiagent complex systems
12、model is applying in the stock markets. It has several aspects different from MG and EMG. First, the number of populations is not invariable. This means the agents of the heterogeneous multiagent complex systems are eliminated through contest in the trading system. Secondly, investment of every agen
13、t is change. In prevenient models, every agent invest invariable assets. But, in the heterogeneous multiagent complex systems model, each agent invest assets with different proportions.2.2 Model describingThe heterogeneous multiagent complex systems consist of N (integer) agents, each agent must cho
14、ose buy or sell stocks at each time step in the stock markets. In this paper we hypothesis each agent has two parts assets. In order to model the heterogeneous multiagent complex systemsi = 1, 2,K, Nlet consider a set of agentswhere N Z(integer). Agent i at time t hastwo part assets: one part is cas
15、h assets am(i, t ) , the other part is stock assets as(i, t) . Each agent has initial values of the assets aream(i, 0) = d ran1as(i, 0) = d ran2where d is a constant by presumed,ran1andran2(1) (2)are random numbers.If a certain agent has bought stocks, his cash assets reduce and stock assets increas
16、e, by contraries, if the agent has sold stocks, then his cash assets increase and stock assets reduce. It is worthy of attention that each agent invest different proportional assets in transaction. So we introduce a random number -called risk coefficient ri , where is the investment of each agent in
17、 proportion to his total assets. When N agents have all done their choices, their assets will change. At the same time, the stock price will be affect by all assets of buying and selling in every transaction.At each time t the stock price are determined bypt = bs / ss(3)where bs is total assets of a
18、ll agents buy stocks, ss is total assets of all agents sell stocks.And wheret = 0 ,p0 = 1.if a certain agent buy stocks, the agents assets becomeasi, t +1 = asi, t + r ami, t / ptami, t +1 = ami, t r ami, t if a certain agent sell stocks, the agents assets becomeasi, t +1 = asi, t r asi, t ami, t +1
19、 = ami, t + r asi, t pt(4)(6) (7)(5)The market is evolving, and the agents have the ability of abiding learning. So each agent continuously adjust his strategy by induction and consequence in order to adapt the change of the market, which is restricted to their mastered information and knowledge. If
20、 an agent performs too bad and lose his all assets, he will be eliminated through contest in the market. This means thenumber of the agents will decrease in the market. If an agent has cash assets but hasnt stock assets, he can not sell stocks but can buy more stocks. On the contrary, if an agent ha
21、s stock assets but hasnt cash assets, he can not buy more stocks but can sell stocks.2.3 Simulate resultsWe focus on three quantities,RD(ri)andSD(ri),with the risk coefficient ri ,and GD( g )with the action preference g . HereRD(ri)is the survival probability of theagents with the risk coefficient r
22、i ;SD(ri)is the asset distribution with the risk coefficient ri ;GD( g )is the survival probability of the agents with the action preference g .1.0000.999RD(ri)0.9980.9970.9960.0 0.2 0.4 0.6 0.8 1.0riFIG.1 The survival probability of the agents as a function of the risk coefficient ri .The results a
23、re for N=10000 agent, d =100.Each point represents an average value over 5000 runs and 5000/10000/100000 time steps per run.Where NST means time stepFigure 1 shows the distribution of the survival probability of the agents for different ri values after many transactions in uniform financial markets.
24、 The curve demonstrates the survival probability of the agents falls with the risk coefficient increase. So the risk lovers are eliminated easily through contest, then the risk averters survive easily.250NST=5000NST=10000NST=50000200150SD(ri)1005000.0 0.2 0.4 0.6 0.8 1.0riFIG.2 The asset distributio
25、n as a function of the risk coefficient ri . The results are for N=10000 agent,d =100.Each point represents an average value over 5000 runs and 5000/10000/100000 time steps per runIn Fig. 2, we display the total assets (including cash assets and stock assets) distribution of the survival agents for
26、different ri values. We find that the total assets distribution exits a peak( occurring at risk values less than 0.5). The results demonstrate the total assets of the agents concentrate upon the risk averters, then the risk lovers are eliminated through contest. We can know that the curves become hi
27、gher in virtue of larger ri value, and the peak values move to left. These imply that the agents will be eliminated easier through contest if the risk lovers the degree of risk preference is higher, and the total assets will be concentrated upon more cautious(the valueof ri is smaller) agents.1.000.
28、95GD(g)0.900.850.800.750.0 0.2 0.4 0.6 0.8 1.0gFIG.3 The survival probability of the agents as a function of the action preference g .The results are forN=10000 agent, d =100.Each point represents an average value over 5000 runs and 100000 time steps per runFigure 3 displays the distribution of the
29、survival probability of the agents for different gvalues. The curve is symmetric aboutg = 0.5 , with peaks aroundg = 0 andg = 1. Theresult is insensitive to the initial distribution of g values. Surprisingly, agents who either always follow or never follow what happened last time, generally perform
30、better than cautious agents using an intermediate value of g .(6)References1For a detailed account of previous work on agent_based models such as the minority game, see http:/www.unifr.ch/econophysics.2D. Challet, Y. C. Zhang, Emergence of cooperation and organization in an evolutionary game J . Phy
31、sica A.1997, 246 (3) : 407-418.3D. Challet, Y. C. Zhang, On the minority game: Analytic and numerical studies J . Physica A. 1998, 256 (4) :514-532.4Y. C. Zhang, Toward a theory of marginally efficient market J . Physica A, 1999, 269 (1) : 30-44.5N. F. Johnson, P. M. Hui, R. Johnson, and T. S. Lo. S
32、elf-organized segregation within an evolving population. Phys Rev Lett, 1999, 82(16): 33603363.6T. S. Lo, P. M. Hui, and N. F. Johnson. Theory of the evolutionary minority game. Phys Rev E, 2000, 62(3):43934396.7N. F. Johnson, P. M. Hui, and T. S. Lo, Philos. Trans. R. Soc. London, Ser. A 357, 2013
33、(1999). 8 P. M. Hui, T. S. Lo, and N. F. Johnson, e-printcond-mat/0003309.9Shahar Hod and Ehud Nakar. Strategy updating rules and strategy distributions in dynamical multiagent systems.Phy. Rev. E. 68.026115 (2003).10Ehud Nakar and Shahar Hod. Temporal oscillations and phase transitions in the evolu
34、tionary minority game. Phy. Rev. E. 67.016109 (2003).11Shahar Hod and Ehud Nakar. Self-Segregation versus Clustering in the Evolutionary Minority Game. Phy.Rev. lett. 88.238702 (2002).12Uri Keshet and Shahar Hod. Survival probabilities of history-dependent random walks. Phy. Rev. E72,046144 (2005).1
35、3A. Cavagna, J. Giardina, D. Sherrington, cond-mat/9907296.14R. D. hulst, G. J. Rodgers, adap-org/9904003.15Luca Grilli and Angelo Sfrecola, A neural networks approach to minority game. Springer-Verlag LondonLimited 2007 10.1007/s00521-007-0163-1.16J . H. Holand, Emergence: From Chaos to Order(Addison-Wesley, Reading, MA, 1998)17Shahar Hod, Time-dependent random walks and the Theory of complex adaptivesystems. Phy. Rev. Lett.90.128701(2003).