Skip to content

Commit 3292ed9

Browse files
committed
deploy: 674d888
1 parent 9fa065d commit 3292ed9

File tree

365 files changed

+10008
-9483
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

365 files changed

+10008
-9483
lines changed

BCG_complete_mkts.html

Lines changed: 33 additions & 64 deletions
Large diffs are not rendered by default.

BCG_incomplete_mkts.html

Lines changed: 21 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,19 @@
5656

5757
<script data-cfasync="false">
5858
document.documentElement.dataset.mode = localStorage.getItem("mode") || "";
59-
document.documentElement.dataset.theme = localStorage.getItem("theme") || "light";
59+
document.documentElement.dataset.theme = localStorage.getItem("theme") || "";
6060
</script>
6161

6262
<!-- Loaded before other Sphinx assets -->
63-
<link href="_static/styles/theme.css?digest=8d27b9dea8ad943066ae" rel="stylesheet" />
64-
<link href="_static/styles/bootstrap.css?digest=8d27b9dea8ad943066ae" rel="stylesheet" />
65-
<link href="_static/styles/pydata-sphinx-theme.css?digest=8d27b9dea8ad943066ae" rel="stylesheet" />
63+
<link href="_static/styles/theme.css?digest=dfe6caa3a7d634c4db9b" rel="stylesheet" />
64+
<link href="_static/styles/bootstrap.css?digest=dfe6caa3a7d634c4db9b" rel="stylesheet" />
65+
<link href="_static/styles/pydata-sphinx-theme.css?digest=dfe6caa3a7d634c4db9b" rel="stylesheet" />
6666

6767

68-
<link href="_static/vendor/fontawesome/6.5.1/css/all.min.css?digest=8d27b9dea8ad943066ae" rel="stylesheet" />
69-
<link rel="preload" as="font" type="font/woff2" crossorigin href="_static/vendor/fontawesome/6.5.1/webfonts/fa-solid-900.woff2" />
70-
<link rel="preload" as="font" type="font/woff2" crossorigin href="_static/vendor/fontawesome/6.5.1/webfonts/fa-brands-400.woff2" />
71-
<link rel="preload" as="font" type="font/woff2" crossorigin href="_static/vendor/fontawesome/6.5.1/webfonts/fa-regular-400.woff2" />
68+
<link href="_static/vendor/fontawesome/6.5.2/css/all.min.css?digest=dfe6caa3a7d634c4db9b" rel="stylesheet" />
69+
<link rel="preload" as="font" type="font/woff2" crossorigin href="_static/vendor/fontawesome/6.5.2/webfonts/fa-solid-900.woff2" />
70+
<link rel="preload" as="font" type="font/woff2" crossorigin href="_static/vendor/fontawesome/6.5.2/webfonts/fa-brands-400.woff2" />
71+
<link rel="preload" as="font" type="font/woff2" crossorigin href="_static/vendor/fontawesome/6.5.2/webfonts/fa-regular-400.woff2" />
7272

7373
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
7474
<link rel="stylesheet" href="_static/styles/quantecon-book-theme.css?digest=b09b2da44b9015b4fa76ea072fa2d8f7faee5492" type="text/css" />
@@ -80,9 +80,9 @@
8080
<link rel="stylesheet" type="text/css" href="_static/design-style.4045f2051d55cab465a707391d5b2007.min.css" />
8181

8282
<!-- Pre-loaded scripts that we'll load fully later -->
83-
<link rel="preload" as="script" href="_static/scripts/bootstrap.js?digest=8d27b9dea8ad943066ae" />
84-
<link rel="preload" as="script" href="_static/scripts/pydata-sphinx-theme.js?digest=8d27b9dea8ad943066ae" />
85-
<script src="_static/vendor/fontawesome/6.5.1/js/all.min.js?digest=8d27b9dea8ad943066ae"></script>
83+
<link rel="preload" as="script" href="_static/scripts/bootstrap.js?digest=dfe6caa3a7d634c4db9b" />
84+
<link rel="preload" as="script" href="_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
85+
<script src="_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
8686

8787

