A Game-Theoretic Approach to Software Process Improvement

Total Page:16

File Type:pdf, Size:1020Kb

A Game-Theoretic Approach to Software Process Improvement A Game-Theoretic Approach to Software Process Improvement Carlos Gavidia-Calderon A dissertation submitted in fulfillment of the requirements for the degree of Doctor of Philosophy of University College London Department of Computer Science University College London 15 April 2020 Declarations I, Carlos Gavidia-Calderon, confirm that the work presented in this thesis is my own. Where information has been derived from other sources, I confirm that this has been indicated in the thesis. Parts of this document are based on the following publications: 1. Chapters 2 and 3 are based on: Carlos Gavidia-Calderon, Emmanuel Letier and Earl T. Barr. A Survey of Game Theory Applied to Software Engineering. In progress. 2. Chapter 4 is based on: Carlos Gavidia-Calderon, Federica Sarro, Mark Harman and Earl T. Barr. Game-Theoretic Analysis of Development Practices: Challenges and Opportunities. Journal of Systems and Soft- ware. 2019. 3. Chapter 5 and 6 are based on: Carlos Gavidia-Calderon, Federica Sarro, Mark Harman and Earl T. Barr. The Assessor’s Dilemma: Improving Bug Repair via Empirical Game Theory. IEEE Transactions on Software Engineering. 2019. This research project is a collaborative enterprise. While I led this work, I did it in close collaboration with my supervisors. I use “I” throughout this thesis in this sense. Date Signature 2 Abstract There is a plethora of software development practices. Practice adoption by a development team is a challenge by itself. This makes software process improvement very hard for organisations. I believe a key factor in successful practice adoption is proper incentives. Wrong incentives can lead a process improvement effort to failure. I propose to address this problem using game-theory. Game theory studies cooperation and conflict. I believe its use can speed the development of effective software processes. I surveyed game-theory applications to software engineering problems, showing the potential of this technique. By using game-theoretic models of software development practices, we can verify if the behaviour at equilibrium converges towards team cooperation. Modern software development is performed by large teams, working multi- ple iterations over long periods of time. Classic game representations do not scale well to model such scenarios, so abstraction is needed. In this thesis, I propose GTPI (game-theoretic process improvement), a software process improvement approach based on empirical game-theoretic analysis (EGTA) abstractions. EGTA enables the production of software process models of manageable size. I use GTPI to address technical debt, modelling developers that prefer quick and cheap solutions instead of high-quality time-consuming fixes. I have also approached bug prioritisation with GTPI, proposing the assessor-throttling prioritisation process, and developing a tool to support its adoption. 3 Impact Statement Software is part of many aspects of modern life: from trivial things like ordering takeaway to vital tasks like aeroplane navigation. Software quality does not only depend on the technical aspects of engineering, but also on the process that drives how people build it. In the words of Linus Torvalds, ”All the really stressful times for me have been about process: they haven’t been about code”. In this thesis, I propose game theory as a formal approach for the analysis and design of software processes. Game theory is widely adopted in fields like economics, biology and cybersecurity. I bring game theory to software process design, using it to identify and remove incentive problems. I used game theory to resolve real problems affecting software teams in industry. Both technical debt and priority inflation are still relevant problems in software development. I recommended actionable process interventions for their removal. I used game-theoretic models to confirm the effectiveness of established processes — like code reviews — and to challenge the adequacy of others — like bug triage teams. Finally, I have established the foundations of a new exciting research field. I believe that technical debt and priority inflation are two of the many in- centive problems that affect software processes. In this thesis, I developed a framework to address these problems with game-theoretic models. I expect that both practitioners and researchers adopt this novel approach of software process improvement. 4 Acknowledgements First, I would like to thank my supervisory team at UCL: Dr Earl Barr, Dr Federica Sarro and Prof. Mark Harman. And Paul Baker, my mentor during my time at Visa Europe. The path from practitioner to academic is not an easy one, and it was your guidance that made it possible. I would also like to thank my fellow PhD students: DongGyun Han, Matheus Paixao, Chaiyong Ragkhitwetsagul and Bobby Bruce. The PhD was definitely more enjoyable by sharing it with you. And also my friends at Ifor Evans Hall: Hillary Ingram, Silvia Schmidt, Lauren Coyne, Vibhav Mishra, Razvan Marinescu, Robbie Wilson and Mariflor Vega. Ifor Evans was my very first home-away-from-home, thanks to your friendship. I also like to thank Dr Angel Gavidia and Lilia Calderon, my parents, and Dr Jorge Gavidia and Mario Gavidia, my brothers. Leaving Peru to pursue my academic dream was only possible with your help. It is an honour to become the third “Doctor Gavidia”. Finally, I would like to especially thank Giovani Guizzo. In the good times, you were always up for a pint; and in the bad ones, I could always count on your support. And to Ireen Islam. I came to this country for a Doctorate, and I ended up finding you. For me, that is even more valuable. 5 Contents 1 Introduction 14 1.1 Research Problem.......................... 15 1.2 Objectives.............................. 17 1.3 Contributions............................ 17 1.4 Thesis Outline............................ 18 2 Background 20 2.1 Concepts and Terminology.................... 20 2.2 Normal-form Games........................ 22 2.3 Extensive-form Games....................... 23 2.4 Multistage Games.......................... 26 2.5 Bayesian Games........................... 27 2.6 Mechanism Design......................... 28 2.7 Cooperative Game-Theory..................... 30 3 Literature Review 32 3.1 Methodology............................ 33 3.2 Game Models in Software Engineering.............. 35 3.2.1 Software Requirements.................. 36 3.2.2 Software Design...................... 37 3.2.3 Software Construction................... 37 3.2.4 Software Testing...................... 38 3.2.5 Software Maintenance................... 39 3.2.6 Software Engineering Management........... 41 3.2.7 Software Engineering Professional Practice....... 43 3.3 Challenges and Opportunities................... 44 3.3.1 The Need for Game Abstractions............. 44 3.3.2 Beyond the Rationality Assumptions.......... 48 6 Contents 4 GTPI: A Game-Theoretic Approach to Process Improvement 50 4.1 Motivating Example........................ 52 4.2 An Introduction to GTPI...................... 54 4.2.1 Software Process Modelling................ 54 4.2.2 Software Process Improvement.............. 59 4.3 Practical considerations...................... 61 4.3.1 Data Gathering....................... 62 4.3.2 Technical Validation.................... 63 4.3.3 Securing Acceptance.................... 64 4.4 Related Work............................ 65 5 TaskAssessor: A Game-Theoretic Model of Priority Inflation 67 5.1 The Assessor’s Dilemma...................... 69 5.2 Identifying the Process Anomaly................. 71 5.2.1 Shared Prioritisation Tooling Adoption......... 72 5.2.2 The Cost of Priority Inflation............... 73 5.3 Empirical Game Design...................... 77 5.3.1 Bug Repair and Issue Resolution Corpus........ 78 5.3.2 Game Models with TaskAssessor .............. 80 5.3.3 TaskAssessor under Twins and EGTA........... 82 5.3.4 Validating TaskAssessor ................... 85 5.3.5 Threats to Validity..................... 88 5.3.6 Using TaskAssessor ..................... 89 6 Assessor-Throttling: A Novel Task Prioritisation Process 91 6.1 Empirical Game Improvement.................. 93 6.1.1 Distributed Bug Prioritisation............... 94 6.1.2 Do Gatekeepers Prevent Priority Inflation?....... 95 6.1.3 The Assessor-Throttling Process............. 98 6.2 Process Deployment........................ 106 7 Conclusion and Future Work 111 7.1 Summary of Contributions..................... 111 7.2 Future Work............................. 112 7.3 Final Remarks............................ 113 Bibliography 114 7 List of Figures 2.1 Normal-form representation of a two-player game (DEV1 and DEV2), where each player has two actions (cooperate and oppose). At equilibrium, both players adopt the opposing action with a probability of 100%.................. 21 3.1 Scope of this review with respect to the SWEBOK guide [1]. For this literature review, we only consider papers focussing on practice core knowledge areas.................... 34 3.2 EGTA-abstracted game for a 2-player-3-round rock-paper- scissors game: each round victory is rewarded with 1 point and draws give no points to either player............. 46 4.1 Extensive form game for a multi-project freelancer’s dilemma: this figure contains the part of the tree corresponding to the first two projects. Nodes in the tree correspond to players (Freelancer A and Freelance B) and edges to actions (C for cooperation, and NC for no cooperation) The size of this rep- resentation grows with the number of projects, freelancers and actions available
Recommended publications
  • The Determinants of Efficient Behavior in Coordination Games
    The Determinants of Efficient Behavior in Coordination Games Pedro Dal B´o Guillaume R. Fr´echette Jeongbin Kim* Brown University & NBER New York University Caltech May 20, 2020 Abstract We study the determinants of efficient behavior in stag hunt games (2x2 symmetric coordination games with Pareto ranked equilibria) using both data from eight previous experiments on stag hunt games and data from a new experiment which allows for a more systematic variation of parameters. In line with the previous experimental literature, we find that subjects do not necessarily play the efficient action (stag). While the rate of stag is greater when stag is risk dominant, we find that the equilibrium selection criterion of risk dominance is neither a necessary nor sufficient condition for a majority of subjects to choose the efficient action. We do find that an increase in the size of the basin of attraction of stag results in an increase in efficient behavior. We show that the results are robust to controlling for risk preferences. JEL codes: C9, D7. Keywords: Coordination games, strategic uncertainty, equilibrium selection. *We thank all the authors who made available the data that we use from previous articles, Hui Wen Ng for her assistance running experiments and Anna Aizer for useful comments. 1 1 Introduction The study of coordination games has a long history as many situations of interest present a coordination component: for example, the choice of technologies that require a threshold number of users to be sustainable, currency attacks, bank runs, asset price bubbles, cooper- ation in repeated games, etc. In such examples, agents may face strategic uncertainty; that is, they may be uncertain about how the other agents will respond to the multiplicity of equilibria, even when they have complete information about the environment.
    [Show full text]
  • Lecture 4 Rationalizability & Nash Equilibrium Road
    Lecture 4 Rationalizability & Nash Equilibrium 14.12 Game Theory Muhamet Yildiz Road Map 1. Strategies – completed 2. Quiz 3. Dominance 4. Dominant-strategy equilibrium 5. Rationalizability 6. Nash Equilibrium 1 Strategy A strategy of a player is a complete contingent-plan, determining which action he will take at each information set he is to move (including the information sets that will not be reached according to this strategy). Matching pennies with perfect information 2’s Strategies: HH = Head if 1 plays Head, 1 Head if 1 plays Tail; HT = Head if 1 plays Head, Head Tail Tail if 1 plays Tail; 2 TH = Tail if 1 plays Head, 2 Head if 1 plays Tail; head tail head tail TT = Tail if 1 plays Head, Tail if 1 plays Tail. (-1,1) (1,-1) (1,-1) (-1,1) 2 Matching pennies with perfect information 2 1 HH HT TH TT Head Tail Matching pennies with Imperfect information 1 2 1 Head Tail Head Tail 2 Head (-1,1) (1,-1) head tail head tail Tail (1,-1) (-1,1) (-1,1) (1,-1) (1,-1) (-1,1) 3 A game with nature Left (5, 0) 1 Head 1/2 Right (2, 2) Nature (3, 3) 1/2 Left Tail 2 Right (0, -5) Mixed Strategy Definition: A mixed strategy of a player is a probability distribution over the set of his strategies. Pure strategies: Si = {si1,si2,…,sik} σ → A mixed strategy: i: S [0,1] s.t. σ σ σ i(si1) + i(si2) + … + i(sik) = 1. If the other players play s-i =(s1,…, si-1,si+1,…,sn), then σ the expected utility of playing i is σ σ σ i(si1)ui(si1,s-i) + i(si2)ui(si2,s-i) + … + i(sik)ui(sik,s-i).
    [Show full text]
  • PRICING and MODULARITY DECISIONS UNDER COMPETITION Feng Tao Hao Shao and Kinkeung Lai (Communicated by Stefan Wolfgang Pickl) 1
    JOURNAL OF INDUSTRIAL AND doi:10.3934/jimo.2018152 MANAGEMENT OPTIMIZATION Volume 16, Number 1, January 2020 pp. 289{307 PRICING AND MODULARITY DECISIONS UNDER COMPETITION Feng Taoa aDepartment of Management Science and Engineering East China University of Science and Technology, Shanghai, 200237, China Hao Shaobc∗ and KinKeung Laide bShanghai University of International Business and Economics Gubei Road, 200336, Shanghai, China cShanghai Wage Intelligent Technology Co., Ltd dCollege of Economics, Shenzhen University, Shenzhen, China eInternational Business School, Shaanxi Normal University, Xian, China (Communicated by Stefan Wolfgang Pickl) Abstract. This paper considers price and modularity of competition between two firms with deterministic demand, in which demand is dependent on both the prices and the modularity levels determined by two firms. Bertrand com- petition and Stackelberg competition are formulated to derive the equilibrium solutions analytically. Because of the complexity, an intensive numerical study is conducted to investigate the impact of the sensitive parameters on equilib- rium prices and modularity levels, as well as optimal profits of the two firms. An important and interesting finding is that optimal profits of the two firms under both types of competition are decreasing with the modularity cost when the price and modularity sensitivities are low, where both firms are worse-off due to decrease of the modularity levels; but they are increasing when the price and modularity sensitivities are high, where both firms are better-off at the ex- pense of modular design. Our research reveals that Stackelberg game improves the modularity levels in most of the cases, though both firms perform better in Bertrand competition in these cases when jointly deciding the prices and modularity levels in the two firms.
    [Show full text]
  • Lecture Notes
    GRADUATE GAME THEORY LECTURE NOTES BY OMER TAMUZ California Institute of Technology 2018 Acknowledgments These lecture notes are partially adapted from Osborne and Rubinstein [29], Maschler, Solan and Zamir [23], lecture notes by Federico Echenique, and slides by Daron Acemoglu and Asu Ozdaglar. I am indebted to Seo Young (Silvia) Kim and Zhuofang Li for their help in finding and correcting many errors. Any comments or suggestions are welcome. 2 Contents 1 Extensive form games with perfect information 7 1.1 Tic-Tac-Toe ........................................ 7 1.2 The Sweet Fifteen Game ................................ 7 1.3 Chess ............................................ 7 1.4 Definition of extensive form games with perfect information ........... 10 1.5 The ultimatum game .................................. 10 1.6 Equilibria ......................................... 11 1.7 The centipede game ................................... 11 1.8 Subgames and subgame perfect equilibria ...................... 13 1.9 The dollar auction .................................... 14 1.10 Backward induction, Kuhn’s Theorem and a proof of Zermelo’s Theorem ... 15 2 Strategic form games 17 2.1 Definition ......................................... 17 2.2 Nash equilibria ...................................... 17 2.3 Classical examples .................................... 17 2.4 Dominated strategies .................................. 22 2.5 Repeated elimination of dominated strategies ................... 22 2.6 Dominant strategies ..................................
    [Show full text]
  • Loss of Commitment? an Evolutionary Analysis of Bagwell’S Example1
    Loss of Commitment? An Evolutionary Analysis of Bagwells Example1 Jörg Oechssler2 Karl H. Schlag3 Department of Economics Economic Theory III Humboldt University, Berlin University of Bonn April, 1997 1 We wish to thank Wolfgang Leininger for starting this project by asking us about the relevance of noise for evolutionary predictions, and Wieland Müller and Larry Samuelson for contributing valuable comments. Financial support by the Deutsche Forschungsgemeinschaft through SFBs 303 and 373 is gratefully acknowledged. 2 Institut für Wirtschaftstheorie, Spandauer Str. 1, 10178 Berlin, Germany, FAX: +49302093-5619, Email: [email protected] 3 Adenauerallee 24-26, 53113 Bonn, Germany, Email: [email protected] bonn.de Abstract In a recent paper Bagwell (1995) pointed out that only the Cournot outcome, but not the Stackelberg outcome, can be supported by a pure Nash equilib- rium when actions of the Stackelberg leader are observed with the slightest error. The Stackelberg outcome, however, remains close to the outcome of a mixed equilibrium. We compare the predictions in various classes of evolutionary and learning processes in this game. Only the continuous best response dynamic uniquely selects the Stackelberg outcome under noise. All other dynamics analyzed allow for the Cournot equilibrium to be selected. In typical cases Cournot is the unique long run outcome even for vanishing noise in the signal. JEL classi cation numbers: C72, C73. Key words: imperfectly observable commitment, evolution, imitation, learn- ing, equilibrium selection. 1 Introduction In a recent paper Bagwell (1995) pointed out that a rst mover advantage in games depends crucially on the fact that the action taken by the rst mover is perfectly observable.
    [Show full text]
  • Competition and Efficiency of Coalitions in Cournot Games
    1 Competition and Efficiency of Coalitions in Cournot Games with Uncertainty Baosen Zhang, Member, IEEE, Ramesh Johari, Member, IEEE, Ram Rajagopal, Member, IEEE, Abstract—We investigate the impact of coalition formation on Electricity markets serve as one motivating example of the efficiency of Cournot games where producers face uncertain- such an environment. In electricity markets, producers submit ties. In particular, we study a market model where firms must their bids before the targeted time of delivery (e.g., one day determine their output before an uncertain production capacity is realized. In contrast to standard Cournot models, we show that ahead). However, renewable resources such as wind and solar the game is not efficient when there are many small firms. Instead, have significant uncertainty (even on a day-ahead timescale). producers tend to act conservatively to hedge against their risks. As a result, producers face uncertainties about their actual We show that in the presence of uncertainty, the game becomes production capacity at the commitment stage. efficient when firms are allowed to take advantage of diversity Our paper focuses on a fundamental tradeoff revealed in to form groups of certain sizes. We characterize the tradeoff between market power and uncertainty reduction as a function such games. On one hand, in the classical Cournot model, of group size. In particular, we compare the welfare and output efficiency obtains as the number of individual firms approaches obtained with coalitional competition, with the same benchmarks infinity, as this weakens each firm’s market power (ability to when output is controlled by a single system operator.
    [Show full text]
  • Cartel Formation in Cournot Competition with Asymmetric Costs: a Partition Function Approach
    games Article Cartel Formation in Cournot Competition with Asymmetric Costs: A Partition Function Approach Takaaki Abe School of Political Science and Economics, Waseda University, 1-6-1, Nishi-waseda, Shinjuku-ku, Tokyo 169-8050, Japan; [email protected] Abstract: In this paper, we use a partition function form game to analyze cartel formation among firms in Cournot competition. We assume that a firm obtains a certain cost advantage that allows it to produce goods at a lower unit cost. We show that if the level of the cost advantage is “moderate”, then the firm with the cost advantage leads the cartel formation among the firms. Moreover, if the cost advantage is relatively high, then the formed cartel can also be stable in the sense of the core of a partition function form game. We also show that if the technology for the low-cost production can be copied, then the cost advantage may prevent a cartel from splitting. Keywords: cartel formation; Cournot competition; partition function form game; stability JEL Classification: C71; L13 1. Introduction Many approaches have been proposed to analyze cartel formation. Ref. [1] first intro- duced a simple noncooperative game to study cartel formation among firms. As shown by the title of his paper, “A simple model of imperfect competition, where 4 are few and Citation: Abe, T. Cartel Formation in 6 are many”, this result suggests that cartel formation depends deeply on the number of Cournot Competition with firms in a market. Ref. [2] distinguished the issue of cartel stability from that of cartel Asymmetric Costs: A Partition formation.
    [Show full text]
  • Endogenous Maverick Behavior: a Model
    ENDOGENOUS MAVERICK BEHAVIOR: A MODEL John Kwokaa Birzhan Batkeyevb David Hummela December 2020 a Professor of Economics and PhD Candidate, respectively, Northeastern University, Boston b Professor, International School of Economics, Kazakh-British Technical University, Almaty ABSTRACT Key questions about the concept of a maverick firm have long remained unanswered. These include what causes a firm to behave like a maverick and whether such behavior is an inherent characteristic of the firm or a strategy choice, and if the latter, what determines that choice. The latter possibility has important policy implications. This paper offers a model in which a small low-cost entrant into a market initially finds it optimal to engage in aggressive “maverick” behavior but as it grows or its cost advantage erodes, it switches to more cooperative behavior with its larger rival. This model highlights the observable determinants of endogenous maverick behavior, notably, the maverick’s capacity. We offer some observations on the maverick behavior of actual firms and implications of this model for competition policy. I. Introduction The concept of a maverick firm plays an important but unusual role in economic research and antitrust policy. It is important because it captures the commonsense notion that there are firms whose aggressive behavior disrupts otherwise greater cooperation in a market. The economics and business literature as well as the popular press, for example, have often referred to companies such as Southwest Airlines and T-Mobile as maverick firms, citing well- documented evidence of their disproportionate impact on pricing and promotion in their markets. Consistent with that, Merger Guidelines in the U.S.
    [Show full text]
  • Oligopolistic Competition
    Lecture 3: Oligopolistic competition EC 105. Industrial Organization Mattt Shum HSS, California Institute of Technology EC 105. Industrial Organization (Mattt Shum HSS,Lecture California 3: Oligopolistic Institute of competition Technology) 1 / 38 Oligopoly Models Oligopoly: interaction among small number of firms Conflict of interest: Each firm maximizes its own profits, but... Firm j's actions affect firm i's profits PC: firms are small, so no single firm’s actions affect other firms’ profits Monopoly: only one firm EC 105. Industrial Organization (Mattt Shum HSS,Lecture California 3: Oligopolistic Institute of competition Technology) 2 / 38 Oligopoly Models Oligopoly: interaction among small number of firms Conflict of interest: Each firm maximizes its own profits, but... Firm j's actions affect firm i's profits PC: firms are small, so no single firm’s actions affect other firms’ profits Monopoly: only one firm EC 105. Industrial Organization (Mattt Shum HSS,Lecture California 3: Oligopolistic Institute of competition Technology) 2 / 38 Oligopoly Models Oligopoly: interaction among small number of firms Conflict of interest: Each firm maximizes its own profits, but... Firm j's actions affect firm i's profits PC: firms are small, so no single firm’s actions affect other firms’ profits Monopoly: only one firm EC 105. Industrial Organization (Mattt Shum HSS,Lecture California 3: Oligopolistic Institute of competition Technology) 2 / 38 Oligopoly Models Oligopoly: interaction among small number of firms Conflict of interest: Each firm maximizes its own profits, but... Firm j's actions affect firm i's profits PC: firms are small, so no single firm’s actions affect other firms’ profits Monopoly: only one firm EC 105.
    [Show full text]
  • Answer Hints
    HUL311 - APPLIED GAME THEORY MAJOR EXAMINATION (Nov 21, 2017), IITD SEM-I, AY 2017-18, Time Allowed: 2 Hours. (ANSWER ALL, Max marks=30) ANSWER HINTS Q1: Short Note [5 3 = 15 marks]. You must describe the problem and highlight its solu- × tion with possible realistic implications. (a) Inefficient trade and adverse selection. Your answer must contain (a) problem description (b) properly de- fined strategies of players (c) equilibrium solution and (d) realistic im- plications - e.g., application of `Lemon Market' in international trade, insurance (with healthy and unhealthy type), second hand car market, etc. (b) Cournot competition with cost uncertainty. Your answer must contain (a) problem description (b) properly de- fined strategies of players (q [0; )) (c) showing the best response i 2 1 function in graph with cH and cL and to show respective quantities and profits (d) realistic implications - e.g., credible cost/type revela- tion through advertersing, etc. (c) Effort choice in study groups. Your answer must contain (a) problem description (b) properly de- fined strategies of players (c) equilibrium solution and (d) realistic im- plications - e.g., voluntary contribution with type dependent donors - people donates beyond a cost threshold, jumping into the river to save a child - who will jump depend on cost threshold, etc. 1 Q2 [2:5 2 = 5 marks]. ∗ Consider two firms that play a Cournot competition game with demand p = 100 q; and costs 2 − for each firm given by ci(qi) = 10qi (it is known that, q = i=1 qi). Imagine that before the two firms play the Cournot game, firm 1 can invest in cost reduction.P If it invests, the costs of firm 1 will drop to c1(q1) = 5q1.
    [Show full text]
  • Introduction to Game Theory Lecture 1: Strategic Game and Nash Equilibrium
    Game Theory and Rational Choice Strategic-form Games Nash Equilibrium Examples (Non-)Strict Nash Equilibrium . Introduction to Game Theory Lecture 1: Strategic Game and Nash Equilibrium . Haifeng Huang University of California, Merced Shanghai, Summer 2011 . • Rational choice: the action chosen by a decision maker is better or at least as good as every other available action, according to her preferences and given her constraints (e.g., resources, information, etc.). • Preferences (偏好) are rational if they satisfy . Completeness (完备性): between any x and y in a set, x ≻ y (x is preferred to y), y ≻ x, or x ∼ y (indifferent) . Transitivity(传递性): x ≽ y and y ≽ z )x ≽ z (≽ means ≻ or ∼) ) Say apple ≻ banana, and banana ≻ orange, then apple ≻ orange Game Theory and Rational Choice Strategic-form Games Nash Equilibrium Examples (Non-)Strict Nash Equilibrium Rational Choice and Preference Relations • Game theory studies rational players’ behavior when they engage in strategic interactions. • Preferences (偏好) are rational if they satisfy . Completeness (完备性): between any x and y in a set, x ≻ y (x is preferred to y), y ≻ x, or x ∼ y (indifferent) . Transitivity(传递性): x ≽ y and y ≽ z )x ≽ z (≽ means ≻ or ∼) ) Say apple ≻ banana, and banana ≻ orange, then apple ≻ orange Game Theory and Rational Choice Strategic-form Games Nash Equilibrium Examples (Non-)Strict Nash Equilibrium Rational Choice and Preference Relations • Game theory studies rational players’ behavior when they engage in strategic interactions. • Rational choice: the action chosen by a decision maker is better or at least as good as every other available action, according to her preferences and given her constraints (e.g., resources, information, etc.).
    [Show full text]
  • Comparing Cournot and Bertrand Equilibria
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by University of Essex Research Repository Comparing Cournot and Bertrand Equilibria in a Differentiated Duopoly with Product R&D George Symeonidis University of Essex Abstract: This paper compares Bertrand and Cournot equilibria in a differentiated duopoly with substitute goods and product R&D. I find that R&D expenditure, prices and firms’ net profits are always higher under quantity competition than under price competition. Furthermore, output, consumer surplus and total welfare are higher in the Bertrand equilibrium than in the Cournot equilibrium if either R&D spillovers are weak or products are sufficiently differentiated. If R&D spillovers are strong and products are not too differentiated, then output, consumer surplus and total welfare are lower in the Bertrand case than in the Cournot case. Thus a key finding of the paper is that there are circumstances where quantity competition can be more beneficial than price competition both for consumers and for firms. Keywords: Product R&D, price versus quantity competition, welfare. JEL classification: L13, D43. Address for correspondence: Department of Economics, University of Essex, Wivenhoe Park, Colchester CO4 3SQ, U.K. Phone: +44 1206 872511, fax: +44 1206 872724, e-mail: [email protected] 1. Introduction. The standard view that Bertrand competition is more efficient than Cournot competition has recently been challenged by a number of theoretical models. A common feature of these models is the idea that firms compete both in variables that can be easily changed in the short run, such as price or output, and in variables that constitute longer-term commitments, such as capacity or R&D expenditure.
    [Show full text]