<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.simulace.info/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Xsamm12</id>
	<title>Simulace.info - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://www.simulace.info/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Xsamm12"/>
	<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php/Special:Contributions/Xsamm12"/>
	<updated>2026-07-27T19:45:29Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1507</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1507"/>
		<updated>2012-06-20T21:59:09Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Possible learning types */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Agent-based computational economics''' or shortly '''ACE''' is branch of [http://en.wikipedia.org/wiki/Computational_economics computational economics]. It uses [http://en.wikipedia.org/wiki/Agent-based_model agent-based models] or simulations to model real world market or economic interactions between agents. Agents can represent institutions, firms, individuals or environment.  Models, often created in specialized software or framework, are dynamic and allow introduction of heterogenous behavior of agents. ACE is therefore '' &amp;quot;a computational study of economic processes modeled as dynamic systems of interacting agents&amp;quot;&amp;lt;ref name=Tesfatsion2006&amp;gt;Leigh Tesfatsion, Agent-Based Computational Economics: A Constructive Approach to Economic Theory [(pdf,253KB) http://www.econ.iastate.edu/tesfatsi/hbintlt.pdf], in Leigh Tesfatsion and Kenneth L. Judd (eds.), Handbook of Computational Economics, Volume 2: Agent-Based Computational Economics, Handbooks in Economics Series, Elsevier/North-Holland, the Netherlands, 2006.&amp;lt;/ref&amp;gt;&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref name=Tesfatsion2007&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy&amp;lt;ref name=Tesfatsion /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Subsequent insights in social norms and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of that organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood. It can explain why there are some regularities persistent over time and why they remain while others disappear. Evolving agent world can be used to observe needed degree of coordination to establish institutions and attain self organization&amp;lt;ref name=Tesfatsion /&amp;gt;&amp;lt;ref name=Tesfatsion2007 /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools&amp;lt;ref name=Tesfatsion /&amp;gt;&amp;lt;ref name=Tesfatsion2007 /&amp;gt;. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. From this application it is not far to the economic field. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments on European scale.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational worlds can composed of various agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
First method acquires (&amp;lt;code&amp;gt;getWorldEventSchedule&amp;lt;/code&amp;gt; current time from the world itself. Through &amp;lt;code&amp;gt;getMarketProtocols&amp;lt;/code&amp;gt; agent can acquire valid protocol used for different kinds of interaction and negotiations between agents. Method &amp;lt;code&amp;gt;getWorldProtocols&amp;lt;/code&amp;gt; can serve for other out of market interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. These can than be pinpointed through generated reports, plots or through other available ex-post analytical tools. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. In some cases even without learning capability, the agents can optimize or are able to generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices. It works in following steps:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types other of learning algorithms suitable for use in ACE &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
[http://en.wikipedia.org/wiki/Cobweb_model Cobweb model] is example of [http://en.wikipedia.org/wiki/Genetic_algorithms_in_economics genetic algorithm for use in economics]. For connectionist learning various types of [http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] configurations can be used.&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
*An agent-based system developedby Acklin (Netherlands)for international vehicle insurance claims reduced workload at one participating company by 3 people. Total time time need for indentification of a client and claim was reduced from 6 months to less than 2 minutes &amp;lt;ref&amp;gt;http://www.agentlink.org/resources/webCS/AL3_CS_004_Acklin.pdf&amp;lt;/ref&amp;gt;&amp;lt;ref name=agentlink&amp;gt;AgentLink, 50 facts about agent-based computing,http://www.econ.iastate.edu/tesfatsi/AgentLink.50CommercialApplic.MLuck.pdf.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent-based application from Whitestein Technologies (Switzerland) is used for optimisation of large-scale transport. Vehicles are represented as agents in the system. These agents negotiate through auction-like protocol. Vehicle capable of cheapest delivery wins the auction. This way overall cost of cargo delivery and often combined distance travelled by all vehicles as well&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology developed by Agentis Software was used to manage the complex processes and changing business requirements involved in the challenging task of relocating residents during project to refurbish or rebuild housing for 25,000 people by the Chicago Housing Authority&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology by Agentis Software was used in project to rebuild and renovate housing for 25,000 people by the Chicago Housing Authority. Complex processes and changing requirements which were part of difficult task of relocating the occupants were managed thanks to this solution&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1503</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1503"/>
		<updated>2012-06-20T21:56:01Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Agent-based computational economics''' or shortly '''ACE''' is branch of [http://en.wikipedia.org/wiki/Computational_economics computational economics]. It uses [http://en.wikipedia.org/wiki/Agent-based_model agent-based models] or simulations to model real world market or economic interactions between agents. Agents can represent institutions, firms, individuals or environment.  Models, often created in specialized software or framework, are dynamic and allow introduction of heterogenous behavior of agents. ACE is therefore '' &amp;quot;a computational study of economic processes modeled as dynamic systems of interacting agents&amp;quot;&amp;lt;ref name=Tesfatsion2006&amp;gt;Leigh Tesfatsion, Agent-Based Computational Economics: A Constructive Approach to Economic Theory [(pdf,253KB) http://www.econ.iastate.edu/tesfatsi/hbintlt.pdf], in Leigh Tesfatsion and Kenneth L. Judd (eds.), Handbook of Computational Economics, Volume 2: Agent-Based Computational Economics, Handbooks in Economics Series, Elsevier/North-Holland, the Netherlands, 2006.&amp;lt;/ref&amp;gt;&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref name=Tesfatsion2007&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy&amp;lt;ref name=Tesfatsion /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Subsequent insights in social norms and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of that organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood. It can explain why there are some regularities persistent over time and why they remain while others disappear. Evolving agent world can be used to observe needed degree of coordination to establish institutions and attain self organization&amp;lt;ref name=Tesfatsion /&amp;gt;&amp;lt;ref name=Tesfatsion2007 /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools&amp;lt;ref name=Tesfatsion /&amp;gt;&amp;lt;ref name=Tesfatsion2007 /&amp;gt;. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. From this application it is not far to the economic field. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments on European scale.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational worlds can composed of various agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
First method acquires (&amp;lt;code&amp;gt;getWorldEventSchedule&amp;lt;/code&amp;gt; current time from the world itself. Through &amp;lt;code&amp;gt;getMarketProtocols&amp;lt;/code&amp;gt; agent can acquire valid protocol used for different kinds of interaction and negotiations between agents. Method &amp;lt;code&amp;gt;getWorldProtocols&amp;lt;/code&amp;gt; can serve for other out of market interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. These can than be pinpointed through generated reports, plots or through other available ex-post analytical tools. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. In some cases even without learning capability, the agents can optimize or are able to generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices. It works in following steps:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types other of learning algorithms suitable for use in ACE &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
[http://en.wikipedia.org/wiki/Cobweb_model Cobweb model] is example of [http://en.wikipedia.org/wiki/Genetic_algorithms_in_economics genetic algorithm for use in economics].&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
*An agent-based system developedby Acklin (Netherlands)for international vehicle insurance claims reduced workload at one participating company by 3 people. Total time time need for indentification of a client and claim was reduced from 6 months to less than 2 minutes &amp;lt;ref&amp;gt;http://www.agentlink.org/resources/webCS/AL3_CS_004_Acklin.pdf&amp;lt;/ref&amp;gt;&amp;lt;ref name=agentlink&amp;gt;AgentLink, 50 facts about agent-based computing,http://www.econ.iastate.edu/tesfatsi/AgentLink.50CommercialApplic.MLuck.pdf.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent-based application from Whitestein Technologies (Switzerland) is used for optimisation of large-scale transport. Vehicles are represented as agents in the system. These agents negotiate through auction-like protocol. Vehicle capable of cheapest delivery wins the auction. This way overall cost of cargo delivery and often combined distance travelled by all vehicles as well&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology developed by Agentis Software was used to manage the complex processes and changing business requirements involved in the challenging task of relocating residents during project to refurbish or rebuild housing for 25,000 people by the Chicago Housing Authority&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology by Agentis Software was used in project to rebuild and renovate housing for 25,000 people by the Chicago Housing Authority. Complex processes and changing requirements which were part of difficult task of relocating the occupants were managed thanks to this solution&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1502</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1502"/>
		<updated>2012-06-20T21:54:35Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Other computing methods */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Agent-based computational economics''' or shortly '''ACE''' is branch of [http://en.wikipedia.org/wiki/Computational_economics computational economics]. It uses [http://en.wikipedia.org/wiki/Agent-based_model agent-based models] or simulations to model real world market or economic interactions between agents. Agents can represent institutions, firms, individuals or environment.  Models, often created in specialized software or framework, are dynamic and allow introduction of heterogenous behavior of agents. ACE is therefore '' &amp;quot;a computational study of economic processes modeled as dynamic systems of interacting agents&amp;quot;&amp;lt;ref name=Tesfatsion2006&amp;gt;Leigh Tesfatsion, Agent-Based Computational Economics: A Constructive Approach to Economic Theory [(pdf,253KB) http://www.econ.iastate.edu/tesfatsi/hbintlt.pdf], in Leigh Tesfatsion and Kenneth L. Judd (eds.), Handbook of Computational Economics, Volume 2: Agent-Based Computational Economics, Handbooks in Economics Series, Elsevier/North-Holland, the Netherlands, 2006.&amp;lt;/ref&amp;gt;&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref name=Tesfatsion2007&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy&amp;lt;ref name=Tesfatsion /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Subsequent insights in social norms and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of that organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood. It can explain why there are some regularities persistent over time and why they remain while others disappear. Evolving agent world can be used to observe needed degree of coordination to establish institutions and attain self organization&amp;lt;ref name=Tesfatsion /&amp;gt;&amp;lt;ref name=Tesfatsion2007 /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools&amp;lt;ref name=Tesfatsion /&amp;gt;&amp;lt;ref name=Tesfatsion2007 /&amp;gt;. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. From this application it is not far to the economic field. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments on European scale.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational worlds can composed of various agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
First method acquires (&amp;lt;code&amp;gt;getWorldEventSchedule&amp;lt;/code&amp;gt; current time from the world itself. Through &amp;lt;code&amp;gt;getMarketProtocols&amp;lt;/code&amp;gt; agent can acquire valid protocol used for different kinds of interaction and negotiations between agents. Method &amp;lt;code&amp;gt;getWorldProtocols&amp;lt;/code&amp;gt; can serve for other out of market interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. These can than be pinpointed through generated reports, plots or through other available ex-post analytical tools. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. In some cases even without learning capability, the agents can optimize or are able to generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices. It works in following steps:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types other of learning algorithms suitable for use in ACE &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
[http://en.wikipedia.org/wiki/Cobweb_model Cobweb model] is example of [http://en.wikipedia.org/wiki/Genetic_algorithms_in_economics genetic algorithm for use in economics].&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
*An agent-based system developedby Acklin (Netherlands)for international vehicle insurance claims reduced workload at one participating company by 3 people. Total time time need for indentification of a client and claim was reduced from 6 months to less than 2 minutes &amp;lt;ref&amp;gt;http://www.agentlink.org/resources/webCS/AL3_CS_004_Acklin.pdf&amp;lt;/ref&amp;gt;&amp;lt;ref name=agentlink&amp;gt;AgentLink, 50 facts about agent-based computing,http://www.econ.iastate.edu/tesfatsi/AgentLink.50CommercialApplic.MLuck.pdf.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent-based application from Whitestein Technologies (Switzerland) is used for optimisation of large-scale transport. Vehicles are represented as agents in the system. These agents negotiate through auction-like protocol. Vehicle capable of cheapest delivery wins the auction. This way overall cost of cargo delivery and often combined distance travelled by all vehicles as well&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology developed by Agentis Software was used to manage the complex processes and changing business requirements involved in the challenging task of relocating residents during project to refurbish or rebuild housing for 25,000 people by the Chicago Housing Authority&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology by Agentis Software was used in project to rebuild and renovate housing for 25,000 people by the Chicago Housing Authority. Complex processes and changing requirements which were part of difficult task of relocating the occupants were managed thanks to this solution&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1501</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1501"/>
		<updated>2012-06-20T21:54:16Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Agent-based computational economics''' or shortly '''ACE''' is branch of [http://en.wikipedia.org/wiki/Computational_economics computational economics]. It uses [http://en.wikipedia.org/wiki/Agent-based_model agent-based models] or simulations to model real world market or economic interactions between agents. Agents can represent institutions, firms, individuals or environment.  Models, often created in specialized software or framework, are dynamic and allow introduction of heterogenous behavior of agents. ACE is therefore '' &amp;quot;a computational study of economic processes modeled as dynamic systems of interacting agents&amp;quot;&amp;lt;ref name=Tesfatsion2006&amp;gt;Leigh Tesfatsion, Agent-Based Computational Economics: A Constructive Approach to Economic Theory [(pdf,253KB) http://www.econ.iastate.edu/tesfatsi/hbintlt.pdf], in Leigh Tesfatsion and Kenneth L. Judd (eds.), Handbook of Computational Economics, Volume 2: Agent-Based Computational Economics, Handbooks in Economics Series, Elsevier/North-Holland, the Netherlands, 2006.&amp;lt;/ref&amp;gt;&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref name=Tesfatsion2007&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy&amp;lt;ref name=Tesfatsion /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Subsequent insights in social norms and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of that organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood. It can explain why there are some regularities persistent over time and why they remain while others disappear. Evolving agent world can be used to observe needed degree of coordination to establish institutions and attain self organization&amp;lt;ref name=Tesfatsion /&amp;gt;&amp;lt;ref name=Tesfatsion2007 /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools&amp;lt;ref name=Tesfatsion /&amp;gt;&amp;lt;ref name=Tesfatsion2007 /&amp;gt;. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. From this application it is not far to the economic field. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments on European scale.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational worlds can composed of various agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
First method acquires (&amp;lt;code&amp;gt;getWorldEventSchedule&amp;lt;/code&amp;gt; current time from the world itself. Through &amp;lt;code&amp;gt;getMarketProtocols&amp;lt;/code&amp;gt; agent can acquire valid protocol used for different kinds of interaction and negotiations between agents. Method &amp;lt;code&amp;gt;getWorldProtocols&amp;lt;/code&amp;gt; can serve for other out of market interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. These can than be pinpointed through generated reports, plots or through other available ex-post analytical tools. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. In some cases even without learning capability, the agents can optimize or are able to generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices. It works in following steps:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types other of learning algorithms suitable for use in ACE &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
[http://en.wikipedia.org/wiki/Cobweb_model Cobweb model] is example of [http://en.wikipedia.org/wiki/Genetic_algorithms_in_economics genetic algorithm for use in economics].&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
*An agent-based system developedby Acklin (Netherlands)for international vehicle insurance claims reduced workload at one participating company by 3 people. Total time time need for indentification of a client and claim was reduced from 6 months to less than 2 minutes &amp;lt;ref&amp;gt;http://www.agentlink.org/resources/webCS/AL3_CS_004_Acklin.pdf&amp;lt;/ref&amp;gt;&amp;lt;ref name=agentlink&amp;gt;AgentLink, 50 facts about agent-based computing,http://www.econ.iastate.edu/tesfatsi/AgentLink.50CommercialApplic.MLuck.pdf.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent-based application from Whitestein Technologies (Switzerland) is used for optimisation of large-scale transport. Vehicles are represented as agents in the system. These agents negotiate through auction-like protocol. Vehicle capable of cheapest delivery wins the auction. This way overall cost of cargo delivery and often combined distance travelled by all vehicles as well&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology developed by Agentis Software was used to manage the complex processes and changing business requirements involved in the challenging task of relocating residents during project to refurbish or rebuild housing for 25,000 people by the Chicago Housing Authority&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology by Agentis Software was used in project to rebuild and renovate housing for 25,000 people by the Chicago Housing Authority. Complex processes and changing requirements which were part of difficult task of relocating the occupants were managed thanks to this solution&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1500</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1500"/>
		<updated>2012-06-20T21:53:54Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Possible learning types */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Agent-based computational economics''' is branch of [http://en.wikipedia.org/wiki/Computational_economics computational economics]. It uses [http://en.wikipedia.org/wiki/Agent-based_model agent-based models] or simulations to model real world market or economic interactions between agents. Agents can represent institutions, firms, individuals or environment.  Models, often created in specialized software or framework, are dynamic and allow introduction of heterogenous behavior of agents. ACE is therefore '' &amp;quot;a computational study of economic processes modeled as dynamic systems of interacting agents&amp;quot;&amp;lt;ref name=Tesfatsion2006&amp;gt;Leigh Tesfatsion, Agent-Based Computational Economics: A Constructive Approach to Economic Theory [(pdf,253KB) http://www.econ.iastate.edu/tesfatsi/hbintlt.pdf], in Leigh Tesfatsion and Kenneth L. Judd (eds.), Handbook of Computational Economics, Volume 2: Agent-Based Computational Economics, Handbooks in Economics Series, Elsevier/North-Holland, the Netherlands, 2006.&amp;lt;/ref&amp;gt;&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref name=Tesfatsion2007&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy&amp;lt;ref name=Tesfatsion /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Subsequent insights in social norms and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of that organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood. It can explain why there are some regularities persistent over time and why they remain while others disappear. Evolving agent world can be used to observe needed degree of coordination to establish institutions and attain self organization&amp;lt;ref name=Tesfatsion /&amp;gt;&amp;lt;ref name=Tesfatsion2007 /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools&amp;lt;ref name=Tesfatsion /&amp;gt;&amp;lt;ref name=Tesfatsion2007 /&amp;gt;. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. From this application it is not far to the economic field. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments on European scale.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational worlds can composed of various agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
First method acquires (&amp;lt;code&amp;gt;getWorldEventSchedule&amp;lt;/code&amp;gt; current time from the world itself. Through &amp;lt;code&amp;gt;getMarketProtocols&amp;lt;/code&amp;gt; agent can acquire valid protocol used for different kinds of interaction and negotiations between agents. Method &amp;lt;code&amp;gt;getWorldProtocols&amp;lt;/code&amp;gt; can serve for other out of market interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. These can than be pinpointed through generated reports, plots or through other available ex-post analytical tools. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. In some cases even without learning capability, the agents can optimize or are able to generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices. It works in following steps:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types other of learning algorithms suitable for use in ACE &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
[http://en.wikipedia.org/wiki/Cobweb_model Cobweb model] is example of [http://en.wikipedia.org/wiki/Genetic_algorithms_in_economics genetic algorithm for use in economics].&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
*An agent-based system developedby Acklin (Netherlands)for international vehicle insurance claims reduced workload at one participating company by 3 people. Total time time need for indentification of a client and claim was reduced from 6 months to less than 2 minutes &amp;lt;ref&amp;gt;http://www.agentlink.org/resources/webCS/AL3_CS_004_Acklin.pdf&amp;lt;/ref&amp;gt;&amp;lt;ref name=agentlink&amp;gt;AgentLink, 50 facts about agent-based computing,http://www.econ.iastate.edu/tesfatsi/AgentLink.50CommercialApplic.MLuck.pdf.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent-based application from Whitestein Technologies (Switzerland) is used for optimisation of large-scale transport. Vehicles are represented as agents in the system. These agents negotiate through auction-like protocol. Vehicle capable of cheapest delivery wins the auction. This way overall cost of cargo delivery and often combined distance travelled by all vehicles as well&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology developed by Agentis Software was used to manage the complex processes and changing business requirements involved in the challenging task of relocating residents during project to refurbish or rebuild housing for 25,000 people by the Chicago Housing Authority&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology by Agentis Software was used in project to rebuild and renovate housing for 25,000 people by the Chicago Housing Authority. Complex processes and changing requirements which were part of difficult task of relocating the occupants were managed thanks to this solution&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1499</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1499"/>
		<updated>2012-06-20T21:53:22Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Learning */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Agent-based computational economics''' is branch of [http://en.wikipedia.org/wiki/Computational_economics computational economics]. It uses [http://en.wikipedia.org/wiki/Agent-based_model agent-based models] or simulations to model real world market or economic interactions between agents. Agents can represent institutions, firms, individuals or environment.  Models, often created in specialized software or framework, are dynamic and allow introduction of heterogenous behavior of agents. ACE is therefore '' &amp;quot;a computational study of economic processes modeled as dynamic systems of interacting agents&amp;quot;&amp;lt;ref name=Tesfatsion2006&amp;gt;Leigh Tesfatsion, Agent-Based Computational Economics: A Constructive Approach to Economic Theory [(pdf,253KB) http://www.econ.iastate.edu/tesfatsi/hbintlt.pdf], in Leigh Tesfatsion and Kenneth L. Judd (eds.), Handbook of Computational Economics, Volume 2: Agent-Based Computational Economics, Handbooks in Economics Series, Elsevier/North-Holland, the Netherlands, 2006.&amp;lt;/ref&amp;gt;&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref name=Tesfatsion2007&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy&amp;lt;ref name=Tesfatsion /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Subsequent insights in social norms and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of that organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood. It can explain why there are some regularities persistent over time and why they remain while others disappear. Evolving agent world can be used to observe needed degree of coordination to establish institutions and attain self organization&amp;lt;ref name=Tesfatsion /&amp;gt;&amp;lt;ref name=Tesfatsion2007 /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools&amp;lt;ref name=Tesfatsion /&amp;gt;&amp;lt;ref name=Tesfatsion2007 /&amp;gt;. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. From this application it is not far to the economic field. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments on European scale.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational worlds can composed of various agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
First method acquires (&amp;lt;code&amp;gt;getWorldEventSchedule&amp;lt;/code&amp;gt; current time from the world itself. Through &amp;lt;code&amp;gt;getMarketProtocols&amp;lt;/code&amp;gt; agent can acquire valid protocol used for different kinds of interaction and negotiations between agents. Method &amp;lt;code&amp;gt;getWorldProtocols&amp;lt;/code&amp;gt; can serve for other out of market interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. These can than be pinpointed through generated reports, plots or through other available ex-post analytical tools. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. In some cases even without learning capability, the agents can optimize or are able to generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices. It works in following steps:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
[http://en.wikipedia.org/wiki/Cobweb_model Cobweb model] is example of [http://en.wikipedia.org/wiki/Genetic_algorithms_in_economics genetic algorithm for use in economics].&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
*An agent-based system developedby Acklin (Netherlands)for international vehicle insurance claims reduced workload at one participating company by 3 people. Total time time need for indentification of a client and claim was reduced from 6 months to less than 2 minutes &amp;lt;ref&amp;gt;http://www.agentlink.org/resources/webCS/AL3_CS_004_Acklin.pdf&amp;lt;/ref&amp;gt;&amp;lt;ref name=agentlink&amp;gt;AgentLink, 50 facts about agent-based computing,http://www.econ.iastate.edu/tesfatsi/AgentLink.50CommercialApplic.MLuck.pdf.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent-based application from Whitestein Technologies (Switzerland) is used for optimisation of large-scale transport. Vehicles are represented as agents in the system. These agents negotiate through auction-like protocol. Vehicle capable of cheapest delivery wins the auction. This way overall cost of cargo delivery and often combined distance travelled by all vehicles as well&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology developed by Agentis Software was used to manage the complex processes and changing business requirements involved in the challenging task of relocating residents during project to refurbish or rebuild housing for 25,000 people by the Chicago Housing Authority&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology by Agentis Software was used in project to rebuild and renovate housing for 25,000 people by the Chicago Housing Authority. Complex processes and changing requirements which were part of difficult task of relocating the occupants were managed thanks to this solution&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1497</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1497"/>
		<updated>2012-06-20T21:52:17Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Agent types and characteristics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Agent-based computational economics''' is branch of [http://en.wikipedia.org/wiki/Computational_economics computational economics]. It uses [http://en.wikipedia.org/wiki/Agent-based_model agent-based models] or simulations to model real world market or economic interactions between agents. Agents can represent institutions, firms, individuals or environment.  Models, often created in specialized software or framework, are dynamic and allow introduction of heterogenous behavior of agents. ACE is therefore '' &amp;quot;a computational study of economic processes modeled as dynamic systems of interacting agents&amp;quot;&amp;lt;ref name=Tesfatsion2006&amp;gt;Leigh Tesfatsion, Agent-Based Computational Economics: A Constructive Approach to Economic Theory [(pdf,253KB) http://www.econ.iastate.edu/tesfatsi/hbintlt.pdf], in Leigh Tesfatsion and Kenneth L. Judd (eds.), Handbook of Computational Economics, Volume 2: Agent-Based Computational Economics, Handbooks in Economics Series, Elsevier/North-Holland, the Netherlands, 2006.&amp;lt;/ref&amp;gt;&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref name=Tesfatsion2007&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy&amp;lt;ref name=Tesfatsion /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Subsequent insights in social norms and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of that organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood. It can explain why there are some regularities persistent over time and why they remain while others disappear. Evolving agent world can be used to observe needed degree of coordination to establish institutions and attain self organization&amp;lt;ref name=Tesfatsion /&amp;gt;&amp;lt;ref name=Tesfatsion2007 /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools&amp;lt;ref name=Tesfatsion /&amp;gt;&amp;lt;ref name=Tesfatsion2007 /&amp;gt;. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. From this application it is not far to the economic field. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments on European scale.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational worlds can composed of various agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
First method acquires (&amp;lt;code&amp;gt;getWorldEventSchedule&amp;lt;/code&amp;gt; current time from the world itself. Through &amp;lt;code&amp;gt;getMarketProtocols&amp;lt;/code&amp;gt; agent can acquire valid protocol used for different kinds of interaction and negotiations between agents. Method &amp;lt;code&amp;gt;getWorldProtocols&amp;lt;/code&amp;gt; can serve for other out of market interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. These can than be pinpointed through generated reports, plots or through other available ex-post analytical tools. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. In some cases even without learning capability, the agents can optimize or are able to generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
[http://en.wikipedia.org/wiki/Cobweb_model Cobweb model] is example of [http://en.wikipedia.org/wiki/Genetic_algorithms_in_economics genetic algorithm for use in economics].&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
*An agent-based system developedby Acklin (Netherlands)for international vehicle insurance claims reduced workload at one participating company by 3 people. Total time time need for indentification of a client and claim was reduced from 6 months to less than 2 minutes &amp;lt;ref&amp;gt;http://www.agentlink.org/resources/webCS/AL3_CS_004_Acklin.pdf&amp;lt;/ref&amp;gt;&amp;lt;ref name=agentlink&amp;gt;AgentLink, 50 facts about agent-based computing,http://www.econ.iastate.edu/tesfatsi/AgentLink.50CommercialApplic.MLuck.pdf.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent-based application from Whitestein Technologies (Switzerland) is used for optimisation of large-scale transport. Vehicles are represented as agents in the system. These agents negotiate through auction-like protocol. Vehicle capable of cheapest delivery wins the auction. This way overall cost of cargo delivery and often combined distance travelled by all vehicles as well&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology developed by Agentis Software was used to manage the complex processes and changing business requirements involved in the challenging task of relocating residents during project to refurbish or rebuild housing for 25,000 people by the Chicago Housing Authority&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology by Agentis Software was used in project to rebuild and renovate housing for 25,000 people by the Chicago Housing Authority. Complex processes and changing requirements which were part of difficult task of relocating the occupants were managed thanks to this solution&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1496</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1496"/>
		<updated>2012-06-20T21:50:02Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Software and programming */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Agent-based computational economics''' is branch of [http://en.wikipedia.org/wiki/Computational_economics computational economics]. It uses [http://en.wikipedia.org/wiki/Agent-based_model agent-based models] or simulations to model real world market or economic interactions between agents. Agents can represent institutions, firms, individuals or environment.  Models, often created in specialized software or framework, are dynamic and allow introduction of heterogenous behavior of agents. ACE is therefore '' &amp;quot;a computational study of economic processes modeled as dynamic systems of interacting agents&amp;quot;&amp;lt;ref name=Tesfatsion2006&amp;gt;Leigh Tesfatsion, Agent-Based Computational Economics: A Constructive Approach to Economic Theory [(pdf,253KB) http://www.econ.iastate.edu/tesfatsi/hbintlt.pdf], in Leigh Tesfatsion and Kenneth L. Judd (eds.), Handbook of Computational Economics, Volume 2: Agent-Based Computational Economics, Handbooks in Economics Series, Elsevier/North-Holland, the Netherlands, 2006.&amp;lt;/ref&amp;gt;&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref name=Tesfatsion2007&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy&amp;lt;ref name=Tesfatsion /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Subsequent insights in social norms and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of that organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood. It can explain why there are some regularities persistent over time and why they remain while others disappear. Evolving agent world can be used to observe needed degree of coordination to establish institutions and attain self organization&amp;lt;ref name=Tesfatsion /&amp;gt;&amp;lt;ref name=Tesfatsion2007 /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools&amp;lt;ref name=Tesfatsion /&amp;gt;&amp;lt;ref name=Tesfatsion2007 /&amp;gt;. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. From this application it is not far to the economic field. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments on European scale.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational worlds can composed of various agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
First method acquires (&amp;lt;code&amp;gt;getWorldEventSchedule&amp;lt;/code&amp;gt; current time from the world itself. Through &amp;lt;code&amp;gt;getMarketProtocols&amp;lt;/code&amp;gt; agent can acquire valid protocol used for different kinds of interaction and negotiations between agents. Method &amp;lt;code&amp;gt;getWorldProtocols&amp;lt;/code&amp;gt; can serve for other out of market interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. These can than be pinpointed through generated reports, plots or through other available ex-post analytical tools. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
[http://en.wikipedia.org/wiki/Cobweb_model Cobweb model] is example of [http://en.wikipedia.org/wiki/Genetic_algorithms_in_economics genetic algorithm for use in economics].&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
*An agent-based system developedby Acklin (Netherlands)for international vehicle insurance claims reduced workload at one participating company by 3 people. Total time time need for indentification of a client and claim was reduced from 6 months to less than 2 minutes &amp;lt;ref&amp;gt;http://www.agentlink.org/resources/webCS/AL3_CS_004_Acklin.pdf&amp;lt;/ref&amp;gt;&amp;lt;ref name=agentlink&amp;gt;AgentLink, 50 facts about agent-based computing,http://www.econ.iastate.edu/tesfatsi/AgentLink.50CommercialApplic.MLuck.pdf.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent-based application from Whitestein Technologies (Switzerland) is used for optimisation of large-scale transport. Vehicles are represented as agents in the system. These agents negotiate through auction-like protocol. Vehicle capable of cheapest delivery wins the auction. This way overall cost of cargo delivery and often combined distance travelled by all vehicles as well&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology developed by Agentis Software was used to manage the complex processes and changing business requirements involved in the challenging task of relocating residents during project to refurbish or rebuild housing for 25,000 people by the Chicago Housing Authority&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology by Agentis Software was used in project to rebuild and renovate housing for 25,000 people by the Chicago Housing Authority. Complex processes and changing requirements which were part of difficult task of relocating the occupants were managed thanks to this solution&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1495</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1495"/>
		<updated>2012-06-20T21:49:06Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Possible learning types */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Agent-based computational economics''' is branch of [http://en.wikipedia.org/wiki/Computational_economics computational economics]. It uses [http://en.wikipedia.org/wiki/Agent-based_model agent-based models] or simulations to model real world market or economic interactions between agents. Agents can represent institutions, firms, individuals or environment.  Models, often created in specialized software or framework, are dynamic and allow introduction of heterogenous behavior of agents. ACE is therefore '' &amp;quot;a computational study of economic processes modeled as dynamic systems of interacting agents&amp;quot;&amp;lt;ref name=Tesfatsion2006&amp;gt;Leigh Tesfatsion, Agent-Based Computational Economics: A Constructive Approach to Economic Theory [(pdf,253KB) http://www.econ.iastate.edu/tesfatsi/hbintlt.pdf], in Leigh Tesfatsion and Kenneth L. Judd (eds.), Handbook of Computational Economics, Volume 2: Agent-Based Computational Economics, Handbooks in Economics Series, Elsevier/North-Holland, the Netherlands, 2006.&amp;lt;/ref&amp;gt;&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref name=Tesfatsion2007&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy&amp;lt;ref name=Tesfatsion /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Subsequent insights in social norms and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of that organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood. It can explain why there are some regularities persistent over time and why they remain while others disappear. Evolving agent world can be used to observe needed degree of coordination to establish institutions and attain self organization&amp;lt;ref name=Tesfatsion /&amp;gt;&amp;lt;ref name=Tesfatsion2007 /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools&amp;lt;ref name=Tesfatsion /&amp;gt;&amp;lt;ref name=Tesfatsion2007 /&amp;gt;. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. From this application it is not far to the economic field. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments on European scale.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational worlds can composed of various agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
First method acquires (&amp;lt;code&amp;gt;getWorldEventSchedule&amp;lt;/code&amp;gt; current time from the world itself. Through &amp;lt;code&amp;gt;getMarketProtocols&amp;lt;/code&amp;gt; agent can acquire valid protocol used for different kinds of interaction and negotiations between agents. Method &amp;lt;code&amp;gt;getWorldProtocols&amp;lt;/code&amp;gt; can serve for other out of market interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. These can than be pinpointed through generated reports, plots or through other available ex-post analytical tools. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
[http://en.wikipedia.org/wiki/Cobweb_model Cobweb model] is example of [http://en.wikipedia.org/wiki/Genetic_algorithms_in_economics genetic algorithm for use in economics].&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
*An agent-based system developedby Acklin (Netherlands)for international vehicle insurance claims reduced workload at one participating company by 3 people. Total time time need for indentification of a client and claim was reduced from 6 months to less than 2 minutes &amp;lt;ref&amp;gt;http://www.agentlink.org/resources/webCS/AL3_CS_004_Acklin.pdf&amp;lt;/ref&amp;gt;&amp;lt;ref name=agentlink&amp;gt;AgentLink, 50 facts about agent-based computing,http://www.econ.iastate.edu/tesfatsi/AgentLink.50CommercialApplic.MLuck.pdf.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent-based application from Whitestein Technologies (Switzerland) is used for optimisation of large-scale transport. Vehicles are represented as agents in the system. These agents negotiate through auction-like protocol. Vehicle capable of cheapest delivery wins the auction. This way overall cost of cargo delivery and often combined distance travelled by all vehicles as well&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology developed by Agentis Software was used to manage the complex processes and changing business requirements involved in the challenging task of relocating residents during project to refurbish or rebuild housing for 25,000 people by the Chicago Housing Authority&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology by Agentis Software was used in project to rebuild and renovate housing for 25,000 people by the Chicago Housing Authority. Complex processes and changing requirements which were part of difficult task of relocating the occupants were managed thanks to this solution&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1494</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1494"/>
		<updated>2012-06-20T21:46:21Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Equilibriums and attractors */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Agent-based computational economics''' is branch of [http://en.wikipedia.org/wiki/Computational_economics computational economics]. It uses [http://en.wikipedia.org/wiki/Agent-based_model agent-based models] or simulations to model real world market or economic interactions between agents. Agents can represent institutions, firms, individuals or environment.  Models, often created in specialized software or framework, are dynamic and allow introduction of heterogenous behavior of agents. ACE is therefore '' &amp;quot;a computational study of economic processes modeled as dynamic systems of interacting agents&amp;quot;&amp;lt;ref name=Tesfatsion2006&amp;gt;Leigh Tesfatsion, Agent-Based Computational Economics: A Constructive Approach to Economic Theory [(pdf,253KB) http://www.econ.iastate.edu/tesfatsi/hbintlt.pdf], in Leigh Tesfatsion and Kenneth L. Judd (eds.), Handbook of Computational Economics, Volume 2: Agent-Based Computational Economics, Handbooks in Economics Series, Elsevier/North-Holland, the Netherlands, 2006.&amp;lt;/ref&amp;gt;&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref name=Tesfatsion2007&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy&amp;lt;ref name=Tesfatsion /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Subsequent insights in social norms and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of that organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood. It can explain why there are some regularities persistent over time and why they remain while others disappear. Evolving agent world can be used to observe needed degree of coordination to establish institutions and attain self organization&amp;lt;ref name=Tesfatsion /&amp;gt;&amp;lt;ref name=Tesfatsion2007 /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools&amp;lt;ref name=Tesfatsion /&amp;gt;&amp;lt;ref name=Tesfatsion2007 /&amp;gt;. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. From this application it is not far to the economic field. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments on European scale.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational worlds can composed of various agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
First method acquires (&amp;lt;code&amp;gt;getWorldEventSchedule&amp;lt;/code&amp;gt; current time from the world itself. Through &amp;lt;code&amp;gt;getMarketProtocols&amp;lt;/code&amp;gt; agent can acquire valid protocol used for different kinds of interaction and negotiations between agents. Method &amp;lt;code&amp;gt;getWorldProtocols&amp;lt;/code&amp;gt; can serve for other out of market interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. These can than be pinpointed through generated reports, plots or through other available ex-post analytical tools. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
*An agent-based system developedby Acklin (Netherlands)for international vehicle insurance claims reduced workload at one participating company by 3 people. Total time time need for indentification of a client and claim was reduced from 6 months to less than 2 minutes &amp;lt;ref&amp;gt;http://www.agentlink.org/resources/webCS/AL3_CS_004_Acklin.pdf&amp;lt;/ref&amp;gt;&amp;lt;ref name=agentlink&amp;gt;AgentLink, 50 facts about agent-based computing,http://www.econ.iastate.edu/tesfatsi/AgentLink.50CommercialApplic.MLuck.pdf.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent-based application from Whitestein Technologies (Switzerland) is used for optimisation of large-scale transport. Vehicles are represented as agents in the system. These agents negotiate through auction-like protocol. Vehicle capable of cheapest delivery wins the auction. This way overall cost of cargo delivery and often combined distance travelled by all vehicles as well&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology developed by Agentis Software was used to manage the complex processes and changing business requirements involved in the challenging task of relocating residents during project to refurbish or rebuild housing for 25,000 people by the Chicago Housing Authority&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology by Agentis Software was used in project to rebuild and renovate housing for 25,000 people by the Chicago Housing Authority. Complex processes and changing requirements which were part of difficult task of relocating the occupants were managed thanks to this solution&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1492</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1492"/>
		<updated>2012-06-20T21:42:55Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Computational world models */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Agent-based computational economics''' is branch of [http://en.wikipedia.org/wiki/Computational_economics computational economics]. It uses [http://en.wikipedia.org/wiki/Agent-based_model agent-based models] or simulations to model real world market or economic interactions between agents. Agents can represent institutions, firms, individuals or environment.  Models, often created in specialized software or framework, are dynamic and allow introduction of heterogenous behavior of agents. ACE is therefore '' &amp;quot;a computational study of economic processes modeled as dynamic systems of interacting agents&amp;quot;&amp;lt;ref name=Tesfatsion2006&amp;gt;Leigh Tesfatsion, Agent-Based Computational Economics: A Constructive Approach to Economic Theory [(pdf,253KB) http://www.econ.iastate.edu/tesfatsi/hbintlt.pdf], in Leigh Tesfatsion and Kenneth L. Judd (eds.), Handbook of Computational Economics, Volume 2: Agent-Based Computational Economics, Handbooks in Economics Series, Elsevier/North-Holland, the Netherlands, 2006.&amp;lt;/ref&amp;gt;&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref name=Tesfatsion2007&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy&amp;lt;ref name=Tesfatsion /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Subsequent insights in social norms and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of that organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood. It can explain why there are some regularities persistent over time and why they remain while others disappear. Evolving agent world can be used to observe needed degree of coordination to establish institutions and attain self organization&amp;lt;ref name=Tesfatsion /&amp;gt;&amp;lt;ref name=Tesfatsion2007 /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools&amp;lt;ref name=Tesfatsion /&amp;gt;&amp;lt;ref name=Tesfatsion2007 /&amp;gt;. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. From this application it is not far to the economic field. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments on European scale.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational worlds can composed of various agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
First method acquires (&amp;lt;code&amp;gt;getWorldEventSchedule&amp;lt;/code&amp;gt; current time from the world itself. Through &amp;lt;code&amp;gt;getMarketProtocols&amp;lt;/code&amp;gt; agent can acquire valid protocol used for different kinds of interaction and negotiations between agents. Method &amp;lt;code&amp;gt;getWorldProtocols&amp;lt;/code&amp;gt; can serve for other out of market interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
*An agent-based system developedby Acklin (Netherlands)for international vehicle insurance claims reduced workload at one participating company by 3 people. Total time time need for indentification of a client and claim was reduced from 6 months to less than 2 minutes &amp;lt;ref&amp;gt;http://www.agentlink.org/resources/webCS/AL3_CS_004_Acklin.pdf&amp;lt;/ref&amp;gt;&amp;lt;ref name=agentlink&amp;gt;AgentLink, 50 facts about agent-based computing,http://www.econ.iastate.edu/tesfatsi/AgentLink.50CommercialApplic.MLuck.pdf.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent-based application from Whitestein Technologies (Switzerland) is used for optimisation of large-scale transport. Vehicles are represented as agents in the system. These agents negotiate through auction-like protocol. Vehicle capable of cheapest delivery wins the auction. This way overall cost of cargo delivery and often combined distance travelled by all vehicles as well&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology developed by Agentis Software was used to manage the complex processes and changing business requirements involved in the challenging task of relocating residents during project to refurbish or rebuild housing for 25,000 people by the Chicago Housing Authority&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology by Agentis Software was used in project to rebuild and renovate housing for 25,000 people by the Chicago Housing Authority. Complex processes and changing requirements which were part of difficult task of relocating the occupants were managed thanks to this solution&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1491</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1491"/>
		<updated>2012-06-20T21:38:07Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Computational world models */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Agent-based computational economics''' is branch of [http://en.wikipedia.org/wiki/Computational_economics computational economics]. It uses [http://en.wikipedia.org/wiki/Agent-based_model agent-based models] or simulations to model real world market or economic interactions between agents. Agents can represent institutions, firms, individuals or environment.  Models, often created in specialized software or framework, are dynamic and allow introduction of heterogenous behavior of agents. ACE is therefore '' &amp;quot;a computational study of economic processes modeled as dynamic systems of interacting agents&amp;quot;&amp;lt;ref name=Tesfatsion2006&amp;gt;Leigh Tesfatsion, Agent-Based Computational Economics: A Constructive Approach to Economic Theory [(pdf,253KB) http://www.econ.iastate.edu/tesfatsi/hbintlt.pdf], in Leigh Tesfatsion and Kenneth L. Judd (eds.), Handbook of Computational Economics, Volume 2: Agent-Based Computational Economics, Handbooks in Economics Series, Elsevier/North-Holland, the Netherlands, 2006.&amp;lt;/ref&amp;gt;&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref name=Tesfatsion2007&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy&amp;lt;ref name=Tesfatsion /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Subsequent insights in social norms and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of that organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood. It can explain why there are some regularities persistent over time and why they remain while others disappear. Evolving agent world can be used to observe needed degree of coordination to establish institutions and attain self organization&amp;lt;ref name=Tesfatsion /&amp;gt;&amp;lt;ref name=Tesfatsion2007 /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools&amp;lt;ref name=Tesfatsion /&amp;gt;&amp;lt;ref name=Tesfatsion2007 /&amp;gt;. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. From this application it is not far to the economic field. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments on European scale.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational worlds can composed of various agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
*An agent-based system developedby Acklin (Netherlands)for international vehicle insurance claims reduced workload at one participating company by 3 people. Total time time need for indentification of a client and claim was reduced from 6 months to less than 2 minutes &amp;lt;ref&amp;gt;http://www.agentlink.org/resources/webCS/AL3_CS_004_Acklin.pdf&amp;lt;/ref&amp;gt;&amp;lt;ref name=agentlink&amp;gt;AgentLink, 50 facts about agent-based computing,http://www.econ.iastate.edu/tesfatsi/AgentLink.50CommercialApplic.MLuck.pdf.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent-based application from Whitestein Technologies (Switzerland) is used for optimisation of large-scale transport. Vehicles are represented as agents in the system. These agents negotiate through auction-like protocol. Vehicle capable of cheapest delivery wins the auction. This way overall cost of cargo delivery and often combined distance travelled by all vehicles as well&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology developed by Agentis Software was used to manage the complex processes and changing business requirements involved in the challenging task of relocating residents during project to refurbish or rebuild housing for 25,000 people by the Chicago Housing Authority&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology by Agentis Software was used in project to rebuild and renovate housing for 25,000 people by the Chicago Housing Authority. Complex processes and changing requirements which were part of difficult task of relocating the occupants were managed thanks to this solution&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1490</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1490"/>
		<updated>2012-06-20T21:37:22Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Fields of application */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Agent-based computational economics''' is branch of [http://en.wikipedia.org/wiki/Computational_economics computational economics]. It uses [http://en.wikipedia.org/wiki/Agent-based_model agent-based models] or simulations to model real world market or economic interactions between agents. Agents can represent institutions, firms, individuals or environment.  Models, often created in specialized software or framework, are dynamic and allow introduction of heterogenous behavior of agents. ACE is therefore '' &amp;quot;a computational study of economic processes modeled as dynamic systems of interacting agents&amp;quot;&amp;lt;ref name=Tesfatsion2006&amp;gt;Leigh Tesfatsion, Agent-Based Computational Economics: A Constructive Approach to Economic Theory [(pdf,253KB) http://www.econ.iastate.edu/tesfatsi/hbintlt.pdf], in Leigh Tesfatsion and Kenneth L. Judd (eds.), Handbook of Computational Economics, Volume 2: Agent-Based Computational Economics, Handbooks in Economics Series, Elsevier/North-Holland, the Netherlands, 2006.&amp;lt;/ref&amp;gt;&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref name=Tesfatsion2007&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy&amp;lt;ref name=Tesfatsion /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Subsequent insights in social norms and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of that organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood. It can explain why there are some regularities persistent over time and why they remain while others disappear. Evolving agent world can be used to observe needed degree of coordination to establish institutions and attain self organization&amp;lt;ref name=Tesfatsion /&amp;gt;&amp;lt;ref name=Tesfatsion2007 /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools&amp;lt;ref name=Tesfatsion /&amp;gt;&amp;lt;ref name=Tesfatsion2007 /&amp;gt;. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. From this application it is not far to the economic field. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments on European scale.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
*An agent-based system developedby Acklin (Netherlands)for international vehicle insurance claims reduced workload at one participating company by 3 people. Total time time need for indentification of a client and claim was reduced from 6 months to less than 2 minutes &amp;lt;ref&amp;gt;http://www.agentlink.org/resources/webCS/AL3_CS_004_Acklin.pdf&amp;lt;/ref&amp;gt;&amp;lt;ref name=agentlink&amp;gt;AgentLink, 50 facts about agent-based computing,http://www.econ.iastate.edu/tesfatsi/AgentLink.50CommercialApplic.MLuck.pdf.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent-based application from Whitestein Technologies (Switzerland) is used for optimisation of large-scale transport. Vehicles are represented as agents in the system. These agents negotiate through auction-like protocol. Vehicle capable of cheapest delivery wins the auction. This way overall cost of cargo delivery and often combined distance travelled by all vehicles as well&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology developed by Agentis Software was used to manage the complex processes and changing business requirements involved in the challenging task of relocating residents during project to refurbish or rebuild housing for 25,000 people by the Chicago Housing Authority&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology by Agentis Software was used in project to rebuild and renovate housing for 25,000 people by the Chicago Housing Authority. Complex processes and changing requirements which were part of difficult task of relocating the occupants were managed thanks to this solution&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1489</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1489"/>
		<updated>2012-06-20T21:36:02Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Resarch */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Agent-based computational economics''' is branch of [http://en.wikipedia.org/wiki/Computational_economics computational economics]. It uses [http://en.wikipedia.org/wiki/Agent-based_model agent-based models] or simulations to model real world market or economic interactions between agents. Agents can represent institutions, firms, individuals or environment.  Models, often created in specialized software or framework, are dynamic and allow introduction of heterogenous behavior of agents. ACE is therefore '' &amp;quot;a computational study of economic processes modeled as dynamic systems of interacting agents&amp;quot;&amp;lt;ref name=Tesfatsion2006&amp;gt;Leigh Tesfatsion, Agent-Based Computational Economics: A Constructive Approach to Economic Theory [(pdf,253KB) http://www.econ.iastate.edu/tesfatsi/hbintlt.pdf], in Leigh Tesfatsion and Kenneth L. Judd (eds.), Handbook of Computational Economics, Volume 2: Agent-Based Computational Economics, Handbooks in Economics Series, Elsevier/North-Holland, the Netherlands, 2006.&amp;lt;/ref&amp;gt;&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref name=Tesfatsion2007&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy&amp;lt;ref name=Tesfatsion /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Subsequent insights in social norms and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of that organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood. It can explain why there are some regularities persistent over time and why they remain while others disappear. Evolving agent world can be used to observe needed degree of coordination to establish institutions and attain self organization&amp;lt;ref name=Tesfatsion /&amp;gt;&amp;lt;ref name=Tesfatsion2007 /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools&amp;lt;ref name=Tesfatsion /&amp;gt;&amp;lt;ref name=Tesfatsion2007 /&amp;gt;. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
*An agent-based system developedby Acklin (Netherlands)for international vehicle insurance claims reduced workload at one participating company by 3 people. Total time time need for indentification of a client and claim was reduced from 6 months to less than 2 minutes &amp;lt;ref&amp;gt;http://www.agentlink.org/resources/webCS/AL3_CS_004_Acklin.pdf&amp;lt;/ref&amp;gt;&amp;lt;ref name=agentlink&amp;gt;AgentLink, 50 facts about agent-based computing,http://www.econ.iastate.edu/tesfatsi/AgentLink.50CommercialApplic.MLuck.pdf.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent-based application from Whitestein Technologies (Switzerland) is used for optimisation of large-scale transport. Vehicles are represented as agents in the system. These agents negotiate through auction-like protocol. Vehicle capable of cheapest delivery wins the auction. This way overall cost of cargo delivery and often combined distance travelled by all vehicles as well&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology developed by Agentis Software was used to manage the complex processes and changing business requirements involved in the challenging task of relocating residents during project to refurbish or rebuild housing for 25,000 people by the Chicago Housing Authority&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology by Agentis Software was used in project to rebuild and renovate housing for 25,000 people by the Chicago Housing Authority. Complex processes and changing requirements which were part of difficult task of relocating the occupants were managed thanks to this solution&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1488</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1488"/>
		<updated>2012-06-20T21:35:26Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Qualitative insight and theory generation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Agent-based computational economics''' is branch of [http://en.wikipedia.org/wiki/Computational_economics computational economics]. It uses [http://en.wikipedia.org/wiki/Agent-based_model agent-based models] or simulations to model real world market or economic interactions between agents. Agents can represent institutions, firms, individuals or environment.  Models, often created in specialized software or framework, are dynamic and allow introduction of heterogenous behavior of agents. ACE is therefore '' &amp;quot;a computational study of economic processes modeled as dynamic systems of interacting agents&amp;quot;&amp;lt;ref name=Tesfatsion2006&amp;gt;Leigh Tesfatsion, Agent-Based Computational Economics: A Constructive Approach to Economic Theory [(pdf,253KB) http://www.econ.iastate.edu/tesfatsi/hbintlt.pdf], in Leigh Tesfatsion and Kenneth L. Judd (eds.), Handbook of Computational Economics, Volume 2: Agent-Based Computational Economics, Handbooks in Economics Series, Elsevier/North-Holland, the Netherlands, 2006.&amp;lt;/ref&amp;gt;&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref name=Tesfatsion2007&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy&amp;lt;ref name=Tesfatsion /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Subsequent insights in social norms and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of that organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood. It can explain why there are some regularities persistent over time and why they remain while others disappear. Evolving agent world can be used to observe needed degree of coordination to establish institutions and attain self organization&amp;lt;ref name=Tesfatsion /&amp;gt;&amp;lt;ref name=Tesfatsion2007 /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
*An agent-based system developedby Acklin (Netherlands)for international vehicle insurance claims reduced workload at one participating company by 3 people. Total time time need for indentification of a client and claim was reduced from 6 months to less than 2 minutes &amp;lt;ref&amp;gt;http://www.agentlink.org/resources/webCS/AL3_CS_004_Acklin.pdf&amp;lt;/ref&amp;gt;&amp;lt;ref name=agentlink&amp;gt;AgentLink, 50 facts about agent-based computing,http://www.econ.iastate.edu/tesfatsi/AgentLink.50CommercialApplic.MLuck.pdf.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent-based application from Whitestein Technologies (Switzerland) is used for optimisation of large-scale transport. Vehicles are represented as agents in the system. These agents negotiate through auction-like protocol. Vehicle capable of cheapest delivery wins the auction. This way overall cost of cargo delivery and often combined distance travelled by all vehicles as well&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology developed by Agentis Software was used to manage the complex processes and changing business requirements involved in the challenging task of relocating residents during project to refurbish or rebuild housing for 25,000 people by the Chicago Housing Authority&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology by Agentis Software was used in project to rebuild and renovate housing for 25,000 people by the Chicago Housing Authority. Complex processes and changing requirements which were part of difficult task of relocating the occupants were managed thanks to this solution&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1487</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1487"/>
		<updated>2012-06-20T21:34:51Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Empirical */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Agent-based computational economics''' is branch of [http://en.wikipedia.org/wiki/Computational_economics computational economics]. It uses [http://en.wikipedia.org/wiki/Agent-based_model agent-based models] or simulations to model real world market or economic interactions between agents. Agents can represent institutions, firms, individuals or environment.  Models, often created in specialized software or framework, are dynamic and allow introduction of heterogenous behavior of agents. ACE is therefore '' &amp;quot;a computational study of economic processes modeled as dynamic systems of interacting agents&amp;quot;&amp;lt;ref name=Tesfatsion2006&amp;gt;Leigh Tesfatsion, Agent-Based Computational Economics: A Constructive Approach to Economic Theory [(pdf,253KB) http://www.econ.iastate.edu/tesfatsi/hbintlt.pdf], in Leigh Tesfatsion and Kenneth L. Judd (eds.), Handbook of Computational Economics, Volume 2: Agent-Based Computational Economics, Handbooks in Economics Series, Elsevier/North-Holland, the Netherlands, 2006.&amp;lt;/ref&amp;gt;&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref name=Tesfatsion2007&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy&amp;lt;ref name=Tesfatsion /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Subsequent insights in social norms and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of that organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood. It can explain why there are some regularities persistent over time and why they remain while others disappear. Evolving agent world can be used to observe needed degree of coordination to establish institutions and attain self organization.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
*An agent-based system developedby Acklin (Netherlands)for international vehicle insurance claims reduced workload at one participating company by 3 people. Total time time need for indentification of a client and claim was reduced from 6 months to less than 2 minutes &amp;lt;ref&amp;gt;http://www.agentlink.org/resources/webCS/AL3_CS_004_Acklin.pdf&amp;lt;/ref&amp;gt;&amp;lt;ref name=agentlink&amp;gt;AgentLink, 50 facts about agent-based computing,http://www.econ.iastate.edu/tesfatsi/AgentLink.50CommercialApplic.MLuck.pdf.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent-based application from Whitestein Technologies (Switzerland) is used for optimisation of large-scale transport. Vehicles are represented as agents in the system. These agents negotiate through auction-like protocol. Vehicle capable of cheapest delivery wins the auction. This way overall cost of cargo delivery and often combined distance travelled by all vehicles as well&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology developed by Agentis Software was used to manage the complex processes and changing business requirements involved in the challenging task of relocating residents during project to refurbish or rebuild housing for 25,000 people by the Chicago Housing Authority&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology by Agentis Software was used in project to rebuild and renovate housing for 25,000 people by the Chicago Housing Authority. Complex processes and changing requirements which were part of difficult task of relocating the occupants were managed thanks to this solution&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1486</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1486"/>
		<updated>2012-06-20T21:34:30Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Resarch */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Agent-based computational economics''' is branch of [http://en.wikipedia.org/wiki/Computational_economics computational economics]. It uses [http://en.wikipedia.org/wiki/Agent-based_model agent-based models] or simulations to model real world market or economic interactions between agents. Agents can represent institutions, firms, individuals or environment.  Models, often created in specialized software or framework, are dynamic and allow introduction of heterogenous behavior of agents. ACE is therefore '' &amp;quot;a computational study of economic processes modeled as dynamic systems of interacting agents&amp;quot;&amp;lt;ref name=Tesfatsion2006&amp;gt;Leigh Tesfatsion, Agent-Based Computational Economics: A Constructive Approach to Economic Theory [(pdf,253KB) http://www.econ.iastate.edu/tesfatsi/hbintlt.pdf], in Leigh Tesfatsion and Kenneth L. Judd (eds.), Handbook of Computational Economics, Volume 2: Agent-Based Computational Economics, Handbooks in Economics Series, Elsevier/North-Holland, the Netherlands, 2006.&amp;lt;/ref&amp;gt;&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref name=Tesfatsion2007&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Subsequent insights in social norms and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of that organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood. It can explain why there are some regularities persistent over time and why they remain while others disappear. Evolving agent world can be used to observe needed degree of coordination to establish institutions and attain self organization.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
*An agent-based system developedby Acklin (Netherlands)for international vehicle insurance claims reduced workload at one participating company by 3 people. Total time time need for indentification of a client and claim was reduced from 6 months to less than 2 minutes &amp;lt;ref&amp;gt;http://www.agentlink.org/resources/webCS/AL3_CS_004_Acklin.pdf&amp;lt;/ref&amp;gt;&amp;lt;ref name=agentlink&amp;gt;AgentLink, 50 facts about agent-based computing,http://www.econ.iastate.edu/tesfatsi/AgentLink.50CommercialApplic.MLuck.pdf.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent-based application from Whitestein Technologies (Switzerland) is used for optimisation of large-scale transport. Vehicles are represented as agents in the system. These agents negotiate through auction-like protocol. Vehicle capable of cheapest delivery wins the auction. This way overall cost of cargo delivery and often combined distance travelled by all vehicles as well&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology developed by Agentis Software was used to manage the complex processes and changing business requirements involved in the challenging task of relocating residents during project to refurbish or rebuild housing for 25,000 people by the Chicago Housing Authority&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology by Agentis Software was used in project to rebuild and renovate housing for 25,000 people by the Chicago Housing Authority. Complex processes and changing requirements which were part of difficult task of relocating the occupants were managed thanks to this solution&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1485</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1485"/>
		<updated>2012-06-20T21:33:21Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Qualitative insight and theory generation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Agent-based computational economics''' is branch of [http://en.wikipedia.org/wiki/Computational_economics computational economics]. It uses [http://en.wikipedia.org/wiki/Agent-based_model agent-based models] or simulations to model real world market or economic interactions between agents. Agents can represent institutions, firms, individuals or environment.  Models, often created in specialized software or framework, are dynamic and allow introduction of heterogenous behavior of agents. ACE is therefore '' &amp;quot;a computational study of economic processes modeled as dynamic systems of interacting agents&amp;quot;&amp;lt;ref name=Tesfatsion2006&amp;gt;Leigh Tesfatsion, Agent-Based Computational Economics: A Constructive Approach to Economic Theory [(pdf,253KB) http://www.econ.iastate.edu/tesfatsi/hbintlt.pdf], in Leigh Tesfatsion and Kenneth L. Judd (eds.), Handbook of Computational Economics, Volume 2: Agent-Based Computational Economics, Handbooks in Economics Series, Elsevier/North-Holland, the Netherlands, 2006.&amp;lt;/ref&amp;gt;&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Subsequent insights in social norms and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of that organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood. It can explain why there are some regularities persistent over time and why they remain while others disappear. Evolving agent world can be used to observe needed degree of coordination to establish institutions and attain self organization.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
*An agent-based system developedby Acklin (Netherlands)for international vehicle insurance claims reduced workload at one participating company by 3 people. Total time time need for indentification of a client and claim was reduced from 6 months to less than 2 minutes &amp;lt;ref&amp;gt;http://www.agentlink.org/resources/webCS/AL3_CS_004_Acklin.pdf&amp;lt;/ref&amp;gt;&amp;lt;ref name=agentlink&amp;gt;AgentLink, 50 facts about agent-based computing,http://www.econ.iastate.edu/tesfatsi/AgentLink.50CommercialApplic.MLuck.pdf.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent-based application from Whitestein Technologies (Switzerland) is used for optimisation of large-scale transport. Vehicles are represented as agents in the system. These agents negotiate through auction-like protocol. Vehicle capable of cheapest delivery wins the auction. This way overall cost of cargo delivery and often combined distance travelled by all vehicles as well&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology developed by Agentis Software was used to manage the complex processes and changing business requirements involved in the challenging task of relocating residents during project to refurbish or rebuild housing for 25,000 people by the Chicago Housing Authority&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology by Agentis Software was used in project to rebuild and renovate housing for 25,000 people by the Chicago Housing Authority. Complex processes and changing requirements which were part of difficult task of relocating the occupants were managed thanks to this solution&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1484</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1484"/>
		<updated>2012-06-20T21:25:31Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Methodological advancement */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Agent-based computational economics''' is branch of [http://en.wikipedia.org/wiki/Computational_economics computational economics]. It uses [http://en.wikipedia.org/wiki/Agent-based_model agent-based models] or simulations to model real world market or economic interactions between agents. Agents can represent institutions, firms, individuals or environment.  Models, often created in specialized software or framework, are dynamic and allow introduction of heterogenous behavior of agents. ACE is therefore '' &amp;quot;a computational study of economic processes modeled as dynamic systems of interacting agents&amp;quot;&amp;lt;ref name=Tesfatsion2006&amp;gt;Leigh Tesfatsion, Agent-Based Computational Economics: A Constructive Approach to Economic Theory [(pdf,253KB) http://www.econ.iastate.edu/tesfatsi/hbintlt.pdf], in Leigh Tesfatsion and Kenneth L. Judd (eds.), Handbook of Computational Economics, Volume 2: Agent-Based Computational Economics, Handbooks in Economics Series, Elsevier/North-Holland, the Netherlands, 2006.&amp;lt;/ref&amp;gt;&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Subsequent insights in social norms and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of that organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
*An agent-based system developedby Acklin (Netherlands)for international vehicle insurance claims reduced workload at one participating company by 3 people. Total time time need for indentification of a client and claim was reduced from 6 months to less than 2 minutes &amp;lt;ref&amp;gt;http://www.agentlink.org/resources/webCS/AL3_CS_004_Acklin.pdf&amp;lt;/ref&amp;gt;&amp;lt;ref name=agentlink&amp;gt;AgentLink, 50 facts about agent-based computing,http://www.econ.iastate.edu/tesfatsi/AgentLink.50CommercialApplic.MLuck.pdf.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent-based application from Whitestein Technologies (Switzerland) is used for optimisation of large-scale transport. Vehicles are represented as agents in the system. These agents negotiate through auction-like protocol. Vehicle capable of cheapest delivery wins the auction. This way overall cost of cargo delivery and often combined distance travelled by all vehicles as well&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology developed by Agentis Software was used to manage the complex processes and changing business requirements involved in the challenging task of relocating residents during project to refurbish or rebuild housing for 25,000 people by the Chicago Housing Authority&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology by Agentis Software was used in project to rebuild and renovate housing for 25,000 people by the Chicago Housing Authority. Complex processes and changing requirements which were part of difficult task of relocating the occupants were managed thanks to this solution&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1483</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1483"/>
		<updated>2012-06-20T21:25:05Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Normative */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Agent-based computational economics''' is branch of [http://en.wikipedia.org/wiki/Computational_economics computational economics]. It uses [http://en.wikipedia.org/wiki/Agent-based_model agent-based models] or simulations to model real world market or economic interactions between agents. Agents can represent institutions, firms, individuals or environment.  Models, often created in specialized software or framework, are dynamic and allow introduction of heterogenous behavior of agents. ACE is therefore '' &amp;quot;a computational study of economic processes modeled as dynamic systems of interacting agents&amp;quot;&amp;lt;ref name=Tesfatsion2006&amp;gt;Leigh Tesfatsion, Agent-Based Computational Economics: A Constructive Approach to Economic Theory [(pdf,253KB) http://www.econ.iastate.edu/tesfatsi/hbintlt.pdf], in Leigh Tesfatsion and Kenneth L. Judd (eds.), Handbook of Computational Economics, Volume 2: Agent-Based Computational Economics, Handbooks in Economics Series, Elsevier/North-Holland, the Netherlands, 2006.&amp;lt;/ref&amp;gt;&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Subsequent insights in social norms and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of that organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
representation, visualization, validation,&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
*An agent-based system developedby Acklin (Netherlands)for international vehicle insurance claims reduced workload at one participating company by 3 people. Total time time need for indentification of a client and claim was reduced from 6 months to less than 2 minutes &amp;lt;ref&amp;gt;http://www.agentlink.org/resources/webCS/AL3_CS_004_Acklin.pdf&amp;lt;/ref&amp;gt;&amp;lt;ref name=agentlink&amp;gt;AgentLink, 50 facts about agent-based computing,http://www.econ.iastate.edu/tesfatsi/AgentLink.50CommercialApplic.MLuck.pdf.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent-based application from Whitestein Technologies (Switzerland) is used for optimisation of large-scale transport. Vehicles are represented as agents in the system. These agents negotiate through auction-like protocol. Vehicle capable of cheapest delivery wins the auction. This way overall cost of cargo delivery and often combined distance travelled by all vehicles as well&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology developed by Agentis Software was used to manage the complex processes and changing business requirements involved in the challenging task of relocating residents during project to refurbish or rebuild housing for 25,000 people by the Chicago Housing Authority&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology by Agentis Software was used in project to rebuild and renovate housing for 25,000 people by the Chicago Housing Authority. Complex processes and changing requirements which were part of difficult task of relocating the occupants were managed thanks to this solution&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1482</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1482"/>
		<updated>2012-06-20T21:24:28Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Normative */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Agent-based computational economics''' is branch of [http://en.wikipedia.org/wiki/Computational_economics computational economics]. It uses [http://en.wikipedia.org/wiki/Agent-based_model agent-based models] or simulations to model real world market or economic interactions between agents. Agents can represent institutions, firms, individuals or environment.  Models, often created in specialized software or framework, are dynamic and allow introduction of heterogenous behavior of agents. ACE is therefore '' &amp;quot;a computational study of economic processes modeled as dynamic systems of interacting agents&amp;quot;&amp;lt;ref name=Tesfatsion2006&amp;gt;Leigh Tesfatsion, Agent-Based Computational Economics: A Constructive Approach to Economic Theory [(pdf,253KB) http://www.econ.iastate.edu/tesfatsi/hbintlt.pdf], in Leigh Tesfatsion and Kenneth L. Judd (eds.), Handbook of Computational Economics, Volume 2: Agent-Based Computational Economics, Handbooks in Economics Series, Elsevier/North-Holland, the Netherlands, 2006.&amp;lt;/ref&amp;gt;&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Subsequent insights in social norms and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of this organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
representation, visualization, validation,&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
*An agent-based system developedby Acklin (Netherlands)for international vehicle insurance claims reduced workload at one participating company by 3 people. Total time time need for indentification of a client and claim was reduced from 6 months to less than 2 minutes &amp;lt;ref&amp;gt;http://www.agentlink.org/resources/webCS/AL3_CS_004_Acklin.pdf&amp;lt;/ref&amp;gt;&amp;lt;ref name=agentlink&amp;gt;AgentLink, 50 facts about agent-based computing,http://www.econ.iastate.edu/tesfatsi/AgentLink.50CommercialApplic.MLuck.pdf.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent-based application from Whitestein Technologies (Switzerland) is used for optimisation of large-scale transport. Vehicles are represented as agents in the system. These agents negotiate through auction-like protocol. Vehicle capable of cheapest delivery wins the auction. This way overall cost of cargo delivery and often combined distance travelled by all vehicles as well&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology developed by Agentis Software was used to manage the complex processes and changing business requirements involved in the challenging task of relocating residents during project to refurbish or rebuild housing for 25,000 people by the Chicago Housing Authority&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology by Agentis Software was used in project to rebuild and renovate housing for 25,000 people by the Chicago Housing Authority. Complex processes and changing requirements which were part of difficult task of relocating the occupants were managed thanks to this solution&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1481</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1481"/>
		<updated>2012-06-20T21:22:22Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Agent-based computational economics''' is branch of [http://en.wikipedia.org/wiki/Computational_economics computational economics]. It uses [http://en.wikipedia.org/wiki/Agent-based_model agent-based models] or simulations to model real world market or economic interactions between agents. Agents can represent institutions, firms, individuals or environment.  Models, often created in specialized software or framework, are dynamic and allow introduction of heterogenous behavior of agents. ACE is therefore '' &amp;quot;a computational study of economic processes modeled as dynamic systems of interacting agents&amp;quot;&amp;lt;ref name=Tesfatsion2006&amp;gt;Leigh Tesfatsion, Agent-Based Computational Economics: A Constructive Approach to Economic Theory [(pdf,253KB) http://www.econ.iastate.edu/tesfatsi/hbintlt.pdf], in Leigh Tesfatsion and Kenneth L. Judd (eds.), Handbook of Computational Economics, Volume 2: Agent-Based Computational Economics, Handbooks in Economics Series, Elsevier/North-Holland, the Netherlands, 2006.&amp;lt;/ref&amp;gt;&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Insights in social nomrs and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of this organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
representation, visualization, validation,&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
*An agent-based system developedby Acklin (Netherlands)for international vehicle insurance claims reduced workload at one participating company by 3 people. Total time time need for indentification of a client and claim was reduced from 6 months to less than 2 minutes &amp;lt;ref&amp;gt;http://www.agentlink.org/resources/webCS/AL3_CS_004_Acklin.pdf&amp;lt;/ref&amp;gt;&amp;lt;ref name=agentlink&amp;gt;AgentLink, 50 facts about agent-based computing,http://www.econ.iastate.edu/tesfatsi/AgentLink.50CommercialApplic.MLuck.pdf.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent-based application from Whitestein Technologies (Switzerland) is used for optimisation of large-scale transport. Vehicles are represented as agents in the system. These agents negotiate through auction-like protocol. Vehicle capable of cheapest delivery wins the auction. This way overall cost of cargo delivery and often combined distance travelled by all vehicles as well&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology developed by Agentis Software was used to manage the complex processes and changing business requirements involved in the challenging task of relocating residents during project to refurbish or rebuild housing for 25,000 people by the Chicago Housing Authority&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology by Agentis Software was used in project to rebuild and renovate housing for 25,000 people by the Chicago Housing Authority. Complex processes and changing requirements which were part of difficult task of relocating the occupants were managed thanks to this solution&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1480</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1480"/>
		<updated>2012-06-20T21:19:49Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Agent-based computational economics''' is branch of [http://en.wikipedia.org/wiki/Computational_economics computational economics]. It uses multi-agent models or simulations to model real world market or economic interactions between agents. Agents can represent institutions, firms, individuals or environment.  Models, often created in specialized software or framework, are dynamic and allow introduction of heterogenous behavior of agents. ACE is therefore '' &amp;quot;a computational study of economic processes modeled as dynamic systems of interacting agents&amp;quot;&amp;lt;ref name=Tesfatsion2006&amp;gt;Leigh Tesfatsion, Agent-Based Computational Economics: A Constructive Approach to Economic Theory [(pdf,253KB) http://www.econ.iastate.edu/tesfatsi/hbintlt.pdf], in Leigh Tesfatsion and Kenneth L. Judd (eds.), Handbook of Computational Economics, Volume 2: Agent-Based Computational Economics, Handbooks in Economics Series, Elsevier/North-Holland, the Netherlands, 2006.&amp;lt;/ref&amp;gt;&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Insights in social nomrs and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of this organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
representation, visualization, validation,&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
*An agent-based system developedby Acklin (Netherlands)for international vehicle insurance claims reduced workload at one participating company by 3 people. Total time time need for indentification of a client and claim was reduced from 6 months to less than 2 minutes &amp;lt;ref&amp;gt;http://www.agentlink.org/resources/webCS/AL3_CS_004_Acklin.pdf&amp;lt;/ref&amp;gt;&amp;lt;ref name=agentlink&amp;gt;AgentLink, 50 facts about agent-based computing,http://www.econ.iastate.edu/tesfatsi/AgentLink.50CommercialApplic.MLuck.pdf.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent-based application from Whitestein Technologies (Switzerland) is used for optimisation of large-scale transport. Vehicles are represented as agents in the system. These agents negotiate through auction-like protocol. Vehicle capable of cheapest delivery wins the auction. This way overall cost of cargo delivery and often combined distance travelled by all vehicles as well&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology developed by Agentis Software was used to manage the complex processes and changing business requirements involved in the challenging task of relocating residents during project to refurbish or rebuild housing for 25,000 people by the Chicago Housing Authority&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology by Agentis Software was used in project to rebuild and renovate housing for 25,000 people by the Chicago Housing Authority. Complex processes and changing requirements which were part of difficult task of relocating the occupants were managed thanks to this solution&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1479</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1479"/>
		<updated>2012-06-20T21:19:19Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Agent-based computational economics''' is branch of [http://en.wikipedia.org/wiki/Computational_economics computational economics]. It uses multi-agent models or simulations to model real world market or economic interactions between agents. Agents can represent institutions, firms, individuals or environment.  Models, often created in specialized software or framework are dynamic and allow introduction of heterogenous behavior of agents. ACE is therefore '' &amp;quot;a computational study of economic processes modeled as dynamic systems of interacting agents&amp;quot;&amp;lt;ref name=Tesfatsion2006&amp;gt;Leigh Tesfatsion, Agent-Based Computational Economics: A Constructive Approach to Economic Theory [(pdf,253KB) http://www.econ.iastate.edu/tesfatsi/hbintlt.pdf], in Leigh Tesfatsion and Kenneth L. Judd (eds.), Handbook of Computational Economics, Volume 2: Agent-Based Computational Economics, Handbooks in Economics Series, Elsevier/North-Holland, the Netherlands, 2006.&amp;lt;/ref&amp;gt;&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Insights in social nomrs and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of this organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
representation, visualization, validation,&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
*An agent-based system developedby Acklin (Netherlands)for international vehicle insurance claims reduced workload at one participating company by 3 people. Total time time need for indentification of a client and claim was reduced from 6 months to less than 2 minutes &amp;lt;ref&amp;gt;http://www.agentlink.org/resources/webCS/AL3_CS_004_Acklin.pdf&amp;lt;/ref&amp;gt;&amp;lt;ref name=agentlink&amp;gt;AgentLink, 50 facts about agent-based computing,http://www.econ.iastate.edu/tesfatsi/AgentLink.50CommercialApplic.MLuck.pdf.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent-based application from Whitestein Technologies (Switzerland) is used for optimisation of large-scale transport. Vehicles are represented as agents in the system. These agents negotiate through auction-like protocol. Vehicle capable of cheapest delivery wins the auction. This way overall cost of cargo delivery and often combined distance travelled by all vehicles as well&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology developed by Agentis Software was used to manage the complex processes and changing business requirements involved in the challenging task of relocating residents during project to refurbish or rebuild housing for 25,000 people by the Chicago Housing Authority&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology by Agentis Software was used in project to rebuild and renovate housing for 25,000 people by the Chicago Housing Authority. Complex processes and changing requirements which were part of difficult task of relocating the occupants were managed thanks to this solution&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1477</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1477"/>
		<updated>2012-06-20T21:12:46Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Examples of real applications */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Agent-based computational economics''' is branch of [http://en.wikipedia.org/wiki/Computational_economics computational economics]. It uses multi-agent models or simulations to model real world market or economic interactions between agents. Agents can represent institutions, firms, individuals or environment.  Models, often created in specialized software or framework are dynamic and allow introduction of heterogenous or random (if needed) behavior of agents. ACE is therefore '' &amp;quot;a computational study of economic processes modeled as dynamic systems of interacting agents&amp;quot;&amp;lt;ref name=Tesfatsion2006&amp;gt;Leigh Tesfatsion, Agent-Based Computational Economics: A Constructive Approach to Economic Theory [(pdf,253KB) http://www.econ.iastate.edu/tesfatsi/hbintlt.pdf], in Leigh Tesfatsion and Kenneth L. Judd (eds.), Handbook of Computational Economics, Volume 2: Agent-Based Computational Economics, Handbooks in Economics Series, Elsevier/North-Holland, the Netherlands, 2006.&amp;lt;/ref&amp;gt;&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Insights in social nomrs and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of this organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
representation, visualization, validation,&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
*An agent-based system developedby Acklin (Netherlands)for international vehicle insurance claims reduced workload at one participating company by 3 people. Total time time need for indentification of a client and claim was reduced from 6 months to less than 2 minutes &amp;lt;ref&amp;gt;http://www.agentlink.org/resources/webCS/AL3_CS_004_Acklin.pdf&amp;lt;/ref&amp;gt;&amp;lt;ref name=agentlink&amp;gt;AgentLink, 50 facts about agent-based computing,http://www.econ.iastate.edu/tesfatsi/AgentLink.50CommercialApplic.MLuck.pdf.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent-based application from Whitestein Technologies (Switzerland) is used for optimisation of large-scale transport. Vehicles are represented as agents in the system. These agents negotiate through auction-like protocol. Vehicle capable of cheapest delivery wins the auction. This way overall cost of cargo delivery and often combined distance travelled by all vehicles as well&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology developed by Agentis Software was used to manage the complex processes and changing business requirements involved in the challenging task of relocating residents during project to refurbish or rebuild housing for 25,000 people by the Chicago Housing Authority&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology by Agentis Software was used in project to rebuild and renovate housing for 25,000 people by the Chicago Housing Authority. Complex processes and changing requirements which were part of difficult task of relocating the occupants were managed thanks to this solution&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1476</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1476"/>
		<updated>2012-06-20T21:06:14Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Examples of real applications */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Agent-based computational economics''' is branch of [http://en.wikipedia.org/wiki/Computational_economics computational economics]. It uses multi-agent models or simulations to model real world market or economic interactions between agents. Agents can represent institutions, firms, individuals or environment.  Models, often created in specialized software or framework are dynamic and allow introduction of heterogenous or random (if needed) behavior of agents. ACE is therefore '' &amp;quot;a computational study of economic processes modeled as dynamic systems of interacting agents&amp;quot;&amp;lt;ref name=Tesfatsion2006&amp;gt;Leigh Tesfatsion, Agent-Based Computational Economics: A Constructive Approach to Economic Theory [(pdf,253KB) http://www.econ.iastate.edu/tesfatsi/hbintlt.pdf], in Leigh Tesfatsion and Kenneth L. Judd (eds.), Handbook of Computational Economics, Volume 2: Agent-Based Computational Economics, Handbooks in Economics Series, Elsevier/North-Holland, the Netherlands, 2006.&amp;lt;/ref&amp;gt;&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Insights in social nomrs and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of this organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
representation, visualization, validation,&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
*An agent-based system developedby Acklin (Netherlands)for international vehicle insurance claims &amp;lt;ref&amp;gt;http://www.agentlink.org/resources/webCS/AL3_CS_004_Acklin.pdf&amp;lt;/ref&amp;gt;&amp;lt;ref name=agentlink&amp;gt;AgentLink, 50 facts about agent-based computing,http://www.econ.iastate.edu/tesfatsi/AgentLink.50CommercialApplic.MLuck.pdf &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Agent-based application from Whitestein Technologies (Switzerland) is used for optimisation of large-scale transport. Vehicles are represented as agents in the system. These agents negotiate through auction-like protocol. Vehicle capable of cheapest delivery wins the auction. This way overall cost of cargo delivery and often combined distance travelled by all vehicles as well&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology developed by Agentis Software was used to manage the complex processes and changing business requirements involved in the challenging task of relocating residents during project to refurbish or rebuild housing for 25,000 people by the Chicago Housing Authority&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Agent technology by Agentis Software was used in project to rebuild and renovate housing for 25,000 people by the Chicago Housing Authority. Complex processes and changing requirements which were part of difficult task of relocating the occupants were managed thanks to this solution&amp;lt;ref name=agentlink /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1475</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1475"/>
		<updated>2012-06-20T21:05:16Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Examples of real applications */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Agent-based computational economics''' is branch of [http://en.wikipedia.org/wiki/Computational_economics computational economics]. It uses multi-agent models or simulations to model real world market or economic interactions between agents. Agents can represent institutions, firms, individuals or environment.  Models, often created in specialized software or framework are dynamic and allow introduction of heterogenous or random (if needed) behavior of agents. ACE is therefore '' &amp;quot;a computational study of economic processes modeled as dynamic systems of interacting agents&amp;quot;&amp;lt;ref name=Tesfatsion2006&amp;gt;Leigh Tesfatsion, Agent-Based Computational Economics: A Constructive Approach to Economic Theory [(pdf,253KB) http://www.econ.iastate.edu/tesfatsi/hbintlt.pdf], in Leigh Tesfatsion and Kenneth L. Judd (eds.), Handbook of Computational Economics, Volume 2: Agent-Based Computational Economics, Handbooks in Economics Series, Elsevier/North-Holland, the Netherlands, 2006.&amp;lt;/ref&amp;gt;&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Insights in social nomrs and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of this organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
representation, visualization, validation,&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
*An agent-based system developedby Acklin (Netherlands)for international vehicle insurance claims &amp;lt;ref&amp;gt;http://www.agentlink.org/resources/webCS/AL3_CS_004_Acklin.pdf&amp;lt;/ref&amp;gt;&amp;lt;ref name=agentlink&amp;gt;AgentLink, 50 facts about agent-based computing,http://www.econ.iastate.edu/tesfatsi/AgentLink.50CommercialApplic.MLuck.pdf &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Agent-based application from Whitestein Technologies (Switzerland) is used for optimisation of large-scale transport. Vehicles are represented as agents in the system. These agents negotiate through auction-like protocol. Vehicle capable of cheapest delivery wins the auction. This way overall cost of cargo delivery and often combined distance travelled by all vehicles as well.&lt;br /&gt;
&lt;br /&gt;
*Agent technology developed by Agentis Software was used to manage the complex processes and changing business requirements involved in the challenging task of relocating residents during project to refurbish or rebuild housing&lt;br /&gt;
for 25,000 people by the&lt;br /&gt;
Chicago Housing Authority.&lt;br /&gt;
&lt;br /&gt;
*Agent technology by Agentis Software was used in project to rebuild and renovate housing for 25,000 people by the Chicago Housing Authority. Complex processes and changing requirements which were part of difficult task of relocating the occupants were managed thanks to this solution.&lt;br /&gt;
&lt;br /&gt;
'''upravit, přepsat!'''&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1470</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1470"/>
		<updated>2012-06-20T20:51:43Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Examples of real applications */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Agent-based computational economics''' is branch of [http://en.wikipedia.org/wiki/Computational_economics computational economics]. It uses multi-agent models or simulations to model real world market or economic interactions between agents. Agents can represent institutions, firms, individuals or environment.  Models, often created in specialized software or framework are dynamic and allow introduction of heterogenous or random (if needed) behavior of agents. ACE is therefore '' &amp;quot;a computational study of economic processes modeled as dynamic systems of interacting agents&amp;quot;&amp;lt;ref name=Tesfatsion2006&amp;gt;Leigh Tesfatsion, Agent-Based Computational Economics: A Constructive Approach to Economic Theory [(pdf,253KB) http://www.econ.iastate.edu/tesfatsi/hbintlt.pdf], in Leigh Tesfatsion and Kenneth L. Judd (eds.), Handbook of Computational Economics, Volume 2: Agent-Based Computational Economics, Handbooks in Economics Series, Elsevier/North-Holland, the Netherlands, 2006.&amp;lt;/ref&amp;gt;&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Insights in social nomrs and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of this organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
representation, visualization, validation,&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
An agent-based system developedby Acklin (Netherlands)for international vehicle insurance claims &amp;lt;ref&amp;gt;http://www.agentlink.org/resources/webCS/AL3_CS_004_Acklin.pdf&amp;lt;/ref&amp;gt;&amp;lt;ref name=agentlink&amp;gt;AgentLink, 50 facts about agent-based computing,http://www.econ.iastate.edu/tesfatsi/AgentLink.50CommercialApplic.MLuck.pdf &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Agent-based application from Whitestein Technologies (Switzerland) is used for optimisation of large-scale transport. Vehicles are represented as agents in the system. These agents negotiate through auction-like protocol. Vehicle capable of cheapest delivery wins the auction. This way overall cost of cargo delivery and often combined distance travelled by all vehicles as well.&lt;br /&gt;
&lt;br /&gt;
'''upravit, přepsat!'''&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1419</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1419"/>
		<updated>2012-06-20T15:57:19Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Examples of real applications */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Agent-based computational economics''' is branch of [http://en.wikipedia.org/wiki/Computational_economics computational economics]. It uses multi-agent models or simulations to model real world market or economic interactions between agents. Agents can represent institutions, firms, individuals or environment.  Models, often created in specialized software or framework are dynamic and allow introduction of heterogenous or random (if needed) behavior of agents. ACE is therefore '' &amp;quot;a computational study of economic processes modeled as dynamic systems of interacting agents&amp;quot;&amp;lt;ref name=Tesfatsion2006&amp;gt;Leigh Tesfatsion, Agent-Based Computational Economics: A Constructive Approach to Economic Theory [(pdf,253KB) http://www.econ.iastate.edu/tesfatsi/hbintlt.pdf], in Leigh Tesfatsion and Kenneth L. Judd (eds.), Handbook of Computational Economics, Volume 2: Agent-Based Computational Economics, Handbooks in Economics Series, Elsevier/North-Holland, the Netherlands, 2006.&amp;lt;/ref&amp;gt;&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Insights in social nomrs and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of this organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
representation, visualization, validation,&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
An agent-based system developedby Acklin (Netherlands)for international vehicle insurance claims &amp;lt;ref&amp;gt;http://www.agentlink.org/resources/webCS/AL3_CS_004_Acklin.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Whitestein Technologies (Switzerland) has developed an agent-based application designed to provide automatic optimisation for large-scale transport companies, taking into account the many constraints on their vehicle fleet, cargo, and drivers. Although the agent solution accounts for only 20% of the entire system, agent technology plays a central role in the optimisation. Negotiations are performed automatically by agents, with each agent representing one vehicle, using an auction-like protocol, so that the vehicle&lt;br /&gt;
that can provide the cheapest delivery wins the auction, reducing the overall cost of cargo delivery and, in most cases, the combined distance travelled for all vehicles.&lt;br /&gt;
&lt;br /&gt;
'''upravit, přepsat!'''&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1418</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1418"/>
		<updated>2012-06-20T15:44:39Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Agent-based computational economics''' is branch of [http://en.wikipedia.org/wiki/Computational_economics computational economics]. It uses multi-agent models or simulations to model real world market or economic interactions between agents. Agents can represent institutions, firms, individuals or environment.  Models, often created in specialized software or framework are dynamic and allow introduction of heterogenous or random (if needed) behavior of agents. ACE is therefore '' &amp;quot;a computational study of economic processes modeled as dynamic systems of interacting agents&amp;quot;&amp;lt;ref name=Tesfatsion2006&amp;gt;Leigh Tesfatsion, Agent-Based Computational Economics: A Constructive Approach to Economic Theory [(pdf,253KB) http://www.econ.iastate.edu/tesfatsi/hbintlt.pdf], in Leigh Tesfatsion and Kenneth L. Judd (eds.), Handbook of Computational Economics, Volume 2: Agent-Based Computational Economics, Handbooks in Economics Series, Elsevier/North-Holland, the Netherlands, 2006.&amp;lt;/ref&amp;gt;&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Insights in social nomrs and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of this organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
representation, visualization, validation,&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1417</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1417"/>
		<updated>2012-06-20T15:44:18Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Agent-based computational economics''' is branch of [http://en.wikipedia.org/wiki/Computational_economics computational economics]. It uses multi-agent models or simulations to model real world market or economic interactions between agents. Agents can represent institutions, firms, individuals or environment.  Models, often created in specialized software or framework are dynamic and allow introduction of heterogenous or random (if needed) behavior of agents. ACE is therefore '' &amp;quot;a computational study of economic processes modeled as dynamic systems of interacting agents&amp;quot;&amp;lt;ref name=Tesfatsion2006&amp;gt;Leigh Tesfatsion, Agent-Based Computational Economics: A Constructive Approach to Economic Theory [(pdf,253KB) http://www.econ.iastate.edu/tesfatsi/hbintlt.pdf], in Leigh Tesfatsion and Kenneth L. Judd (eds.), Handbook of Computational Economics, Volume 2: Agent-Based Computational Economics, Handbooks in Economics Series, Elsevier/North-Holland, the Netherlands, 2006.&amp;lt;/ref&amp;gt;&lt;br /&gt;
''&lt;br /&gt;
ACE is therefore computational study of economic processes modeled as&lt;br /&gt;
dynamic systems of interacting agents&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Insights in social nomrs and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of this organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
representation, visualization, validation,&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1416</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1416"/>
		<updated>2012-06-20T15:42:33Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Agent-based computational economics''' is branch of [http://en.wikipedia.org/wiki/Computational_economics computational economics]. It uses multi-agent models or simulations to model real world market or economic interactions between agents. Agents can represent institutions, firms, individuals or environment.  Models, often created in specialized software or framework are dynamic and allow introduction of heterogenous or random (if needed) behavior of agents. ACE is therefore '' &amp;quot;a computational study of economic processes modeled as dynamic systems of interacting agents&amp;quot;&lt;br /&gt;
''&lt;br /&gt;
ACE is therefore computational study of economic processes modeled as&lt;br /&gt;
dynamic systems of interacting agents&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Insights in social nomrs and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of this organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
representation, visualization, validation,&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1415</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1415"/>
		<updated>2012-06-20T15:32:38Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Agent-based computational economics''' is branch of [http://en.wikipedia.org/wiki/Computational_economics computational economics]. It uses multi-agent models or simulations to model real world market or economic interactions between agents. Agents can represent institutions, firms, individuals or environment. Models are dynamic and allow introduction of heterogenous or random (if needed) behavior of agents.&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Insights in social nomrs and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of this organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
representation, visualization, validation,&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1414</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1414"/>
		<updated>2012-06-20T15:32:21Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Agent-based computational economics is branch of [http://en.wikipedia.org/wiki/Computational_economics computational economics]. It uses multi-agent models or simulations to model real world market or economic interactions between agents. Agents can represent institutions, firms, individuals or environment. Models are dynamic and allow introduction of heterogenous or random (if needed) behavior of agents.&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Insights in social nomrs and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of this organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
representation, visualization, validation,&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1413</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1413"/>
		<updated>2012-06-20T15:10:53Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Insights in social nomrs and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of this organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
representation, visualization, validation,&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Examples of real applications==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1412</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1412"/>
		<updated>2012-06-20T14:31:03Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Computational world models */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Insights in social nomrs and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of this organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
representation, visualization, validation,&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents  artificial institutions e.g. market or between agents and the world itself. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1411</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1411"/>
		<updated>2012-06-20T14:28:23Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Computational world models */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Insights in social nomrs and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of this organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
representation, visualization, validation,&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf, Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, &lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents and the world or artificial institutions e.g. market. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1410</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1410"/>
		<updated>2012-06-20T14:27:29Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Agent types and characteristics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Insights in social nomrs and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of this organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
representation, visualization, validation,&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, Available from: http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents and the world or artificial institutions e.g. market. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf , Journal of Simulation, Vol. 4, 2010, 151–162&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1409</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1409"/>
		<updated>2012-06-20T14:26:40Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Agent types and characteristics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Insights in social nomrs and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of this organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
representation, visualization, validation,&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, Available from: http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents and the world or artificial institutions e.g. market. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous &amp;lt;ref name=North&amp;gt;Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot;, Journal of Simulation, Vol. 4, 2010, 151–162, http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf&amp;lt;/ref&amp;gt;. Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=File:Derivate-follower-basin-of-attraction.png&amp;diff=1408</id>
		<title>File:Derivate-follower-basin-of-attraction.png</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=File:Derivate-follower-basin-of-attraction.png&amp;diff=1408"/>
		<updated>2012-06-20T14:16:34Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Movement of a agent using Deterministic Reactive RL. By using derivative-Follower adaptation the agent stops prematurelly before attaining the highest profit/value.&lt;br /&gt;
&lt;br /&gt;
'''Image taken from:''' Leigh Tesfatsion, Learning Algorithms: Illustrative Examples http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=File:Derivate-follower-basin-of-attraction.png&amp;diff=1407</id>
		<title>File:Derivate-follower-basin-of-attraction.png</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=File:Derivate-follower-basin-of-attraction.png&amp;diff=1407"/>
		<updated>2012-06-20T14:15:39Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Movement of a agent using Deterministic Reactive RL. By using derivative-Follower adaptation the agent stops prematurelly before attaining the highest profit/value.&lt;br /&gt;
&lt;br /&gt;
Image taken from: Leigh Tesfatsion, Learning Algorithms: Illustrative Examples&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1406</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1406"/>
		<updated>2012-06-20T14:13:49Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Equilibriums and attractors */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Insights in social nomrs and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of this organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
representation, visualization, validation,&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, Available from: http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents and the world or artificial institutions e.g. market. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image on the right shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Because of using simple Derivative-follower adaptation&amp;lt;ref name=TesfatsionLearning /&amp;gt; agent stops when profit level start's to fall, which is in this case too soon. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous (CM Macal1,2* and MJ North1,2). Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1405</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1405"/>
		<updated>2012-06-20T14:10:20Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Equilibriums and attractors */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Insights in social nomrs and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of this organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
representation, visualization, validation,&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, Available from: http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents and the world or artificial institutions e.g. market. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Agent can for be for instance attracted by different basins of attraction while using different learning algorithms. Image below shows how agent scale the profit curve using deterministic reactive reinforcement [[#Learning| learning]]. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous (CM Macal1,2* and MJ North1,2). Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1404</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1404"/>
		<updated>2012-06-20T14:03:10Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Equilibriums and attractors */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Insights in social nomrs and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of this organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
representation, visualization, validation,&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, Available from: http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents and the world or artificial institutions e.g. market. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous (CM Macal1,2* and MJ North1,2). Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1403</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1403"/>
		<updated>2012-06-20T14:02:47Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Equilibriums and attractors */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Insights in social nomrs and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of this organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
representation, visualization, validation,&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, Available from: http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents and the world or artificial institutions e.g. market. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|right|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
[[File:Příklad.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous (CM Macal1,2* and MJ North1,2). Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1402</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1402"/>
		<updated>2012-06-20T14:02:26Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Equilibriums and attractors */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Insights in social nomrs and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of this organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
representation, visualization, validation,&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, Available from: http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents and the world or artificial institutions e.g. market. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|left|Agent stops too early in a basin of attraction missing the highest attainable profit]]&lt;br /&gt;
[[File:Příklad.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous (CM Macal1,2* and MJ North1,2). Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1401</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1401"/>
		<updated>2012-06-20T14:01:22Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Equilibriums and attractors */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Insights in social nomrs and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of this organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
representation, visualization, validation,&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, Available from: http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents and the world or artificial institutions e.g. market. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png|thumb|middle|Popisek]]&lt;br /&gt;
[[File:Příklad.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous (CM Macal1,2* and MJ North1,2). Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1400</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1400"/>
		<updated>2012-06-20T14:00:40Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Equilibriums and attractors */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Insights in social nomrs and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of this organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
representation, visualization, validation,&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, Available from: http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents and the world or artificial institutions e.g. market. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png]]&lt;br /&gt;
[[File:Příklad.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous (CM Macal1,2* and MJ North1,2). Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=File:Derivate-follower-basin-of-attraction.png&amp;diff=1399</id>
		<title>File:Derivate-follower-basin-of-attraction.png</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=File:Derivate-follower-basin-of-attraction.png&amp;diff=1399"/>
		<updated>2012-06-20T13:59:49Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: Movement of a agent using Deterministic Reactive RL. By using derivative-Follower adaptation the agent stops prematurelly before attaining the highest profit/value.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Movement of a agent using Deterministic Reactive RL. By using derivative-Follower adaptation the agent stops prematurelly before attaining the highest profit/value.&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1398</id>
		<title>Agent-based computational economics</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Agent-based_computational_economics&amp;diff=1398"/>
		<updated>2012-06-20T13:56:34Z</updated>

		<summary type="html">&lt;p&gt;Xsamm12: /* Equilibriums and attractors */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
==Resarch==&lt;br /&gt;
Main pillars of ACE resarch according to [http://en.wikipedia.org/wiki/Leigh_Tesfatsion Leigh Tesfatsion].&amp;lt;ref&amp;gt;Leigh Tesfatsion (2007) Agent-based computational economics. Scholarpedia, http://www.scholarpedia.org/article/Agent-based_computational_economics&amp;lt;/ref&amp;gt; &amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Empirical&lt;br /&gt;
* Normative&lt;br /&gt;
* Qualitativ insight and theory generation&lt;br /&gt;
* Methodological advancement&lt;br /&gt;
&lt;br /&gt;
===Empirical===&lt;br /&gt;
This area stands for explaining possible reasons for observed regularities. This is achieved through replication of such regularities using multi-agent models. This approach allows to seek causal explanations thanks to bottom-up modelling of simulated market or economy.&lt;br /&gt;
&lt;br /&gt;
===Normative===&lt;br /&gt;
ACE can help to increase normative understanding, ACE models can serve as virtual test field for different policies, regulations and can simulate many different economic scenarios. Insights in social nomrs and institutions can help to explain why there are some persisting regularities in markets. Another aspepct is relationship between environmental properties, organization structure and  performance of this organization.&lt;br /&gt;
&amp;lt;ref&amp;gt;Tesfatsion, Leigh. “Agent-based computational economics: modeling economies as complex adaptive systems.” Ed. Leigh Tesfatsion &amp;amp; Kenneth L Judd. Information Sciences 149.4 (2003) : 262-268. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.143.4883&amp;amp;rep=rep1&amp;amp;type=pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Qualitative insight and theory generation===&lt;br /&gt;
Through ACE approach, self-organizing capabilities of decentralized market systems could be understood.&lt;br /&gt;
&lt;br /&gt;
===Methodological advancement===&lt;br /&gt;
representation, visualization, validation,&lt;br /&gt;
ACE seeks the best instruments and methods to study economic studies using computational experiment. Important aspect is whether data produced by such experiments are in accordance with real-world data. In order to achieve this methodological principles need to be developed as well as Programming, visualization and validation tools. For more information see [[#Software and programming |Software and programming ]]&lt;br /&gt;
&lt;br /&gt;
==Fields of application==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the first major applications of multi-agent models in social sciences was famous [http://en.wikipedia.org/wiki/Sugarscape Sugarscape] model by Epstein and Axell. ACE can approach can be applied to rather simple [http://en.wikipedia.org/wiki/Double_auction double-auction] market models or two-sector trading worlds. ACE is also used in various complex market simulations like tourism, digital news or investments. ACE can also help to analyze the impacts of various policies and regulations for example effect of deregulation on an electric power market&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Cirillo R. et al (2006). Evaluating the potential impact of transmission&lt;br /&gt;
constraints on the operation of a competitive electricity market in&lt;br /&gt;
illinois. Argonne National Laboratory, Argonne, IL, ANL-06/&lt;br /&gt;
16 (report prepared for the Illinois Commerce Commission),&lt;br /&gt;
April. http://www.dis.anl.gov/pubs/61116.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Charles M. Macal and Michael J. North, &amp;quot;Tutorial on Agent-Based Modelling and Simulation&amp;quot; [http://www.econ.iastate.edu/tesfatsi/ABMTutorial.MacalNorth.JOS2010.pdf PDF,359KB], Journal of Simulation, Vol. 4, 2010, 151–162&lt;br /&gt;
&amp;lt;/ref&amp;gt;.&lt;br /&gt;
More complex models are capable of simulating whole economies with all necessary aspects as financial, household or job markets while maintaining homogenity of agents. Example of this is the [http://www.eurace.org/index.php?TopMenuId=2 EURACE] project. Models like this enable what-if analysis and policy experiments.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&lt;br /&gt;
TESFATSION, Leigh. Agent-Based Computational Economics: Modeling Economies as Complex Adaptive Systems. 2010-03-24, [cit. 2012-06-18]. http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;. There are also applications to model economic behaviour of vanished civilizations&lt;br /&gt;
&amp;lt;ref&amp;gt;&lt;br /&gt;
Kohler TA, Gumerman GJ and Reynolds RG (2005). Simulating&lt;br /&gt;
ancient societies. Scient Amer 293(1): 77–84. http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational world models==&lt;br /&gt;
[[File:AMES network.png|thumb|right|Agent hierarchy used in AMES framework]]&lt;br /&gt;
Computational world is composed of many agents, some of them can act on their own, have learning capability and memory. Others represent rather reactive elements of the world such as technology or nature. Some agents can be passive like house or patch of land. Composition of agents is also possible, music band agent can be for instance a composition of agents playing musical instruments. Agents are therefore ordered in hierachy as shown on [http://www2.econ.iastate.edu/tesfatsi/AMESMarketHome.htm AMES framework] example. Agent can be simple-programmed, autonomous or human-like &amp;lt;ref name=Chen&amp;gt;&lt;br /&gt;
Chen,S.-H.,Varieties of agentsinagent-based computational economics: A historical and an&lt;br /&gt;
interdisciplinary perspective. Journal of Economic Dynamics and Control(2011), doi:10.1016/j.jedc.2011.09.003, Available from: http://www.econ.iastate.edu/tesfatsi/ACEHistoricalSurvey.SHCheng2011.pdf&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
In order for agents to operate in computational worlds, methods and protocols are required. These methods and protocols enable interactions between agents themselves, between agents and the world or artificial institutions e.g. market. These protocol consits of rules for mediation between agents and serve as description of interaction between agents e.g. between market and agent.&lt;br /&gt;
&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
For example in [http://en.wikipedia.org/wiki/Double_auction double auction] model, agents may have following methods:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
getWorldEventSchedule(clock time);&lt;br /&gt;
getWorldProtocols (collusion, insolvency);&lt;br /&gt;
getMarketProtocols (posting, matching, trade, settlement);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equilibriums and attractors===&lt;br /&gt;
Model behavior can result to various types of equilibrium and attractors. '' &amp;quot;System is in equilibrium if all influences acting on the system offset each other&lt;br /&gt;
so that the system is in an unchanging condition&amp;quot; ''&lt;br /&gt;
&amp;lt;ref&amp;gt;http://dl.acm.org/citation.cfm?id=1531270&amp;lt;/ref&amp;gt;. Agent-based models can help to determine which parameters influence stability or effectiveness of the market while visualization capabilities can help to identify possible [http://www.scholarpedia.org/article/Basin_of_Attraction basins of attraction]. Parameters can be changed on different levels e.g. agent level, market level or world level. Agent may have parameters like risk aversion, market may have parameters like non-employment payment percentage etc.&amp;lt;ref name=Tesfatsion&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:derivate-follower-basin-of-attraction.png]]&lt;br /&gt;
&lt;br /&gt;
==Agent types and characteristics==&lt;br /&gt;
&lt;br /&gt;
Simple programmed agents are represented by simple algorithm, be it short lenght of a code or simplicity of a pseudo-random number generator agent uses &amp;lt;ref name=Chen /&amp;gt;. However even simple agents can exhibit form of swarm intelligence simillar to the emergent behavior of a group ants or termites. Groups of simple agents are than capable to solve complex tasks. Even without learning capability, the agents can optimize or generate orderly movement patterns. [http://en.wikipedia.org/wiki/Stigmergy Stigmergy] can be one way to achieve this.  Agents can be differentiated by position in the [http://economistsview.typepad.com/economistsview/2009/02/cognitive-hierarchy-theory.html cognitive hierarchy], where more complex agents are able to think more steps ahead than simple agents. Smarter agents can also emulate behavior of simple agents if favourable but it's not possible vica versa. Non-agent economic models often introduce simplifying assumptions e.g. that all agents are rational and homogenous (CM Macal1,2* and MJ North1,2). Humans interacting in various systems or institutuins are heterogenous and it's desirable to emulate this feature to produce more realistic behavior&amp;lt;ref name=Chen /&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Learning===&lt;br /&gt;
In order to capture dynamic nature of real markets agents should be able to learn which means change their behavior according to the situations they encounter. (zdroj) Agents in ACE can use various types of learning algorithms. Selection of an algorithm can fundamentally influence the results of the simulation&amp;lt;ref name=Tesfatsion /&amp;gt;. [[Roth-Elev]] [http://en.wikipedia.org/wiki/Reinforcement_learning reinforcement learning] algorithm is one of the possible choices:&lt;br /&gt;
# Initialize action propensities to an initial propensity value.&lt;br /&gt;
# Generate choice probabilities for all actions using current propensities.&lt;br /&gt;
# Choose an action according to the current choice probability distribution.&lt;br /&gt;
# Update propensities for all actions using the reward (profits) for the last chosen action.&lt;br /&gt;
# Repeat from step 2.&lt;br /&gt;
&lt;br /&gt;
===Possible learning types=== &lt;br /&gt;
There are various types of learning algorithms &amp;lt;ref name=TesfatsionLearning /&amp;gt;). Here is brief summary by Leigh Tesfatsion:&lt;br /&gt;
# Reactive Reinforcement Learning (RL)&lt;br /&gt;
## Example 1: Deterministic reactive RL (e.g. Derivative-Follower)&lt;br /&gt;
## Example 2: Stochastic reactive RL (e.g. Roth-Erev algorithms)&lt;br /&gt;
# Belief-Based Learning&lt;br /&gt;
## Example 1: Fictitious play&lt;br /&gt;
## Example 2: Hybrid forms (e.g. [http://www.hss.caltech.edu/~camerer/jeth2927.pdf Camerer/Ho EWA algorithm] )&lt;br /&gt;
# Anticipatory Learning ([http://en.wikipedia.org/wiki/Q-learning Q-Learning])&lt;br /&gt;
## Evolutionary Learning ([http://en.wikipedia.org/wiki/Genetic_algorithm Genetic Algorithms] - GAs)&lt;br /&gt;
# Connectionist Learning ([http://en.wikipedia.org/wiki/Artificial_neural_network Artificial Neural Nets] - ANNs)&lt;br /&gt;
&lt;br /&gt;
In reinforcement learning algorithms, if an action ''A'' in state ''S'' produces favourable outcomes (desired reward), tendency to choose the action A should be increased. Likewise if action ''A'' produces unfavourable results tendency to choose it should be decreased. In reactive RL agent contemplates, what action should be taken based on past events. Reactive RL can be deterministic or stochastic. In first case agent is increasing or decreasing scalar decision ''D'', he moves in the same direction until the reward level starts falling. Example of second case (Roth-Erev) is in [[#Learning|Learning]]. Belief-based learning uses reflection on past choices to determine whether different action could have led to more desirable outcome. These opportunity cost assessments are then used to choose better action now. In this type of learning, agent takes into consideration presence of other agents also making their decisions. To achieve this, agent uses probability distribution function to select best response on estimated actions of other agents&amp;lt;ref name=TesfatsionLearning&amp;gt;Leigh Tesfatsion, [http://www.econ.iastate.edu/tesfatsi/LearnAlgorithms.LT.pdf Learning Algorithms: Illustrative Examples]&amp;lt;/ref&amp;gt;. Example of this can be [http://en.wikipedia.org/wiki/Matching_pennies matching pennies] game:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;bottom&amp;quot; |''Matching pennies game outcome matrix''&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot;;|             ||  &lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Player 2&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
!Heads      &lt;br /&gt;
!Tails      &lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2|Player 1           &lt;br /&gt;
!  Heads      ||  +1, −1     ||  −1, +1     &lt;br /&gt;
|-&lt;br /&gt;
!  Tails      ||  −1, +1     ||  +1, −1   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If agent uses anticipatory learning (or [http://en.wikipedia.org/wiki/Temporal-difference_learning temporal-difference learning]), he's trying to predict what might happen in the future, if he takes some action ''A''. Relationship between value functions is therefore recursive. For each possible state it yields the optimum total reward that can be attained by the agent over current and future times. This method requires computation of transtition, return and value functions to compute optimal policy function. These functions are dependent on time and current state. [http://en.wikipedia.org/wiki/Q-learning Q-Learning] enables to compute optimal policy function without knowing these functions. Instead it iteratively acquires the Q-values, that are afterwards stored in observation history. This history is than used to estimate Q-values for next possible action choices&amp;lt;ref name=TesfatsionLearning /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''+ doplnit Genetic a neuron sítě?'''&lt;br /&gt;
&lt;br /&gt;
==Software and programming==&lt;br /&gt;
For elaborate overview see [http://en.wikipedia.org/wiki/Comparison_of_agent-based_modeling_software Comparison of agent-based modeling software].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Software suitable for ACE programming or visualization&lt;br /&gt;
!Software name || Platform and performance || Scope || Visualization capabilities || Licence&lt;br /&gt;
|-&lt;br /&gt;
| AnyLogic || Java platform || Agent-based general purpose; distributed simulations || 2D/3D models  || proprietary&lt;br /&gt;
|-&lt;br /&gt;
| NetLogo || Based on Java, suitable for smaller models || simulations of natural and social phenomena, suitable for novice modelers || 2D/3D models  || freeware&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other computing methods==&lt;br /&gt;
&lt;br /&gt;
Linear Equations and Iterative Methods (Currently empty)&lt;br /&gt;
Optimization&lt;br /&gt;
Nonlinear Equations&lt;br /&gt;
Approximation&lt;br /&gt;
Numerical Integration and Differentiation&lt;br /&gt;
Monte Carlo and Simulation Methods (Currently empty)&lt;br /&gt;
Quasi-Monte Carlo Methods (Currently empty)&lt;br /&gt;
Finite Difference Methods (Currently empty)&lt;br /&gt;
Projection Methods for Functional Equations (Currently empty)&lt;br /&gt;
Numerical Dynamic Programming (Currently empty)&lt;br /&gt;
Regular Perturbations of Simple Systems (Currently empty)&lt;br /&gt;
Regular Perturbations in Multidimensional Systems (Currently empty)&lt;br /&gt;
Advanced  Asymptotic Methods (Currently empty)&lt;br /&gt;
Solution Methods for Perfect Foresight Models (Currently empty)&lt;br /&gt;
Solving Rational Expectations Models&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* http://bucky.stanford.edu/numericalmethods/PUBCODE/DEFAULT.HTM&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/ACETutorial.pdf&lt;br /&gt;
* http://www2.econ.iastate.edu/classes/econ308/tesfatsion/&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aemind.htm&lt;br /&gt;
* http://www2.econ.iastate.edu/tesfatsi/aintro.htm&lt;/div&gt;</summary>
		<author><name>Xsamm12</name></author>
		
	</entry>
</feed>