<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Universal Properties of the General Agent-Based Market Model through Computational Experiments</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Alexander Weissblut</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ruslan Halutskyi</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Kherson State University</institution>
          ,
          <addr-line>27, Universitetska st., Kherson, 73000</addr-line>
          <country country="UA">Ukraine</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Research goals: to synthesize the general view market mathematical model in accordance with new dynamic paradigm of economics, to reveal the universal properties of general view markets. During our investigation we developed and continuously improved a desktop C# application Model for support the research process using computing experiments. Here our task is revelation of the universal properties of general view market as a result of simulation experiments using this software module. Results of the research: the crucial factors which ensure the market stability are the level of agreement in adaptive expectations and the share of planning with adaptive expectations in a market. The increase of naive expectations leads to stability loss, to bifurcations and finally to chaos in general view market. The increase of number of firms also leads to stability loss and finally to chaos in the general view market at appreciable naive expectations. We revealed that the profits ratio and quantity outputs ratio of firms remains almost unchanged in short-run period in general view markets. It seems an important stability factor of many important real markets for which chaotic dynamics is usual.</p>
      </abstract>
      <kwd-group>
        <kwd>agent-based model</kwd>
        <kwd>heterogeneous type</kwd>
        <kwd>bifurcation</kwd>
        <kwd>adaptive expectations</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Information technology in the economy made it possible to model artificial societies
and study economic models through the computer simulation. Economics has entered
the stage of deep transformation of its bases. In recent years the researchers are
renouncing the assumption of perfect rationality as unconditional basis of economic
agents’ behavior [1]. The neoclassical ‘rational man’ does not exist in reality:
economic agents act according to established rules, without being fully informed and
maximizing their own utility [2].</p>
      <p>The real economic processes make a clear demonstration that neoclassical "rational
man" is not their subject. In real economy "optimal imperfect decisions" are taken by
simple and non-expensive calculations, well adapted to frequent repetitions, to
evolution: it is more efficient for perfectly rational firm to perform multiple
experiments with quantity to estimate the demand function rather than search for
nonrecurrent, instantaneous achieving of equilibrium [3]. All it means that the real
economy is dynamical system, and real processes of economy are iterative processes
of this system.</p>
      <p>Now institutional school of economics analyzes economic systems as a result of
evolutionary process of participants’ interaction [4]. New paradigm of economics is a
mix of the nonlinear dynamical system theory and mathematical programming,
including game theory and optimal control theory [5]. And the main tool of new
economics is simulation modeling grounded on the basis of 3 computer paradigms
(object-oriented, dynamic and multi-agent system) [6].</p>
      <p>This new economics allows explaining the phenomena which were not keeping
within traditional schemes. The evolutionary approach and analysis of the dynamics
allow to explain why one type of firm ousts another from the market, why sometimes
the economic system is stable, but in other cases is unstable [3, 7]. If the system has
multiple equilibriums, the dynamics and evolution is the selection mechanism of best
equilibrium according to certain criteria [8]. Traditional static models of competition
(e.g., Cournot, Bertrand and Stackelberg) were converted in dynamic models which
were investigated on existence, stability and local bifurcations of the equilibrium
points [9, 10, 11].</p>
      <p>Within the limits of new economics it is natural to study reciprocity relations
[12]. Reciprocity or social responsibility implies that the firms not only pursue their
selfish goal of increasing profits, but are also ready to sacrifice some of their profits
for the benefit of consumers without direct compensation for it by the state [13]. Such
targets can be stipulated by the firms’ desire to get stable profits in the long run rather
than maximal short-run profits [14, 15]. Such forward-thinking firms-reciprocators
are considered in this paper. Their objective function is a weighted average of the
profits and consumer surplus of their market segment.</p>
      <p>Modern development of dynamic paradigm in economics is a wide stream of
researches. However it is a stream of examples which are not developing in the
general theory; their relations with real markets are often problematic [16]. The
traditional method of constructing a scientific theory is first to synthesize and
investigate the simplest possible mathematical model. And then we can study
complex real systems which are grounded on this basis. This traditional approach is
taken as a principle of our research.</p>
      <p>This paper is a continuation of our previous works [17], [18]. There the elementary
