scieee AI-readable full text Open interactive document viewer

Consumers' behavior and the Bertrand paradox : an ACE approach

Vilà, Xavier

Abstract

We analyze the classical Bertrand model when consumers exhibit some strategic behavior in deciding from which seller they will buy. We use two related but different tools. Both consider a probabilistic learning (or evolutionary) mechanism, and in the two of them consumers' behavior in uences the competition between the sellers. The results obtained show that, in general, developing some sort of loyalty is a good strategy for the buyers as it works in their best interest. First, we consider a learning procedure described by a deterministic dynamic system and, using strong simplifying assumptions, we can produce a description of the process behavior. Second, we use nite automata to represent the strategies played by the agents and an adaptive process based on genetic algorithms to simulate the stochastic process of learning. By doing so we can relax some of the strong assumptions used in the rst approach and still obtain the same basic results. It is suggested that the limitations of the rst approach (analytical) provide a good motivation for the second approach (Agent-Based). Indeed, although both approaches address the same problem, the use of Agent-Based computational techniques allows us to relax hypothesis and overcome the limitations of the analytical approach.

Full text

Consumers’ Behavior and the Bertrand Paradox: An ACE Approach∗ Xavier Vilà† Universitat Autònoma de Barcelona 28th October 2005 Abstract We analyze the classical Bertrand model when consumers exhibit some strategic behavior in deciding from which seller they will buy. We use two related but different tools. Both consider a probabilistic learning (or evolutionary) mechanism, and in the two of them consumers’ behavior influences the competition between the sellers. The results obtained show that, in general, developing some sort of loyalty is a good strategy for the buyers as it works in their best interest. First, we consider a learning procedure described by a deterministic dynamic system and, using strong simplifying assumptions, we can produce a description of the process behavior. Second, we use finite automata to represent the strategies played by the agents and an adaptive process based on genetic algorithms to simulate the stochastic process of learning. By doing so we can relax some of the strong assumptions used in the first approach and still obtain the same basic results. It is suggested that the limitations of the first approach (analytical) provide a good motivation for the second approach (Agent-Based). Indeed, although both approaches address the same problem, the use of Agent-Based computational techniques allows us to relax hypothesis and overcome the limitations of the analytical approach. Key words: Agent-Based Computational Economics – Evolutionary Game Theory – Imperfect Competition. 1 Introduction As Hehenkamp (2002) points out, the Bertrand model of duopoly relies upon two important assumptions regarding consumer’s behavior: (i) consumers search for the cheapest firm at price zero and, (ii) switching firms has to be free. Nevertheless, not many papers explicitly take into account consumer behavior when analyzing the competitions among firms. Harrington and Chang (2005), and Ferdinandova (2003) analyze to what extend consumer’s behavior can influence market dominance and, thus, ∗Financial support from grants BEC2002-02130 of the Dirección General de Investigación (Spanish Ministry of Science and Technology), SGR2001-0164 of the Direcció General de Recerca (Generalitat of Catalonia), and CREA (Barcelona Economics) are gratefully acknowledged. †Departament d’Economia i d’Història Econòmica. Universitat Autònoma de Barcelona. 08913- Bellaterra (Barcelona). Spain. [email protected] 1 can contribute to “shape” the competition among firms. More related to our work, Hehenkamp (2002) shows that the “sluggishness” (or not) of consumers when searching for the best price can critically influence the outcome of the classical Bertrand model, that is, depending on how consumers behave firms could, in equilibrium, set prices equal to marginal cost or higher. These three papers use different evolutionary techniques for their analysis. Alchian (1950) already suggested that evolutionary models could suit well the dynamics underlying competition among firms. Here we also present an evolutionary analysis of firm competition when consumers are allowed to exhibit some strategic behavior when deciding from which one of the two sellers they will buy. Moreover, as discussed below, we will use to different approaches to the problem: an analytical one and another using Agent-Based Computational techniques. We will take into account not only the behavior of consumers when searching for the best price but also the role that a positive cost of switching firms might have. Finally, as opposed to the model by Hehenkamp, we will assume that the competition among firms is modelled as a repeated game which, to out understanding, fits better to the social evolutionary dynamics. The model will consist of two sellers, offering the same homogeneous product, that compete against each other in a market with a given number mof potential buyers. At each period t(t= 1,2,...,T)the market opens (and closes) a fixed number of times R that we will refer to as rounds. It is important to note the difference between periods and rounds. Each period (for instance, a week) contains Rrounds (for instance, 7 days). The two sellers decide at the beginning of each period a strategy that specifies the course of action to take at each of its rounds contingent on what happened in previous rounds of the same period. Thus, at the beginning of each round, each of the two sellers sets a price for his product according to their strategies for that period. Then, the market opens and the two prices become known to everybody. The mbuyers walk in and each of them decides from which of the two sellers will buy based on the observation of this two prices. Trade takes place and a new round begins. After Rrounds (end of the period) both sellers update their per period strategies according to some procedure that will be specified. The idea behind this sequence of events is that each seller uses the Rrounds to learn about the behavior of its competitor. Thus, each period represents a step in a learning procedure. The model can also be thought as a evolutionary model where each period represents the end of an old generation of sellers and buyers and the birth of a new generation that inherits the characteristics of its parent generation with, hopefully, some improvements. We will refer to the two intuitions indistinctly. As said above, we will approach the resolution of the situation sketched above using two related but different tools. The two of them consider a probabilistic learning (or evolutionary) mechanism and in the two of them we will discuss how the consumers’ behavior can affect the competition between the sellers. First, we consider the case in which the learning procedure can be described by a deterministic dynamic system that uses expected values based on the work of Nowak et al. (2004). Using strong simplifying assumptions we are able to solve this case and to produce a complete description of how the learning process behaves. We also discuss the problems that one might face when trying to relax some of the assumptions made. The second approach is an instance of Agent-Based Computational Economics techniques based on the analysis of the repeated Prisoner’s Dilemma using Genetic Algorithms by Miller (1996). We use finite automata (encoded as binary strings) to represent 2 the strategies played by the sellers (and also by the buyers) and a decentralized adaptive process based on the models of genetic algorithms to simulate the stochastic process of learning or evolution. With this technique we can relax some of the strong assumptions used in the first approach and still obtain the same basic results. Additionally, as a methodological agent representation issue, we modify the standard operators used in genetic algorithm techniques to make them more suitable to social (or economic) simulations. Finally, we like to think that, to some extent, the limitations of the first approach (analytical) provide a good motivation for the second approach (Agent-Based simulations). Indeed, although both approaches address the same problem, we show that the use of Agent-Based computational techniques allows us to relax hypothesis and overcome the limitations of the analytical approach while produces results that can be easily put in contrast with those of the first approach. 2 The deterministic system In order to simplify the analysis and avoid the interference that different demand functions could produce in our model, we assume that, at each period t, the sellers can only choose between two possible prices, say a high price pand a low one p. This is, indeed, a very strong simplification. The Agent-Based approach in section 3 could easily overcome this limitation, but then we would loose the reference of the analytical approach. We further assume that at the beginning of each period, the set of strategies for the period available to the sellers consists only of the following: •Always cooperate (C), which means that the seller using this strategy will always set a high price p—and thus will “cooperate” with its competitor— regardless what happened in previous rounds of the current period. •Always defect (D), which means that the seller using this strategy will always set a low price p—and thus will “ defect”— regardless what happened in previous rounds of the current period. •Tit for Tat (T) , which means that the seller using this strategy will start each period with a high price pand then, at each successive round in that period, will mimic what its competitor did in the previous round. Again, the assumption that only three possible strategies are available to the the sellers is a very restrictive hypothesis. Nevertheless, by adopting it we can build on the analysis by Nowak et al. (2004) and apply it to our case. We will later discuss on the essential difficulties of dropping this assumption. Without loss of generality, we can normalize the number of buyers so that m= 2. To begin with we assign to the high and low prices the values p= 3 and p= 2. We will first assume that the consumers’ behavior is fixed so that they will always buy from the cheapest seller and, in the case that the two of them set the same price, they will split equally. Matrix Asummarizes the per period payoff for each seller in this situation. The first row of the matrix specifies the payoff that a C-strategist receives if its opponent is a C-strategist, D-strategist, or T-strategist respectively. Similarly, the second and third row correspond to the payoffs for a D-strategist and a T-strategist respectively. 3 So, if a D-strategist meets another D-strategist each one receives a payoff of 2Rafter Rrounds (one period) whereas if a D-strategist meets a T-strategist, the D-strategist gets 4in the first round (all the buyers go to the D-strategist) and 2for the rest of the period. A=  3R0 3R 4R2R4 + 2(R−1) 3R2(R−1) 3R   Each seller, at the beginning of period t, chooses the strategy s(s∈ {C, D, T }) with probability pt(s). From a evolutionary point of view, pt(s)represents the proportion of s-strategists in the total population. Let ptbe the vector of probabilities of choosing each strategy and let pT tdenote its transposed. pt=  pt(C) pt(D) pt(T)   The following equation drives the dynamics of the learning/evolutionary process: pt+1(s) = pt(s)As·pt pT t·A·pt where Asdenotes the row of Acorresponding to the strategy s. Using the learning intuition, the probability of choosing a particular strategy sis updated according to its relative performance. Indeed, As·ptrepresents the expected payoff of the strategy swhereas pT t·A·ptrepresents the expected average payoff. From an evolutionary point of view, the dynamic equation corresponds to the dynamic system known as replicator dynamics according to which each strategy is replicated as a function of its relative performance with respect to the rest. In order to explore the behavior of this system, we study the corresponding vector field, which is shown in Figure 1. Each point represents a probability vector ptthat specifies with what probability each of the three strategies will be chosen. At each point the arrow indicates the instantaneous direction in which these probabilities evolve. The strategy Dis locally stable in the sense that if ptis pushed slightly away from Dby a small perturbation, it will eventually go back to D. In other words, Dis evolutionary stable (Maynard Smith (1982)). That is not the case for T. If ptis pushed away from Tit will then converge to some point near Tin the line T C but not necessarily to T again. Any point in the line T C is a rest point (altough not stable) of the system since in the absence of D-strategists, Cand Tdo equally well. Next we assume a different behavior for the consumers and consider the case in which they are “loyal”, that is, they always buy from the cheapest seller as in the previous case. The difference now is that in the case the two prices are set equal, they will go back to the seller they bought from in the previous round. By doing so, the payoff matrix A changes since, obviously, now the first round becomes much more important as it will determine the market share of each seller. Figure 2 shows the vector field corresponding to this case. Now, any path starting in the interior of the simplex converges to D, which 4 D T C Figure 1: Vector Field with non-loyal consumers turns out to be the only stable equilibrium. The points in the line T C are stationary but not stable. The change with respect to the first case is not surprising as now the competition for market share in the first round becomes critical. One might argue that in this case we should not consider the Tit for Tat strategy (begin with a high price and then imitate your competitor) since it is not a good strategy in the competition for market share. If a seller starts out by setting a high price, chances are that he will not have any one to sell in the next round. If we consider the opposite strategy Tat for Tit (T a) instead, that is, start with a low price and keep it low if the competitor does so, we obtain the results depicted in Figure 3. Basically the result is the same as in the previous case in that the firms end up setting a low price. The difference is that in this case all the points in the line DT a are stationary but none of them (not even D) are stable. Next we consider different values for the high and low prices. Figures 4, 5, and 6 are the equivalent to Figures 1, 2, and 3 respectively with the difference that now the high and low prices are ¯p= 5 and p= 2. The size of the gap between the two prices is important since now it might not be optimal for the sellers to retaliate in order to gain market share if it requires to lower the price by more than a half. That would not make sense, for instance, if all that you expect to gain is to double your market share. The direction of the arrows in Figures 4, 5, and 6 seem to corroborate this intuition. In the first one, corresponding to the case in which consumers are not “loyal”, it seems that unless there is a high probability of ruining into a D-strategist as a competitor, the mechanism is going to push the probabilities to some point in the line T C. If consumers are loyal (Figure 5) the result is similar. It seems that we need the probability of meeting a D-strategist to be more than one half in order to converge to the low price equilibrium. In both cases, though, Dcontinues being the only stable strategy. 5 D T C Figure 2: Vector Field with loyal consumers If we consider Tat for Tit instead of Tit for Tat (Figure 6) we obtain very similar results to the ones in Figure 3. This is important since now it seems that being a T-strategist is not so bad after all (according to Figure 5) due to the bigger price differential and, therefore, maybe we should not substitute Tby T a in this case. In the light of these results one might say that it makes sense for the consumers to be loyal (at least in the very weak sense used in this model) for that makes the sellers behave in such a way that competition works in the best interest of the consumers, that is, they get low prices. Even though this intuition can be thought as a nice complement to the static model of Bertrand competition, we think that the model proposed has two important limitations that makes us consider a different approach. These two limitations are: 1. In the model we only consider three strategies at a time. One might argue in favor of this that C,D, and Tare the strategies that seem more likely to emerge from some learning or evolutionary process and, therefore, there is no need to consider more strategies for they will not be played as we approach to a limit solution. This reasoning, though, does not always work. We have an example of that in Figures 2 and 5. According to Figure 2, Tit for Tat is not a good strategy, but it turns out to be good when we consider a different set of prices. Thus, a strategy can turn out to perform relatively well or not depending on the particular set up that we have. Since we do not know before hand (if we knew we would not need to solve the problem), we do not have any reason a priori to include a particular strategy and discard another. 2. Another limitation is that the interpretation that consumers will be “loyal” because if they do then competition will “evolve” in their best interest involves a strong rationality assumption. Indeed, we are not only assuming that consumers 6 D Ta C Figure 3: Vector Field with loyal consumers (and Tat for Tit) are rational maximizers perfectly informed but also that they are able to understand how evolution works so that they can predict and even control the path of evolution. This is hard to believe. We should, somehow, incorporate consumers’ behavior in the system so that all the agents (both sellers and buyers) learn or evolve at the same time. On the other hand, it is easy to recognize the difficulties involved in relaxing any of these assumptions. Imagine that we want to expand our set of three strategies. The question now is what additional strategies do we want to consider and why, since choosing an additional strategy can be as arbitrary as not choosing it. One might use some criteria to guide this decision. For instance, a good criterion would be: “consider only strategies according to which the action taken by one of the players depends only on his past move and on the past move of his rival”. The problem now is that there are 26 different such strategies. It is clear that now we cannot use the same technique since it would imply having to work with vector fields in a 25-dimensional simplex. In fact, working with more than 3 strategies is already a challenge. Next we propose a model of adaptive learning or evolution based on genetic algorithm techniques to try to overcome these limitations. 3 The adaptive system In our adaptive system, strategies for the repeated game will be represented by finite automata as in Miller (1996). A finite automaton is a system that reacts to discrete inputs producing discrete outputs. Formally, a finite automaton –or Moore machine– is described by a five-tuple <Ω, Q, q∗, λ, δ > where: 7 D T C Figure 4: Vector Field with non-loyal consumers 1. Ωis the alphabet (actions) the automata understands (Ω = {¯p, p}in our case) 2. Q={q1,...,qn}is a finite set of internal states. 3. q∗∈Qis the initial state 4. λ:Q→Ωis the output function that assigns an action to each internal state 5. δ:Q×Ω→Qis the transition function which maps the current internal state and the input ωthat the automaton gets from the environment to a new internal state. Thus, this automaton consists of a set of internal states. Each internal state has associated an action and a transition function depending on the input that the automaton gets. That transition function points to another internal state that will be the active state for next round. For instance, the automata in Figure 7 represents the Tit for Tat strategy In our model, the strategies for the sellers will be represented by automata of size 2 (two internal states, labeled 0 and 1). With this we restrict ourselves to consider only 26 different strategies. These automata can be represented by a binary string of 7 bits according to the following scheme: •First bit : Initial state (0 or 1) •Second bit : Action when at state 0. 0 means that the low price pis chosen and 1 corresponds to the high price p. •Third bit : Transition state if the rival sets a low price p. (0 or 1) •Fourth bit : Transition state if the rival sets a high price p. (0 or 1) 8 D T C Figure 5: Vector Field with loyal consumers •Fifth, sixth and seventh bits : Equivalent to second, third and fourth bits but corresponding to state 1. Thus, the automaton 0001101 represents a Tit for Tat strategy as in Figure 7. One of the novelties of this adaptive model with respect to the deterministic model discussed in section 1 is that now the buyers will also be represented by finite automata (of size four) that will evolve jointly with the global evolution of the system. This is a much realistic assumption rather than taking their behavior as given. In this sense, a buyer’s strategy is represented by a binary string of 30 bits corresponding to the following structure: 1. The first two bits form a number in base 2 that specifies the initial state (0, 1, 2, or 3) 2. The rest of the bits are structured in 4 groups of 7 bits each, corresponding each of this groups to an internal state. In each of these internal states: (a) the first bit corresponds to the action to take at that state. 0 means that the buyer using this strategy will buy from the same seller than in the previous round (loyalty) and 1 corresponds to the buyer switching to the other seller. (b) The six remaining bits correspond to the transitions states (expressed in base 2) depending on the price paid by the buyer in the market being higher, equal or lower (respectively) than the price set by the other seller. The evolutionary nature of the system will be driven by an adaptive mechanism based on a modified genetic algorithm that can be outlined as follows: 9 References Alchian, A. (1950). Uncertainty, evolution and economic theory. Journal of Political Economy, 58:211–221. Ferdinandova, I. (2003). On the Influence of Consumers’ Habits on Market Structure. Mimeo. Universitat Autònoma de Barcelona. Harrington, J. E. and Chang, M.-H. (2005). Co-Evolution of Firms and Consumers and the Implications for Market Dominance. Journal of Economic Dynamics and Control, 29(1-2):245–276. Hehenkamp, B. (2002). Sluggish Consumers: An Evolutionary Solution to the Bertrand Paradox. Games and Economic Behavior, 40:44–76. Maynard Smith, J. (1982). Evolution and the Theory of Games. Cambridge University Press, Cambridge. Miller, J. H. (1996). The coevolution of automata in the repeated Prisoner’s Dilemma. Journal of Economic Behavior and Organization, 29(1):87–112. Nowak, M. A., Sasaki, A., Taylor, C., and Fudenberg, D. (2004). Emergence of cooperation and evolutionary stability in finite populations. Nature, 428(6983):646 – 650. Vilà, X. (1997). Adaptive Artifical Agents Play a Finitely Repeated Discrete Principal.Agent Game. In Conte, R., Hegselmann, R., and Terna, P., editors, Simulating Social Phenomena, volume 456 of Lecture Notes in Economics and Mathematical Systems, pages 437–456. Springer-Verlag. 16 0 5 10 15 20 25 30 35 0 50 100 150 200 250 300 350 400 450 500 Buyers 900 1000 1100 1200 1300 1400 1500 1600 1700 1800 0 50 100 150 200 250 300 350 400 450 500 Sellers Case 3A -5 0 5 10 15 20 25 30 35 0 50 100 150 200 250 300 350 400 450 500 Buyers 800 1000 1200 1400 1600 1800 2000 2200 0 50 100 150 200 250 300 350 400 450 500 Sellers Case 3B -0.5 0 0.5 1 1.5 2 2.5 3 0 50 100 150 200 250 300 350 400 450 500 Buyers 1200 1250 1300 1350 1400 1450 1500 1550 0 50 100 150 200 250 300 350 400 450 500 Sellers Case 3C Figure 8: Cases 3* 17 0 10 20 30 40 50 60 70 0 50 100 150 200 250 300 350 400 450 500 Buyers 800 1000 1200 1400 1600 1800 2000 2200 0 50 100 150 200 250 300 350 400 450 500 Sellers Case 4A -10 0 10 20 30 40 50 60 70 0 50 100 150 200 250 300 350 400 450 500 Buyers 800 1000 1200 1400 1600 1800 2000 2200 0 50 100 150 200 250 300 350 400 450 500 Sellers Case 4B -12 -10 -8 -6 -4 -2 0 2 4 6 0 50 100 150 200 250 300 350 400 450 500 Buyers 1400 1500 1600 1700 1800 1900 2000 2100 0 50 100 150 200 250 300 350 400 450 500 Sellers Case 4C Figure 9: Cases 4* 18 0 10 20 30 40 50 60 70 0 50 100 150 200 250 300 350 400 450 500 Buyers 1400 1600 1800 2000 2200 2400 2600 0 50 100 150 200 250 300 350 400 450 500 Sellers Case 5A -20 0 20 40 60 80 100 0 50 100 150 200 250 300 350 400 450 500 Buyers 800 1000 1200 1400 1600 1800 2000 2200 2400 2600 0 50 100 150 200 250 300 350 400 450 500 Sellers Case 5B -10 -5 0 5 10 15 0 50 100 150 200 250 300 350 400 450 500 Buyers 1700 1800 1900 2000 2100 2200 2300 2400 2500 2600 0 50 100 150 200 250 300 350 400 450 500 Sellers Case 5C Figure 10: Cases 5* 19