Skip to content

Commit 143e553

Browse files
Tom's edit of asset pricing lecture
1 parent 9371a4f commit 143e553

File tree

1 file changed

+58
-29
lines changed

1 file changed

+58
-29
lines changed

lectures/asset_pricing_lph.md

Lines changed: 58 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@ To do this, we use two ideas:
3939

4040
* a Cauchy-Schwartz inequality
4141

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+
4249

4350
For background and basic concepts, see our lecture [orthogonal projections and their applications](https://python-advanced.quantecon.org/orth_proj.html).
4451

@@ -63,16 +70,25 @@ E &\sim \text { mathematical expectation }
6370
\end{aligned}
6471
$$
6572
66-
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$
6774
live in a common probability space.
6875
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
7077
{eq}`eq:EMR1` is implied by a __law of one price__ that requires that all portfolios of assets
7178
that end up having the same payouts must have the same price.
7279
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
7481
factor $m \geq 0$.
7582
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+
7692
## Implications of Key Equation
7793
7894
@@ -85,15 +101,15 @@ Lars Hansen's remark is a concise summary of ideas in {cite}`HansenRichard1987`
85101
{cite}`Chamberlain_Rothschild`.
86102
```
87103
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`.
89105
90106
91107
Let's do this step by step.
92108
93-
First note that the definition
109+
First note that the definition of a
110+
covariance
94111
$\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
97113
98114
$$
99115
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
145161
146162
## Expected Return - Beta Representation
147163
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
149165
150166
$$
151167
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
168184
169185
**Example**
170186
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+
171189
A popular model of $m$ is
172190
173191
$$
@@ -212,13 +230,13 @@ When $\gamma >0$, it is true that
212230
213231
* when consumption growth is **low**, $m$ is **high**
214232
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.
216234
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.
218236
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.
220238
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.
222240
223241
224242
@@ -227,25 +245,27 @@ An asset with an $R^i$ that is low when consumption growth is low has $\beta_i$
227245
228246
Now we'll derive the celebrated **mean-variance frontier**.
229247
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
231249
Richard {cite}`HansenRichard1987`.
232250
233251
```{note}
234252
Methods of Hansen and Richard are described and used extensively by {cite}`Cochrane_2005`.
235253
```
236254
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.
238256
239257
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$.
240258
259+
(Please note that here $R^2$ denotes the coefficient of determination in a regression, not a return on an asset!)
260+
241261
Let's apply that idea to deduce
242262
243263
244264
$$
245265
1= E\left(m R^{i}\right)=E(m) E\left(R^{i}\right)+\rho_{m, R^{i}}\frac{\sigma(m)}{E(m)} \sigma\left(R^{i}\right)
246266
$$ (eq:EMR5)
247267
248-
where $\rho_{m, R^i}$ is the correlation coefficient defined as
268+
where the correlation coefficient $\rho_{m, R^i}$ is defined as
249269
250270
$$
251271
\rho_{m, R^i} \equiv \frac{\operatorname{cov}\left(m, R^{i}\right)}{\sigma(m) \sigma\left(R^{i}\right)}
@@ -297,16 +317,13 @@ that
297317
298318
Thus,
299319
300-
* Let $R^m, R^{mv}$ be two returns on frontier.
320+
* Let $R^m, R^{mv}$ be two returns on the frontier.
301321
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**.
307324
308325
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$
310327
311328
* $\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$,
312329
@@ -337,7 +354,9 @@ Two representations are often used in empirical work.
337354
338355
339356
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, $:
341360
342361
$$
343362
R_{t}^{i}=a_{i}+\beta_{i, a} f_{t}^{a}+\beta_{i, b} f_{t}^{b}+\ldots+\epsilon_{t}^{i}, \quad t=1,2, \ldots, T\\
@@ -348,7 +367,7 @@ For example:
348367
349368
* a popular **single-factor** model specifies the single factor $f_t$ to be the return on the market portfolio
350369
351-
* 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.
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.
352371
353372
Model objects are interpreted as follows:
354373
@@ -393,7 +412,9 @@ $$
393412
\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}}
394413
$$
395414
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.
397418
398419
Note that presumably the risk-free return $E R^{f}=\gamma$.
399420
@@ -403,6 +424,14 @@ $$
403424
E R^{e i}=\beta_{i, a} \lambda_{a}+\beta_{i, b} \lambda_{b}+\cdots+\alpha_{i}, i=1, \ldots, I
404425
$$
405426
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+
406435
## Exercises
407436
408437
Let's start with some imports.
@@ -451,12 +480,12 @@ Give a formula for the regression coefficient $\beta_{i, R^m}$.
451480
452481
### Exercise 3
453482
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**.
455484
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.
458487
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
460489
above for 5 assets, $i = 1, \ldots, 5$.
461490
462491
\begin{align*}

0 commit comments

Comments
 (0)