8888
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
@@ -264,23 +264,7 @@
264264
<img style="width:250px;display:inline;" width="250px" src="https://assets.quantecon.org/img/qe-menubar-logo.svg" alt="QuantEcon">
265265
</a>
266266
</div><section class="tex2jax_ignore mathjax_ignore" id="equilibrium-capital-structures-with-incomplete-markets">
267-
<h1><a class="toc-backref" href="#id5"><span class="section-number">38. </span>Equilibrium Capital Structures with Incomplete Markets</a><a class="headerlink" href="#equilibrium-capital-structures-with-incomplete-markets" title="Permalink to this heading">#</a></h1>
268-
<div class="contents topic" id="contents">
269-
<p class="topic-title">Contents</p>
270-
<ul class="simple">
271-
<li><p><a class="reference internal" href="#equilibrium-capital-structures-with-incomplete-markets" id="id5">Equilibrium Capital Structures with Incomplete Markets</a></p>
272-
<ul>
273-
<li><p><a class="reference internal" href="#introduction" id="id6">Introduction</a></p></li>
274-
<li><p><a class="reference internal" href="#asset-markets" id="id7">Asset Markets</a></p></li>
275-
<li><p><a class="reference internal" href="#equilibrium-verification" id="id8">Equilibrium verification</a></p></li>
276-
<li><p><a class="reference internal" href="#pseudo-code" id="id9">Pseudo Code</a></p></li>
277-
<li><p><a class="reference internal" href="#code" id="id10">Code</a></p></li>
278-
<li><p><a class="reference internal" href="#examples" id="id11">Examples</a></p></li>
279-
<li><p><a class="reference internal" href="#a-picture-worth-a-thousand-words" id="id12">A picture worth a thousand words</a></p></li>
280-
</ul>
281-
</li>
282-
</ul>
283-
</div>
267+
<h1><span class="section-number">38. </span>Equilibrium Capital Structures with Incomplete Markets<a class="headerlink" href="#equilibrium-capital-structures-with-incomplete-markets" title="Permalink to this heading">#</a></h1>
284268
<p>In addition to what’s in Anaconda, this lecture will need the following libraries:</p>
285269
<div class="cell tag_hide-output docutils container">
286270
<div class="cell_input above-output-prompt docutils container">
@@ -298,7 +282,7 @@ <h1><a class="toc-backref" href="#id5"><span class="section-number">38. </span>E
298282
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Requirement already satisfied: quantecon in /home/runner/miniconda3/envs/quantecon/lib/python3.11/site-packages (0.7.2)
299283
</pre></div>
300284
</div>
301-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Requirement already satisfied: numba&gt;=0.49.0 in /home/runner/miniconda3/envs/quantecon/lib/python3.11/site-packages (from quantecon) (0.59.0)
285+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Requirement already satisfied: numba&gt;=0.49.0 in /home/runner/miniconda3/envs/quantecon/lib/python3.11/site-packages (from quantecon) (0.59.1)
302286
Requirement already satisfied: numpy&gt;=1.17.0 in /home/runner/miniconda3/envs/quantecon/lib/python3.11/site-packages (from quantecon) (1.26.4)
303287
Requirement already satisfied: requests in /home/runner/miniconda3/envs/quantecon/lib/python3.11/site-packages (from quantecon) (2.31.0)
304288
Requirement already satisfied: scipy&gt;=1.5.0 in /home/runner/miniconda3/envs/quantecon/lib/python3.11/site-packages (from quantecon) (1.11.4)
@@ -379,20 +363,8 @@ <h1><a class="toc-backref" href="#id5"><span class="section-number">38. </span>E
379363
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>-
380364
</pre></div>
381365
</div>
382-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>\
383-
</pre></div>
384-
</div>
385366
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>done
386-
Solving environment: /
387-
</pre></div>
388-
</div>
389-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>-
390-
</pre></div>
391-
</div>
392-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>\
393-
</pre></div>
394-
</div>
395-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>|
367+
Solving environment: |
396368
</pre></div>
397369
</div>
398370
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/
@@ -425,15 +397,6 @@ <h1><a class="toc-backref" href="#id5"><span class="section-number">38. </span>E
425397
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>-
426398
</pre></div>
427399
</div>
428-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>\
429-
</pre></div>
430-
</div>
431-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>|
432-
</pre></div>
433-
</div>
434-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/
435-
</pre></div>
436-
</div>
437400
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>done
438401
</pre></div>
439402
</div>
@@ -444,7 +407,7 @@ <h1><a class="toc-backref" href="#id5"><span class="section-number">38. </span>E
444407
</details>
445408
</div>
446409
<section id="introduction">
447-
<h2><a class="toc-backref" href="#id6"><span class="section-number">38.1. </span>Introduction</a><a class="headerlink" href="#introduction" title="Permalink to this heading">#</a></h2>
410+
<h2><span class="section-number">38.1. </span>Introduction<a class="headerlink" href="#introduction" title="Permalink to this heading">#</a></h2>
448411
<p>This is an extension of an earlier lecture <a class="reference internal" href="BCG_complete_mkts.html"><span class="doc">Irrelevance of Capital Structure with Complete Markets</span></a> about a <strong>complete markets</strong>
449412
model.</p>
450413
<p>In contrast to that lecture, this one describes an instance of a model authored by Bisin, Clementi, and Gottardi <span id="id1">[<a class="reference internal" href="zreferences.html#id29" title="Alberto Bisin, Gian Luca Clementi, and Piero Gottardi. Capital and hedging demand with incomplete markets. Technical Report, NYU and EUI, 2018.">Bisin <em>et al.</em>, 2018</a>]</span>
@@ -632,7 +595,7 @@ <h3><span class="section-number">38.1.8. </span>Risk-sharing motives<a class="he
632595
</section>
633596
</section>
634597
<section id="asset-markets">
635-
<h2><a class="toc-backref" href="#id7"><span class="section-number">38.2. </span>Asset Markets</a><a class="headerlink" href="#asset-markets" title="Permalink to this heading">#</a></h2>
598+
<h2><span class="section-number">38.2. </span>Asset Markets<a class="headerlink" href="#asset-markets" title="Permalink to this heading">#</a></h2>
636599
<p>Markets are incomplete: <em>ex cathedra</em> we the model builders declare that only equities and bonds issued by representative
637600
firms can be traded.</p>
638601
<p>Let <span class="math notranslate nohighlight">\(\theta^i\)</span> and <span class="math notranslate nohighlight">\(\xi^i\)</span> be a consumer of type
@@ -863,7 +826,7 @@ <h4><span class="section-number">38.2.3.1. </span>Firm’s optimization problem<
863826
</section>
864827
</section>
865828
<section id="equilibrium-verification">
866-
<h2><a class="toc-backref" href="#id8"><span class="section-number">38.3. </span>Equilibrium verification</a><a class="headerlink" href="#equilibrium-verification" title="Permalink to this heading">#</a></h2>
829+
<h2><span class="section-number">38.3. </span>Equilibrium verification<a class="headerlink" href="#equilibrium-verification" title="Permalink to this heading">#</a></h2>
867830
<p>On page 5 of BCG (2018), the authors say</p>
868831
<p><em>If the price conjectures corresponding to the plan chosen by firms in
869832
equilibrium are correct, that is equal to the market prices</em> <span class="math notranslate nohighlight">\(\check q\)</span> <em>and</em> <span class="math notranslate nohighlight">\(\check p\)</span>, <em>it is immediate to verify that
@@ -883,7 +846,7 @@ <h2><a class="toc-backref" href="#id8"><span class="section-number">38.3. </span
883846
</ul>
884847
</section>
885848
<section id="pseudo-code">
886-
<h2><a class="toc-backref" href="#id9"><span class="section-number">38.4. </span>Pseudo Code</a><a class="headerlink" href="#pseudo-code" title="Permalink to this heading">#</a></h2>
849+
<h2><span class="section-number">38.4. </span>Pseudo Code<a class="headerlink" href="#pseudo-code" title="Permalink to this heading">#</a></h2>
887850
<p>Before displaying our Python code for computing a BCG incomplete markets equilibrium,
888851
we’ll sketch some pseudo code that describes its logical flow.</p>
889852
<p>Here goes:</p>
@@ -995,7 +958,7 @@ <h2><a class="toc-backref" href="#id9"><span class="section-number">38.4. </span
995958
</ol>
996959
</section>
997960
<section id="code">
998-
<h2><a class="toc-backref" href="#id10"><span class="section-number">38.5. </span>Code</a><a class="headerlink" href="#code" title="Permalink to this heading">#</a></h2>
961+
<h2><span class="section-number">38.5. </span>Code<a class="headerlink" href="#code" title="Permalink to this heading">#</a></h2>
999962
<p>We create a Python class <code class="docutils literal notranslate"><span class="pre">BCG_incomplete_markets</span></code> to compute the
1000963
equilibrium allocations of the incomplete market BCG model, given a set
1001964
of parameter values.</p>
@@ -1539,7 +1502,7 @@ <h2><a class="toc-backref" href="#id10"><span class="section-number">38.5. </spa
15391502
</div>
15401503
</section>
15411504
<section id="examples">
1542-
<h2><a class="toc-backref" href="#id11"><span class="section-number">38.6. </span>Examples</a><a class="headerlink" href="#examples" title="Permalink to this heading">#</a></h2>
1505+
<h2><span class="section-number">38.6. </span>Examples<a class="headerlink" href="#examples" title="Permalink to this heading">#</a></h2>
15431506
<p>Below we show some examples computed with the class <code class="docutils literal notranslate"><span class="pre">BCG_incomplete</span> <span class="pre">markets</span></code>.</p>
15441507
<section id="first-example">
15451508
<h3><span class="section-number">38.6.1. </span>First example<a class="headerlink" href="#first-example" title="Permalink to this heading">#</a></h3>
@@ -2763,7 +2726,7 @@ <h3><span class="section-number">38.6.3. </span>Another example economy<a class=
27632726
</section>
27642727
</section>
27652728
<section id="a-picture-worth-a-thousand-words">
2766-
<h2><a class="toc-backref" href="#id12"><span class="section-number">38.7. </span>A picture worth a thousand words</a><a class="headerlink" href="#a-picture-worth-a-thousand-words" title="Permalink to this heading">#</a></h2>
2729+
<h2><span class="section-number">38.7. </span>A picture worth a thousand words<a class="headerlink" href="#a-picture-worth-a-thousand-words" title="Permalink to this heading">#</a></h2>
27672730
<p>Please stare at the above panels.</p>
27682731
<p>They describe how equilibrium prices and quantities respond to
27692732
alterations in the structure of society’s <em>hedging desires</em> across
233 KB
33.5 KB
79 KB
59.3 KB
31.5 KB
Binary file not shown.
56.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)