scieee AI-readable full text Open interactive document viewer

Strategic experimentation in queues

Cripps, Martin,Thomas, Caroline D.

Abstract

EconStor is a publication server for scholarly economic literature, provided as a non-commercial public service by the ZBW.

Full text

Cripps, Martin; Thomas, Caroline D. Article Strategic experimentation in queues Theoretical Economics Provided in Cooperation with: The Econometric Society Suggested Citation: Cripps, Martin; Thomas, Caroline D. (2019) : Strategic experimentation in queues, Theoretical Economics, ISSN 1555-7561, The Econometric Society, New Haven, CT, Vol. 14, Iss. 2, pp. 647-708, https://doi.org/10.3982/TE1796 This Version is available at: https://hdl.handle.net/10419/217056 Standard-Nutzungsbedingungen: Die Dokumente auf EconStor dürfen zu eigenen wissenschaftlichen Zwecken und zum Privatgebrauch gespeichert und kopiert werden. Sie dürfen die Dokumente nicht für öffentliche oder kommerzielle Zwecke vervielfältigen, öffentlich ausstellen, öffentlich zugänglich machen, vertreiben oder anderweitig nutzen. Sofern die Verfasser die Dokumente unter Open-Content-Lizenzen (insbesondere CC-Lizenzen) zur Verfügung gestellt haben sollten, gelten abweichend von diesen Nutzungsbedingungen die in der dort genannten Lizenz gewährten Nutzungsrechte. Terms of use: Documents in EconStor may be saved and copied for your personal and scholarly purposes. You are not to copy documents for public or commercial purposes, to exhibit the documents publicly, to make them publicly available on the internet, or to distribute or otherwise use the documents in public. If the documents have been made available under an Open Content Licence (especially Creative Commons Licences), you may exercise further usage rights as specified in the indicated licence. https://creativecommons.org/licenses/by-nc/4.0/ Theoretical Economics 14 (2019), 647–708 1555-7561/20190647 Strategic experimentation in queues Martin W. Cripps Department of Economics, University College London Caroline D. Thomas Department of Economics, University of Texas at Austin We analyze the social and private learning at the symmetric equilibria of a queueing game with strategic experimentation. An infinite sequence of agents arrive at a server that processes them at an unknown rate. The number of agents served at each date is either a geometric random variable in the good state or zero in the bad state. The queue lengthens with each new arrival and shortens if the agents are served or choose to quit the queue. Agents can observe only the evolution of the queue after they arrive; they, therefore, solve a strategic experimentation problem when deciding how long to wait to learn about the probability of service. The agents, in addition, benefit from an informational externality by observing the length of the queue and the actions of other agents. They also incur a negative payoff externality, as those at the front of the queue delay the service of those at the back. We solve for the long-run equilibrium behavior of this queue and show there are typically mass exits from the queue, even if the server is in the good state. Keywords. Experimentation, bandit problems, social learning, herding, queues. JEL classification. C72, C73. 1. Introduction This paper considers a model that combines individual experimentation, observational learning, and payoff externalities. Such a combination arises in many economic and social contexts. Consider firms engaged in research and development (R&D) projects in related areas. If one firm has a success, this is good news for other firms, since it indicates that the entire area of research is worthwhile. However, the greater is the number of firms that are competing in the area, the less lucrative is the value of any patent that the firm secures. Similar concerns arise in other contexts, such as firms drilling for oil in the same geographical area or lenders to venture capitalists in a nascent industry. The model we analyze has a countable infinity of individuals who arrive sequentially and join a queue for service. The queue grows at each new arrival and shrinks if service occurs or if an individual decides to stop waiting and leaves. Individuals arrive uncertain Martin W. Cripps: [email protected] Caroline D. Thomas: [email protected] Cripps thanks the Cowles Foundation for its hospitality. Thomas gratefully acknowledges support from Deutsche Bank through IAS Princeton. We are grateful to V. Bhaskar, Max Stinchcombe, and Tom Wiseman for their comments. We thank four remarkably constructive referees for their comments and suggestions. ©2019 The Authors. Licensed under the Creative Commons Attribution-NonCommercial License 4.0. Available at http://econtheory.org.https://doi.org/10.3982/TE1796 648 Cripps and Thomas Theoretical Economics 14 (2019) about the state of the world, which determines whether service occurs. Service occurs with positive probability only in the good state of the world. An individual has no direct information about events taking place before her arrival, but learns subsequently by observing the server activity and the behavior of other agents in the queue. This is a situation faced by most of us as we approach counters for service or as we wait for taxis in unfamiliar places. Are short taxi queues a good sign because they indicate a high service rate, or a bad sign because informed individuals know that it is bettertowalkortakepublictransport? As she waits in line without observing service, an individual revises downward the likelihood she attributes to service ever occurring. This is the usual private learning that occurs in strategic experimentation models. Additionally, the behavior of other agents in this game is itself a source of information. Social learning takes two different forms. Once in the queue, an individual learns from the behavior (leave or keep queueing) of those ahead of her in the queue. For instance, observing an agent ahead of her leave the queue is bad news about the state of the world. A more subtle aspect of social learning arises from the inference drawn by an arriving individual when she observes the queue length. Given a strategy profile, the server state determines an invariant distribution over queue lengths. Thus, the queue length observed on arrival is also informative about the server state. While the presence of other individuals—those in the queue who are ahead of her— is beneficial for an individual since they generate positive information externalities, it is detrimental in terms of payoffs, as the agent must wait for them to be served before she is.1Thus our model combines observational learning and payoff externalities in a novel manner. Our main results are as follows. We study equilibria in a class of strategies that combine herding and individual experimentation in a natural way.2The first agent in line engages in optimal individual experimentation, choosing the amount of time she waits for service before quitting the queue and taking the outside option. Later arrivals in the queue copy the decisions of the first in line and quit whenever she quits. For each agent, the decision whether to join the queue or balk upon arrival is determined by a threshold queue length, and agents agree to join the queue only up to that threshold. We provide sufficient conditions for the existence of a symmetric equilibrium in such strategies. For later arrivals, quitting the queue when the first in line does is optimal in equilibrium because the agents in the queue typically have nested information sets. Those at the front of the line have spent more time in the system and know strictly more than those behind them. This gives a novel equilibrium prediction: there is mass quitting of the queue, even when the server is good. We show that equilibria can take two qualitatively different forms. When agents are sufficiently patient and/or good queues have sufficiently fast service, agents are willing to join the queue even when it is very long. In equilibrium, the persistence of the first in line reveals that she is sure that the state is good, and long queues can thus perfectly 1We study first-come–first-served (FCFS) queues. 2We do not assume that deviations must be within that class. Theoretical Economics 14 (2019) Strategic experimentation in queues 649 reveal the good state of the world to new arrivals. At a good server, the system will typically alternate between successions of uninformed queues in which the agents renege en masse once the uninformed first in line becomes too pessimistic about the server state, and lengthy spells in which all individuals in the queue infer that the server is good and are willing to let the queue grow long. These perfectly informed spells end if the entire queue is served. At a bad server, we would only observe the cycle of uninformed queues. In contrast, agents are unwilling to let the queues grow long when they are less patient and/or good queues are slow. In this case, there is no queue length that perfectly reveals the state to new arrivals, even if the first in line knows that the server is good. We then say that the equilibrium exhibits imperfect revelation. The equilibrium behavior of the queue at a good and at a bad server are then very similar. At a bad server, the queue cyclically repeats the following behavior. It grows to a limited length and stagnates there for a while before collapsing in a mass exit. At a good server, the queue would stagnate longer in that second stage if the individuals in the queue know that the state is good, but no further individuals are willing to join the queue. This interplay of private and social learning means that, at our equilibria, relatively quiet periods of private learning alternate with bursts of activity at which social learning triggers herds. As a result, the queue lengths in our equilibria are more variable than in the cases where agents do not behave strategically or if the behavior of other agents in the queue were not observable. Hence, if designers care about the variability of the queue length, they may wish to limit the visibility of the queue. Finally, it is important to note that at our equilibria, learning never ends. Every time the queue clears—either because the entire queue is served or because of mass exit—the next individual to arrive is unable to free-ride on the actions of better-informed individuals further up the line. The “social memory” is reset and individuals have to re-learn what past generations may already have learnt. Consequently if queues tend to empty out frequently, then on average there is poorer retention of past information. If queues tend to fill up, then social memory is improved and it is less necessary for new arrivals to duplicate past generations’ learning. The paper is organized as follows. In Section 2, we set up our queuing model. In Section 3, we introduce two concepts in the context of two auxiliary individual optimization problems. These concepts are then used to analyze the game. Section 4 provides the main results of this paper. Equilibria with perfect revelation exist when agents are sufficiently patient. We derive necessary and sufficient conditions for the existence of a particular equilibrium with imperfect revelation, and show that, more generally, an equilibrium with imperfect revelation cannot exist if agents are too patient. These results are summarized in Proposition 1 in Section 4.3. In Section 7, we discuss sufficient conditions that exclude the existence of equilibria in more general herding strategies. In Section 8, we show that faster servers encourage individual learning but are worse for social memory. Section 9 concludes and provides directions for further research. 650 Cripps and Thomas Theoretical Economics 14 (2019) 1.1 Related literature Queues are a pervasive feature of modern life and individuals join queues even when there is uncertainty about the service rate. When joining such a queue, an individual engages in optimal experimentation: while standing in line, she can learn about the arrival rate of service and, if this is poor, quit the queue and take her outside option. This problem also arises in many noneconomic situations3(queueing for service in computer and communication networks, pipeline scheduling). In addition to this private experimentation, individuals in the queue can see the behavior of others and this is informative about the service rate. The presence of other agents generates information externalities. Moreover, it is well known that in queues operating under a first-come–first-served (FCFS) regime, an individual who decides to join the queue imposes a negative payoff externality on those behind her (see Naor (1969) and Hassin (1985)). This paper attempts to consider both types of externalities simultaneously. While combining these externalities leads to many analytical difficulties in general, queues provide a tractable structure within which this problem can be tackled. Strategic experimentation with information externalities has been widely studied (Bolton and Harris (1999), Keller et al. (2005), Murto and Välimäki (2011)). More recently, Strulovici (2010) and Thomas (2018) consider games of experimentation with direct payoff externalities. Our model departs from much of the literature on herding and social learning4in that we assume that each agent observes only the actions of other agents after she joins the queue.5The queue length she observes upon arrival is her only summary statistic of previous behavior. Models assuming that agents do not observe the entire history of previous actions include Banerjee and Fudenberg (2004)andSmith and Sorensen (2013), where each new arrival observes only a random sample from the set of past observations, or Çelen and Kariv (2004), where each new arrival observes only her predecessor’s action. Research closely related to ours considers herding and social learning in the context of queues. Debo et al. (2012) consider a model in which the length of a queue reveals agents’ private information about the unknown quality of a product for sale and explore a firm’s incentive to manipulate the service rate. In this model, the equilibrium joining strategy is not of the threshold type: an uninformed individual joins a queue only if its length is strictly below or strictly above a certain threshold. In the latter case, the queue length reveals that the product is of high quality. Thus, as in our model, long queues can be a fully informative signal of the good state of the world. In a similar setup, Debo et al. (2018) explore a firm’s incentive to manipulate prices. They prove the existence of a pooling equilibrium in which, even though the high and low quality firms set the same price, the queue grows long only when the quality is high. Eyster et al. (2014)study herding when a sequence of agents have the choice between two actions and bear a congestion cost determined by how many agents have previously chosen the action. 3See Percus and Percus (1990)orChaudhry and Gupta (1996) for examples. 4See Banerjee (1992), Bikhchandani et al. (1992), Smith and Sørensen (2000), Callander and Hörner (2009). See Chamley (2004)forasurvey. 5We thank an anonymous referee for this observation. Theoretical Economics 14 (2019) Strategic experimentation in queues 651 In all these models, the underlying uncertainty is about the value of service. As a result, all learning is done prior to the individuals’ decision whether to join the queue (in Debo et al. (2012)andDebo et al. (2018)) or which action to take (in Eyster et al. (2014)). Once an individual has made this decision, there is no further learning, public or private. As a consequence, there is no experimentation and no reneging. Reneging is an important feature of “real life” queuing decisions, and it occurs frequently in the equilibrium of our model—even when the state of the server is good. In the operations research literature on strategic behavior in queues (see Hassin and Haviv (2003) for a summary), a few articles provide an explanation for reneging. The model closesttooursisthatofMandelbaum and Shimkin (2000), where, with some probability, an arriving customer is diverted from an M/M/s queue and directed to a faulty server where she will never get served. Just as in our model, agents are uncertain about the service speed. The main difference is that in their model, the queue is not observable. An agent in the queue knows only that she has not yet been served, but she does not know whether she has been diverted. She also does not observe whether others have been served or whether others have left the queue. Because of this, a quitting agent would never trigger a herd. Nevertheless, the fact alone that she spends time in the queue without being served causes an agent to revise upward the probability she attributes to having been diverted, and makes her more inclined to renege. In equilibrium an individual might renege even if she has not been diverted. An altogether different way to motivate reneging from an unobservable FCFS queue is to assume that the conditions in the system deteriorate exogenously. In Hassin and Haviv (1995), the value of being served exogenously drops to zero after some time T.In Haviv and Ritov (2001), individuals’ waiting costs are increasing and convex with time. Shimkin and Mandelbaum (2004) allow for more general nonlinearities in the waiting cost function. When the queue is observable, reneging from a FCFS M/M/s queue is harder to explain as equilibrium behavior. When other agents renege on the queue, an individual’s prospects either remain the same or improve over time. In both cases, if it was worth joining the queue, then it is worth staying until service is completed. Assaf and Haviv (1990)andAltman and Shimkin (1998) show that reneging and balking may happen at egalitarian processor sharing systems (where the service capacity is split evenly among all agents present in the queue), because conditions in the system might deteriorate endogenously due to a slowdown in the service rate as more and more individuals join the queue. To our knowledge, our model is the first in which reneging is caused endogenously at an observable FCFS queue, namely through private and public learning about the service rate.6 When the entire queue is served and clears or if all agents in the queue leave en masse, new arrivals find that there are no agents from which to learn. These events happen with positive probability so that in this game learning never stops. The frequency of the events resetting social learning measures the persistence of social memory. Similar issues, although in a different context, are discussed in Herrera and Hörner (2013). 6We thank two anonymous referees for this observation. 652 Cripps and Thomas Theoretical Economics 14 (2019) Finally, in our equilibria, information can aggregate “in waves”: in between informational cascades and ensuing herds, there will be periods of relative inactivity during which learning occurs gradually. Our model shares this feature with Bulow and Klemperer (1994), Toxvaerd (2008), and Murto and Välimäki (2011). 2. The model Time is discrete, doubly infinite, and indexed by τ∈Z. At each date τ, one new agent arrives at the queue.7The state of the server of our queue is either good or bad.Theserver is selected by nature once and for all at the outset of the game: nature selects the good server with probability μ∈(01). A bad server never produces service capacity,8and gτ=0for all τ,wheregτ∈N0={01}denotes the service capacity produced by the server at date τ. Only a good server produces service. In this state gτis an independent and identically distributed (i.i.d.) geometric9random variable with commonly known parameter α∈(01):Pr(gτ=i) =(1−α)αifor i∈N0. Let nτ∈N0be the number of agents in the queue at the beginning of period τ.The queue discipline is first-come–first-served (FCFS), that is, agents are served in the order of the queue. At each date τ, we distinguish three consecutive stages: service (S), exit (E), and arrival (A). The S,E,andAstages proceed as follows. Service. If nτ>g τ, then the agents at the first gτpositions in line are served at the service stage of date τand disappear from the queue. Each remaining agent observes this and advances by gτpositions. If nτ≤gτ, the entire queue is served and the excess service capacity, gτ−nτ, disappears. (It cannot be stored for use in subsequent periods.) Exit. This is the only stage of date τat which an agent still in the queue after the service stage may leave the queue and take the outside option. (This is called reneging on the decision to queue.) Any exit is observed by all agents who are still in the queue. Multiple rounds of exit are allowed at this stage. Arrival. At this final stage, one new agent arrives and observes the number of agents remaining in the queue after the exit stage of date τ. This new agent can then choose either to join the queue at the last position or to take the outside option immediately. (Not joining the queue upon arrival is called balking.) The agent’s decision is observed by all agents in the queue, although this information turns out not to matter. Once the arrival stage is concluded, the game moves to the next time period, τ+1.10 7Our timing choice allows us to clearly disentangle the two aspects of social learning from one another and from private learning. The assumption that arrival is deterministic simplifies our analysis of the agents’ belief updating, as it ensures the existence of closed-form expressions for the state-dependent stationary distributions of queue lengths described in Section 5.1.SeeWolff (1982) for properties of queues in continuous time. 8In an alternative model where, in the bad state, service does occur, but at a slower rate than in the good state, the steady-state behavior of queue lengths is more complicated. Since in such a model, observing service does not conclusively reveal that the server is good, an agent might eventually renege on the queue, even if she has previously observed service. This means that mass reneging can occur for many possible queue lengths. 9This discrete-time geometric distribution service model for queues is widely used to model computer communication systems: see, for example, Chaudhry and Gupta (1996). 10The ordering of these stages appears to be the most natural. However, there are other possible modelling choices that could be made: If the Sstage came after the Estage, then it would not be possible for Theoretical Economics 14 (2019) Strategic experimentation in queues 653 While agents wait in line they receive a flow payoff of zero. An agent who is served obtains an instantaneous payoff of w>1. Any agent who exits, either initially or after waiting for some time (balks or reneges), receives an instantaneous payoff normalized to 1. Each agent discounts each unit of calendar time by the common discount factor δ∈(01). The agent who arrives at date τis uncertain about the state of the server. Each agent attaches prior probability μto the server being in the good state. Agents in the queue at the start of period τobserve gτand the exit decisions of all agents at the exit stage. They must decide when, if ever, to renege on the queue and irrevocably take the payoff of 1. We analyze the steady state of this game. In this model, agents must wait in line for at least one period before they have the opportunity to be served. The average rate at which agents are served in the good state is α/(1−α). We define the parameter φto be the inverse of the average service rate: φ:= 1−α α(1) Much of the analysis below is done using φrather than α. At a good server, if α>1/2(or φ<1), the average service rate is greater than the arrival rate, and queues tend to empty. If α<1/2(φ>1), queues tend to grow. 3. Two auxiliary optimization problems We begin by describing the solutions to two individual optimization problems for an agent at the nth position in the line. In both of these optimizations, the behavior of all agents ahead of the nth in line is fixed: it is assumed that they remain in the queue until they are served. The first optimization problem answers the following question: given that agents ahead of her never renege and she knows that the server is good, should an agent arriving at the nth position join the queue or balk and take the outside option? This individual problem is solved in Naor (1969). In our framework it determines M, the maximum rational queue length at a server known to be good. The second optimization is one of experimentation in the absence of social learning. It answers the following question: assuming that agents ahead of her never renege, how many periods should an agent at the nth position, holding the belief μ0 non the good server, wait without observing service before reneging on the queue and taking the outside option? We interpret the solution to this problem, N(n μ0 n),asthenth in line’s willingness to experiment, based only on her private observation of the server (in)activity. The variables Mand N(n μ0 n)are used in later sections, when studying an agent’s problem in our game of incomplete information. those in the queue to exit immediately after bad news (no service) was observed; instead, they would need to wait one period before they could exit. This would reduce the equilibrium amount experimentation. If the Astage preceded the Sstage, then new arrivals would immediately be able to observe the service behavior of the queue. This would make balking less likely and equilibrium queues would typically be longer. Finally, if the Astage preceded the Estage, then joining the queue would become more attractive as new arrivals could get to observe the exit behavior of others in the queue; again balking would be less common. 654 Cripps and Thomas Theoretical Economics 14 (2019) 3.1 The maximal rational queue length at a good server: M Let Vndenote the expected payoff of an agent who knows that the server is in the good state, is nth in line following the current period’s service stage, and assumes that all agents ahead of her remain in the queue until served. It satisfies the recursion Vn=(1−α)δn−1 t=0αtVn−t+αnδw,withV1=(1−α)δV1+δαw. Solving iteratively, Vn=ψnδw where ψ:= α 1−δ(1−α)(2) Each additional agent ahead of her in the queue discounts the nth agent’s payoff by the factor ψ<1.11 Hence, the parameter ψcaptures the congestion cost imposed by an agent on those behind her. This congestion cost is mitigated as the service rate increases and it entirely disappears as α,andsoψ, approach unity. In contrast when service is slow, the congestion costs become extreme. The threshold Mis the last position at which an agent accepts to join the queue at a server known to be good. It is the integer that satisfies VM+1<1≤VM(3) It depends12 on the parameters α,δ,andw, but not the prior. The threshold Mgrows without bound as congestion costs vanish, that is, as the agents become more patient (δ→1) or as the service rate increases (α→1). These arguments are summarized in the following lemma, where xdenotes the integer part of x. Lemma 1(Naor (1969)). The last position at which an agent agrees to join the queue at a server known to be good is given by M=−ln(δw) lnψ(4) (a) We have M≥1if and only if V1≥1.(b)Forallα∈(01),limδ→1M=+∞. For all δ∈[1/w 1),limα→1M=+∞. Proof. Part (a) is immediate from (3). Part (b) follows from the definition of ψ. 3.2 The nth in line’s private experimentation We now turn to the nth in line’s private learning, or experimentation, when she is uncertain about the server state and holds the belief μ0 n>0that the server is good.13 In this optimization, we maintain the assumption that all agents ahead of her never renege on the queue. As a consequence, the nth in line cannot learn anything from the actions 11Observe that ψk=E(δ˜τk), where the random variable ˜τkis the arrival time of the kth service event, for k∈N. 12For notational convenience, we do not make the dependence on these parameters explicit. 13In Section 5.2 we describe how this belief is obtained at an equilibrium. Theoretical Economics 14 (2019) Strategic experimentation in queues 661 4.2.2 Equilibrium with imperfect revelation By definition, the strategy σ∗(1N∗M∗) exhibits imperfect revelation if every queue length is only imperfectly informative about the server state. For q∗=1,thisrequiresN∗>M∗.22 For each n=1M∗+1,consider the condition E.2. applied to the agent arriving at the queue at the nth position in line, when all other agents adhere to the strategy σ∗(1N∗M∗). For n=M∗M∗+1, the agent cannot learn, merely by observing the queue length, that the server is in the good state. Consequently, condition (A.ii) does not determine the equilibrium parameter M∗, as it did under perfect revelation. Instead, the conditions jointly pinning down M∗are given subsequently in (B.ii). They can be understood as follows. First, an agent arriving at the queue at the M∗th position and forming the belief ¯μ0 M∗ must prefer joining the queue (thus adhering to the equilibrium strategy) to balking. Equivalently, her payoff from adhering to the equilibrium strategy, which is U∗ M∗(¯μ0 M∗) as defined in (12), must exceed 1, which is her payoff from balking. Second, an agent arriving at the M∗+1th position must find it optimal to balk (thus adhering to the equilibrium strategy). Equivalently, her payoff from balking must be no less than the payoff to her most profitable deviation from σ∗(1N∗M∗).Somecareis needed when describing her most profitable deviation, and the belief ¯μ0 M∗+1she forms upon arrival. Indeed, observe that the agent arriving at the queue at the M∗+1th positiondoesnotknowwhethersheisthefirst,second,third,...,N∗−M∗th agent to arrive at that position behind the current first in line. If she joins the queue, observing the first in line’s behavior will be instructive regarding this point. In particular, suppose that the agent arriving at the M∗+1th position joins the queue and observes N∗−M∗service failures. If the first in line does not renege after the N∗−M∗th failure, the agent at the M∗+1th position learns that she must have been the first arrival at the M∗+1th position behind the current first in line. She also learns that the first in line has not reneged despite having observed a total of N∗service failures. This means that the first in line must have previously observed service. The agent at the M∗+1th position therefore learns that the server is good. Consequently, it becomes optimal for her to remain in the queue until served. Likewise, if at any point the agent observes service, it becomes optimal for her to remain in the queue until served. Finally, if at any point she observes the first in line renege, it is optimal for the agent at the M∗+1th position to renege in the same period as the first in line. Therefore, the most profitable deviation for the agent arriving at the M∗+1th position must be one of the following strategies, parameterized by m. •For 1≤m≤N∗−M∗,waitmperiods. If a service event occurs during these m periods, remain in the queue until served. If the first in line reneges on the queue before any service event occurs, then renege in the same period as the first in line. 22When q∗=1, the strategy with N∗=M∗>1exhibits perfect revelation, since arriving at the M∗+ 1th position conclusively reveals that the server is good. When q∗∈(01), the strategy with N∗=M∗>1 exhibits imperfect revelation, since arriving at the M∗+1th position does not conclusively reveal the server state. The strategy with N∗=M∗=1exhibits imperfect revelation for every q∗∈(01]. 662 Cripps and Thomas Theoretical Economics 14 (2019) In all other cases (i.e., there are mfailures and the first in line has not reneged), autonomously renege after mperiods. Intuitively, the agent arriving at the M∗+1th position joins the queue but autonomously reneges, forgoing the chance to learn from an informed first in line that the server is good. We let UM∗+1(m ¯μ0 M∗+1) denote the payoff to this strategy and give an expression for it in (A.56). The second condition in (B.ii) requires that this deviation be unprofitable for every m=1N∗−M∗. •Wait m=M∗−N∗periods. If a service event occurs during these mperiods, remain in the queue until served. If the first in line reneges on the queue before any service event occurs, then renege in the same period as the first in line. In all other cases (i.e., there are mfailures and the first in line has not reneged), remain in the queue until served. Intuitively, the agent arriving at the M∗+1th position joins the queue and remains in line long enough that she is certain to obtain the first in line’s information, either because the first in line reneges (this can happen after the M∗+1th in line has queued for 1M∗−N∗periods) or because the first in line does not renege after the M∗+1th in line has queued for M∗−N∗periods, revealing that she is informed and that the server is good. Thus, the M∗+1th in line stays in the queue long enough to herd onthefirstinline. WeletUh M∗+1(¯μ0 M∗+1) denote the payoff to this strategy, and give an expression for it in (A.59). The third condition in (B.ii) requires this deviation to be unprofitable. Finally, for n<M ∗, the agent’s problem is the same as with perfect revelation. Conditions (B.iii) and (B.iv) below mirror conditions (A.iii) and (A.iv), respectively. The above results are summarized in the following lemma. Lemma B. The pure23 strategy σ∗(1N∗M∗)with imperfect revelation satisfies the equilibrium condition E.2. if (Bi)N ∗>M∗ (Bii)⎧ ⎪ ⎪ ⎨ ⎪ ⎪ ⎩ U∗ M∗¯μ0 M∗1N∗M∗≥1 max m≤N∗−M∗UM∗+1m ¯μ0 M∗+11N∗M∗≤1 Uh M∗+1¯μ0 M∗+11N∗M∗≤1 (Biii)N ∗=N1¯μ0 11N∗M∗ (Biv)U ∗ n¯μ0 n1N∗M∗≥Unm ¯μ0 n1N∗M∗ for all n=2M∗and for all m=01N∗−n+1. 23If q∗∈(01), the following adjustments are necessary so as to account for the event that the first in line experiments for N∗+1periods. First, there are now N∗−M∗+1possible instances of the arrival at the M∗+1th position. Second, the agent arriving at the nth position, n=2M∗, must now be willing to wait N∗−n+2periods to obtain the first in line’s information. Third, an agent arriving at the M∗+1th position must prefer balking to waiting N∗−M∗and to waiting N∗−M∗+1periodssoastoherdonthe first in line. In addition, strategies with N∗=M∗exhibit imperfect revelation, and are therefore admissible. Hence, (B.i) becomes N∗≥M∗. Finally, (B.iii) becomes N∗=N(1¯μ0 1(q∗N∗M∗)). Theoretical Economics 14 (2019) Strategic experimentation in queues 663 4.3 Equilibrium existence The main results of this paper are summarized in the next proposition. First we establish that an equilibrium with perfect revelation exists if agents are sufficiently patient. Second, if agents are too patient, an equilibrium with imperfect revelation cannot exist. Finally, equilibria with imperfect revelation exist for intermediate values of the discount factor.24 Proposition 1. (i) Given any (αμ),thereexistsδ(α μ) < 1such that an equilibrium with perfect revelation exists for any δ∈(δ(α μ)1). (ii) Given any (αμ),thereexists ¯ δ(αμ) < 1such that an equilibrium with imperfect revelation cannot exist for any δ∈(¯ δ(αμ)1). (iii) Given any (α μ), there exists a pair of adjacent intervals D∗ 1(αμ) and D∗ 2(αμ) such that an equilibrium with imperfect revelation with N∗=M∗=1exists if and only if δ∈D∗ 1(αμ) ∪D∗ 2(αμ).Ifδ∈D∗ 1(αμ),thenq∗=1.Ifδ∈D∗ 2(αμ),then q∗∈(01). The first part of this result is proved and discussed in Section 6.1; the remaining parts are proved and discussed in Section 6.2. Figure 1 illustrates the equilibrium25 values M∗and N∗as a function of the discount factor δfor three different values of α. Notice that there can be multiple equilibria (multiple values of N∗or M∗)forsome(αδμ). For each α, equilibria with imperfect revelation exist only when the discount factor is small, whereas equilibria with perfect revelation exist only when the discount factor is large. Our figures illustrate that the transition is not sharp and that there are parameter values at which both types of equilibria exist.26 When the discount factor goes to 1,M∗goes to infinity. The behavior of N∗as δ approaches 1is discussed in Lemma 10 and depends on α.Whenα<1/2,N∗converges to 1;whenα=1/2,N∗converges to a strictly positive constant; when α>1/2,N∗goes to infinity,27 although at a slower rate than M∗. In Section 7, we ask whether additional equilibria exist at which agents other than the first in line can trigger a herd. We show that for α≥1/2and δsufficiently large, any given strategy with more than one herding leader cannot be an equilibrium. 24If the discount factor is so low that V1<1, then, at the unique equilibrium, all agents arriving at the queue immediately balk and take the outside option. 25Figure 1 is based on a Mathematica simulation that focusses on pure strategy equilibria, except when α<1/2and δis so large that only mixed strategy equilibria with perfect revelation exist. These have N∗=1 and q∗<1: conditional on no service, the first in line is indifferent between reneging at the first or the second exit stage following her arrival. (See Lemma 10.) 26For instance, when (αμδ)=(070906), there is an equilibrium with imperfect revelation that has N∗=4and M∗=3, and an equilibrium with perfect revelation that has N∗=3and M∗=5. 27This effect is not visible in our figures due to the coarseness of the grid used on the interval of possible values of δ. 664 Cripps and Thomas Theoretical Economics 14 (2019) Figure 1. Equilibrium values M∗(opendiscs)andN∗(dots) as a function of δfor α=07, α=05,andα=03(from top to bottom), and for μ=09. (The vertical lines emphasize values of δat which there are multiple equilibria.) Theoretical Economics 14 (2019) Strategic experimentation in queues 665 5. On-path beliefs 5.1 Stationary distributions of queue lengths In equilibrium, the strategy σ∗(qNM) determines the evolution of the queue length. There are two discrete-time Markov processes to consider: one that arises if the server is good and the other if it is bad. In this section we describe the stationary measure of each process. These will shape the inference of new arrivals as described in Section 5.2. We consider the stochastic process followed by the queue length at the beginning of the arrival stage of each date τ∈N0. We say that the queue has length nat date τif the agent arriving in the system at date τarrives in the queue at the nth position—even if that agent then balks. Let (xn(qNM))M+1 n=1∈(M +1)denote the stationary probabilities of arriving at the queue at the nth position under the strategy σ∗(qNM), conditional on the server being in the bad state.28 At a bad server, the queue follows an almost deterministic process. If N≤M, the queue grows by one agent each period and then shrinks to length 1in the period after reaching length N(if q=1). Hence in the bad state, there is an ergodic probability xn=x1of arriving nth in line (for n≤N) and zero probability of arriving at the queue at any other position. If M<N,thequeuegrowstosizeMand then stays at that size for a further N−Mperiods before shrinking to unity. Thus there is a(nother) constant ergodic probability equal to x1of arriving at a queue nth in line for n≤Mand an ergodic probability (N −M)x1of arriving at the M+1st position (and balking). At a good server, the queue length follows a more complex Markov chain, and the state of the process must be the position in the queue at which the latest agent arrives and whether or not the first in line knows that the server is in the good state. Allowing for q<1,thereareatmostM+N+2states for this process: arrival at positions 123M +1and the first in line knows the server is in the good state; arrival at positions 12N +1and the first in line is uncertain. The process governing the queue length under the strategy σ∗(qNM) at a good server has finite states and is irreducible. Therefore it must admit a unique stationary measure. We define (yn(qNM))M+1 n=1∈(M +1)to be the stationary probabilities of arriving at the nth position in line under the strategy σ∗(qNM), conditional on the server being in the good state. The exact expressions for (xn(qNM))M+1 n=1and (yn(qNM))M+1 n=1are given in Proposition A.1 in Appendix A.2. The stationary measure at a good server admits three qualitatively different forms depending on φ. These are described in the next subsection. Some readers may prefer to proceed directly to Section 5.2, which describes an agent’s belief updating when arriving at the queue. 5.1.1 Effect of φon the good-state stationary measure This section illustrates29 how the stationary measure at a good server varies with the inverse average service rate, φ, defined in (1). We use the shorthand30 φ∗ N>1to denote the unique solution to [φ/(1+φ)]N+1=(φ −1)/(φ +q). 28Where (M) :={x∈RM +:ixi=1}. 29All numerical illustrations of the stationary measure in this section are for the value q=1/2.Thevalues of Nand Mare chosen for clarity of illustration and are not necessarily equilibrium values. 30Omitting the dependence on q. 666 Cripps and Thomas Theoretical Economics 14 (2019) Figure 2. The stationary measure of the queue length conditional on the server being in the good state with φ<1under perfect revelation (left panel) and imperfect revelation (right panel). Figure 3. The stationary measure of the queue length conditional on the server being in the good state with φ>φ ∗ Nunder perfect revelation (left panel) and imperfect revelation (right panel). Decreasing when φ<1In this case, service is faster than arrivals, so shorter queues are more likely than longer ones, as is apparent in Figure 2. The effect of fast service is further exacerbated by the “renewal” effect of the uninformed first in line reneging after Nunsuccessful service events, causing the entire queue to clear. The stationary distribution therefore exhibits exponential decline under imperfect revelation and for the values n=1N under perfect revelation. The jump down between n=Nand n=N+1occurs because such a transition is possible only if the first in line knows that the server is good, and similarly for the jump between N+1and N+2when q<1.For n=N+2M, the distribution declines exponentially. Increasing when φ>φ ∗ NIn this case service is so slow as to outweigh the renewal effect. The stationary measure is therefore increasing over its entire support, as illustrated in Figure 3.NoticethatasMincreases without bounds, y1tends to zero. (See Lemma A.1.) Consequently, if long queues are most likely at a good server, then arriving at the first position in line makes an agent almost certain that the server is bad. On the interval [1φ∗ N]When φ=1, service is exactly as fast as arrivals. If agents never reneged, but waited in line until served, then every queue length up to Mwould be Theoretical Economics 14 (2019) Strategic experimentation in queues 667 equally likely. For N<M, this is in fact the case when n≥N+2, and the stationary measure is uniform over these values. When 1≤n≤Nor when M≤N,therenewaleffect is a force for emptying the queue, and the stationary measure is linearly decreasing over these values. For φ=φ∗ N, service is exactly slow enough to just offset the renewal effect. The stationary measures in these knife-edge cases, as well as on [1φ∗ N], are discussed in the Supplemental Material. Observe that the interval [1φ∗ N]vanishes (φ∗ N→1)as N→∞. 5.2 Equilibrium posteriors and inference on queue lengths In this section, we describe the agents’ posterior beliefs and inference in equilibrium. We then state a result that describes the relationship between private and social learning: Lemma 3 shows that, at any point in time, an agent later in the queue is more optimistic than those ahead of her, conditional on no agent having yet observed service. Let ¯μt ndenote the belief about the server state formed, in accordance with E.1., by an agent having arrived at the queue at the nth position and having observed tperiods without service. The upper-bar notation emphasizes the dependence on the strategy σ∗(qNM).31 Consider ¯μ0 n, the belief formed by an agent upon arriving at the nth position. In equilibrium, the agent believes that the system is in the steady state induced by σ∗(qNM). Therefore, ¯μ0 nis based on the state-dependent stationary measures of queue lengths, (yn)M+1 n=1and (xn)M+1 n=1, described in Section 5.1. For every n≤M+1, Bayes’ rule gives ¯μ0 n:= μyn μyn+(1−μ)xn (13) For N<n≤M+1,wehavexn=0so that ¯μ0 n=1.Forn≤min{NM}, it was argued above that xnis independent of n. Therefore, ¯μ0 ndepends on nonly through yn.As¯μ0 n is increasing in yn, the results on the form of the stationary measure in the previous section imply that ¯μ0 nis decreasing, constant, and increasing in nfor φ<φ ∗ N,φ=φ∗ N, and φ>φ ∗ N, respectively. Now consider ¯μt n, the posterior of the agent at the nth position, n≤N, who has observed tunsuccessful service events. It is derived from ¯μ0 naccording to (5). Recall that we defined ¯ηnto be the probability that an agent arriving at the queue at the nth position, for n≤M, attaches to the first in line being uninformed, conditional on the server being good. In equilibrium, we have ¯ηn=(1−α)n−1y1 yn (14) The numerator gives the stationary probability of arriving at the nth position behind a first in line who has never observed service, conditional on the server being in the good state. This is the event that an agent joined the queue at the first position in line and subsequently observed n−1periods without service. 31In this section, to lighten notation, we omit the dependence of the beliefs ( ¯μt nand ¯ηn) and of the stationary measures (ynand xn)on(qNM). 668 Cripps and Thomas Theoretical Economics 14 (2019) The next lemma compares agents’ posterior beliefs along any given queue under the strategy σ∗(qNM). This comparison is not trivial. Those ahead of the nth in line may (for n≤min{NM}and φ<φ ∗ N) have been more optimistic than her when they joined the system because they arrived at a shorter queue. However, they have been waiting in the queue for longer and unless they have observed service, waiting will have depressed their belief about the server state. We show that, regardless of how much time she has spent in the queue, an agent is always more optimistic than those ahead of her, conditional on no agent having yet observed service. The intuition for this result follows from the nesting of agents’ information partitions. The n+1th in line has observed strictly less than the nth in line, so her beliefs about the server state are an expectation of the nth in line’s beliefs. This expectation places positive weight on the nth in line knowing that the server is good; that is, ¯μt−1 n+1 is an average of 1and ¯μt n<1. Such an average must be above ¯μt n. In fact, if one took a snapshot of the posteriors held by the agents in a queue at any calendar date τ,the sequence of posteriors would be the realization of a martingale. The lemma is proved in Appendix A.3. Lemma 3. If ¯μt n<1,then ¯μt−1 n+1>¯μt n. 6. Equilibrium existence 6.1 Equilibria with perfect revelation In this section, we provide a lower bound on δabove which the strategy σ∗(q∗N∗M∗) satisfies the equilibrium conditions given in Lemma A and, thus, constitutes an equilibrium with perfect revelation; that is, we provide a sequence of lemmas to prove Proposition 1(i). The next lemma, proved in Appendix A.4, establishes the existence, for every M≥ 1,ofanumberN∗of periods for which the first in line experiments that satisfies the equilibrium condition (A.iii). Observe that this solution may have N∗<Mor N∗≥M. Lemma 5 gives sufficient conditions under which N∗<M. Lemma 4. For every M≥1and (αδμ)∈(01)3, there exists a pair (q∗N∗)with q∗∈ (01]and N∗≥0such that N∗=N(1¯μ0 1(q∗N∗M)). This result hinges on the following observation, formalized in Lemma A.1.FixM and consider ¯μN 1(1NM), which is a first in line’s belief after Nservice failures, derived according to Bayes’ rule from the stationary measures of queue lengths induced by the strategy σ∗(1NM). Increasing the duration Nof experimentation by other first in lines (thereby changing the state-dependent stationary measures) ultimately depresses ¯μN 1(1NM). This is the case even though the effect of a higher Non ¯μ0 1(1NM)—a first in line’s belief upon joining the queue—might be positive. Thus, enough bad news from private learning ultimately dominates any good news from social learning. We show that, as a result, there exists a pair (q∗N∗)such that ¯μN∗ 1(q∗N∗M)just hits the first in line’s threshold μ1defined in (10). Theoretical Economics 14 (2019) Strategic experimentation in queues 669 For any given (αδμ) and M,thepair(q∗N∗)is not necessarily unique.32 The possibility of multiple equilibria arises because longer experimentation by other firsts in line can increase ¯μ0 1—the belief on the good state formed upon arriving at the first position in line—in turn making longer experimentation optimal. Lemma A.1(b) shows that this process cannot continue indefinitely, implying that the set of possible equilibrium values of (q∗N∗)is bounded. But there is no clear monotonicity that ensures uniqueness. The next lemma, proved in Appendix A.5, provides a sufficient condition under which the equilibrium conditions (A.i) and (A.iv) are satisfied. Lemma 5. Let M∗=Mand N∗=N(1¯μ0 1(q∗N∗M∗)).If VN∗>α2 α2−ψ(1−δ) >0(15) then (a) equilibrium condition (A.iv) holds and (b) equilibrium condition (A.i) holds. The equilibrium condition (A.iv) requires that no agent in the queue wants to autonomously renege before the queue reaches length N∗, the point at which an uninformed first in line reneges, thereby revealing that she is uninformed. Equivalently, the nth agent in line must agree to wait for N∗−n+1periods before she is rewarded with learning the first in line’s information. The sufficient condition (15) ensures that the nth agent in line does not want to autonomously renege before the queue reaches length N∗, even if the informational benefit from obtaining the first in line’s information is ignored.33 Equivalently, it says that the nth agent in line is willing to experiment for N∗−n+1pe- riods, based solely on her own observation of the server (in)activity and on her belief ¯μ0 n(q∗N∗M∗)formed upon joining the queue. It follows that (15) is sufficient for the agents at positions 2N∗to want to herd on the first in line and, therefore, for equilibrium condition (A.iv) to hold. Finally, we show that when (15)holds,wehaveN∗<M∗ so that condition (A.i) is satisfied. Lemma 6 ensures that for any w>1,α,andμ, there exists a critical value of δsuch that (15) holds for all discount factors above the critical value. This is the case, in particular, when δapproaches unity so that congestion costs vanish, even though a higher discount factor can mean that an uninformed first in line experiments for longer. The set of parameters satisfying Lemma 6 is illustrated in Figure 4. The lemma is proved in Appendix A.6. Lemma 6. Let M∗=Mand N∗=N(1¯μ0 1(q∗N∗M∗)). For every (α μ) ∈(01)2,(15)is satisfied when δ>1+1 eln(1−α) 1 (1−α)2 αwμ 1−μ(16) 32Figure 1 features several examples of multiple equilibria. 33Focussing on sufficient conditions that ignore the informational benefit derived from observing the first in line allows us to make an argument that does not depend on the calculated values of the stationary distribution in the good state, but instead relies on bounds on that stationary distribution. 670 Cripps and Thomas Theoretical Economics 14 (2019) δ>1−α2(17) δ>δ 0(αμ) (18) where δ0(α μ) is the unique value of δ∈(01)satisfying lnw=(1−δ)⎛ ⎜ ⎜ ⎝4φ+ ln(1−δ) −ln wαμ 1−μ+ln−e 2ln(1−α) 1 2ln(1−α) φ+1 α3(1−α)⎞ ⎟ ⎟ ⎠−lnδ Figure 4. The shaded region represents the set of parameter values (αδ) ∈(01)2that satisfy Lemma 6. The dotted line represents condition (16), the dashed line represents condition (17), and the solid line represents condition (18). We use μ=01,μ=05,andμ=09,fromleftto right, and w=4. In summary, Lemmas 4,5,and6together prove that there exists a critical value of the discount factor δsuch that an equilibrium with perfect revelation exists for all discount factors above the critical value. This establishes Proposition 1(i). 6.2 Equilibria with imperfect revelation In this section, we complete the proof of Proposition 1(ii) and 1(iii). First, in Lemma 7, we establish the existence of an equilibrium with N∗=M∗=1,whenV1≥1.34 Then, in Lemma 8, we show that an equilibrium with imperfect revelation cannot exist for high values of δ. At an equilibrium with N∗=M∗=1and q∗=1, all agents arrive at the first position in line. This event is, therefore, not informative about the server state, and ¯μ0 1(111)= μ, so that an agent arriving at the first position decides whether to join the queue based solely on her prior. Given (α μ), it is optimal for her to join the queue if and only if she is sufficiently patient. At the same time, she must be sufficiently impatient to find 34Recall that when the value V1of being first in line at a server known to be good is less than 1(the value of the outside option), it is optimal for any agent arriving at the queue to immediately balk and take the outside option, and the unique equilibrium has M∗=N∗=0. Theoretical Economics 14 (2019) Strategic experimentation in queues 677 Proof.Situation I. Good server under perfect revelation. Webeginbyconsidering the recursions that the stationary distribution of the queue lengths must satisfy when N<Mand q∈(01]. Consider first the state in which the queue length is n=1. Itispossibletoenter this state if there were previously ragents in line and a service capacity of at least rwas produced (probability αr). It is also possible to enter state n=1if there were Nor N+1 agents in line in the previous period and the first in line had never observed service, was not served, and reneged, causing the entire queue to renege. Thus we can write y1=zN(1−α)1−α(1−q)+ M  r=1 αryr+αMyM+1 where zNis the stationary probability of a queue length Nwith an uninformed first in line. The last term arises because there are Magents in line both in state yMand in state yM+1. For n>1,n=N+1and n<Mthe queue can enter state nif no service occurred last period (probability 1−α) and there were n−1agents in the line, or if r−(n −1)agents are served (probability (1−α)αr−n+1) and the queue was previously in state r.Thus yn=(1−α) M  r=n−1 αr−n+1yr+(1−α)αM−n+1yM+1 The system transits to the state where the queue length is N+1if the queue is length N, there is no service, and either (a) the first in line knows that the server is in the good state or (b) the first in line is uninformed but her randomizing determines that she wait one more period (probability 1−q). A second route to entering state N+1is if the queue was previously in state r>Nand exactly r−Nagents were served. Hence yN+1=(1−α)(yN−zN)+(1−α)(1−q)zN+(1−α) M  r=N+1 αr−Nyr+(1−α)αM−NyM+1 A little rearranging gives yN+1+q(1−α)zN=(1−α) M  r=N αr−Nyr+(1−α)αM−NyM+1 A similar calculation for queues of length N+2gives yN+2=(1−α)yN+1−zN(1−α)(1−q)+(1−α) M  r=N+2 αr−N−1yr+(1−α)αM−N+1yM+1 or yN+2+(1−q)(1−α)2zN=(1−α) M  r=N+1 αr−N−1yr+(1−α)αM−N+1yM+1 678 Cripps and Thomas Theoretical Economics 14 (2019) The probability that the queue is of length Mequals yM+yM+1,whichistheprobability that the latest agent arrives at the Mth position and joins the queue or at the M+1th position and balks. An agent arrives at the Mth position if the queue was of length M−1at the end of the last period and no service occurred or it was of length M and exactly one service event occurred: yM=(1−α)yM−1+(1−α)α[yM+yM+1] An agent arrives at the M+1th position if the queue was of length Mat the end of the last period and no service occurred: yM+1=(1−α)[yM+yM+1] Rearranging this gives yM+1=yM(1−α)/α and a substitution gives yM=(1−α)yM−1+αyM+1 This completes our description of the recursion satisfied by the state probabilities {yn}M n=1. It is summarized as yn= ⎧ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎨ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎩ M  r=1 αryr+αMyM+1+zN(1−α)1−α(1−q)n=1 (1−α) M  r=n−1 αr−n+1yr+(1−α)αM−n+1yM+11<n≤N (1−α) M  r=N αr−Nyr+(1−α)αM−NyM+1−q(1−α)zNn=N+1 (1−α)M  r=N+1 αr−N−1yr+αM−N−1yM+1−(1−q)(1−α)zNn=N+2 (1−α) M  r=n−1 αr−n+1yr+(1−α)αM−n+1yM+1N+2<n<M (1−α)yM−1+αyM+1n=M (1−α)α−1yMn=M+1 (A.8) Any nonnegative solution to this system satisfying M+1 n=1yn=1is a stationary distribution. Before solving this system we determine the value of zN, which is the stationary probability of a queue of length Nwith an uninformed first in line. Because at any date τ the arrival stage follows both the service and exit stages, if an agent arrives in the queue at the first position at date τ, it must be the case that the agent is uninformed: she arrives after the last service stage, and after the exit stage at which a queue of length Nor N+1 would have reneged. Therefore y1=z1. The probability that an agent who arrived at the first position in the queue is still not served after N−1further arrivals is (1−α)N−1. Theoretical Economics 14 (2019) Strategic experimentation in queues 679 Therefore, the stationary probability of a queue length Nwith an uninformed first agent is (1−α)N−1y1. Following the same argument for queue lengths n≤N, we conclude that zn=(1−α)n−1y1n=12N (A.9) It is now clear that the system (A.8) is homogenous of degree 1. Letususethefactthat (1−α) M  r=n−1 αr−n+1yr=(1−α)yn−1+α(1−α) M  r=n αr−nyr to simplify (A.8): yn= ⎧ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎨ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎩ α(1−α)−1y2+zN(1−α)1−α(1−q)n=1 (1−α)yn−1+αyn+11<n<N (1−α)yN−1+αyN+1+α(1−α)qzNn=N (1−α)yN+αyN+2−(1−α)qzN+α(1−α)2(1−q)zNn=N+1 (1−α)yN+1+αyN+3−(1−α)2(1−q)zNn=N+2 (1−α)yn−1+αyn+1N+2<n<M+1 (1−α)α−1yMn=M+1 (A.10) We now solve this difference equation. For n=12N, we have a difference equation of the form 0=(1−α)yn−1−yn+αyn+1, with the initial and terminal conditions given, respectively, by the expressions for y1and yNin (A.10). The characteristic polynomial for this difference equation is (x −1)(x −(1−α)/α).Forα= 1/2, it admits two distinct roots and the difference equation admits the general solution yn=K+Hφnφ:= 1−α α where Kand Hare arbitrary constants. Imposing the initial condition on this equation allows us to solve for Kand gives yn=(1−α)2(1−α+qα)zN 1−2α+Hφnn=12N Substituting this into the equations above for yN,yN+1,andyN+2then gives yN+1=HφN+1+(1−α)2 1−2αzN(1−α)(1−q) +(q/φ) yN+2=HφN+2+(1−α)2 1−2αzNα+q(1−α) yN+3=HφN+3+φ(1−α)2 1−2αzNα+q(1−α) 680 Cripps and Thomas Theoretical Economics 14 (2019) Now let us turn to states N+2<n≤M+1. Taking the terminal condition given by the expression for yMand yM+1in (A.10) and substituting into the yM−1 equation gives yM−1=(α 1−α)2yM+1.Hence,yn=(α/(1−α))M+1−nyM+1.Alternatively, yn=φn−N−2yN+2n=N+2M +1 Combining the two parts of the solution, we get yn= ⎧ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎨ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎩ (1−α)2(1−α+αq)zN 1−2α+Hφnn=12N (1−α)2zN 1−2α(1−α)(1−q) +(q/φ)+HφN+1n=N+1 (1−α)2α+q(1−α)zN 1−2αφn−N−2+Hφnn=N+2M+1 We now substitute the value of zNinto the y1equation. A rewriting of (A.9) gives zN=(1−α)N−1(1−α)2zN 1−2α(1−α+αq) +Hφ Hence, (1−α)2zN 1−2α(1−α+αq) =H(1−α)N+1φ(1−α+αq) 1−2α−(1−α+αq)(1−α)N+1=−HφkN where kN:= (1−α+αq)(1−α)N+1/[(1−α+αq)(1−α)N+1+2α−1](kNis defined by our assumption in the statement of the lemma). Substituting into the above then gives yn=H⎧ ⎪ ⎪ ⎪ ⎪ ⎨ ⎪ ⎪ ⎪ ⎪ ⎩ φn−kNφ n =12N φn−kNφ+q(1−φ) α(φ +q)n=N+1 φn−k Nφn−N−1n=N+2M+1 (A.11) where k N:=kN(1+qφ)/(φ +q). This gives the final form of the distribution given in the lemma. To verify that this is a legitimate stationary measure we must check that there exists a scalar Hsuch that the yn, defined by (A.11), are all nonnegative. The terms yN+2yM+1are all proportionate, so it is sufficient to check that y1yN+2are nonnegative. To address this question we consider three separate cases. Let α∗ Nsatisfy (1−α+αq)(1−α)N+1+2α−1=0.(Thenα∗ N<1/2and α∗ N→1/2 as N→∞.) Furthermore, kN<0if α<α ∗ Nand kN>0if α>α ∗ N.Whenα>α ∗ N, kNis strictly decreasing, with kN=1when α=1/2. Furthermore, noticing that for n>1,(1−α)n+2α−1−αnhas three roots on [01](they are 0,1/2,and1) and is strictly convex on (01/2)and strictly concave on (1/21),weobtainthat Theoretical Economics 14 (2019) Strategic experimentation in queues 681 φN+1−kNhas the same sign as 1−kN. We therefore distinguish the following three cases. Case A.1.1: 1/2<α<1.Since 0<k N<1,toensurey1≥0,werequireH≥0.When H>0, the terms y1yN+2decrease (since φ<1), so it is sufficient to check that yN+2≥0.ThisisthecasesinceφN+1≥kN. Case A.1.2: α∗ N<α<1/2.Since kN>1,fromy1≥0we must have H≤0.Theterms y1yN, therefore, decrease (since φ>1). It is sufficient to check that yNyN+1 yN+2≥0. The first two variables follow from kN>φ N+1.ToverifythatyN+2≥0,full substitution for kis necessary to get an inequality that is linear in q. The two cases q=0and q=1follow from the above inequalities. Case A.1.3: α<α ∗ N.Since kN<1,fromy1≥0we must have H≥0. Since kN<0,allyn are then positive. The constant Hmust be chosen so that the yndefined in (A.11) sum to unity. Thus we choose H−1= M+1  n=1 φn−(N +1)φkN−kN 1+qφ φ+q M−N  n=1 φn−kN q(1−φ) α(φ +q) or H−1=φ1−φM+1 1−φ−kNφN −kN 1+qφ φ+q 1−φM−N+1 1−φ+(1−q)kN1−φ2 φ+q It will be convenient to cancel φwhen we rewrite the above as (A.3) in the lemma. After some algebra it can be verified that for α∈(01),Hhas the same sign as 1− kNand we therefore have a legitimate stationary measure with yn>0for all n= 1M +1. The uniqueness of this stationary distribution follows from the fact that the strategy described induces an irreducible Markov process on the states n= 1M. Situation II. Good server under imperfect revelation. Now the queue never grows longer than length M, even if the first in line is still experimenting, because no additional agent is willing to join a queue longer than M. The probability of arriving at the M+1th position (and then balking) depends on whether the first in line is informed. If the first in line is uninformed and there are Magents in line, then N−Mfurther unsuccessful service events occur before the first in line exits or N−M+1if she exits after observing N+1unsuccessful service event, which her strategy prescribes with probability (1−q). If the first in line is informed, there can be infinitely many unsuccessful service events. Therefore, yM+1=zM N−M  i=1 (1−α)i+zM(1−q)(1−α)N−M+1+(yM−zM)∞  i=1 (1−α)i Simplifying yields yM+1=1−α αyM−zM(1−α)N−M(1−α+qα)(A.12) 682 Cripps and Thomas Theoretical Economics 14 (2019) The probability of arriving at the first position equals the probability of a queue of length 1Mclearing plus the probability of an uninformed first in line reneging after having observed Nor N+1unsuccessful service events: y1=z1= M  r=1 αryr+αMyM+1+z1(1−α)N(1−α+qα) (A.13) For M<N, the probability of arriving at the nth position satisfies the same recursion as for N≤M, yn=(1−α) M  r=n−1 αr−n+1yr+(1−α)αM−n+1yM+1n=2M (A.14) and the probability of arriving at the nth position and the first in line being uninformed is zn=(1−α)n−1z1n=2M (A.15) The recursion (A.14) gives the same difference equation as before, yn=αyn+1+(1−α)yn−1n=2M which, for α=1/2, admits the same general solution yn=K+Hφnas previously. Rewriting the initial condition (A.13) by substituting (A.14)fory2,weobtain y1=α 1−αy2+z1(1−α)N(1−α+qα) Imposing this on yn=K+Hφn,weobtain yn=(1−α)N+1(1−α+qα) 1−2αz1+Hφnn=1M We use z1=y1to solve for Hin the expression above to obtain yn=z1 φn−1−kN 1−kN n=1M where kNis as defined previously. Using this expression for n=Mtogether with the terminal condition (A.12)(where we use (A.15) to simplify zM)thengives yM+1=z1 φM−kNφ−1 1−kN and yM+yM+1=z1 1−α φM−kN 1−kN  Theoretical Economics 14 (2019) Strategic experimentation in queues 683 Finally, imposing the condition that M+1 n=1yn=1,weget 1=z1 1−kNM−1  n=1φn−1−kN+φM−kN 1−α(A.16) which simplifies to 1=z1 1−kN1−φM+1 1−φ−kNM+φ−1(A.17) This determines the last part of the solution. We now verify that all the ynare nonnegative. For 2≤n≤N+1,wehavethat 1<φ n−1<φ N+1when α<1/2and 1>φ n−1>φ N+1when α>1/2.Soforalladmissible values of α∈(01),φn−1−kNlies between 1−kNand φN+1−kN. We have seen in the treatment of M≤Nthat these two expressions have the same sign for all admissible values of α. It follows that (φn−1−kN)/(1−kN)is positive for all admissible α∈(01), so it is sufficient to verify that z1≥0. From (A.17)wehavethatz1>0for α<α ∗ N, because kN<0.In(A.16)theterm in brackets is a sum of positive terms for α>1/2and a sum of negative terms for α∗ N<α<1/2. It therefore has the same sign as 1−kNwhen α>α ∗ Nand so z1≥ 0also for α>α ∗ N. Hence we have derived a legitimate stationary measure when M≤N. Scenario III: Bad server. We conclude by deriving the stationary distribution conditional on the server being in the bad state. For M≤N, the transition equations are x1=···=xNand xN+1=(1−q)xN.ForN<M,theyarex1=···=xMand xM+1=(N −M+1−q)xM. In each case the result follows from the requirement that the probabilities sum to 1. A.3 Proof of Lemma 3 If ¯μt n<1at some time τ,thenfrom(13)and(5)wehavethat ¯μt n=μyn(1−α)t μyn(1−α)t+(1−μ)xn ¯μt−1 n+1=μyn+1(1−α)t−1 μyn+1(1−α)t−1+(1−μ)xn+1  From this it follows that ¯μt n<¯μt−1 n+1if and only if (1−α)yn/xn<y n+1/xn+1. Observe that xn≥xn+1by (A.6)and(A.7). Therefore, a sufficient condition for ¯μt n<¯μt−1 n+1is (1−α)yn< yn+1. Among the many ways to arrive at the n+1th position in line in the good state, one is that the previous agent joined the queue at the nth position and there was no service; another is that the previous agent joined the queue at the n+1th position and exactly one agent was served. We therefore have the bound yn+1≥(1−α)yn+α(1−α)yn+1 684 Cripps and Thomas Theoretical Economics 14 (2019) Rearranging gives yn+1≥yn 1−α 1−α(1−α)(A.18) implying that yn+1>(1−α)yn(since α∈(01)and yn>0). Thus, the sufficient condition is satisfied. A.4 Proof of Lemma 4 A.4.1 Intermediate results We begin the proof of Lemma 4 with two intermediate results (when q=1). Fix M.Lemma A.1(a) shows that as σ∗(qNM)prescribes that the first in line experiments for longer (as Nincreases), the probability of arriving at the queue at the first position when the server is good declines. This is because when N increases there is total probability being spread over more queue lengths so that the probability of any one queue length falls. Lemma A.1(b) shows that a higher Neventually results in a reduction in the first in line’s posterior after Nunsuccessful service opportunities, ¯μN 1(1NM).Thisisthecase even though the effect of a higher Non ¯μ0 1(1NM) might be positive. As Nincreases, there are many things to take into account: the probability of being first in line at a bad server shrinks to zero, but the probability of being first in line does not necessarily vanish if the server is in the good state. Thus as Nincreases, arriving first in line may become very good news indeed. After waiting Nperiods without success, however, the posterior of the first in line is revised so far down that her initial optimism is entirely depleted. The effect of private learning eventually dominates the effect of social learning. Lemma A.1. Fix (αδμ)∈(01)3and M≥1. (a) The probability y1(1NM)decreases as Nincreases for all α∈(01). (b) The posterior belief ¯μN 1(1NM)decreases in Nfor all N>1/α and tends to zero as Ntends to infinity. Proof.(a)FixM≥1and q=1, and suppose first that M>N≥1. Making the dependence of y1on (qNM)explicit, a substitution from (A.2)and(A.3)gives 1 y1(1NM) =N+ 1−φN 1−φ−N+1−kN φN+1φN−φM+1 1−φ 1−kN =N+ N−1  i=0φi−1+1−kN φN+1φN−φM+1 1−φ 1−kN =N+φN−φM+1 1−φ1−1−φN+1 (1−φ)(1+φ)N − N−1  i=0 1−φi 1−φ1−φ+φφ 1+φN(A.19) Theoretical Economics 14 (2019) Strategic experimentation in queues 685 (To get the final line we substitute kN|q=1=φN+1/(φN+1+(1−φ)(1+φ)N).) Simplifying further, we get 1 y1(1NM) = N−1  i=0 φi+φN−φM+1 1−φ1−1−φN+1 (1−φ)(1+φ)N−φφ 1+φNN−1  i=0 1−φi 1−φ = M  i=0 φi−φN−φM+1 1−φ 1−φN+1 (1−φ)(1+φ)N−φφ 1+φNN−1  i=0 1−φi 1−φ =1−φM+1 1−φ−φ 1+φN φ N−1  i=0 1−φi 1−φ+1−φM−N+1 1−φ 1−φN+1 1−φ!(A.20) We now focus on the term in braces. This equals 1 1−φφN − N  i=1 φi+1−φM−N+1N  i=0 φi=1+1 1−φ(N +1)φ −φM−N+1 N  i=0 φi =1+φ N  i=0 1−φM−N+i 1−φ Hence, 1 y1(1NM) = M  i=0 φi−φ 1+φN 1+φ N  i=0 1−φM−N+i 1−φ!(A.21) We now study how this changes as Nincreases, so let us write 1 y1(1NM) =KM−φ 1+φN HN Then, for M>N>1, 1 y1(1NM) −1 y1(1N−1M) =φ 1+φNHN−1−HN+1 φHN−1 =φ 1+φN−φ1−φM−N 1−φ+1 φHN−1 =φ 1+φN1+φ φ+ N−1  i=1 1−φM−(N−1)+i 1−φ>0 This establishes our claim for M>N≥1. Now fix M≥1and q=1, and suppose that M≤N.Wehavefrom(A.4)and(A.5) that 1 y1(1NM) = 1−φM+1 1−φ−kNM+φ−1 1−kN 686 Cripps and Thomas Theoretical Economics 14 (2019) =M+1+ M  i=0φi−1+kN1−φ−1 1−kN =M+1+ M  i=0φi−1φN+1+(1−φ)(1+φ)N (1−φ)(1+φ)N−φ 1+φN =M+1+ M  i=0φi−1−φ 1+φN1+φ M  i=0 φi−1 φ−1 = M  i=0 φi−φ 1+φN1+φ M  i=0 1−φi 1−φ(A.22) (to get the final line, we substitute kN|q=1=φN+1/(φN+1+(1−φ)(1+φ)N)) and it is immediate that y1(1NM)decreases as Nincreases. (b) Fix M≥1and q=1.From(5)and(13), ¯μN 1(1NM) 1−¯μN 1(1NM) =μ 1−μy1(1NM)N(1−α)N To show that ¯μN 1(1NM)decreases in Nit is sufficient to show that N(1−α)Ndecreases in N, since y1(1NM) decreases in Nfrom part (a). But N(1−α)Nis quasiconcave in N, and decreases in Nfor all N>1/α. Finally, N(1−α)Ny1(1NM)converges to zero as Nincreases because y1(1NM)≤1. A.4.2 Proof of Lemma 4 Fix (αδμ) ∈(01)3and M≥1. We show that there exists N∗≥0and q∗∈(01]such that for an agent arriving at the first position in line, σ∗(q∗N∗M)is a best response to all other agents adhering to σ∗(q∗N∗M). Suppose that all other agents use the strategy σ∗(qNM),whereMand Nare two nonnegative integers and q∈(01]. This determines the state-dependent stationary measures of queue lengths and, in particular, y1(qNM). These are used by every agent to update her prior upon arriving at the queue. Consider the belief ¯μN 1(qNM) of an agent who joined the queue at the first position and observed Nfailures. To accommodate mixed strategies, we let ˜ N:=N+1−q(this can be thought of as the expected duration of a first in line’s experimentation) and ˜ q( ˜ N):= ˜ N+1−˜ N.We wish to study the properties of ¯μN 1(qNM)as a function of ˜ N. We therefore define39 G(˜ N):= ¯μ˜ N 1˜ q( ˜ N)˜ NM(A.23) By (5)and(13), it satisfies G(˜ N) 1−G(˜ N) =μ 1−μy1˜ q( ˜ N)˜ NM˜ N(1−α)˜ N(A.24) 39Since Mis fixed, we omit the dependence on Mso as to lighten notation. Theoretical Economics 14 (2019) Strategic experimentation in queues 693 It is strictly decreasing in x. Moreover, it is evident from (A.40)and(A.41) that for every x≥0, C(x) ≤¯ C(x) (A.42) We now use the functions defined above to provide an equilibrium-independent upper bound on N∗.ByLemma 2,forq∗≤1, the equilibrium condition N∗= N(1¯μ0 1(q∗N∗M∗)) is equivalent to ¯μN∗ 1q∗N∗M∗≤μ1<¯μN∗−1 1q∗N∗M∗ where ¯μt 1(q∗N∗M∗)is the first in line’s equilibrium posterior belief after tfailures and μ1is the first in line’s threshold belief defined in (10). Rewriting the second inequality above as likelihood ratios, using (5), (13), and (A.6) for the right-hand side, we obtain ψ(1−δ) α(ψδw −1)<μ 1−μy1q∗N∗M∗N∗+1−q∗(1−α)N∗−1 Rearranging gives 1−δ<y 1q∗N∗M∗N∗+1−q∗(1−α)N∗+1μ 1−μ α(ψδw −1) ψ(1−α)2 Since y1(q∗N∗M∗)∈[01],q∗≤1and it follows that 1−δ<N∗+1(1−α)N∗+1μ 1−μ α(ψδw −1) ψ(1−α)2(A.43) Finally, observe that since δ<1and α<1, μ 1−μ α(ψδw −1) ψ(1−α)2<1 (1−α)2 αwμ 1−μ This, together with (A.43), implies (1−δ)(1−α)21−μ αwμ <CN∗+1(A.44) By (16), the left-hand side above is strictly less than the upper bound on Cgiven in (A.40). Consequently, the inequality above bounds N∗+1, as illustrated in Figure 6,whereN∗+ 1belongs to the highlighted interval. Choose ¯ Nso that ¯ C( ¯ N)=(1−δ)(1−α)21−μ αwμ (A.45) or, equivalently, ¯ N=4+ ln(1−δ) −ln wαμ 1−μ+ln−e 2ln(1−α) 1 2ln(1−α) (A.46) 694 Cripps and Thomas Theoretical Economics 14 (2019) Figure 6. The functions C(x) and ¯ C(x) for α=04. Equations (A.44)and(A.45), together with (A.42) evaluated at x=¯ Nimply that C( ¯ N) ≤ C(N∗+1). Since, by (16), ¯ Nlies on the decreasing portion of C,wehavethat ¯ N>N ∗+1. Hence, ¯ N>N ∗. We now show that the conditions of Lemma 6 are sufficient for (15). As shown at the end of the proof of Lemma 5(a), the second inequality in (15) is equivalent to δ>δ 2(α), where δ2(α) is defined in (A.38). Observe that 1−α2>δ 2(α). Therefore, the condition δ>1−α2(condition (17)) is sufficient for the second inequality in (15)tohold. Now let us take logarithms of the first inequality in (15): ln(δw) +N∗ln ψ+ln1−ψ(1−δ) α2>0(A.47) Observe that since ψ∈(01),wehave 0≥N∗lnψ≥−N∗1−ψ ψ=−N∗(1−δ)φ where the second inequality is an application of lnx≥(x −1)/x, and where the final expression is obtained from (1) and the definition of ψin (2). An application of ln x≥ (x −1)/x also gives a lower bound on the final term in (A.47). Substitution of these bounds gives the following sufficient condition for the first inequality in (15): ln(δw) −N∗(1−δ)φ −1−δ δ1−α(1−α)−(1−α) >0 Substitute the upper bound ¯ Ndefined in (A.46)forN∗and use (17) to get a lower bound on the denominator of the fraction above. This gives the new sufficient condition lnw>(1−δ)¯ Nφ+1 α3(1−α)−lnδ Theoretical Economics 14 (2019) Strategic experimentation in queues 695 or, substituting from (A.46) and simplifying, lnw>(1−δ)4φ+ ln(1−δ) −ln wαμ 1−μ+ln−e 2ln(1−α) 1 2ln(1−α) φ+1 α3(1−α) −lnδ (A.48) It is evident that the right-hand side is continuous and strictly decreasing in δ.Itis positive for every δ∈(01)and tends to zero when δ→1. The left-hand side is a strictly positive constant, since w>1. Therefore, by the intermediate value theorem, (A.48) imposes a lower bound on δ. In the lemma, this lower bound is labelled δ0. A.7 Payoffs for the arrival at the M+1th position under imperfect revelation A.7.1 Beliefs Consider the profile σ∗(qNM)with imperfect revelation, i.e., with M< N,q∈(01],orM=N≥1,q∈(01). An agent who arrives at the queue believing that it is in the steady state induced by σ∗(qNM)bases her posterior beliefs about the server state and about whether the first in line is informed on the state-dependent invariant measures of queue lengths given in Appendix A.2. When N>M+1,q∈(01],orN=M+1,q∈(01), the agent arriving at the queue at the M+1th position does not know whether she is the first, second, third, etc. agent to arrive at that position behind the current first in line. If the current first in line joined the queue at the first position and subsequently observed Mfailures, the agent is the first arrival at the M+1th position behind the current first in line. If the current first in line joined the queue at the first position and subsequently observed M+1failures, the agent is the second arrival at the M+1th position behind the current first in line, and so on. Generalizing, if the first in line observed nfailures, n=MN, the agent is the n−M+1th arrival at the M+1th position. (If the first in line observes N+1failures (probability 1−q), then she reneges at the N+1th failure, so that there cannot be an N−M+2th arrival at the M+1th position.) Equivalently, if the first in line observed M−1+kfailures, the agent is the kth arrival at the M+1th position, k=1N − M+1. (Being the N−M+1th arrival is possible only if q<1and the first in line’s randomization makes her experiment for N+1periods, i.e., she does not renege at the Nth service failure.) Define ¯ ξgood kto be the probability that an agent who arrives at the queue at the M+1th position attaches to being the kth arrival at the M+1th position behind the current first in line and to that first in line being uninformed. The superscript indicates that this probability is conditioned on the server being good. We have ¯ ξgood k=⎧ ⎪ ⎪ ⎪ ⎨ ⎪ ⎪ ⎪ ⎩ (1−α)M+k−1y1 yM+1 for k=1N−M (1−q)(1−α)M+k−1y1 yM+1 for k=N−M+1 (A.49) 696 Cripps and Thomas Theoretical Economics 14 (2019) where (1−α)M+k−1y1is the stationary probability that the current first in line joined the queue at the first position and subsequently observed M+k−1service failures, conditional on the server being good. By the same token, conditional on the server being bad, we have ¯ ξbad k=⎧ ⎪ ⎪ ⎨ ⎪ ⎪ ⎩ x1 xM+1=1 N−M+1−qfor k=1N−M (1−q) x1 xM+1=1−q N−M+1−qfor k=N−M+1 (A.50) where x1is the stationary probability that the current first in line joined the queue at the first position (and subsequently observed M+k−1service failures; this event has probability 1at a bad server), conditional on the server being bad. When N=M+1and q=1or when M=N>1and q∈(01), the agent arriving at the M+1th position knows that she is the first and only agent arriving at this position behind the current first in line. As in (A.49)and(A.50), she assigns probability ¯ ξgood 1=(1−q)(1−α)My1/yM+1to the first in line being uninformed at a good server and probability ¯ ξbad 1=(1−q)x1/xM+1=1to the first in line being uninformed at a bad server. Thus, (A.49)and(A.50) describe the beliefs of the arrival at the M+1th position regarding the first in line, both when N<M,q∈(01],andwhenM=N>1,q∈(01). Sections A.7.2 and A.7.3 describe the payoff to an agent arriving at the M+1th position who deviates from the profile σ∗(qNM)by joining the queue for mperiods. To simplify the exposition, we assume that q=1.InSection A.7.4 we derive the payoff for m=1, allowing for q<1, as this will be used in later sections. A.7.2 Payoff from experimenting for 1≤m≤N−Mperiods (for q=1)We now describe the payoff, UM+1(m ¯μ0 M+1), of an agent who arrives at the queue as the M+1th in line, forms the posterior belief ¯μ0 M+1that the server is good as described in (13), and adopts the following strategy. Wait mperiods. If a service event occurs during these m periods, remain in the queue until served. If before any service event occurs the first in line reneges on the queue, then renege in the same period as the first in line. In all other cases (i.e., there are mfailures and the first in line has not reneged), autonomously renege after mperiods. The details of UM+1(m ¯μ0 M+1)can be explained as follows. Suppose the server is bad. Then the first in line will renege after having observed a total of Nfailures. If an agent is the kth arrival at the M+1th position, she joins the queue when the first in line has already observed M−1+kfailures. Thus, the first in line will stay in line for another N−(M −1+k) failures. The kth arrival’s payoff depends on whether mis greater or less than this number. If m≥N−M+1−k(or, equivalently, k≥N−M+1−m), the agent who is the kth arrival at the M+1th position reneges together with the first in line after having observed N−M+1−kfailures and her payoff is δN−M+1−k.Ifm<N−M+1−k(or, equivalently, k<N−M+1−m), she reneges autonomously after having observed m failures and her payoff is δm. Theoretical Economics 14 (2019) Strategic experimentation in queues 697 Therefore, the expected payoff at a bad server of an agent joining at the M+1th position is N−M−m  k=1 ¯ ξbad kδm+ N−M  k=N−M+1−m ¯ ξbad kδN−M+1−k(A.51) Using the change of variable i=M+kgives N−m  i=M+1 ¯ ξbad i−Mδm+ N  i=N+1−m ¯ ξbad i−MδN+1−i(A.52) Now suppose that the server is good. If the first in line is uninformed, then she will renege after having observed a total of Nfailures. If an agent is the kth arrival at the M+1th position, she joins the queue when the first in line has already observed M− 1+kfailures. Thus, the uninformed first in line will stay in line for another N−(M − 1+k) failures. The kth arrival’s payoff depends on whether mis greater or less than this number. If m≥N−M+1−k(or, equivalently, k≥N−M+1−m), the agent who is the kth arrival at the M+1th position reneges together with the first in line after having observed N−M+1−kfailures unless service occurs first. Thus, her payoff is N−M+1−k  s=1 α(1−α)s−1δsWM+1+(1−α)N−M+1−kδN−M+1−k(A.53) If m<N−M+1−k(or, equivalently, k<N−M+1−m), the kth arrival at the M+1th position reneges autonomously after having observed mfailures unless service occurs first. Her payoff is m  s=1 α(1−α)s−1δsWM+1+(1−α)mδm(A.54) If the first in line is informed, she never reneges on the queue, and the agent who is the kth arrival at the M+1th position reneges autonomously after having observed m failures, so her payoff is (A.54). Therefore, the expected payoff at a good server of an agent joining at the M+1th position is N−M−m  k=1 ¯ ξgood km  s=1 α(1−α)s−1δsWM+1+(1−α)mδm + N−M  k=N−M+1−m ¯ ξgood kN−M+1−k  s=1 α(1−α)s−1δsWM+1+(1−α)N−M+1−kδN−M+1−k +1− N−M  k=1 ¯ ξgood km  s=1 α(1−α)s−1δsWM+1+(1−α)mδm 698 Cripps and Thomas Theoretical Economics 14 (2019) where 1−N−M k=1¯ ξgood kis the probability that the arrival at the M+1th position attributes to the first in line being informed at a good server. Factorizing the term in the large parentheses in the first line and adding up with the third line gives N−M  k=N−M+1−m ¯ ξgood kN−M+1−k  s=1 α(1−α)s−1δsWM+1+(1−α)N−M+1−kδN−M+1−k +1− N−M  k=N−M+1−m ¯ ξgood km  s=1 α(1−α)s−1δsWM+1+(1−α)mδm Using the change of variable i=M+kgives N  i=N+1−m ¯ ξgood i−MN+1−i  s=1 α(1−α)s−1δsWM+1+(1−α)N+1−iδN+1−i +1− N  i=N+1−m ¯ ξgood i−Mm  s=1 α(1−α)s−1δsWM+1+(1−α)mδm(A.55) From (A.52)and(A.55)wehavethat UM+1m ¯μ0 M+1 =1−¯μ0 M+1 N−m  i=M+1 ¯ ξbad i−Mδm+ N  i=N+1−m ¯ ξbad i−MδN+1−i! +¯μ0 M+1 N  i=N+1−m ¯ ξgood i−MN+1−i  s=1 α(1−α)s−1δsWM+1+(1−α)N+1−iδN+1−i +1− N  i=N+1−m ¯ ξgood i−Mm  s=1 α(1−α)s−1δsWM+1+(1−α)mδm! Finally, using (A.49)and(A.50)gives UM+1m ¯μ0 M+1 =1−¯μ0 M+1 N−M N−m  i=M+1 δm+ N  i=N+1−m δN+1−i! +¯μ0 M+1 N  i=N+1−m (1−α)i−1y1 yM+1N+1−i  s=1 α(1−α)s−1δsWM+1+(1−α)N+1−iδN+1−i +1− N  i=N+1−m (1−α)i−1y1 yM+1m  s=1 α(1−α)s−1δsWM+1+(1−α)mδm!(A.56) Theoretical Economics 14 (2019) Strategic experimentation in queues 699 A.7.3 Payoff from joining the queue for m=N−Mperiods and herding on the first in line (for q=1)We describe the payoff, Uh M+1(¯μ0 M+1), of an agent who arrives at the queue as the M+1th in line, forms the posterior belief ¯μ0 M+1that the server is good as described in (13), and adopts the following strategy. Wait m=N−Mperiods. If a service event occurs during these mperiods, remain in the queue until served. If before any service event occurs the first in line reneges on the queue, then renege in the same period as the first in line. In all other cases (i.e., there are mfailures and the first in line has not reneged), remain in the queue until served. Now, if the first in line does not renege after the mth failure, the agent at the M+1th position learns that she was the first arrival at the M+1th position behind the current first in line. She also learns that the first in line has not reneged despite having observed a total of Nservice failures. This means that the first in line must have previously observed service (i.e., she is informed). The agent at the M+1th position therefore learns that the server is good and remains in line until served. The details of Uh M+1(¯μ0 M+1)can be explained as follows. Suppose the server is bad. Then the possible contingencies faced by the kth arrival at the M+1th position are as in Section A.7.2. Therefore, using m=N−Min (A.51), we obtain that the expected payoff at a bad server of an agent joining at the M+1th position is N−M  k=1 ¯ ξbad kδN−M+1−k= N  i=M+1 ¯ ξbad i−MδN+1−i(A.57) where the second expression is obtained using the change of variable i=M+k. Now suppose that the server is good. If the first in line is uninformed, then she will renege after observing Nfailures. Since m=N−M, for every k≥1,thekth arrival at the M+1th position reneges together with the first in line, so her payoff is (A.53) evaluated at m=N−M. If the first in line is informed, she never reneges on the queue. After observing the first in line not reneging despite N−Mfailures, the kth arrival at the M+1th position learns that the server is good and remains in line until served. Hence, her payoff is N−M  s=1 α(1−α)s−1δsWM+1+(1−α)N−MδN−MVM+1=VM+1 where the equality follows from (2)and(6). Therefore, the expected payoff at a good server of an agent joining at the M+1th position is N−M  k=1 ¯ ξgood kN−M+1−k  s=1 α(1−α)s−1δsWM+1+(1−α)N−M+1−kδN−M+1−k +1− N−M  k=1 ¯ ξgood kVM+1 700 Cripps and Thomas Theoretical Economics 14 (2019) Using the change of variable i=M+kgives N  i=M+1 ¯ ξgood i−MN+1−i  s=1 α(1−α)s−1δsWM+1+(1−α)N+1−iδN+1−i +1− N  i=M+1 ¯ ξgood i−MVM+1(A.58) Combining (A.57)and(A.58), we have that Uh M+1¯μ0 M+1=1−¯μ0 M+1N  i=M+1 ¯ ξbad i−MδN+1−i +¯μ0 M+1 N  i=M+1 ¯ ξgood i−MN+1−i  s=1 α(1−α)s−1δsWM+1+(1−α)N+1−iδN+1−i +1− N  i=M+1 ¯ ξgood i−MVM+1! Finally, using (A.49)and(A.50)gives Uh M+1¯μ0 M+1 =1−¯μ0 M+1 N−M N  i=M+1 δN+1−i +¯μ0 M+1 N  i=M+1 (1−α)i−1y1 yM+1N+1−i  s=1 α(1−α)s−1δsWM+1+(1−α)N+1−iδN+1−i +1− N  i=M+1 (1−α)i−1y1 yM+1VM+1!(A.59) A.7.4 Payoff from experimenting for m=1period (for q<1)Consider the deviation where the agent arriving at the M∗+1th position joins the queue for m=1period and reneges if the one service event she witnesses produces a failure, regardless of the first in line’s behavior. Suppose the server is bad. Then the M+1th in line reneges after observing one failure, regardless of whether the first in line reneges in the same period as her. Consequently, the belief of the M+1th in line regarding the first in line is irrelevant and her payoff is δ. Now suppose that the server is good. The M+1th in line reneges after observing one failure, regardless of whether the first in line reneges in the same period as her, unless service occurs first, in which case she remains in line until served. Consequently, the belief of the M+1th in line regarding the first in line is irrelevant and her payoff is δ[αWM+1+1−α]. Theoretical Economics 14 (2019) Strategic experimentation in queues 701 Therefore, UM+11¯μ0 M+1=1−¯μ0 M+1δ+¯μ0 M+1δ[αWM+1+1−α](A.60) =UM+11¯μ0 M+1(A.61) where the second equality follows from the definition of UM+1(1¯μ0 M+1)in (8). A.8 Proof of Lemma 7 When N∗=M∗=1,(A.4)and(A.6)give y1=1 1+1−q∗(1−α)y 2=1−y1;x1=1 2−q∗x 2=1−x1 Using (5)and(13)gives ¯μ0 1 1−¯μ0 1=μ 1−μ y1 x1=μ 1−μ 2−q 1+(1−q)(1−α) ¯μ0 2 1−¯μ0 2=μ 1−μ 1−y1 1−x1=μ 1−μ 2−q 1+(1−q)(1−α)(1−α) ¯μ1 1 1−¯μ1 1=¯μ0 1 1−¯μ0 1 (1−α) so that ¯μ0 1>¯μ1 1=¯μ0 2>0(A.62) for all (αμq)∈(01)3. Consider first the equilibrium condition (B.ii).ForM∗=N∗=1, this yields two conditions. (Since the first in line is necessarily uninformed, there is no third condition.) First, U∗ 1(¯μ0 1)≥1,whereU∗ 1(¯μ0 1), defined in (12), is the first in line’s payoff from adhering to the strategy σ∗. But this is just the payoff from experimenting for one period. Indeed, since A1=1(by (11)) we have that U∗ 1(¯μ0 1)=U1(1¯μ0 1),whereU1(1¯μ0 1)is defined in (8). Second, U2(1¯μ0 2)≤1,whereU2(1¯μ0 2)is the second in line’s payoff from deviating from the equilibrium strategy and experimenting for one period. By (A.61), U2(1¯μ0 2)=U2(1¯μ0 2).FromLemma 2 we have that U1(1¯μ0 1)≥1and U2(1¯μ0 2)≤1if and only if ¯μ0 1≥μ1and ¯μ0 2≤μ2. Consider now the equilibrium condition (B.iii).FromLemma 2 we have that q∗∈ (01)and N∗=1if and only if ¯μ0 1≥μ1=¯μ1 1. Similarly, q∗=1and N∗=1if and only if ¯μ0 1=μ≥μ1>¯μ1 1=μ(1−α)/(1−αμ). Finally, note that condition (B.iv) does not apply as no agent joins the queue at positions 23in equilibrium, since M∗+1=2. In summary, the following conditions are necessary and sufficient for an equilibrium with M∗=N∗=1and q∗∈(01]: ¯μ0 1≥μ1≥¯μ1 1μ 2≥¯μ0 2(A.63) 702 Cripps and Thomas Theoretical Economics 14 (2019) For the existence of an equilibrium with M∗=N∗=1and q∗∈(01), the condition ¯μ1 1=μ1is necessary and sufficient. (By (10), μ2>μ 1.Thus,(A.62) ensures that the other inequalities in (A.63) hold.) For each (αμq)∈(01)3, the equation ¯μ1 1=μ1has the unique solution δ1(αμq), which is defined in (20) and takes values in the interval D∗ 2(αμ) ⊂(01), defined in (21). For the existence of an equilibrium with M∗=N∗=1and q∗=1, the condition ¯μ0 1≥ μ1>¯μ1 1is necessary and sufficient. At each (α μ), this last pair of inequalities holds if and only if δ∈D∗ 1(αμ), defined in (19). A.9 Proof of Lemma 8 By Lemma 7, the strategy σ∗(q∗11)cannot constitute an equilibrium if δ≥1/(1+c), where c>0is defined in (21). This establishes the result for M∗=N∗=1. Now consider the strategy σ∗(q∗N∗M∗), where either M∗<N ∗and q∗∈(01]or M∗=N∗>1and q∗∈(01). Suppose, by way of contradiction, that for every ¯ δ∈(01), there exists δ∈(¯ δ1)at which σ∗(q∗N∗M∗)constitutes an equilibrium with imperfect revelation. The agent arriving at the M∗+1th position cannot learn, merely by observing the queue length, that the server is in the good state. The equilibrium value M∗therefore satisfies the conditions given in (B.ii). We show that this condition is violated as δbecomes arbitrarily close to 1by showing that there exists a profitable deviation. The argument is that as δapproaches unity, joining the queue for one period becomes virtually costless and might ultimately result in service. Balking can therefore never be optimal. Consider the deviation where the agent arriving at the M∗+1th position joins the queue for m=1period and reneges if the one service event she witnesses produces a failure, regardless of the first in line’s behavior. The payoff from this deviation for the agent arriving at the M∗+1th position is UM∗+1(1¯μ0 M∗+1(q∗N∗M∗)), which is defined in (A.60). We now show that when δis arbitrarily close to 1, the agent arriving at the M∗+1th position gets a lower payoff from balking than from joining the queue for one period and reneging if the one service event she witnesses produces a failure. From (6), we have that limδ→1WM∗+1=w. Therefore, evaluating the expected payoff in (A.60)asδ becomes arbitrarily close to 1gives lim δ→1 UM∗+11¯μ0 M∗+1=1−¯μ0 M∗+1+¯μ0 M∗+1[αw +1−α] Using w>1in the above expression, it is immediate that, for every ¯μ0 M∗+1∈(01), lim δ→1 UM∗+11¯μ0 M∗+1>1 violating the second condition in (B.ii).From(A.60), it is evident that UM∗+1(1¯μ0 M∗+1) is continuous in δ. Hence, for every (αμ) there exists a threshold d(αμ) < 1such that deviating from σ∗(q∗N∗M∗)is profitable at every δ>d(αμ), a contradiction.