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/commod_price.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ We will solve an equation where the price function is the unknown.
32
32
33
33
This is harder than solving an equation for an unknown number, or vector.
34
34
35
-
The lecture will discuss one way to solve a *functional equation* (the equation where the unknown object is a function).
35
+
The lecture will discuss one way to solve a [functional equation](https://en.wikipedia.org/wiki/Functional_equation) (an equation where the unknown object is a function).
36
36
37
37
For this lecture we need the `yfinance` library.
38
38
@@ -133,12 +133,12 @@ $p_t$.
133
133
134
134
The harvest of the commodity at time $t$ is $Z_t$.
135
135
136
-
We assume that the sequence $\{ Z_t \}_{t \geq 1}$ is {ref}`IID <iid-theorem>` with common density function $\phi$, where $\phi$ is nonnegative.
136
+
We assume that the sequence $\{ Z_t \}_{t \geq 1}$ is IID with common density function $\phi$, where $\phi$ is nonnegative.
137
137
138
138
Speculators can store the commodity between periods, with $I_t$ units
139
139
purchased in the current period yielding $\alpha I_t$ units in the next.
140
140
141
-
In general, $\alpha$ is a factor. Here $\alpha \in (0,1)$ is a depreciation rate for the commodity.
141
+
Here the parameter $\alpha \in (0,1)$ is a depreciation rate for the commodity.
142
142
143
143
For simplicity, the risk free interest rate is taken to be
144
144
zero, so expected profit on purchasing $I_t$ units is
@@ -219,6 +219,8 @@ How can we find an equilibrium?
219
219
Our path of attack will be to seek a system of prices that depend only on the
220
220
current state.
221
221
222
+
(Our solution method involves using an [ansatz](https://en.wikipedia.org/wiki/Ansatz), which is an educated guess --- in this case for the price function.)
223
+
222
224
In other words, we take a function $p$ on $S$ and set $p_t = p(X_t)$ for every $t$.
223
225
224
226
Prices and quantities then follow
@@ -234,8 +236,6 @@ conditions above.
234
236
More precisely, we seek a $p$ such that [](eq:arbi) and [](eq:pmco) hold for
235
237
the corresponding system [](eq:eosy).
236
238
237
-
To this end, we apply the idea of [**ansatz**](https://en.wikipedia.org/wiki/Ansatz) here by supposing that there exists a function $p^*$ on $S$
0 commit comments