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/cobweb.md
+12-11Lines changed: 12 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -106,12 +106,12 @@ where $a, b$ are nonnegative constants and $p_t$ is the spot (i.e, current marke
106
106
107
107
($D(p_t)$ is the quantity demanded in some fixed unit, such as thousands of tons.)
108
108
109
-
Because the crop of soy beans for time $t$ is planted at $t-1$, supply of soy beans at time $t$ depends on *expected* prices at time $t$, which we denote $p^e_t$.
109
+
Because the crop of soy beans for time $t$ is planted at $t-1$, supply of soy beans at time $t$ depends on *expected* prices at time $t$, which we denote $p^e_{t-1}$.
110
110
111
111
We suppose that supply is nonlinear in expected prices, and takes the form
112
112
113
113
$$
114
-
S(p^e_t) = \tanh(\lambda(p^e_t - c)) + d
114
+
S(p^e_{t-1}) = \tanh(\lambda(p^e_{t-1} - c)) + d
115
115
$$
116
116
117
117
where $\lambda$ is a positive constant and $c, d \geq 0$.
@@ -160,13 +160,13 @@ plt.show()
160
160
Market equilibrium requires that supply equals demand, or
161
161
162
162
$$
163
-
a - b p_t = S(p^e_t)
163
+
a - b p_t = S(p^e_{t-1})
164
164
$$
165
165
166
166
Rewriting in terms of $p_t$ gives
167
167
168
168
$$
169
-
p_t = - \frac{1}{b} [S(p^e_t) - a]
169
+
p_t = - \frac{1}{b} [S(p^e_{t-1}) - a]
170
170
$$
171
171
172
172
Finally, to complete the model, we need to describe how price expectations are formed.
@@ -177,7 +177,7 @@ In particular, we suppose that
177
177
178
178
```{math}
179
179
:label: p_et
180
-
p^e_t = f(p_{t-1}, p_{t-2})
180
+
p^e_{t-1} = f(p_{t-1}, p_{t-2})
181
181
```
182
182
183
183
where $f$ is some function.
@@ -204,7 +204,7 @@ Let's start with naive expectations, which refers to the case where producers ex
0 commit comments