Get marginal tax rates from Tax-Calculator

Get marginal tax rates from Tax-Calculator#

get_taxcalc_rates

ccc.get_taxcalc_rates#

ccc.get_taxcalc_rates.get_calculator(baseline, calculator_start_year, reform=None, data='cps', gfactors=None, weights=None, records_start_year=2011)[source]#

This function creates the tax calculator object for the microsim

Parameters:
  • baseline (bool) – True if baseline tax policy

  • calculator_start_year (integer) – first year of budget window

  • reform (dictionary) – IIT reform parameters

  • data (string or Pandas DataFrame) – path to file or DataFrame for Tax-Calculator Records object (optional)

  • weights (DataFrame) – weights DataFrame for Tax-Calculator Records object (optional)

  • records_start_year (integer) – the start year for the data and weights dfs

Returns:

TC Calculator object

with a current_year equal to calculator_start_year

Return type:

calc1 (Tax Calculator Calculator object)

ccc.get_taxcalc_rates.get_rates(baseline=False, start_year=2024, reform={}, data='cps')[source]#

This function computes weighted average marginal tax rates using micro data from the tax calculator

Parameters:
  • baseline (bool) – True if baseline tax policy, False if reform

  • start_year (integer) – first year of budget window

  • reform (dict) – reform parameters

Returns:

individual income (IIT+payroll)

marginal tax rates

Return type:

individual_rates (dict)