File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -463,6 +463,7 @@ performance of the two methods again.
463463We will see a significant performance gain when using Netwon's method.
464464
465465
466+ (two_goods_market)=
466467### A Two Goods Market Equilibrium
467468
468469Let's start by computing the market equilibrium of a two-good problem.
479480Demand of good $i$ at price $p$ is,
480481
481482$$
482- q^d_i (p) = \exp(-a_{i0} p_0) + \exp(- a_{i1} p_1) + c_i
483+ q^d_i (p) = \exp(-( a_{i0} p_0 + a_{i1} p_1) ) + c_i
483484$$
484485
485486Here $c_i$, $b_i$ and $a_ {ij}$ are parameters.
@@ -549,13 +550,13 @@ A = \begin{pmatrix}
549550 \end{pmatrix},
550551 \qquad
551552 b = \begin{pmatrix}
552- 0 \\
553- 0
553+ 1 \\
554+ 1
554555 \end{pmatrix}
555556 \qquad \text{and} \qquad
556557 c = \begin{pmatrix}
557- 0 \\
558- 0
558+ 1 \\
559+ 1
559560 \end{pmatrix}
560561$$
561562
You can’t perform that action at this time.
0 commit comments