You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lectures/asset_pricing_lph.md
+58-29Lines changed: 58 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,6 +39,13 @@ To do this, we use two ideas:
39
39
40
40
* a Cauchy-Schwartz inequality
41
41
42
+
In this way, we shall derive the basic **capital asset pricing model**, the celebrated CAPM.
43
+
44
+
We'll describe the basic ways that practitioners have implemented the model using
45
+
46
+
* cross sections of returns on many assets
47
+
* time series of returns on various assets
48
+
42
49
43
50
For background and basic concepts, see our lecture [orthogonal projections and their applications](https://python-advanced.quantecon.org/orth_proj.html).
The random gross returns $R^i$ and the scalar stochastic discount factor $m$ live
73
+
The random gross returns $R^i$ and the scalar stochastic discount factor $m$
67
74
live in a common probability space.
68
75
69
-
{cite}`HansenRichard1987` and {cite}`Hansen_Jagannathan_1991` explain how the existence of a scarlar stochastic discount factor that verifies equation
76
+
{cite}`HansenRichard1987` and {cite}`Hansen_Jagannathan_1991` explain how **existence** of a scalar stochastic discount factor that verifies equation
70
77
{eq}`eq:EMR1` is implied by a __law of one price__ that requires that all portfolios of assets
71
78
that end up having the same payouts must have the same price.
72
79
73
-
They also explain how the __absence of an arbitrage__ implies that the stochastic discount
80
+
They also explain how the __absence of an arbitrage__ opportunity implies that the stochastic discount
74
81
factor $m \geq 0$.
75
82
83
+
To say something about the **uniqueness** of a stochastic discount factor would require that we impose more theoretical structure than we do in this
84
+
lecture.
85
+
86
+
In **complete markets** models like those illustrated in this lecture [equilibrium capital structures with incomplete markets](https://python-advanced.quantecon.org/BCG_incomplete_mkts.html),
87
+
the stochastic discount factor is unique.
88
+
89
+
In **incomplete markets** models like those illustrated in this lecture [the Aiyagari model](https://python.quantecon.org/aiyagari.html), the stochastic discount factor is not unique.
90
+
91
+
76
92
## Implications of Key Equation
77
93
78
94
@@ -85,15 +101,15 @@ Lars Hansen's remark is a concise summary of ideas in {cite}`HansenRichard1987`
85
101
{cite}`Chamberlain_Rothschild`.
86
102
```
87
103
88
-
By that remark, Lars Hansen meant that interesting restrictions can be deduced by recognizing that $E m R^i$ is a component of the covariance between $m $ and $R^i$ and then using that fact to rearrange key equation {eq}`eq:EMR1`.
104
+
This remark of Lars Hansen refers to the fact that interesting restrictions can be deduced by recognizing that $E m R^i$ is a component of the covariance between $m $ and $R^i$ and then using that fact to rearrange key equation {eq}`eq:EMR1`.
89
105
90
106
91
107
Let's do this step by step.
92
108
93
-
First note that the definition
109
+
First note that the definition of a
110
+
covariance
94
111
$\operatorname{cov}\left(m, R^{i}\right) = E (m - E m)(R^i - E R^i) $
95
-
of a
96
-
covariance implies that
112
+
implies that
97
113
98
114
$$
99
115
E m R^i = E m E R^{i}+\operatorname{cov}\left(m, R^{i}\right)
@@ -145,7 +161,7 @@ Equation {eq}`eq:EMR3` can be rearranged to display important parts of asset pri
145
161
146
162
## Expected Return - Beta Representation
147
163
148
-
We can obtain the celebrated **expected-return-Beta -representation** for gross return $R^i$ simply by rearranging excess return equation {eq}`eq:EMR3` to become
164
+
We can obtain the celebrated **expected-return-Beta -representation** for gross return $R^i$ by simply rearranging excess return equation {eq}`eq:EMR3` to become
149
165
150
166
$$
151
167
E R^{i}=R^{f}+\left(\underbrace{\frac{\operatorname{cov}\left(R^{i}, m\right)}{\operatorname{var}(m)}}_{\quad\quad\beta_{i,m} = \text{regression coefficient}}\right)\left(\underbrace{-\frac{\operatorname{var}(m)}{E(m)}}_{\quad\lambda_{m} = \text{price of risk}}\right)
@@ -168,6 +184,8 @@ To interpret this representation it helps to provide the following widely used e
168
184
169
185
**Example**
170
186
187
+
Let $c_t$ be the logarithm of the consumption of a _representative consumer_ or just a single consumer for whom we have data.
188
+
171
189
A popular model of $m$ is
172
190
173
191
$$
@@ -212,13 +230,13 @@ When $\gamma >0$, it is true that
212
230
213
231
* when consumption growth is **low**, $m$ is **high**
214
232
215
-
According to representation {eq}`eq:ERbetarep`, an asset with an $R^i$ that can be expected to be high when consumption growth is low has $\beta_i$ positive and a low expected return.
233
+
According to representation {eq}`eq:ERbetarep`, an asset with a gross return $R^i$ that is expected to be **high** when consumption growth is **low** has $\beta_i$ positive and a **low** expected return.
216
234
217
-
* because it has a high gross return when consumption growth is low, it is a good hedge against consumption risk. That justifies its low average return
235
+
* because it has a high gross return when consumption growth is low, it is a good hedge against consumption risk. That justifies its low average return.
218
236
219
-
An asset with an $R^i$ that is low when consumption growth is low has $\beta_i$ negative and a high expected return.
237
+
An asset with an $R^i$ that is **low** when consumption growth is **low** has $\beta_i$ negative and a **high** expected return.
220
238
221
-
* because it has a low gross return when consumption growth is low, it is a poor hedge against consumption risk. That justifies its high average return
239
+
* because it has a low gross return when consumption growth is low, it is a poor hedge against consumption risk. That justifies its high average return.
222
240
223
241
224
242
@@ -227,25 +245,27 @@ An asset with an $R^i$ that is low when consumption growth is low has $\beta_i$
227
245
228
246
Now we'll derive the celebrated **mean-variance frontier**.
229
247
230
-
We do this using a classic method of Lars Peter Hansen and Scott
248
+
We do this using a method deployed by Lars Peter Hansen and Scott
231
249
Richard {cite}`HansenRichard1987`.
232
250
233
251
```{note}
234
252
Methods of Hansen and Richard are described and used extensively by {cite}`Cochrane_2005`.
235
253
```
236
254
237
-
Their idea was rearrange the key equation {eq}`eq:EMR1`, namely, $E m R^i = 1$, and then to apply the Cauchy-Schwarz inequality.
255
+
Their idea was rearrange the key equation {eq}`eq:EMR1`, namely, $E m R^i = 1$, and then to apply a Cauchy-Schwarz inequality.
238
256
239
257
A convenient way to remember the Cauchy-Schwartz inequality in our context is that it says that an $R^2$ in any regression has to be less than or equal to $1$.
240
258
259
+
(Please note that here $R^2$ denotes the coefficient of determination in a regression, not a return on an asset!)
* Let $R^m, R^{mv}$ be two returns on the frontier.
301
321
302
-
* Then for some scalar $a$
303
-
304
-
* $R^{m v}=R^{f}+a\left(R^{m}-R^{f}\right)$
305
-
306
-
This is an **exact** equation with no **residual**
322
+
* Then for some scalar $a$, a return $R^{m v}$ on the mean-variance frontier satisfies the affine equation
323
+
$R^{m v}=R^{f}+a\left(R^{m}-R^{f}\right)$ . This is an **exact** equation with no **residual**.
307
324
308
325
309
-
- each return $R^i$ that is on the mean-variance frontier is perfectly correlated with $m$
326
+
- each return $R^{mv}$ that is on the mean-variance frontier is perfectly correlated with $m$
310
327
311
328
* $\left(\rho_{m, R^{i}}=-1\right) \Rightarrow \begin{cases} m=a+b R^{m v} \\ R^{m v}=e+d m \end{cases}$ for some scalars $a, b, e, d$,
312
329
@@ -337,7 +354,9 @@ Two representations are often used in empirical work.
337
354
338
355
339
356
One is a **time-series regression** of gross return $R_t^i$ on multiple
340
-
risk factors $f_t^j, j = a, b, \ldots $ that is designed to uncover exposures of return $R^i$ to each of a set of **risk-factors** $f_t^j, j = a, b, \ldots, $:
357
+
risk factors $f_t^j, j = a, b, \ldots $.
358
+
359
+
Such regressions are designed to uncover exposures of return $R^i$ to each of a set of **risk-factors** $f_t^j, j = a, b, \ldots, $:
* a popular **single-factor** model specifies the single factor $f_t$ to be the return on the market portfolio
350
369
351
-
* another popular **single-factor** model called the consumptionbased model specifies the factor to be $ m_{t+1} = \beta \frac{u^{\prime}\left(c_{t+1}\right)}{u^{\prime}\left(c_{t}\right)}$, where $c_t$ is a representative consumer's time $t$ consumption.
370
+
* another popular **single-factor** model called the **consumption-based model** specifies the factor to be $ m_{t+1} = \beta \frac{u^{\prime}\left(c_{t+1}\right)}{u^{\prime}\left(c_{t}\right)}$, where $c_t$ is a representative consumer's time $t$ consumption.
352
371
353
372
Model objects are interpreted as follows:
354
373
@@ -393,7 +412,9 @@ $$
393
412
\underbrace{E\left(R^{i}\right)}_{\text{average return over time series}}=\gamma+\underbrace{\beta_{i, a}}_{\text{regressor}\quad} \underbrace{\lambda_{a}}_{\text{regression}\text{coefficient}}+\underbrace{\beta_{i, b}}_{\text{regressor}\quad} \underbrace{\lambda_{b}}_{\text{regression}\text{coefficient}}+\cdots+\underbrace{\alpha_{i}}_{\text{pricing errors}}, i=1, \ldots, I; \quad \underbrace{\alpha_i \perp \beta_{i,j},j = a, b, \ldots}_{\text{least squares orthogonality condition}}
394
413
$$
395
414
396
-
- estimate $\gamma, \lambda_{a}, \lambda_{b}, \ldots$ by an appropriate regression technique, being thoughtful about recognizing that the regressors have been generated by a step 1 regression.
415
+
- Here $\perp$ means __orthogonal to**
416
+
417
+
- estimate $\gamma, \lambda_{a}, \lambda_{b}, \ldots$ by an appropriate regression technique, recognizing that the regressors have been generated by a step 1 regression.
397
418
398
419
Note that presumably the risk-free return $E R^{f}=\gamma$.
399
420
@@ -403,6 +424,14 @@ $$
403
424
E R^{e i}=\beta_{i, a} \lambda_{a}+\beta_{i, b} \lambda_{b}+\cdots+\alpha_{i}, i=1, \ldots, I
404
425
$$
405
426
427
+
428
+
In the following exercises, we apply components of the theory.
429
+
430
+
Our basic tools are random number generator that we shall use to create artificial samples that conform to the theory and
431
+
least squares regressions that let us watch aspects of the theory at work.
432
+
433
+
These exercises will further convince us that asset pricing theory is mostly about covariances and least squares regressions.
434
+
406
435
## Exercises
407
436
408
437
Let's start with some imports.
@@ -451,12 +480,12 @@ Give a formula for the regression coefficient $\beta_{i, R^m}$.
451
480
452
481
### Exercise 3
453
482
454
-
Recall our earlier discussions of a **direct problem** and an **inverse problem**.
483
+
As in many sciences, it is useful to distinguish a **direct problem** from an **inverse problem**.
455
484
456
-
* A direct problem is about simulating a particular model.
457
-
* An inverse problem is about using data to **estimate** or **choose** a particular model from a manifold of models.
485
+
* A direct problem involves simulating a particular model with known parameter values.
486
+
* An inverse problem involves using data to **estimate** or **choose** a particular parameter vector from a manifold of models indexed by a set of parameter vectors.
458
487
459
-
Please assume the parameter values set below and then simulate 2000 observations from the theory specified
488
+
Please assume the parameter values provided below and then simulate 2000 observations from the theory specified
0 commit comments