my-markdown-library 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. checksums.yaml +7 -0
  2. data/F24LS_md/ Lecture 4 - Public.md +347 -0
  3. data/F24LS_md/Lecture 1 - Introduction and Overview.md +327 -0
  4. data/F24LS_md/Lecture 10 - Development_.md +631 -0
  5. data/F24LS_md/Lecture 11 - Econometrics.md +345 -0
  6. data/F24LS_md/Lecture 12 - Finance.md +692 -0
  7. data/F24LS_md/Lecture 13 - Environmental Economics.md +299 -0
  8. data/F24LS_md/Lecture 15 - Conclusion.md +272 -0
  9. data/F24LS_md/Lecture 2 - Demand.md +349 -0
  10. data/F24LS_md/Lecture 3 - Supply.md +329 -0
  11. data/F24LS_md/Lecture 5 - Production C-D.md +291 -0
  12. data/F24LS_md/Lecture 6 - Utility and Latex.md +440 -0
  13. data/F24LS_md/Lecture 7 - Inequality.md +607 -0
  14. data/F24LS_md/Lecture 8 - Macroeconomics.md +704 -0
  15. data/F24LS_md/Lecture 8 - Macro.md +700 -0
  16. data/F24LS_md/Lecture 9 - Game Theory_.md +436 -0
  17. data/F24LS_md/summary.yaml +105 -0
  18. data/F24Lec_MD/LecNB_summary.yaml +206 -0
  19. data/F24Lec_MD/lec01/lec01.md +267 -0
  20. data/F24Lec_MD/lec02/Avocados_demand.md +425 -0
  21. data/F24Lec_MD/lec02/Demand_Steps_24.md +126 -0
  22. data/F24Lec_MD/lec02/PriceElasticity.md +83 -0
  23. data/F24Lec_MD/lec02/ScannerData_Beer.md +171 -0
  24. data/F24Lec_MD/lec02/demand-curve-Fa24.md +213 -0
  25. data/F24Lec_MD/lec03/3.0-CubicCostCurve.md +239 -0
  26. data/F24Lec_MD/lec03/3.1-Supply.md +274 -0
  27. data/F24Lec_MD/lec03/3.2-sympy.md +332 -0
  28. data/F24Lec_MD/lec03/3.3a-california-energy.md +120 -0
  29. data/F24Lec_MD/lec03/3.3b-a-really-hot-tuesday.md +121 -0
  30. data/F24Lec_MD/lec04/lec04-CSfromSurvey-closed.md +335 -0
  31. data/F24Lec_MD/lec04/lec04-CSfromSurvey.md +331 -0
  32. data/F24Lec_MD/lec04/lec04-Supply-Demand-closed.md +519 -0
  33. data/F24Lec_MD/lec04/lec04-Supply-Demand.md +514 -0
  34. data/F24Lec_MD/lec04/lec04-four-plot-24.md +34 -0
  35. data/F24Lec_MD/lec04/lec04-four-plot.md +34 -0
  36. data/F24Lec_MD/lec05/Lec5-Cobb-Douglas.md +131 -0
  37. data/F24Lec_MD/lec05/Lec5-CobbD-AER1928.md +283 -0
  38. data/F24Lec_MD/lec06/6.1-Sympy-Differentiation.md +253 -0
  39. data/F24Lec_MD/lec06/6.2-3D-utility.md +287 -0
  40. data/F24Lec_MD/lec06/6.3-QuantEcon-Optimization.md +399 -0
  41. data/F24Lec_MD/lec06/6.4-latex.md +138 -0
  42. data/F24Lec_MD/lec06/6.5-Edgeworth.md +269 -0
  43. data/F24Lec_MD/lec07/7.1-inequality.md +283 -0
  44. data/F24Lec_MD/lec07/7.2-historical-inequality.md +237 -0
  45. data/F24Lec_MD/lec08/macro-fred-api.md +313 -0
  46. data/F24Lec_MD/lec09/lecNB-prisoners-dilemma.md +88 -0
  47. data/F24Lec_MD/lec10/Lec10.2-waterguard.md +401 -0
  48. data/F24Lec_MD/lec10/lec10.1-mapping.md +199 -0
  49. data/F24Lec_MD/lec11/11.1-slr.md +305 -0
  50. data/F24Lec_MD/lec11/11.2-mlr.md +171 -0
  51. data/F24Lec_MD/lec12/Lec12-4-PersonalFinance.md +590 -0
  52. data/F24Lec_MD/lec12/lec12-1_Interest_Payments.md +267 -0
  53. data/F24Lec_MD/lec12/lec12-2-stocks-options.md +235 -0
  54. data/F24Lec_MD/lec13/Co2_ClimateChange.md +139 -0
  55. data/F24Lec_MD/lec13/ConstructingMAC.md +213 -0
  56. data/F24Lec_MD/lec13/EmissionsTracker.md +170 -0
  57. data/F24Lec_MD/lec13/KuznetsHypothesis.md +219 -0
  58. data/F24Lec_MD/lec13/RoslingPlots.md +217 -0
  59. data/F24Lec_MD/lec15/vibecession.md +485 -0
  60. data/F24Textbook_MD/00-intro/index.md +292 -0
  61. data/F24Textbook_MD/01-demand/01-demand.md +152 -0
  62. data/F24Textbook_MD/01-demand/02-example.md +131 -0
  63. data/F24Textbook_MD/01-demand/03-log-log.md +284 -0
  64. data/F24Textbook_MD/01-demand/04-elasticity.md +248 -0
  65. data/F24Textbook_MD/01-demand/index.md +15 -0
  66. data/F24Textbook_MD/02-supply/01-supply.md +203 -0
  67. data/F24Textbook_MD/02-supply/02-eep147-example.md +86 -0
  68. data/F24Textbook_MD/02-supply/03-sympy.md +138 -0
  69. data/F24Textbook_MD/02-supply/04-market-equilibria.md +204 -0
  70. data/F24Textbook_MD/02-supply/index.md +16 -0
  71. data/F24Textbook_MD/03-public/govt-intervention.md +73 -0
  72. data/F24Textbook_MD/03-public/index.md +10 -0
  73. data/F24Textbook_MD/03-public/surplus.md +351 -0
  74. data/F24Textbook_MD/03-public/taxes-subsidies.md +282 -0
  75. data/F24Textbook_MD/04-production/index.md +15 -0
  76. data/F24Textbook_MD/04-production/production.md +178 -0
  77. data/F24Textbook_MD/04-production/shifts.md +296 -0
  78. data/F24Textbook_MD/05-utility/budget-constraints.md +166 -0
  79. data/F24Textbook_MD/05-utility/index.md +15 -0
  80. data/F24Textbook_MD/05-utility/utility.md +136 -0
  81. data/F24Textbook_MD/06-inequality/historical-inequality.md +253 -0
  82. data/F24Textbook_MD/06-inequality/index.md +15 -0
  83. data/F24Textbook_MD/06-inequality/inequality.md +226 -0
  84. data/F24Textbook_MD/07-game-theory/bertrand.md +257 -0
  85. data/F24Textbook_MD/07-game-theory/cournot.md +333 -0
  86. data/F24Textbook_MD/07-game-theory/equilibria-oligopolies.md +96 -0
  87. data/F24Textbook_MD/07-game-theory/expected-utility.md +61 -0
  88. data/F24Textbook_MD/07-game-theory/index.md +19 -0
  89. data/F24Textbook_MD/07-game-theory/python-classes.md +340 -0
  90. data/F24Textbook_MD/08-development/index.md +35 -0
  91. data/F24Textbook_MD/09-macro/CentralBanks.md +101 -0
  92. data/F24Textbook_MD/09-macro/Indicators.md +77 -0
  93. data/F24Textbook_MD/09-macro/fiscal_policy.md +36 -0
  94. data/F24Textbook_MD/09-macro/index.md +14 -0
  95. data/F24Textbook_MD/09-macro/is_curve.md +76 -0
  96. data/F24Textbook_MD/09-macro/phillips_curve.md +70 -0
  97. data/F24Textbook_MD/10-finance/index.md +10 -0
  98. data/F24Textbook_MD/10-finance/options.md +178 -0
  99. data/F24Textbook_MD/10-finance/value-interest.md +60 -0
  100. data/F24Textbook_MD/11-econometrics/index.md +16 -0
  101. data/F24Textbook_MD/11-econometrics/multivariable.md +218 -0
  102. data/F24Textbook_MD/11-econometrics/reading-econ-papers.md +25 -0
  103. data/F24Textbook_MD/11-econometrics/single-variable.md +483 -0
  104. data/F24Textbook_MD/11-econometrics/statsmodels.md +58 -0
  105. data/F24Textbook_MD/12-environmental/KuznetsHypothesis-Copy1.md +187 -0
  106. data/F24Textbook_MD/12-environmental/KuznetsHypothesis.md +187 -0
  107. data/F24Textbook_MD/12-environmental/MAC.md +254 -0
  108. data/F24Textbook_MD/12-environmental/index.md +36 -0
  109. data/F24Textbook_MD/LICENSE.md +11 -0
  110. data/F24Textbook_MD/intro.md +26 -0
  111. data/F24Textbook_MD/references.md +25 -0
  112. data/F24Textbook_MD/summary.yaml +414 -0
  113. metadata +155 -0
