Skip to content

Commit af9d277

Browse files
committed
deploy: 1f84afd
1 parent b9825cc commit af9d277

308 files changed

Lines changed: 9920 additions & 12369 deletions

File tree

Some content is hidden

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

_notebooks/affine_risk_prices.ipynb

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"cells": [
33
{
44
"cell_type": "markdown",
5-
"id": "8c99041d",
5+
"id": "35184849",
66
"metadata": {},
77
"source": [
88
"$$\n",
@@ -13,7 +13,7 @@
1313
},
1414
{
1515
"cell_type": "markdown",
16-
"id": "34888168",
16+
"id": "5eff41c4",
1717
"metadata": {},
1818
"source": [
1919
"\n",
@@ -22,15 +22,15 @@
2222
},
2323
{
2424
"cell_type": "markdown",
25-
"id": "7994cc74",
25+
"id": "c7794ae5",
2626
"metadata": {},
2727
"source": [
2828
"# Affine Models of Asset Prices"
2929
]
3030
},
3131
{
3232
"cell_type": "markdown",
33-
"id": "a6d38d89",
33+
"id": "af26c6c0",
3434
"metadata": {},
3535
"source": [
3636
"## Overview\n",
@@ -87,7 +87,7 @@
8787
{
8888
"cell_type": "code",
8989
"execution_count": null,
90-
"id": "005f4235",
90+
"id": "ac6e3757",
9191
"metadata": {
9292
"hide-output": false
9393
},
@@ -101,15 +101,15 @@
101101
},
102102
{
103103
"cell_type": "markdown",
104-
"id": "014d7b73",
104+
"id": "0fd86787",
105105
"metadata": {},
106106
"source": [
107107
"## The model"
108108
]
109109
},
110110
{
111111
"cell_type": "markdown",
112-
"id": "e2226ffd",
112+
"id": "876ed648",
113113
"metadata": {},
114114
"source": [
115115
"### State dynamics and short rate\n",
@@ -169,7 +169,7 @@
169169
},
170170
{
171171
"cell_type": "markdown",
172-
"id": "8336c9ba",
172+
"id": "18699682",
173173
"metadata": {},
174174
"source": [
175175
"### Properties of the SDF\n",
@@ -197,15 +197,15 @@
197197
},
198198
{
199199
"cell_type": "markdown",
200-
"id": "56b5196f",
200+
"id": "04b8425b",
201201
"metadata": {},
202202
"source": [
203203
"## Pricing risky assets"
204204
]
205205
},
206206
{
207207
"cell_type": "markdown",
208-
"id": "4deabcaa",
208+
"id": "bccd375e",
209209
"metadata": {},
210210
"source": [
211211
"### Lognormal returns\n",
@@ -237,7 +237,7 @@
237237
},
238238
{
239239
"cell_type": "markdown",
240-
"id": "eafa8f5d",
240+
"id": "8b2e7eb9",
241241
"metadata": {},
242242
"source": [
243243
"### Expected excess returns\n",
@@ -267,7 +267,7 @@
267267
},
268268
{
269269
"cell_type": "markdown",
270-
"id": "a29a1313",
270+
"id": "aaf22d4f",
271271
"metadata": {},
272272
"source": [
273273
"## Affine term structure of yields\n",
@@ -278,7 +278,7 @@
278278
},
279279
{
280280
"cell_type": "markdown",
281-
"id": "f2ffc534",
281+
"id": "27b4d5b6",
282282
"metadata": {},
283283
"source": [
284284
"### Bond prices\n",
@@ -309,7 +309,7 @@
309309
},
310310
{
311311
"cell_type": "markdown",
312-
"id": "4f297348",
312+
"id": "d684e495",
313313
"metadata": {},
314314
"source": [
315315
"### Exponential affine prices\n",
@@ -342,7 +342,7 @@
342342
},
343343
{
344344
"cell_type": "markdown",
345-
"id": "d671b120",
345+
"id": "461c6fb2",
346346
"metadata": {},
347347
"source": [
348348
"### Yields\n",
@@ -370,7 +370,7 @@
370370
},
371371
{
372372
"cell_type": "markdown",
373-
"id": "751dfac6",
373+
"id": "9de3c548",
374374
"metadata": {},
375375
"source": [
376376
"## Python implementation\n",
@@ -382,7 +382,7 @@
382382
{
383383
"cell_type": "code",
384384
"execution_count": null,
385-
"id": "9ecd357d",
385+
"id": "8b556719",
386386
"metadata": {
387387
"hide-output": false
388388
},
@@ -450,7 +450,7 @@
450450
},
451451
{
452452
"cell_type": "markdown",
453-
"id": "8acf7018",
453+
"id": "315963ce",
454454
"metadata": {},
455455
"source": [
456456
"### A one-factor Gaussian example\n",
@@ -461,7 +461,7 @@
461461
{
462462
"cell_type": "code",
463463
"execution_count": null,
464-
"id": "0733a32a",
464+
"id": "7d545621",
465465
"metadata": {
466466
"hide-output": false
467467
},
@@ -494,7 +494,7 @@
494494
},
495495
{
496496
"cell_type": "markdown",
497-
"id": "f47c150b",
497+
"id": "4a35ba66",
498498
"metadata": {},
499499
"source": [
500500
"### Yield curve shapes\n",
@@ -505,7 +505,7 @@
505505
{
506506
"cell_type": "code",
507507
"execution_count": null,
508-
"id": "110bd778",
508+
"id": "32d830bc",
509509
"metadata": {
510510
"hide-output": false
511511
},
@@ -559,7 +559,7 @@
559559
},
560560
{
561561
"cell_type": "markdown",
562-
"id": "10b7da62",
562+
"id": "bc31fbf8",
563563
"metadata": {},
564564
"source": [
565565
"The model generates upward-sloping, flat, and inverted yield curves as the short\n",
@@ -568,7 +568,7 @@
568568
},
569569
{
570570
"cell_type": "markdown",
571-
"id": "aa4a4058",
571+
"id": "86e90f63",
572572
"metadata": {},
573573
"source": [
574574
"### Short rate dynamics"
@@ -577,7 +577,7 @@
577577
{
578578
"cell_type": "code",
579579
"execution_count": null,
580-
"id": "30bb2ff3",
580+
"id": "e828c891",
581581
"metadata": {
582582
"hide-output": false
583583
},
@@ -607,7 +607,7 @@
607607
},
608608
{
609609
"cell_type": "markdown",
610-
"id": "3e379be9",
610+
"id": "fde48eac",
611611
"metadata": {},
612612
"source": [
613613
"### A two-factor model\n",
@@ -621,7 +621,7 @@
621621
{
622622
"cell_type": "code",
623623
"execution_count": null,
624-
"id": "9ab7bf59",
624+
"id": "d9aad405",
625625
"metadata": {
626626
"hide-output": false
627627
},
@@ -658,7 +658,7 @@
658658
{
659659
"cell_type": "code",
660660
"execution_count": null,
661-
"id": "4d4c35b0",
661+
"id": "e2b832b2",
662662
"metadata": {
663663
"hide-output": false
664664
},
@@ -723,7 +723,7 @@
723723
},
724724
{
725725
"cell_type": "markdown",
726-
"id": "21963a4f",
726+
"id": "1a5856e2",
727727
"metadata": {},
728728
"source": [
729729
"## Risk premiums\n",
@@ -745,7 +745,7 @@
745745
{
746746
"cell_type": "code",
747747
"execution_count": null,
748-
"id": "101b2eed",
748+
"id": "947414ac",
749749
"metadata": {
750750
"hide-output": false
751751
},
@@ -821,7 +821,7 @@
821821
},
822822
{
823823
"cell_type": "markdown",
824-
"id": "79e29c37",
824+
"id": "f131072b",
825825
"metadata": {},
826826
"source": [
827827
"## Risk-neutral probabilities\n",
@@ -856,7 +856,7 @@
856856
},
857857
{
858858
"cell_type": "markdown",
859-
"id": "4154ba28",
859+
"id": "8217e6b5",
860860
"metadata": {},
861861
"source": [
862862
"### The risk-neutral VAR\n",
@@ -883,7 +883,7 @@
883883
},
884884
{
885885
"cell_type": "markdown",
886-
"id": "a462f694",
886+
"id": "e9c3e4e2",
887887
"metadata": {},
888888
"source": [
889889
"### Verification via risk-neutral pricing\n",
@@ -903,7 +903,7 @@
903903
{
904904
"cell_type": "code",
905905
"execution_count": null,
906-
"id": "1b372983",
906+
"id": "6444d391",
907907
"metadata": {
908908
"hide-output": false
909909
},
@@ -942,7 +942,7 @@
942942
},
943943
{
944944
"cell_type": "markdown",
945-
"id": "8d28d182",
945+
"id": "189320f8",
946946
"metadata": {},
947947
"source": [
948948
"The analytical and Monte Carlo bond prices agree closely, validating the\n",
@@ -951,7 +951,7 @@
951951
},
952952
{
953953
"cell_type": "markdown",
954-
"id": "d91183be",
954+
"id": "823fd88e",
955955
"metadata": {},
956956
"source": [
957957
"## Distorted beliefs\n",
@@ -963,7 +963,7 @@
963963
},
964964
{
965965
"cell_type": "markdown",
966-
"id": "60bf9f4f",
966+
"id": "60d209bc",
967967
"metadata": {},
968968
"source": [
969969
"### The subjective measure\n",
@@ -1009,7 +1009,7 @@
10091009
},
10101010
{
10111011
"cell_type": "markdown",
1012-
"id": "fe3e3779",
1012+
"id": "cbfc70ba",
10131013
"metadata": {},
10141014
"source": [
10151015
"### Pricing under distorted beliefs\n",
@@ -1036,7 +1036,7 @@
10361036
},
10371037
{
10381038
"cell_type": "markdown",
1039-
"id": "f9127709",
1039+
"id": "30cd1124",
10401040
"metadata": {},
10411041
"source": [
10421042
"### Numerical illustration"
@@ -1045,7 +1045,7 @@
10451045
{
10461046
"cell_type": "code",
10471047
"execution_count": null,
1048-
"id": "8c452049",
1048+
"id": "68770e0d",
10491049
"metadata": {
10501050
"hide-output": false
10511051
},
@@ -1089,7 +1089,7 @@
10891089
{
10901090
"cell_type": "code",
10911091
"execution_count": null,
1092-
"id": "a86fe6b0",
1092+
"id": "d79f17b5",
10931093
"metadata": {
10941094
"hide-output": false
10951095
},
@@ -1155,7 +1155,7 @@
11551155
},
11561156
{
11571157
"cell_type": "markdown",
1158-
"id": "2c6a437a",
1158+
"id": "099ca676",
11591159
"metadata": {},
11601160
"source": [
11611161
"When expert beliefs are overly persistent ($ \\hat\\phi $ has larger eigenvalues than\n",
@@ -1171,7 +1171,7 @@
11711171
},
11721172
{
11731173
"cell_type": "markdown",
1174-
"id": "aa0117ce",
1174+
"id": "e473fbfc",
11751175
"metadata": {},
11761176
"source": [
11771177
"## The bond price recursion\n",
@@ -1206,7 +1206,7 @@
12061206
},
12071207
{
12081208
"cell_type": "markdown",
1209-
"id": "9822eec0",
1209+
"id": "9376537b",
12101210
"metadata": {},
12111211
"source": [
12121212
"## Concluding remarks\n",
@@ -1239,7 +1239,7 @@
12391239
}
12401240
],
12411241
"metadata": {
1242-
"date": 1772859322.5392563,
1242+
"date": 1772867702.0173764,
12431243
"filename": "affine_risk_prices.md",
12441244
"kernelspec": {
12451245
"display_name": "Python",

0 commit comments

Comments
 (0)