Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
jdebacker committed Oct 29, 2023
1 parent 44547a0 commit f069f4d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions iot/inverse_optimal_tax.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,9 +305,8 @@ def find_eti(iot1, iot2, g_z_type="g_z"):
else:
g_z = iot1.g_z_numerical
# The equation below is a simplication of the above to make the integration easier
eti_beliefs_lw = (
((1 - iot2.mtr) / (iot2.z * iot2.f * iot2.mtr)) *
(1 - iot2.F - (g_z.sum() - np.cumsum(g_z)))
eti_beliefs_lw = ((1 - iot2.mtr) / (iot2.z * iot2.f * iot2.mtr)) * (
1 - iot2.F - (g_z.sum() - np.cumsum(g_z))
)
# derivation from JJZ analytical solution that doesn't involved integration
eti_beliefs_jjz = (g_z - 1) / (
Expand Down

0 comments on commit f069f4d

Please sign in to comment.