Skip to content

Commit

Permalink
Updated txfunc.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rickecon committed Dec 9, 2024
1 parent 76bd6e6 commit 25e0c0a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ogcore/txfunc.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,10 @@ def get_tax_rates(
np.squeeze(params[..., 1]),
)
if rate_type == "etr":
txrates = 1 - (lambda_s * (income ** (-tau_s)))
flat_pct_incr_base = 0.03
txrates = (
1 - (lambda_s * (income ** (-tau_s))) + flat_pct_incr_base
)
else: # marginal tax rate function
txrates = 1 - (lambda_s * (1 - tau_s) * (income ** (-tau_s)))
elif tax_func_type == "DEP":
Expand Down

0 comments on commit 25e0c0a

Please sign in to comment.