-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlecture 9.html
722 lines (366 loc) · 23.8 KB
/
lecture 9.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
<!DOCTYPE HTML>
<html lang="" >
<head>
<meta charset="UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>9. 混合策略:网球比赛 · GitBook</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="description" content="">
<meta name="generator" content="GitBook 3.2.3">
<link rel="stylesheet" href="gitbook/style.css">
<link rel="stylesheet" href="gitbook/gitbook-plugin-intopic-toc/style.css">
<link rel="stylesheet" href="gitbook/gitbook-plugin-search-pro/search.css">
<link rel="stylesheet" href="gitbook/gitbook-plugin-splitter/splitter.css">
<link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
<link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
<link rel="stylesheet" href="gitbook/gitbook-plugin-theme-comscore/test.css">
<meta name="HandheldFriendly" content="true"/>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
<link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">
<link rel="next" href="lecture 10.html" />
<link rel="prev" href="lecture 8.html" />
</head>
<body>
<div class="book">
<div class="book-summary">
<div id="book-search-input" role="search">
<input type="text" placeholder="Type to search" />
</div>
<nav role="navigation">
<ul class="summary">
<li class="chapter " data-level="1.1" data-path="./">
<a href="./">
前言
</a>
</li>
<li class="chapter " data-level="1.2" data-path="lecture 1.html">
<a href="lecture 1.html">
1. 五个入门结论
</a>
</li>
<li class="chapter " data-level="1.3" data-path="lecture 2.html">
<a href="lecture 2.html">
2. 学会换位思考
</a>
</li>
<li class="chapter " data-level="1.4" data-path="lecture 3.html">
<a href="lecture 3.html">
3. 迭代剔除和中心选民定理
</a>
</li>
<li class="chapter " data-level="1.5" data-path="lecture 4.html">
<a href="lecture 4.html">
4. 足球比赛和商业合作的最佳对策
</a>
</li>
<li class="chapter " data-level="1.6" data-path="lecture 5.html">
<a href="lecture 5.html">
5. 纳什均衡:坏风气与银行挤兑
</a>
</li>
<li class="chapter " data-level="1.7" data-path="lecture 6.html">
<a href="lecture 6.html">
6. 纳什均衡:约会与古诺模型
</a>
</li>
<li class="chapter " data-level="1.8" data-path="lecture 7.html">
<a href="lecture 7.html">
7. 纳什均衡:伯川模型与选民投票
</a>
</li>
<li class="chapter " data-level="1.9" data-path="lecture 8.html">
<a href="lecture 8.html">
8. 纳什均衡:立场选择、种族隔离
</a>
</li>
<li class="chapter active" data-level="1.10" data-path="lecture 9.html">
<a href="lecture 9.html">
9. 混合策略:网球比赛
</a>
</li>
<li class="chapter " data-level="1.11" data-path="lecture 10.html">
<a href="lecture 10.html">
10. 混合策略:棒球、约合与付税
</a>
</li>
<li class="chapter " data-level="1.12" data-path="lecture 11.html">
<a href="lecture 11.html">
11. 进化稳定:合作、冲突与平衡
</a>
</li>
<li class="chapter " data-level="1.13" data-path="lecture 12.html">
<a href="lecture 12.html">
12. 进化稳定:社会公约、侵略和周期
</a>
</li>
<li class="chapter " data-level="1.14" data-path="lecture 13.html">
<a href="lecture 13.html">
13. 顺序游戏:道德风险、奖励和饥饿狮子
</a>
</li>
<li class="chapter " data-level="1.15" data-path="lecture 14.html">
<a href="lecture 14.html">
14. 落后的感应:间谍与先手优势
</a>
</li>
<li class="chapter " data-level="1.16" data-path="lecture 15.html">
<a href="lecture 15.html">
15. 落后的感应:道德风险、战略和可信威胁
</a>
</li>
<li class="chapter " data-level="1.17" data-path="lecture 16.html">
<a href="lecture 16.html">
16. 落后的感应:声誉和决斗
</a>
</li>
<li class="chapter " data-level="1.18" data-path="lecture 17.html">
<a href="lecture 17.html">
17. 最后通牒和讨价还价
</a>
</li>
<li class="chapter " data-level="1.19" data-path="lecture 18.html">
<a href="lecture 18.html">
18. 信息集和子博弈完美
</a>
</li>
<li class="chapter " data-level="1.20" data-path="lecture 19.html">
<a href="lecture 19.html">
19. 招商引资和战略投资
</a>
</li>
<li class="chapter " data-level="1.21" data-path="lecture 20.html">
<a href="lecture 20.html">
20. 战争的消耗
</a>
</li>
<li class="chapter " data-level="1.22" data-path="lecture 21.html">
<a href="lecture 21.html">
21. 合作
</a>
</li>
<li class="chapter " data-level="1.23" data-path="lecture 22.html">
<a href="lecture 22.html">
22. 作弊、惩罚与外包
</a>
</li>
<li class="chapter " data-level="1.24" data-path="lecture 23.html">
<a href="lecture 23.html">
23. 沉默、信令和教育
</a>
</li>
<li class="chapter " data-level="1.25" data-path="lecture 24.html">
<a href="lecture 24.html">
24. 拍卖和获奖者的诅咒
</a>
</li>
<li class="chapter " data-level="1.26" data-path="术语表.html">
<a href="术语表.html">
术语表
</a>
</li>
<li class="divider"></li>
<li>
<a href="https://www.gitbook.com" target="blank" class="gitbook-link">
Published with GitBook
</a>
</li>
</ul>
</nav>
</div>
<div class="book-body">
<div class="body-inner">
<div class="book-header" role="navigation">
<!-- Title -->
<h1>
<i class="fa fa-circle-o-notch fa-spin"></i>
<a href="." >9. 混合策略:网球比赛</a>
</h1>
</div>
<div class="page-wrapper" tabindex="-1" role="main">
<div class="page-inner">
<div id="book-search-results">
<div class="search-noresults">
<section class="normal markdown-section">
<h1 id="lecture-9">Lecture 9</h1>
<p>上一节课我们引入了一个新的概念:mixed strategies。这也是接下来几节课的重点。</p>
<p><script type="math/tex; ">p_i</script>表示使用每一个策略的概率</p>
<ul>
<li><script type="math/tex; ">p_i(s_i)</script>表示对于pure strategy <script type="math/tex; ">s_i</script>的概率是<script type="math/tex; ">p_i</script></li>
<li><script type="math/tex; ">p_i(s_i)</script>可以是0,例如(0.5, 0.5, 0); 也可以是1,这个时候表示pure strategy.也就是说我们之前所有的博弈策略都是它的子集。</li>
</ul>
<p>payoffs from the mixed strategy:</p>
<p>The expected payoff of the mixed strategy 就是期望。</p>
<h2 id="计算混合策略的期望例子">计算混合策略的期望例子</h2>
<table>
<thead>
<tr>
<th></th>
<th>a</th>
<th>b</th>
<th>A, B选择的概率</th>
</tr>
</thead>
<tbody>
<tr>
<td>A</td>
<td>2, 1</td>
<td>0, 0</td>
<td><script type="math/tex; ">\frac{1}{5}</script></td>
</tr>
<tr>
<td>B</td>
<td>0, 0</td>
<td>1, 2</td>
<td><script type="math/tex; ">\frac{4}{5}</script></td>
</tr>
<tr>
<td>a, b选择的概率</td>
<td><script type="math/tex; ">\frac{1}{2}</script></td>
<td><script type="math/tex; ">\frac{1}{2}</script></td>
</tr>
</tbody>
</table>
<p>因此玩家1的mixed strategy p = (1/5, 4/5)</p>
<p>玩家2的mixed strategy q = (1/2, 1/2)。</p>
<p>那么如何计算p的payoffs呢?</p>
<p>分成两部,首先计算pure strategy的期望,然后计算混合期望:</p>
<ol>
<li><script type="math/tex; ">Eu_1(A, q) = 2*0.5+0*0.5 = 1</script></li>
</ol>
<p><script type="math/tex; ">Eu_1(B, q) = 0*0.5+1*0.5 = 0.5</script></p>
<ol>
<li>计算混合期望:</li>
</ol>
<p><script type="math/tex; ">Eu_1(p, q) = 0.2*1+0.8*0.5 = 0.6</script></p>
<p><div class="alert alert-success" style="display: table"><i class="fa fa-check" style="float: left; padding: 5px"></i><div style="margin-left: 32px"><p> 如何混合策略是最佳对策,那么混合策略中的每一个pure strategy 也必须是最佳对策。也就是说,每一个都必须产生相同的payoffs。</p>
</div></div></p>
<p>解释:如果有一个pure strategy不是最佳对策,那么就会拉低其他的平均期望。</p>
<p>定义:A mixed strategy profile <script type="math/tex; ">(p_1^*, p_2^*, \dots, p_n^*)</script>在NE 当且仅当对每一个i,<script type="math/tex; ">p_i^*</script>都是最佳对策。</p>
<h2 id="网球比赛">网球比赛</h2>
<table>
<thead>
<tr>
<th style="text-align:center"></th>
<th style="text-align:center">l</th>
<th style="text-align:center">r</th>
<th style="text-align:center">L, R选择的概率</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">L</td>
<td style="text-align:center">50, 50</td>
<td style="text-align:center">80, 20</td>
<td style="text-align:center">p</td>
</tr>
<tr>
<td style="text-align:center">R</td>
<td style="text-align:center">90, 10</td>
<td style="text-align:center">20, 80</td>
<td style="text-align:center">1-p</td>
</tr>
<tr>
<td style="text-align:center">l, r选择的概率</td>
<td style="text-align:center">q</td>
<td style="text-align:center">1-q</td>
</tr>
</tbody>
</table>
<p>找到纳什均衡点,那么玩家1的两个pure strategy的期望必须相等!</p>
<p><script type="math/tex; ">Eu_1(L, q) = 50q+80(1-q)</script></p>
<p><script type="math/tex; ">Eu_1(R, q) = 90q+20(1-q)</script></p>
<p>令两者相等(也就是对于任意一种pure strategy,它们的payoffs必须相等):</p>
<p><script type="math/tex; ">50q+80(1-q) = 90q+20(1-q)</script>, 得到<script type="math/tex; ">q = 0.6</script></p>
<p>同理可以求得p = 0.7</p>
<p>因此<script type="math/tex; ">NE = [(0.7, 0.3), (0.6, 0.4)]</script></p>
<p>如果发现玩家2打左边的概率大于0.6,那么玩家1应该往右打,这样可以增加得分的概率。(可以通过计算获得)</p>
<h2 id="证明上面状态是纳什均衡点">证明上面状态是纳什均衡点</h2>
<p>我们将上面的概率带入:</p>
<p>玩家1的payoffs: L -> 50*0.6+80*0.4 = 0.62</p>
<p>R -> 0.62</p>
<p>因此mixed strategy payoffs = 0.62*0.7+0.62*0.3 = 0.62</p>
<p>我们改变(p, 1-p),发现无论怎么改变,总期望的收益都是不变的,因此没有<strong>严格大于</strong>其期望的策略,使得它能够大于0.62。</p>
<h2 id="微小扰动">微小扰动</h2>
<p>现在玩家2请了教练,增加了自己左手的能力,新的收益矩阵如下:</p>
<table>
<thead>
<tr>
<th style="text-align:center"></th>
<th style="text-align:center">l</th>
<th style="text-align:center">r</th>
<th style="text-align:center">L, R选择的概率</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">L</td>
<td style="text-align:center">30, 70</td>
<td style="text-align:center">80, 20</td>
<td style="text-align:center">p</td>
</tr>
<tr>
<td style="text-align:center">R</td>
<td style="text-align:center">90, 10</td>
<td style="text-align:center">20, 80</td>
<td style="text-align:center">1-p</td>
</tr>
<tr>
<td style="text-align:center">l, r选择的概率</td>
<td style="text-align:center">q</td>
<td style="text-align:center">1-q</td>
</tr>
</tbody>
</table>
<p>通过计算,p,q都会下降,这表明大家都会更多的通过右手进行比赛。</p>
<h2 id="mixed-strategy-examples">mixed strategy examples</h2>
<ul>
<li>足球射门</li>
<li>911后安检仪数量不足,机场放安检仪:他们就是随机进行检查。</li>
</ul>
</section>
</div>
<div class="search-results">
<div class="has-results">
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
<ul class="search-results-list"></ul>
</div>
<div class="no-results">
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
</div>
</div>
</div>
</div>
</div>
</div>
<a href="lecture 8.html" class="navigation navigation-prev " aria-label="Previous page: 8. 纳什均衡:立场选择、种族隔离">
<i class="fa fa-angle-left"></i>
</a>
<a href="lecture 10.html" class="navigation navigation-next " aria-label="Next page: 10. 混合策略:棒球、约合与付税">
<i class="fa fa-angle-right"></i>
</a>
</div>
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"9. 混合策略:网球比赛","level":"1.10","depth":1,"next":{"title":"10. 混合策略:棒球、约合与付税","level":"1.11","depth":1,"path":"lecture 10.md","ref":"./lecture 10.md","articles":[]},"previous":{"title":"8. 纳什均衡:立场选择、种族隔离","level":"1.9","depth":1,"path":"lecture 8.md","ref":"./lecture 8.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["callouts@git+https://github.com/Simran-B/gitbook-plugin-callouts.git","intopic-toc","theme-comscore","-lunr","-search","search-pro","github","splitter","-sharing","mathjax-pro"],"pluginsConfig":{"callouts":{"showTypeInHeader":true},"github":{"url":"https://github.com/KnowledgeHive/Game-Theory"},"intopic-toc":{"isCollapsed":false,"isScrollspyActive":true,"label":{"de":"导航","en":"导航","ch":"导航"},"maxDepth":6,"mode":"nested","selector":".markdown-section h1, .markdown-section h2, .markdown-section h3, .markdown-section h4, .markdown-section h5, .markdown-section h6","visible":true},"splitter":{},"search-pro":{},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-comscore":{},"mathjax-pro":{"forceSVG":false,"version":"2.7.7"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"lecture 9.md","mtime":"2021-02-11T08:55:28.411Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2021-02-13T12:48:29.901Z"},"basePath":".","book":{"language":""}});
});
</script>
</div>
<script src="gitbook/gitbook.js"></script>
<script src="gitbook/theme.js"></script>
<script src="gitbook/gitbook-plugin-intopic-toc/anchor.min.js"></script>
<script src="gitbook/gitbook-plugin-intopic-toc/gumshoe.polyfills.min.js"></script>
<script src="gitbook/gitbook-plugin-intopic-toc/plugin.js"></script>
<script src="gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
<script src="gitbook/gitbook-plugin-search-pro/search.js"></script>
<script src="gitbook/gitbook-plugin-github/plugin.js"></script>
<script src="gitbook/gitbook-plugin-splitter/splitter.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script src="gitbook/gitbook-plugin-mathjax-pro/plugin.js"></script>
<script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
<script src="gitbook/gitbook-plugin-theme-comscore/test.js"></script>
</body>
</html>