@@ -0,0 +1,436 @@
1
+ ---
2
+ title: "Lecture 9 - Game Theory\_"
3
+ type: slides
4
+ week: 9
5
+ source_path: "/Users/ericvandusen/Documents/Data88E-ForTraining/F24LS/Lecture 9 - Game Theory_.pptx"
6
+ ---
7
+
8
+ ## Slide 1: Data 88E: Economic Models
9
+
10
+ - Lecture 9: Game Theory
11
+
12
+ ## Slide 2: Announcements
13
+
14
+ - Assignments
15
+ - Project 3 will be released
16
+ - Its hard and complicated, don't snooze on it
17
+ - Use the textbook!
18
+ - Lab 8 will be released and will be due October 29
19
+ - https://cdss.berkeley.edu/dsus/advising-week
20
+ - Econ 148
21
+ - https://classes.berkeley.edu/content/2025-spring-econ-148-001-lec-001
22
+
23
+ ## Slide 3: https://www.econ148.org/sp24/
24
+
25
+ ## Slide 4: Nobel Prize in Economics 2024
26
+
27
+ ## Slide 5: Nobel Prize in Economics 2024
28
+
29
+ - Growth - Which countries become wealthy
30
+ - Colonization
31
+ - Extractive Institutions - just benefited those in power
32
+ - Inclusive Institutions - become more prosperous overall
33
+ - Democracy Matters - for long term Economic Growth
34
+
35
+ ## Slide 6: Nobel Prize in Economics 2024
36
+
37
+ - Acemoglu and Johnson 2023
38
+ - To achieve the true potential of innovation, we need to ensure technology is creating new jobs and opportunities rather than marginalizing most people, through automated work and political passivity. We need to use the tremendous digital advances of the last half century to create useful and empowering tools, and seize back control from a small elite of hubristic, messianic tech leaders pursuing
39
+ - their own interests.
40
+
41
+ ## Slide 7: We used to run this as a skit in class
42
+
43
+ - We used to run this as a skit in class
44
+
45
+ ## Slide 8: Silent “Rat out”
46
+
47
+ ( -1, -1) ( -20,0)
48
+
49
+ ( 0, -20 ) ( -10, -10)
50
+
51
+ - Silent “Rat out”
52
+ - ( -1, -1) ( -20,0)
53
+ - ( 0, -20 ) ( -10, -10)
54
+ - We used to run this as a skit in class
55
+ - Silent
56
+ - “Rat out”
57
+
58
+ ## Slide 9: Lecture 8 Outline
59
+
60
+ - Game Theory Overview
61
+ - Strategy
62
+ - Prisoner’s Dilemma
63
+ - Nash Equilibria
64
+ - Oligopolies
65
+ - Cournot Competition
66
+ - Bertrand Competition
67
+ - Iterated Prisoner’s Dilemma
68
+ - A Healthy Dose of Irony: Webcam Placement Study
69
+
70
+ ## Slide 10: Branch of mathematics concerned with the strategic interaction of rational decision-makers
71
+ Different types of games:
72
+ cooperative vs. non-cooperative
73
+ symmetric vs. asymmetric
74
+ simultaneous vs. sequential
75
+ perfect vs. imperfect information
76
+ We will study simultaneous games of perfect information.
77
+
78
+ - Branch of mathematics concerned with the strategic interaction of rational decision-makers
79
+ - Different types of games:
80
+ - cooperative vs. non-cooperative
81
+ - symmetric vs. asymmetric
82
+ - simultaneous vs. sequential
83
+ - perfect vs. imperfect information
84
+ - We will study simultaneous games of perfect information.
85
+ - Game Theory
86
+
87
+ ## Slide 11: Cooperative vs Non-Cooperative
88
+
89
+ - Players = individual agents
90
+ - Coalitions = groups of players
91
+ - Payoffs = individual payoffs or shares of a total payout
92
+ - Binding Agreements = some enforcement of payoff shares
93
+ - Prisoner’s Dilemma - non-cooperative Game
94
+ - Labor Union negotiations?
95
+
96
+ ## Slide 12: C02 Emissions?
97
+
98
+ - Climate Change affects all
99
+ - Droughts, Hurricanes, Wildfires
100
+ - Economics Cost of limiting fossil fuels felt locally
101
+ - Incentive to Defect in Prisoner’s Dilemma
102
+ - https://ourworldindata.org/co2-and-greenhouse-gas-emissions
103
+
104
+ ## Slide 13: (untitled)
105
+
106
+ ## Slide 14: Kyoto Protocol ~ Paris Agreement
107
+
108
+ - Measure - Take Stock
109
+ - Plan to Reduce
110
+
111
+ ## Slide 15: Symmetric vs Asymmetric
112
+
113
+ - Both players have the same information, rules , strategy
114
+ - Both players have same outcome set
115
+ - Chess - symmetric
116
+ - Poker - players have different hands -
117
+ - part of play is revealing about other players hands
118
+ - Sports - different strengths, strategies
119
+ - home field advantage
120
+ - In a game theory payoff matrix
121
+ - Values are the same for each player
122
+ - Symmetry is often a simplifying assumption
123
+
124
+ ## Slide 16: Simultaneous vs Non-Simultaneous
125
+
126
+ - Both players are making a simultaneous choice unknown to the other
127
+ - Prisoners Dilemma - each are in a separate room making a deal
128
+ - Rock-Paper-Scissors - making a simultaneous choice
129
+ - Non - Simultaneous
130
+ - First Mover advantage ( move to block other players)
131
+ - Second Mover advantage ( move to unseat incumbent)
132
+
133
+ ## Slide 17: Perfect vs Imperfect Information
134
+
135
+ - Perfect Information
136
+ - Transparency - both sides know the rules
137
+ - No Uncertainty - outcomes are certain
138
+ - No Hidden information - both sides may know each others capacity
139
+ - Imperfect information
140
+ - Rules, setup of game not known
141
+ - Uncertainty - chance outcomes
142
+ - Hidden information - other players position
143
+
144
+ ## Slide 18: Aside - Bots taking over Online Poker
145
+
146
+ - https://www.bloomberg.com/features/2024-poker-bots-artificial-intelligence-russia
147
+
148
+ ## Slide 19: Strategies
149
+
150
+ - Systematic methods of playing games
151
+ - tell players what move to make based on available information
152
+ - essentially a probability distribution over a player’s choices
153
+ - Different types
154
+ - pure strategies put all probability on a single choice
155
+ - mixed strategies divide probabilities over an array of choices
156
+ - Strategies can be random but often aren’t
157
+ - expected utility is a common counter-strategy for randomness
158
+ - Nash equilibria (if they exist) tell us the “best” move to make in games of imperfect information
159
+ - Project - Program Strategies to play a series of games
160
+
161
+ ## Slide 20: Aside: Payoff Matrices - phase 1 enrollment
162
+
163
+ - Alan is trying to schedule his classes and wants to enroll in two classes with conflicting final exam times. One class will not give accommodations and is required for his degree. Alan knows the other class will give an accommodation with probability 0.6. Consider the payoff matrix below.
164
+
165
+ ## Slide 21: Expected Utility
166
+
167
+ - Enroll in both 0.6 \* 10 + 0.4 \* -10 = 2
168
+ - Don’t enroll in both 0.6\* 2 + 0.4 \*5 = 3.2
169
+
170
+ ## Slide 22: Expected Utility Hypothesis
171
+
172
+ - The expected utility of a set of n outcomes xi is the average utility of each outcome u(xi) weighted by the probability of that outcome’s occurrence pi:
173
+ - The expected utility hypothesis says that when an individual makes a gamble, they will choose the option that maximizes their expected utility
174
+ - the utility of each option is based on their preferences
175
+ - Expected utility maximization (under the EUH) is one way of strategizing in the face of randomness
176
+
177
+ ## Slide 23: Prisoner’s Dilemma
178
+
179
+ - Prolific game first considered in the 1950s
180
+ - Single-round symmetric simultaneous non-cooperative game of perfect information
181
+ - Each prisoner can either cooperate (maintain their silence) or defect (talk to the police)
182
+ - Does this sound familiar?
183
+ - Reading the payoff matrix: a higher value (more years in prison) is worse! our goal is to minimize the values in the payoff matrix
184
+
185
+ ## Slide 24: Nash Equilibrium
186
+
187
+ - A set of strategy choices in a non-cooperative game in which no player can increase their payoff by unilaterally changing their strategy.
188
+
189
+ ## Slide 25: Nash Equilibrium
190
+
191
+ - A set of strategy choices in a non-cooperative game in which no player can increase their payoff by unilaterally changing their strategy.
192
+ - What about the prisoner’s dilemma?
193
+
194
+ <details><summary>Speaker notes</summary>
195
+
196
+ Annotate
197
+
198
+ </details>
199
+
200
+ ## Slide 26: Nash Equilibrium
201
+
202
+ - A set of strategy choices in a non-cooperative game in which no player can increase their payoff by unilaterally changing their strategy.
203
+ - What about the prisoner’s dilemma?
204
+ - Nash equilibria can be read from payoff matrices: to see if a game state is a Nash equilibrium, the first value in the cell must be the maximum among all first values in that column and the second value must be the maximum across all second values in that row.
205
+
206
+ ## Slide 27: Oligopolies
207
+
208
+ - Markets in which the number of participants is limited, e.g. airlines
209
+ - Allow their participants to function collectively in a manner similar to a monopoly
210
+ - when this collective monopoly is illegal, these are referred to as cartels
211
+
212
+ ## Slide 28: Oligopolies
213
+
214
+ - Markets in which the number of participants is limited, e.g. airlines
215
+ - Allow their participants to function collectively in a manner similar to a monopoly
216
+ - when this collective monopoly is illegal, these are referred to as cartels
217
+ - Within oligopolies, however, we can observe competition
218
+ - participants try to take market share by lowering prices below the agreed-upon floor
219
+
220
+ ## Slide 29: Oligopolies
221
+
222
+ - Within oligopolies, however, we can observe competition
223
+ - participants try to take market share by lowering prices below the agreed-upon floor
224
+ - e.g. 2020 oil price war that was started when Saudi Arabia lowered its prices below the OPEC price in response to Russia refusing to reduce production
225
+
226
+ ## Slide 30: Opec Market Share over time
227
+
228
+ ## Slide 31: US enters the stage as top producer and large exporter
229
+
230
+ ## Slide 32: Cournot Competition
231
+
232
+ - Model of a market in which firms compete by changing their output
233
+ - market has a fixed number of firms that produce the same product
234
+ - firms do not collude but have market power
235
+ - each firm knows the number of firms and has its own cost function used to determine its level of output
236
+ - firms share a single, fixed marginal cost
237
+ - Monopoly
238
+ - downward sloping Demand curve
239
+ - Marginal revenue downward sloping
240
+ - Homogeneous project
241
+ - No product differentiation
242
+
243
+ ## Slide 33: Cournot Competition
244
+
245
+ - OPEC is a good example of a Cournot oligopoly
246
+ - its members affect market prices by changing their level of production
247
+ - but this shows a flaw: Cournot equilibrium implies that collusion is the rational policy, but game theory shows us that cartel members undercut one-another
248
+ - 40% of global production 60% of exports
249
+
250
+ ## Slide 34: (untitled)
251
+
252
+ ## Slide 35: What are we trying to do?
253
+
254
+ - We want to find the quantities that maximize firm 1 and 2’s profit
255
+ - Recall from the supply and demand units that firms maximize profits when they produce where marginal cost equals marginal revenue.
256
+ - However, the marginal revenue changes depending on the quantity produced.
257
+
258
+ ## Slide 36: What do these Best Response Functions Tell Us?
259
+
260
+ - This graph depicts two cases; one where firm 2 produces so little that firm 1’s best response is to become a monopoly and overtake the market, the other is where firm 2 produces so much that firm 1’s best response is to produce 0.
261
+ - The best response functions are great because they give us a profit-maximizing output for every possible quantity the other firm can produce at.
262
+ - However, a best response function is not the Nash Equilibrium.
263
+
264
+ ## Slide 37: Finding the Nash Equilibrium - Python Sympy
265
+
266
+ - Another way to look at Nash Equilibria is both players mutually best responding to each other.
267
+ - In the context of this game this is where both player’s best response functions intersect.
268
+
269
+ ## Slide 38: Aside on finding the Nash Equilibrium Algebraically
270
+
271
+ - This math is not necessary for this class, but it may be useful to your own understanding.
272
+
273
+ ## Slide 39: Cournot
274
+
275
+ - Each firm knows market demand but doesn’t know others quantity
276
+ - Each firm considers the reaction of others when it set own quantity
277
+ - Oligopoly - lower quantities and higher prices than perfect competition
278
+ - Nash Equilibrium - when each firm has no incentive to change output
279
+
280
+ ## Slide 40: Aside - Meat packing
281
+
282
+ - I brought this up in Demand Lecture 2
283
+ - Four companies control 80% Beef and 65% Pork
284
+ - Whether there is a cartel is a huge lawsuit right now
285
+
286
+ ## Slide 41: USDA
287
+
288
+ - Reduce purchases of beef cattle
289
+ - Coordinate Purchases
290
+ - Idle plants, reduce capacity
291
+ - https://www.choicesmagazine.org/choices-magazine/submitted-articles/is-there-price-fixing-in-the-us-beef-packing-industry
292
+
293
+ ## Slide 42: Collusion - Oligopoly and Data - Information Sharing
294
+
295
+ - The availability of price and other market information for industry participants facilitates transparent price discovery and increases market efficiency, which generally has substantial procompetitive effects, with no harm to competition involved. However, in the case of imperfectly competitive industries, publicly available price and other market information may facilitate information exchanges among competitors, some of which may have anticompetitive effects (Bloom, 2014). The firms with market power can use price and other market information to facilitate their tacit or overt collusion and to effectively enforce it. Tacit collusion is a coordinated conduct of firms with market power that does not involve an explicit agreement among them in violation of Section 1 of the Sherman Act. Overt collusion is a coordinated conduct of firms with marketpower that involves an explicit agreement among them, which would violate Section 1 of the Sherman Act.
296
+ - There are opinions expressed in academic literature that may suggest that the Livestock Mandatory Reporting Act might have created opportunities for tacit collusion in the beef packing industry (Wachenheim and DeVuyst, 2001; Cai, Stiegert, and Koontz 2011). In addition, some livestock producers expressed concerns that packers manipulated the USDA Agricultural Marketing Service Livestock Mandatory Reporting system (U.S. Department of Justice, 2012).
297
+ - Billions of dollars - explicit vs tacit collusion
298
+
299
+ ## Slide 43: Bertrand Competition
300
+
301
+ - Similar to Cournot, but instead firms compete by changing price rather than output
302
+ - assumes consumers want to pay the lowest price for goods
303
+ - they will buy everything at the lower price
304
+ - assumes that the firm offering the lower price has the capacity to meet the demand of the entire market at that price
305
+ - if prices are equal, demand will be split evenly among them
306
+ - predicts that even small competition (e.g. a duopoly) will result in prices being reduced to the marginal cost level
307
+
308
+ ## Slide 44: Bertrand Competition
309
+
310
+ - Similar to Cournot, but instead firms compete by changing price rather than output
311
+ - assumes consumers want to pay the lowest price for goods
312
+ - they will buy everything at the lower price
313
+ - assumes that the firm offering the lower price has the capacity to meet the demand of the entire market at that price
314
+ - if prices are equal, demand will be split evenly among them
315
+ - predicts that even small competition (e.g. a duopoly) will result in prices being reduced to the marginal cost level
316
+ - Coke vs. Pepsi is a good example of a Bertrand duopoly
317
+ - both firms compete on price and take into account the price of their competitor
318
+ - Defection benefits consumer
319
+
320
+ ## Slide 45: Bertrand Competition
321
+
322
+ - Implications:
323
+ - even a duopoly in a market is enough competition to push prices down to the level of perfect competition
324
+ - but this model relies on serious assumptions
325
+ - there are many reasons why consumers might not buy the lowest-priced item (e.g. non-price competition, search costs)
326
+ - ignores the fact that firms may not be able to supply the entire market
327
+ - including these factors results in a different conclusion
328
+
329
+ ## Slide 46: Bertrand Competition
330
+
331
+ - Implications:
332
+ - even a duopoly in a market is enough competition to push prices down to the level of perfect competition
333
+ - but this model relies on serious assumptions
334
+ - there are many reasons why consumers might not buy the lowest-priced item (e.g. non-price competition, search costs)
335
+ - ignores the fact that firms may not be able to supply the entire market
336
+ - including these factors results in a different conclusion
337
+ - the model also demonstrates big incentives to cooperate and raise prices to the monopoly level
338
+ - but this is not the Nash equilibrium of the model
339
+
340
+ ## Slide 47: Firm 1 - setting price given P2
341
+
342
+ - Monopoly Price
343
+ - Cost of Production - eg perf Comp price
344
+ - h= the cost to undercut
345
+ - (and get customers to switch)
346
+
347
+ ## Slide 48: Bertrand - both firms reaction function
348
+
349
+ - Nash Equilibrium at Marginal Cost
350
+ - Because of perfect competition
351
+
352
+ ## Slide 49: Bertrand Competition
353
+
354
+ ## Slide 50: Bertrand Competition
355
+
356
+ ## Slide 51: Iterated Prisoner’s Dilemma
357
+
358
+ - Paradigm in which the prisoner’s dilemma is played repeatedly over multiple rounds
359
+ - Players know the history of their opponent but not their current move
360
+ - Was used to model the Cold War and MAD in the 1950’s
361
+ - different strategies for playing this game were analyzed in order to see which was most effective at winning the game
362
+ - A famous tournament for the Iterated Prisoner’s Dilemma was run by Robert Axelrod
363
+ - the winning strategy at this tournament was tit-for-tat
364
+ - excellent episode of Radiolab on this tournament
365
+
366
+ ## Slide 52: Podcast - History of mathematical approaches to PD
367
+
368
+ ## Slide 53: Play this game to learn about strategies
369
+
370
+ - https://ncase.me/trust
371
+
372
+ ## Slide 54: Python - Strategies and Iterated Games
373
+
374
+ - Python
375
+ - Build a Strategy for a player to play over a series of games
376
+ - Build a tournament
377
+ - Run a tournament with competing strategies
378
+ - Tit-For-Tat, Forgiver, Backstabber, Fool-me-once
379
+
380
+ ## Slide 55: (untitled)
381
+
382
+ ## Slide 56: Project 3
383
+
384
+ - In Project 3, you will
385
+ - study the iterated prisoner’s dilemma and recreate Axelrod’s tournament
386
+ - study an experiment by Thomas and Pemstein (2015) relating the perception of height to game strategies
387
+ - recreate the analysis of Thomas and Pemstein (2015) using A/B testing
388
+ - webcam placement influences leader-follower behavior in games
389
+
390
+ ## Slide 57: Web Camera Angle
391
+
392
+ - https://www.frontiersin.org/articles/10.3389/fpsyg.2015.00306/full\#F1
393
+
394
+ ## Slide 58: Payoff Strategy in Webcam Game
395
+
396
+ ## Slide 59: Project 3
397
+
398
+ - Learn about Python Classes in the Textbook
399
+ - players.py
400
+
401
+ ## Slide 60: Lecture Notebook
402
+
403
+ - Play out the game that you will program into a tournament
404
+
405
+ ## Slide 61: Lab - Tragedy of the Commons
406
+
407
+ - What is the tragedy of the commons?
408
+
409
+ ## Slide 62: Tragedy of the Commons - Lloyd
410
+
411
+ - Lloyd 1833 - Over grazing of common Lands
412
+ - Each herder can add one more cattle
413
+ - But overall leads to degradation of pasture
414
+ - How does this represent a multi-player game?
415
+
416
+ ## Slide 63: Tragedy of the Commons - Hardin 1968
417
+
418
+ - Human Overpopulation
419
+ - Each family has an incentive to have more kids
420
+ - Overpopulation leads to environmental disaster
421
+ - Welfare State enables families to avoid consequences of large families
422
+ - Very influential article
423
+ - Biology -> Competition
424
+
425
+ ## Slide 64: Tragedy of the Commons - Elinor Ostrom - Nobel 2009
426
+
427
+ - Hardin was wrong
428
+ - Common Property Resources
429
+ - Society figures out how to control over exploitation of resources
430
+ - Groundwater in California
431
+ - Grazing in Switzerland
432
+ - Fishing in Maine
433
+ - Irrigation in Spain
434
+ - Multiple Equilibria are possible
435
+ - Institutions Matter
436
+
@@ -0,0 +1,105 @@
1
+ - file: Lecture 1 - Introduction and Overview.md
2
+ title: Lecture 1 - Introduction and Overview
3
+ type: slides
4
+ source_path: /Users/ericvandusen/Documents/Data88E-ForTraining/F24LS/Lecture 1 -
5
+ Introduction and Overview.pptx
6
+ week: 1
7
+ order: 1
8
+ - file: Lecture 2 - Demand.md
9
+ title: Lecture 2 - Demand
10
+ type: slides
11
+ source_path: /Users/ericvandusen/Documents/Data88E-ForTraining/F24LS/Lecture 2 -
12
+ Demand.pptx
13
+ week: 2
14
+ order: 2
15
+ - file: Lecture 3 - Supply.md
16
+ title: Lecture 3 - Supply
17
+ type: slides
18
+ source_path: /Users/ericvandusen/Documents/Data88E-ForTraining/F24LS/Lecture 3 -
19
+ Supply.pptx
20
+ week: 3
21
+ order: 3
22
+ - file: ' Lecture 4 - Public.md'
23
+ title: ' Lecture 4 - Public'
24
+ type: slides
25
+ source_path: /Users/ericvandusen/Documents/Data88E-ForTraining/F24LS/ Lecture 4
26
+ - Public.pptx
27
+ week: 4
28
+ order: 4
29
+ - file: Lecture 5 - Production C-D.md
30
+ title: Lecture 5 - Production C-D
31
+ type: slides
32
+ source_path: /Users/ericvandusen/Documents/Data88E-ForTraining/F24LS/Lecture 5 -
33
+ Production C-D.pptx
34
+ week: 5
35
+ order: 5
36
+ - file: Lecture 6 - Utility and Latex.md
37
+ title: Lecture 6 - Utility and Latex
38
+ type: slides
39
+ source_path: /Users/ericvandusen/Documents/Data88E-ForTraining/F24LS/Lecture 6 -
40
+ Utility and Latex.pptx
41
+ week: 6
42
+ order: 6
43
+ - file: Lecture 7 - Inequality.md
44
+ title: Lecture 7 - Inequality
45
+ type: slides
46
+ source_path: /Users/ericvandusen/Documents/Data88E-ForTraining/F24LS/Lecture 7 -
47
+ Inequality.pptx
48
+ week: 7
49
+ order: 7
50
+ - file: Lecture 8 - Macroeconomics.md
51
+ title: Lecture 8 - Macroeconomics
52
+ type: slides
53
+ source_path: /Users/ericvandusen/Documents/Data88E-ForTraining/F24LS/Lecture 8 -
54
+ Macroeconomics.pptx
55
+ week: 8
56
+ order: 8
57
+ - file: Lecture 8 - Macro.md
58
+ title: Lecture 8 - Macro
59
+ type: slides
60
+ source_path: /Users/ericvandusen/Documents/Data88E-ForTraining/F24LS/Lecture 8 -
61
+ Macro.pptx
62
+ week: 8
63
+ order: 9
64
+ - file: Lecture 9 - Game Theory_.md
65
+ title: Lecture 9 - Game Theory 
66
+ type: slides
67
+ source_path: /Users/ericvandusen/Documents/Data88E-ForTraining/F24LS/Lecture 9 -
68
+ Game Theory_.pptx
69
+ week: 9
70
+ order: 10
71
+ - file: Lecture 10 - Development_.md
72
+ title: Lecture 10 - Development 
73
+ type: slides
74
+ source_path: /Users/ericvandusen/Documents/Data88E-ForTraining/F24LS/Lecture 10
75
+ - Development_.pptx
76
+ week: 10
77
+ order: 11
78
+ - file: Lecture 11 - Econometrics.md
79
+ title: Lecture 11 - Econometrics
80
+ type: slides
81
+ source_path: /Users/ericvandusen/Documents/Data88E-ForTraining/F24LS/Lecture 11
82
+ - Econometrics.pptx
83
+ week: 11
84
+ order: 12
85
+ - file: Lecture 12 - Finance.md
86
+ title: Lecture 12 - Finance
87
+ type: slides
88
+ source_path: /Users/ericvandusen/Documents/Data88E-ForTraining/F24LS/Lecture 12
89
+ - Finance.pptx
90
+ week: 12
91
+ order: 13
92
+ - file: Lecture 13 - Environmental Economics.md
93
+ title: Lecture 13 - Environmental Economics
94
+ type: slides
95
+ source_path: /Users/ericvandusen/Documents/Data88E-ForTraining/F24LS/Lecture 13
96
+ - Environmental Economics.pptx
97
+ week: 13
98
+ order: 14
99
+ - file: Lecture 15 - Conclusion.md
100
+ title: Lecture 15 - Conclusion
101
+ type: slides
102
+ source_path: /Users/ericvandusen/Documents/Data88E-ForTraining/F24LS/Lecture 15
103
+ - Conclusion.pptx
104
+ week: 15
105
+ order: 15