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
{{ message }}
This repository was archived by the owner on Apr 24, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: source/rst/geom_series.rst
+68-77Lines changed: 68 additions & 77 deletions
Original file line number
Diff line number
Diff line change
@@ -142,7 +142,7 @@ Economists and financiers often define the **supply of money** as an
142
142
economy-wide sum of **cash** plus **deposits**.
143
143
144
144
In a **fractional reserve banking system** (one in which the reserve
145
-
ratio :math:`r` satisfying:math:`0 < r < 1`), **banks create money** by issuing deposits *backed* by fractional reserves plus loans that they make to their customers.
145
+
ratio :math:`r` satisfies:math:`0 < r < 1`), **banks create money** by issuing deposits *backed* by fractional reserves plus loans that they make to their customers.
146
146
147
147
A geometric series is a key tool for understanding how banks create
148
148
money (i.e., deposits) in a fractional reserve system.
@@ -177,7 +177,7 @@ bank stating promises to redeem note for gold or silver on demand).
177
177
.. Dongchen: is there a way to add a little balance sheet here?
178
178
.. with assets on the left side and liabilities on the right side?
179
179
180
-
Ecah bank :math:`i` sets its reserves to satisfy the equation
180
+
Each bank :math:`i` sets its reserves to satisfy the equation
181
181
182
182
.. math::
183
183
:label: reserves
@@ -554,15 +554,15 @@ The **present value** of the lease is
554
554
where the last line uses the formula for an infinite geometric series.
555
555
556
556
Recall that :math:`R = 1+r` and :math:`G = 1+g` and that :math:`R > G`
557
-
and :math:`r > g` and that :math:`r` and\:math:`g` are typically small
557
+
and :math:`r > g` and that :math:`r` and :math:`g` are typically small
558
558
numbers, e.g., .05 or .03.
559
559
560
560
Use the Taylor series of :math:`\frac{1}{1+r}` about :math:`r=0`,
The above graphs gives a big hint for why the condition :math:`r > g` is
732
+
733
+
This graph gives a big hint for why the condition :math:`r > g` is
739
734
necessary if a lease of length :math:`T = +\infty` is to have finite
740
735
value.
741
736
@@ -755,7 +750,7 @@ visualization!
755
750
g = np.arange(0.011, 0.991, 0.005)
756
751
757
752
rr, gg = np.meshgrid(r, g)
758
-
z = finite_lease_pv(T, gg, rr, x_0)
753
+
z = finite_lease_pv_true(T, gg, rr, x_0)
759
754
760
755
# Removes points where undefined
761
756
same = (rr == gg)
@@ -809,10 +804,10 @@ After that, we'll use SymPy to compute derivatives
809
804
810
805
We can see that for :math:`\frac{\partial p_0}{\partial r}<0` as long as
811
806
:math:`r>g`, :math:`r>0` and :math:`g>0` and :math:`x_0` is positive,
812
-
this equation will always be negative.
807
+
so :math:`\frac{\partial p_0}{\partial r}` will always be negative.
813
808
814
-
Similarly, :math:`\frac{\partial p_0}{\partial g}>0` as long as :math:`r>g`, :math:`r>0` and :math:`g>0` and :math:`x_0` is positive, this equation
815
-
will always be postive.
809
+
Similarly, :math:`\frac{\partial p_0}{\partial g}>0` as long as :math:`r>g`, :math:`r>0` and :math:`g>0` and :math:`x_0` is positive, so :math:`\frac{\partial p_0}{\partial g}`
810
+
will always be positive.
816
811
817
812
818
813
@@ -859,54 +854,50 @@ i.e., the fraction of income that is consumed
859
854
860
855
.. code-block:: python3
861
856
862
-
# Changing fraction of consumption
863
-
b_0 = 1/3
864
-
b_1 = 2/3
865
-
b_2 = 5/6
866
-
b_3 = 0.9
857
+
bs = (1/3, 2/3, 5/6, 0.9)
867
858
868
859
fig,ax = plt.subplots()
869
860
ax.set_title('Changing Consumption as a Fraction of Income')
870
861
ax.set_ylabel('$y_t$')
871
862
ax.set_xlabel('$t$')
872
863
x = np.arange(0, T+1)
873
-
for b in (b_0, b_1, b_2, b_3):
864
+
for b in bs:
874
865
y = calculate_y(i_0, b, g_0, T, y_init)
875
866
ax.plot(x, y, label=r'$b=$'+f"{b:.2f}")
876
867
ax.legend()
877
868
plt.show()
878
869
879
-
Increasing the marginal propensity to consumer :math:`b` increases the
880
-
path of output over time
870
+
871
+
Increasing the marginal propensity to consume :math:`b` increases the
872
+
path of output over time.
873
+
874
+
Now we will compare the effects on output of increases in investment and government spending.
0 commit comments