market model corresponding to the new paradigm of economics has been synthesized
and investigated. That model describes a simplest market where firms have only one
difference in their type when some firms (egoists) are focused exclusively on
shortrun profits, while others (reciprocators) take into account long-run factors. However
it`s not any special, specific market; actually any global market contains such
elementary local markets and consists of them. As suggests common sense then
dynamics of the global market is stratified on dynamics of such local markets.
Therefore it was naturally to state a hypothesis that the derived in [17], [18] properties
of the elementary model are universal, i.e. these properties are the properties of
general view market including real markets as a special case. Check of this hypothesis
makes the project of this work.</p>
      <p>The paper goal is to synthesize the general view market mathematical model
according to the new dynamic paradigm of economics, to reveal the universal
properties of general view markets including real markets, to check up the hypothesis
about universality of properties of the model [17].</p>
      <p>During our investigation we developed and continuously improved a desktop C#
application Model for support the research process using computational experiments.
Our next task is revelation of universal properties of general view market as a result
of simulation experiments using this software module.</p>
      <p>The paper is organized as follows: in part 2 we synthesize the general view market
model; part 3 demonstrates desktop application Model for computing experiments;
sections 4.1 – 4.3 describe our market model researches using this application, section
4.4 formulates their results; part 5 concludes.
2.</p>
    </sec>
    <sec id="sec-2">
      <title>Agent-Based General View Market Model</title>
      <p>In general, almost any microeconomic market model is constructed as follows: 1) n
firms operate in the market (to simplify the notation suppose n  2 ); 2) these firms
produce homogeneous products in quantities x1(t) and x2 (t) in time period t ;
3) they use adaptive approach, i.e. they try to predict the quantity of their competitor
in the next time period; 4) let xej (t  1) is the expected quantity of rival j by a firm i
in next period t  1 ( i, j  1, 2 ). Then under planning of their quantity xi (t 1) in the
next period the firms solve the following optimization problem:</p>
      <p>
        MaxП1(x1(t 1); x2e (t 1)) , MaxП2 (x1e (t 1); x2 (t 1)) ,
(
        <xref ref-type="bibr" rid="ref1">1</xref>
        )
where Пi , i  1,2 is a profit function of firm i . The assumption about unchangeable
quantity of the competitor (i.e. firm i will use xj (t) instead of xej (t  1) when it
solves the optimization problem) is an example of imperfect, bounded rationality in
firm’s strategies; it is called naive expectations. As a rule these two approaches
(adaptive and naive) coexist in the market with a certain probability. Our model is
based on these assumptions.
      </p>
      <p>We consider a market of homogeneous product, where exogenous parameter n(t)
indicates how many firms operate at time t . Each firm produces output xi (t) , where
n
i  1,..., n(t) . Thus the industry output of the market is Q(t)   x(t) at time t .
i1
Product price P is given by isoelastic demand function P  P(Q)  b(t) / Q
( b(t)  0 ). Such kind of demand function as a matter of fact is not a restriction.
Really, in a small neighborhood of a market state during the moment t any demand
function with elasticity b(t) differs from the isoelastic one a little. Then in short-run
period dynamics of a market with such demand function differs a little also. And at a
structural stability they are qualitatively (i.e. orbitally) equivalent.</p>
      <p>Formally the firm is defined by its objective function. Firm maximizes both its
own profit  X  (P  v)  x  fc (where v is the firm’s cost per unit in the market, fc
is fixed cost) and consumer surplus CS (difference between maximum price which
 Q 
consumer can pay and real price) CS      P(q)dq  P  Q  , where parameter 

  
specifies the segment of the market, which the firm believes its own and optimizes; 
is the minimal technologically possible product quantity. Then</p>
      <p> Q b  Q Q
CS   b  ln( )   Q   b   ln( ) 1  b  ln , where ˆ    e (specific
  Q     ˆ
choice of  does not affect the model dynamics and so we suppose   1 ). Then
general profit function П  Пi (t) of firm is:
1 is share of consumer surplus CS , fc  fci (t) is a fixed cost. As a matter of fact
П is a weighted average of short-run profit  and expected stable long-run profit.</p>
      <p>The model of paper [17] is the elementary special case of this general model. There
we consider a market of homogeneous product, where n firms operate, among them
are k identical reciprocator firms with the same output x and n  k identical selfish
firms with the same output y .</p>
      <p>Dynamic of the model is considered for discrete time t  1,2,... . Our model is
uniquely defined by firms’ objective functions and their expectations types. It does
not use any additional assumptions or restrictions.
2.1 Dynamics Model Equations
In real life both decision making approaches (adaptive and naive) coexist in the
market with a certain probability. Let's obtain now the equations of a general market
model with the minimum account of adaptive expectations dictated by common sense.
According to such expectations firm i suggests that production quantities of its rival
j will be equal to xej (t  1)   ij (t)xi (t  1)   ij (t)x j (t) . Here  ij (t)  0 and  ij (t)  0
are parameters, defining shares of naive and adaptive expectations at this planning.</p>
      <p>
        n(t) n(t)
Let zi  xi (t  1)   xej (t)   ij (t)xi (t  1)   ij (t)x j (t) is prospective industry
ji j1 j1
output of the market, whereii(t) 1, ii(t)  0 . Then the objective function for the firm
b
i has the form Пi  i ((  v)xi (t 1)  v0 )  (1  )bi ln(zi ) in accordance
zi
with (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) (here  1,i i (t) ). Then according (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) the point xi (t 1) of maximum
objective function Пi is found from the condition
n(t)
 ij (t)
j1
      </p>
      <p>zi
 v)  (1 i )bi</p>
      <p> 0 . Then
bi 1 
v
 i</p>
      <p>n(t )
i  ij (t) zi .</p>
      <p>
        j1
we obtain
(
        <xref ref-type="bibr" rid="ref3">3</xref>
        )
( zi  di )2 
b n(t )
      </p>
      <p>  ij (t) x j (t)  di2 ;
v j1
zi 
b n(t )</p>
      <p>  ij (t) x j (t)  di 2  di .
v j 1
Thus we obtain the dynamics equations of general view market model
1 bi 1 i n(t) ij (t)
2 v  i j1
b
v
b
v
n(t ) n(t)
where i  i (t)  j1 ij (t), wi (t)  j1  ij (t)x j (t), di  di (t)  12 bvi 1 i i i (t).</p>
      <p>In this paper we consider all actions, expectations and strategies of firms in
shortrun period, therefore the equations parameters i and di are assumed further as
constants which are independent of time.</p>
      <p>Let the market of homogeneous product consists of m firms’ types, each type l
m
including kl identical firms: l  1,..., m, k1  ...  km  n. Then  i   kl il , ,
l1
m
wi (t)   kl il  xl (t), where  il   ij ,  il   ij , xl (t)  x j (t) at all j from type l .</p>
      <p>
        l1
Then owing to (
        <xref ref-type="bibr" rid="ref4">4</xref>
        ) xi (t 1)  xl (t 1) at all i from type l . As a result dynamics in the
equations (
        <xref ref-type="bibr" rid="ref4">4</xref>
        ) has dimension m :
      </p>
      <p>,


 y y(t 1) 

where x  1 p(k 1),</p>
      <p>v
wx  q(k 1)x(t)  (n  k) y(t),  y  1  p(n  k 1),
wy  kx(t)  q(n  k 1) y(t),</p>
      <p>2  vk</p>
      <p>
        We usually use further the following simplest after two-dimensional version of (
        <xref ref-type="bibr" rid="ref5">5</xref>
        )
for the illustrations of results of computational experiments. In this version we
consider a market of three firms’ types: k 1 and correspondingly k 2 reciprocator firms,
( k  k 1  k2 ) and dn  n  k identical selfish firms. Here as well as above  1   2   ,
(1 p(k 1)).
 3  1, 13   23   31   32  0,  ij  1  ij . Then (
        <xref ref-type="bibr" rid="ref5">5</xref>
        ) has the form
b
v
w3(t)  33(dn 1)x3(t)  k1x1(t)  k2x2 (t), di  12 bvi 1  i i i (i  1,2), d3  0.
In a Nash equilibrium point we have xi (t 1)  xi (t)  xi
at all t  1,2,... and
i  1,..., m . Hence xie (t 1)  xi at all i and t .
      </p>
      <p>
        Proposition 1. There is unique Nash equilibrium point in a general market model (
        <xref ref-type="bibr" rid="ref5">5</xref>
        ).
m
Proof. In an equilibrium point zi  xi (t  1)   xej (t)   x j  z at all i  1,..., m .
ji j1
Therefore owing to (
        <xref ref-type="bibr" rid="ref3">3</xref>
        )
z 2  b n  ij (t)x j  bi 1
v j1 v  i
      </p>
      <p>m
where i   kl il , xl  xi at all i from type l , l  1,..., m . Hence
l 1</p>
      <p>n
i  ij z 
j1
b m</p>
      <p> kl  il  xl 
v l 1
bi 1
v
 i</p>
      <p>
        i i z (i  1,..., m),
m
kl il  xl  ai
l 1
(i  1,..., m ),
(9)
(
        <xref ref-type="bibr" rid="ref7">7</xref>
        )
(8)
where ai  v z 2  1  i ii zi . Since matrix of types parameters ( kl il ) is
b  i
nonsingular m  m matrix on construction then the system of linear equations (9) has
one and only one solution, Q.E.D. .
      </p>
      <p>
        For two-dimensional system (
        <xref ref-type="bibr" rid="ref7">7</xref>
        ) this Nash equilibrium point is the same, as in [17]
and also is set by the same formula.
      </p>
      <p>
        Proposition 2. There is unique Nash equilibrium point in a dynamical system (
        <xref ref-type="bibr" rid="ref7">7</xref>
        ):
(10)
(11)
b (kG  q(n  k 1))
y*  v
(kG  (n  k ))2
      </p>
      <p>b (k  q(1/ G)(n  k 1)) ,
x*  Gy*  v</p>
      <p>(k  (1/ G)(n  k))2
p(n  k)  q(  (1  ) n  k )
k .
where function G  G( p, q, n, k, ) </p>
      <p>
        (2 1)(1  p(k 1))
Proof. Since (
        <xref ref-type="bibr" rid="ref6">6</xref>
        ) equation (
        <xref ref-type="bibr" rid="ref3">3</xref>
        ) has the following form for any reciprocator firm i
b 1 1 b
zi2  (q(k 1)x(t)  (n  k) y(t))  (1 p(k 1))zi.
      </p>
      <p>
        v 2  vk
For any selfish firm equation (
        <xref ref-type="bibr" rid="ref3">3</xref>
        ) takes the form zi2  b (kx(t)  q(n  k 1) y(t)) . But in the
v
Nash equilibrium point x(t 1)  x(t)  xi (t)  x , y(t 1)  y(t)  y j (t)  y at all i , j and
t  0,1,... . Then since (11) we get
(kx  (n  k) y)2  b (k x  q (n  k 1) y) 
      </p>
      <p>v
b 1 1 b
 (q(k 1)x  (n  k) y) </p>
      <p>v 2  vk
From second equation (12) we obtain the response function
p(n  k)  q(  (1 ) n  k )</p>
      <p>k
x   G .</p>
      <p>y (2 1)(1 p(k 1))
To calculate the coordinates of a fixed point, we substitute the expression of y
through x in the first equation (12), Q.E.D. .</p>
      <p>In (10) by the data we get x*  0, y*  0 . In view of the following proposition 3 it
also ensures nonsingularity of a matrix (9) in proposition 1.
(1 p(k 1))zi.</p>
      <p>(12)</p>
      <p>Desktop Application Model for Computing Experiments
During our research we developed desktop application Model to support the research
process using computational experiments with dynamic systems. The main purpose of
the application is to provide the best service for research cycle: hypothesis 
experiment  hypothesis. It’s impossible to realize new idea with new device
immediately, at once after it appearance for natural experiments. However here we
can do it using application window with the appropriate tools. The results of new
experiment give rise to new ideas, which we can check immediately using new
windows and so on. Therefore intensive researches with multidimensional dynamical
systems during this work have demanded efforts for computational speedup of the
application. The goal of Model is the highest possible support for research process.</p>
      <p>Model is a C# application created on the basis of the graphical interface of the
System.Drawing and System.Windows.Forms C# system libraries. All calculations
related to the model are localized in the calc method, which makes it easy to modify
the equations of the model or move to other models.</p>
      <p>Model application additionally uses Open Maple to work with differential equations
and 3D graphs. Open Maple is access interface to Maple computational core from
various programming languages: C#, Java, Visual Basic etc. In addition to the above
standard namespaces is also used the System.Runtime.InteropServices namespace,
which allow us to make links to the Maple dynamic linking core library - maplec.dll.</p>
      <p>The following figure demonstrates the main application window which
automatically appears when you open it.</p>
      <p>In the center of the window is located a two-dimensional projection of Lorentz
system’s attractor. In fig. 1 above in the left corner are the application menu buttons.
From left to right: 1. Save button is used to save current model which is displayed on
the screen with all the given parameters’ values and settings under the chosen user
name. 2. Edit button is used to modify the current model. 3. Open button
demonstrates a list of saved models’ names with the date of their last modification,
which allows you to select and open a window of any of them. 4. Add button is served
to define new models. 5. Delete button gives possibility to delete the current model
(depicted on the screen) from the list.</p>
      <p>The following fig. 2 shows the application window for market model of this paper.</p>
      <p>On the right are 5 types of graphs, which are used most often; their examples are
pointed out later in the paper. We can set model parameters and the initial values of
the model trajectory using counters on the left. After these settings the graph of given
model automatically appears in the center of the window. The number of iterations we
can be set on the scroll bar above the graph. In the center of the window is also
displayed the animation of the selected path when the button (near the scroll bar) is
pressed.</p>
      <p>When you click Step button on the left, you can set step of changing for a list of
parameters. If you click Value button, you can obtain the table with coordinates of
model trajectory for given iterations.</p>
      <p>But the main tool to support computational investigations in Model application is
easy modification of a current model after pressing of Edit button (fig. 3).
Modification window is located over the current model window, which allows using
both windows at the same time. After left click on the model equation in the field The
dynamical system will move to the field Equation, where it can be changed. After
pressing Add the modified equation will return back. Similar procedure can be done
with parameters. We can also add new equations and parameters and delete the
previous ones. In the field System name we can specify the name of the new model
modification. After clicking Save button, new model falls into the saved list. If you
click Change, the new modification will be saved under the name of the current
model, which is deleted. When you click Back, the modification is temporarily
suspended and we return to the current window. View button displays information
about the model (equations, parameters and settings).</p>
      <p>Investigation of General View Market Model via Computing
Experiments
4.1.</p>
      <p>Dependence of General View Market Model on Number of Firms
According to [18] with number of firms increase a market moves from stability to
chaos. Whether so it for the model of this paper? Let in system (8) k1  k2  10 ,
b  200 , v  2 , 1  2  0.99 , 11  22  33  0.5 ,  12   21  0.12 , 1  2  0.1 .</p>
      <p>Here the horizontal axis represents the number of firms n from 20 to 50; the
ordinate axis represents the quantity x1(t) of first reciprocator firm on attractor of the
trajectory. The path has the equilibrium stable state at n  20 . However as we can see
at n  21 bifurcation occurred and instead of equilibrium point there is a stable cycle.
There values of x1 are approaching the point x1*  40 for even t and the point x1*  10
for odd t . By doubling the lag between iterations only even or only odd iterations
will be considered, and thus either point x1*  40 , or x1*  10 respectively would be the
equilibrium stable state. Stable cycle has four points for n  25 (fig. 4). There was a
new cycle doubling (flip) bifurcation. Calculations show that with parameter n
increase doubling bifurcations continue following Sharkovskii’s order. At n  45
there is a state of dynamic chaos (fig. 4).</p>
      <p>Process of division of stable equilibrium on some directions will clear up, if during
it we trace profit changes. Model tools allow us to demonstrate the dependence
between reciprocator firm’s profit  and number of firms n for the same parameter
values that in bifurcation diagram 4 above.</p>
      <p>It appears that the real choice here is unique and depends on quantity output. The
smaller quantity output the bigger the firm’s profit. Moreover, the profit for bigger
output direction varies around zero and often converts into a loss. But quite
unexpected is the effect well visible in a fig. 5: firm’s profit in chaotic state is on
average greater than in stable state. This example illustrates typical, many times
investigated via Model behavior of dynamics of the general view market model with
increasing number of firms.</p>
      <p>
        Analysis of computing experiments for model (
        <xref ref-type="bibr" rid="ref7">7</xref>
        ) in [18] show, that such behavior
arises provided that firms in the market are not identical, reciprocators and egoists are
also presented enough there. How can we generalize such condition for the general
view market?
      </p>
      <p>Let in system (8) 12   21  0.5 instead of 0.12 above saving all other parameters.
Then in (8) disappear difference between first and second types of reciprocators, they
unite in one type. Such system has stable equilibrium at all n . By 12   21  0.4 the
whole attractor is a cycle of an order 2 at all n . By 12   21  0.2 it is a cycle of an
order 4 at all n . By 12   21  0.14 a state of dynamic chaos arises at n  140 . At
12   21  0.12 we return to fig. 4, where chaos arises by n  45 .</p>
      <p>But the less value of 12   21 the greater difference between types of reciprocators
and so the market is more heterogeneous. All our computing experiments lead to the
following conclusion. The more difference (segregation) between firms i.e. the more
types of firms are in a market, the faster this market directs to complex dynamics and
to chaos due to increase of firms’ number.
4.2. The Crucial Factors which Ensure Stability in General View Market
Apparently the main assumption of the traditional neoclassical economics is the idea
of automatic stabilization and market order due to increasing the number of
independent firms and achievement of perfect competition. This is realization of
Adam Smith's ‘invisible hand’ [19]. Then how stability is possible in real markets
with the effects revealed in the previous section?</p>
      <p>
        We found [17] that adaptive behavior is the main tool that ensures the stability of
model (
        <xref ref-type="bibr" rid="ref7">7</xref>
        ). While increasing of number of firms directs a market to complex dynamics
and finally to chaos the increase of adaptive expectations acts in an opposite direction.
Due to increase of adaptive expectations predictability and stability of market
becomes stronger; due to increase of naive expectations the market loses stability and
chaos grows. Whether it is true for multidimensional model of this paper?
      </p>
      <p>Let k1  k2  10 , b  200 , v  2 , 1  2  0.99 ,  12   21  0.12 ,  1  2 0.1,
 33  0.5 as above. But now n  35 and q  11  111   22  1 22 is a variable
parameter of following bifurcation diagram. Here q is the parameter of share in
output of a market planned under naive expectations.</p>
      <p>Fig. 6. The bifurcation diagram of dependence of quantity x1 on q in the system (8).</p>
      <p>Here the ordinate axis represents the quantity x1(t) of first reciprocator firm on
attractor of the trajectory; the horizontal axis represents the parameter value of q
multiplied by 10. This rescaling is done for the sake of clarity. In figure the same
behavior that in [18]. And common sense prompts too, that increase of naive
expectations conducts to chaos. However, in multidimensional model it is incorrectly
to estimate a share of planning with naive expectations by the use of parameter
q  11   22 of this example. Apparently we should estimate it by ratios of parameters
 ij and  ij on all i and j . Formal definition will be given in section 4.4.</p>
      <p>Computing experiments and common sense also testify that in multidimensional
systems it is incorrectly to estimate adaptation only by the use of a share of planning
with naive expectations. Let's consider an example. Let k1  k2  10 , b  200 , v  2 ,
1  2  0.99 , 11  22  33  0.5 , 12   21  0.2 ,  1  2 0.1. At such values of
parameters all trajectories of dynamical system (8) are drawn to stable equilibrium at
all n . Let's now move away values  11 and  22 from their average 0.5 on quantity
  11  0.5  0.5  22 . Other parameters we save unchanged. Then at 0    0.2 the
attractor consists of stable cycles. At   0.2 there are cycles of an order 3.</p>
      <p>Fig. 7. The bifurcation diagram of dependence of quantity product x1 on n at   0.2 .
Such order of a cycle means that there has already been passed all Sharkovskii’s order
of conditions and there is a dynamic chaos at   0.2 . We observe the similar trends if
average of values  11 and  22 move away from  33 or if  12 move away from  21 .</p>
      <p>Numerous computing experiments and common sense testify that stability of the
market critically depends on agreement of adaptive expectations of firms at planning.
In particular, it depends on how close are all parameters  ij and respectively all  ij .
In addition we note that condition in the end of section 4.1 is only a special case of
this condition: the more types of firms in a market the lower there level of the
agreement of adaptive expectations.
4.3. The Stability Factor of Market in Chaotic State
This part reveals the factor that ensures the stability of the market in a complex and
even chaotic dynamics. If any type of firms increases their profit more quickly than
their rivals then these firms will survive and expand their type among all firms [20].</p>
      <p>
        In model (
        <xref ref-type="bibr" rid="ref5">5</xref>
        ) the ratio of profit of firm i from type l at period t
 l (t)  (P(t)  v)xi (t) to profit of firm j from type k  k (t)  (P(t)  v)x j (t) at
the same time period is:
lk (t) 
 l (t)
 k (t)

(P(t)  v)xi (t)  xi (t) .
(P(t)  v)x j (t) x j (t)
This is the unexpected finding of our research [18] during computing experiments. In
model (
        <xref ref-type="bibr" rid="ref7">7</xref>
        )  lk(t) is adiabatic invariant of a dynamical system, i.e. it is almost
independent on t at t  2 for all acceptable values of parameters. Direct generalization
of this fact on model (
        <xref ref-type="bibr" rid="ref5">5</xref>
        ) proves to be true by all already made computational
researches. For example consider the phase curve that corresponds to trajectory with
dynamic chaos in fig. 4.
      </p>
      <p>The more chaotic dynamics, the more densely populated points on phase curve.
But anyway it almost coincide with line segment, whose slope is equal to  lk(t) . We
can suppose that rare small deviations from a straight line on fig. 8 are just technical
failures at calculations. But look now on next fig. 9 with phase curve of trajectory of
system (8) at parameters n  100 , k1  k2  10 ,b  200 , v  2,1   2  0.99 ,11  0.68,
 22  0.32, 33  0.5,  12   21  0.12, 1  2  0.1 .</p>
      <p>Here deviations from a straight line are already indisputable. The cause of difference
from the previous example that here parameters 11  0.68 and
section, it means reduction of level of agreement of adaptive expectations in the
market, the key factor of stability in a market. All computing experiments show that if
this level increases the value  lk(t) comes nearer to a constant.
Let's formulate the formal statements which are clearing up derived results of
computing researches. First of all let’s formalize the key concept of level of
agreement in adaptive expectations in a market.
n
Let xiek (t 1) is quantity of firm k expected by a firm i , Qie (t 1)   xiek (t 1) is
k1
prospective industry output of a market expected by a firm i during next time period
t  1 . For firms i and j we put  ij  max
t</p>
      <p>Qie (t 1)  Qej (t  1)</p>
      <p>
        Q(t)
, where Q(t) is industry
output of the market in period t . The value  ij characterizes disagreement in adaptive
at all t  2 for any fixed values of parameters of model (
        <xref ref-type="bibr" rid="ref5">5</xref>
        ).
      </p>
      <p>
        Owing to this statement dynamics of a general view market model is stratified on
dynamics of the local markets (
        <xref ref-type="bibr" rid="ref7">7</xref>
        ) from [17] with accuracy of the order  . That is why
all derived in [17], [18] and considered above properties of the local markets are
generalized on the general view market of this paper. This fact explains universality
of their properties. The formal reduction of following statements to results from [17],
[18] is also based on this statement.
      </p>
      <p>Let firm i suggests that production quantities of its rival j will be equal to
xej (t 1)   ij (t)xi (t 1)   ij (t)x j (t) during next time period t  1 , where  ij (t)  0 and
1 n n ij
2  
n i1 j1 ij  ij
 ij (t)  0 , i, j  1,..., n . Then the value  
we will call the share
of planning with naive expectations and the value 1  we will call the share of
planning with adaptive expectations in the market. Thus   0 if in the market there
are no naive expectations, and   1 at total using naive expectations for planning.</p>
      <p>
        Proposition 4. At   0 the unique Nash equilibrium of proposition 1 is stable for
all possible values of parameters of a general view market model (
        <xref ref-type="bibr" rid="ref5">5</xref>
        ).
      </p>
      <p>
        Proposition 5. At   1 the unique Nash equilibrium of proposition 1 is unstable
for sufficiently large number of firms n and all other acceptable values of parameters
of model (
        <xref ref-type="bibr" rid="ref5">5</xref>
        ) if
kl  3 and kl 
n n
3
      </p>
      <p> 3 for all types of firms l  1,..., m , where
4
 is the level of disagreement in adaptive expectations in the market.</p>
      <p>
        Proposition 6. In a general view market model (
        <xref ref-type="bibr" rid="ref5">5</xref>
        ) flip bifurcations (cycle doubling
bifurcations) occur following all Sharkovskii’s order and finally chaos state occur
with an increase of  from 0 to 1.
      </p>
      <p>
        Proposition 7. In a general view market model (
        <xref ref-type="bibr" rid="ref5">5</xref>
        ) flip bifurcations occur and
finally chaos state occur with an increase of number of firms in the market provided
sufficiently large   1.
      </p>
      <p>
        As model (
        <xref ref-type="bibr" rid="ref5">5</xref>
        ) is equivalent to a general view market model (
        <xref ref-type="bibr" rid="ref3">3</xref>
        ) in short-run period,
so actually propositions 3 – 7 describe universal properties of general view markets,
including real markets as particular case.
      </p>
    </sec>
    <sec id="sec-3">
      <title>Conclusion</title>
      <p>Thus we have synthesized the heterogeneous agent-based model of general view
market according to new economics paradigm as intersection of dynamic system
theory, mathematical programming and game theory.</p>
      <p>During our investigation we developed and continuously improved a desktop
application Model for support the research process using computing experiments. As
a result of simulation experiments via Model application we have revealed the
following universal properties of general view market, including real markets. They
are derived by generalization and specification of the basic properties of model [17].</p>
      <p>The crucial factors which ensure the market stability are the level of agreement in
adaptive expectations and the share of planning with adaptive expectations in a
market. If no any firm use naive expectations in the market there is unique Nash
equilibrium which is stable for all acceptable values of parameters. The increase of
naive expectations leads to stability loss, to flip bifurcations and finally to chaos in
general view market.</p>
      <p>The increase of number of firms also leads to stability loss, to bifurcations and
finally to chaos in the general view market at appreciable naive expectations. It
appears that really the choice of equilibrium at these bifurcations is unique.</p>
      <p>We revealed that the profits ratio and quantity outputs ratio of firms remains
almost unchanged in short-run period in general view markets. It seems an important
stability factor of many important real markets for which chaotic dynamics is usual.</p>
      <p>In the further researches we plan to trace demonstrations of these universal
properties on examples of real markets in details.
8. Szidarovszky, F., Okuguchi, K.: An Oligopoly model of commercial fishing. Seoul</p>
      <p>Journal of Economics 11, 321–330 (1998)
9. Bischi, G.I., Naimzada, A.K., Sbragia, L.: Oligopoly games with Local Monopolistic</p>
      <p>Approximation. Journal of Economic Behavior&amp;Organization 62, 371–88 (2007)
10. Baiardi, L.C., Lamantia, F.G., Radi, D.: Evolutionary Competition between Boundedly
Rational Behavioral Rules in Oligopoly Games. Chaos, Solitons and Fractals 79, 204–225
(2015).
11. Kobets, V., Poltoratskiy, M: Forming an Evolutionarily Stable Firm Strategy under
Cournot Competition Using Social Preferences. In: Ermolayev, V. et al. (eds.) ICT in
Education, Research, and Industrial Applications. Revised Extended Papers of ICTERI
2014, CCIS 469, pp. 343-361, Springer Verlag, Berlin Heidelberg (2014)
DOI: 10.1007/978-3-319-13206-8_17
12. Kobets, V. Yatsenko, V., Poltoratskiy. Dynamic model of double electronic Vickrey
auction. In: Ermolayev, V. et al. (eds.) Proc. 11-th Int. Conf. ICTERI 2015, Kherson, Lviv,
May 14-16, 2015, CEUR-WS.org/Vol-1356, ISSN 1613-0073, pp. 236--251, online
CEUR-WS.org/Vol-1356/ICTERI-2015-CEUR-WS-Volume.pdf
13. Polanyi, K.: Economics as institutional process. Economic sociology 2, 62–73 (2002)
14. Andreeva, E.L., Myslyakova, Y.G., Karkh, D.A.: Evolution of social responsibility of
economic entities. 3rd International Multidisciplinary Scientific Conference on Social
Sciences and Arts (pp. 237-244). Albena: SGEM (2016).
15. Chai, C.: Evolutionary Behavior of Supply Chains: Altruism or Fairness. 1st
International Conference on Economic and Business Management. In W. Du, Y. Sun
(Eds.), pp. 83-94. Qingdao: AEBMR-Advances (2016).
16. Kolm, S., Ythier, J.M.: Handbook of the Economics of Giving, Altruism and</p>
      <p>Reciprocity. Elsevier: Worth-Holland (2006).
17. Federici, D., Gandolfo, G.: Chaos in Economics. Journal of Economics and</p>
      <p>
        Development Studies 2(
        <xref ref-type="bibr" rid="ref1">1</xref>
        ), 51-79 (2014).
18. Kobets, V., Weissblut, A.: Nonlinear Dynamic model of a microeconomic system with
different reciprocity and expectations types of firms: Stability and bifurcations (2016),
CEUR Workshop Proceedings, vol. 1614, pp. 502-517. online:
CEUR-WS.org/Vol1614/ICTERI-2016-CEUR-WSVolume.pdf
19. Kobets, V., Weissblut, A.: Mathematical Model of Microeconomic System with
Different Social Responsibilities in Software Module (2017), CEUR Workshop
Proceedings, vol. 1844, pp. 502-517. online:
CEUR-WS.org/Vol-1844/ICTERI-2017CEUR-WSVolume.pdf
20. Johnson, D.P., Price, M.E., Van Vugt, M.: Darwin's invisible hand: Market competition,
evolution and the firm. Journal of economic behavior and organization 90, 128-140 (2013).
21. Alkemade F.: Evolutionary agent-based economics. Eindhoven: Technishe Universiteit
Eindhoven (2004).
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Schulz</surname>
            ,
            <given-names>A.W.</given-names>
          </string-name>
          :
          <article-title>Beyond the Hype: The Value of Evolutionary Theorizing in Economics. Philosophy of the social sciences</article-title>
          ,
          <volume>43</volume>
          (
          <issue>1</issue>
          ),
          <fpage>46</fpage>
          -
          <lpage>72</lpage>
          (
          <year>2013</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Rosser</surname>
            ,
            <given-names>J. B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosser</surname>
            ,
            <given-names>M. V.</given-names>
          </string-name>
          :
          <article-title>Simonian Bounded Rationality and Complex Behavioral Economics</article-title>
          . In A.
          <string-name>
            <surname>Matsumoto</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          <string-name>
            <surname>Szidarovszky</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          <string-name>
            <surname>Asada Smith</surname>
          </string-name>
          (Eds.), Essays in Economic Dynamics, pp.
          <fpage>3</fpage>
          -
          <lpage>22</lpage>
          . Singapore: Springer Singapore (
          <year>2016</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Bischi</surname>
            ,
            <given-names>G.I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Baiardi</surname>
            ,
            <given-names>L.C.</given-names>
          </string-name>
          :
          <article-title>A dynamic marketing model with best reply and inertia Chaos</article-title>
          ,
          <source>Solitons and Fractals</source>
          <volume>79</volume>
          ,
          <fpage>145</fpage>
          -
          <lpage>156</lpage>
          (
          <year>2015</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Heinrich</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>Evolution-Based Approaches in Economics and Evolutionary Loss of Information</article-title>
          .
          <source>Journal of economic issues 50(2)</source>
          ,
          <fpage>390</fpage>
          -
          <lpage>397</lpage>
          (
          <year>2016</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Puu</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Panchuk</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Nonlinear economic dynamics</article-title>
          . New York: Nova Science Publishers (
          <year>2011</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Bischi</surname>
            ,
            <given-names>G.I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lamantia</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>A dynamic model of oligopoly with R&amp;D externalities along networks</article-title>
          .
          <source>Part I. Mathematics and Computers in Simulation</source>
          ,
          <volume>84</volume>
          .
          <fpage>51</fpage>
          -
          <lpage>65</lpage>
          (
          <year>2012</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Puu</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>Chaos in duopoly pricing</article-title>
          .
          <source>Chaos, Solitons&amp;Fractals</source>
          <volume>1</volume>
          ,
          <fpage>573</fpage>
          -
          <lpage>581</lpage>
          (
          <year>1991</year>
          ).
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>