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
In the class of multiple consumer economies that we are studying here, it turns out that there
170
-
exists a single **representative consumer** whose preferences and endowments can be deduced from lists of preferences and endowments for the separate individual consumers.
171
-
172
-
Consider a multiple consumer economy with initial distribution of wealth $W_i$ satisfying $\sum_i W_{i}=0$
* $m=2$ for our illustrations of a pure exchange economy
233
168
234
-
$$
235
-
p=\tilde{\mu}^{-1}(\Pi^{\top}b-\Pi^{\top}\Pi e)
236
-
$$
169
+
* an equilibrium price vector $p$ (normalized somehow)
170
+
* an equilibrium allocation $c^1, c^2, \ldots, c^m$ -- a collection of $m$ vectors of dimension $n \times 1$
237
171
238
-
Thus, we have verified that, up to choice of a numeraire in which to express absolute prices, the price vector in our representative consumer economy is the same as that in an underlying economy with multiple consumers.
172
+
Now let's proceed to code.
239
173
240
174
```{code-cell} ipython3
241
175
class ExchangeEconomy:
@@ -244,7 +178,7 @@ class ExchangeEconomy:
244
178
bs,
245
179
es,
246
180
Ws=None,
247
-
thres=4):
181
+
thres=1.5):
248
182
"""
249
183
Set up the environment for an exchange economy
250
184
@@ -253,12 +187,13 @@ class ExchangeEconomy:
253
187
bs (list): all consumers' bliss points
254
188
es (list): all consumers' endowments
255
189
Ws (list): all consumers' wealth
190
+
thres (float): a threshold set to test b >> Pi e violated
256
191
"""
257
192
n, m = Pi.shape[0], len(bs)
258
193
259
194
# check non-satiation
260
195
for b, e in zip(bs, es):
261
-
if np.min(b / np.max(Pi @ e)) <= 1.5:
196
+
if np.min(b / np.max(Pi @ e)) <= thres:
262
197
raise Exception('set bliss points further away')
263
198
264
199
if Ws == None:
@@ -305,11 +240,17 @@ class ExchangeEconomy:
305
240
return p, c_s, mu_s
306
241
```
307
242
308
-
### Example: Two-Person Economy **without** Production
309
-
* Study how competitive equilibrium $p, c^1, c^2$ respond to different
243
+
## Implementation
244
+
245
+
Next we use the class ``ExchangeEconomy`` defined above to study
246
+
247
+
* a two-person economy without production,
248
+
* a dynamic economy, and
249
+
* an economy with risk and arrow securities.
310
250
311
-
* $b^i$'s
312
-
* $e^i$'s
251
+
### Two-person economy without production
252
+
253
+
Here we tudy how competitive equilibrium $p, c^1, c^2$ respond to different $b^i$ and $e^i$, $i \in \{1, 2\}.
In the class of multiple consumer economies that we are studying here, it turns out that there
375
+
exists a single **representative consumer** whose preferences and endowments can be deduced from lists of preferences and endowments for the separate individual consumers.
376
+
377
+
Consider a multiple consumer economy with initial distribution of wealth $W_i$ satisfying $\sum_i W_{i}=0$
Thus, we have verified that, up to choice of a numeraire in which to express absolute prices, the price vector in our representative consumer economy is the same as that in an underlying economy with multiple consumers.
0 commit comments