The income tax payable if tax settings are changed.
model_income_tax(sample_file, baseline_fy, n_dependants = 0L, elasticity_of_taxable_income = NULL, ordinary_tax_thresholds = NULL, ordinary_tax_rates = NULL, medicare_levy_taper = NULL, medicare_levy_rate = NULL, medicare_levy_lower_threshold = NULL, medicare_levy_upper_threshold = NULL, medicare_levy_lower_sapto_threshold = NULL, medicare_levy_upper_sapto_threshold = NULL, medicare_levy_lower_family_threshold = NULL, medicare_levy_upper_family_threshold = NULL, medicare_levy_lower_family_sapto_threshold = NULL, medicare_levy_upper_family_sapto_threshold = NULL, medicare_levy_lower_up_for_each_child = NULL, lito_max_offset = NULL, lito_taper = NULL, lito_min_bracket = NULL, lito_multi = NULL, Budget2018_lamington = FALSE, Budget2019_lamington = FALSE, Budget2018_lito_202223 = FALSE, Budget2018_watr = FALSE, Budget2019_watr = FALSE, sapto_eligible = NULL, sapto_max_offset = NULL, sapto_lower_threshold = NULL, sapto_taper = NULL, sapto_max_offset_married = NULL, sapto_lower_threshold_married = NULL, sapto_taper_married = NULL, sbto_discount = NULL, cgt_discount_rate = NULL, calc_baseline_tax = TRUE, return. = c("sample_file", "tax", "sample_file.int"), clear_tax_cols = TRUE, warn_upper_thresholds = TRUE, .debug = FALSE)
sample_file | A sample file having at least as many variables as the 2012-13 sample file. |
---|---|
baseline_fy | If a parameter is not selected, the parameter's value in this tax year is used. Must be a valid tax year and one for which |
n_dependants | The number of dependants for each entry in |
elasticity_of_taxable_income | Either For example, if, for a given taxpayer,
the tax settings would otherwise result in a 2% decrease of disposable income
under the tax settings to be modelled, and If |
ordinary_tax_thresholds | A numeric vector specifying the lower bounds of the brackets for "ordinary tax" as defined by the Regulations. The first element should be zero if there is a tax-free threshold. |
ordinary_tax_rates | The marginal rates of ordinary tax. The first element should be zero if there is a tax-free threshold. Since the temporary budget repair levy was imposed on a discrete tax bracket when it applied, it is not included in this function. |
medicare_levy_taper | The taper that applies between the |
medicare_levy_rate | The ordinary rate of the Medicare levy for taxable incomes above |
medicare_levy_lower_threshold | Minimum taxable income at which the Medicare levy will be applied. |
medicare_levy_upper_threshold | Minimum taxable income at which the Medicare levy will be applied at the full Medicare levy rate (2% in 2015-16). Between this threshold and the |
medicare_levy_lower_sapto_threshold, medicare_levy_upper_sapto_threshold | The equivalent values for SAPTO-eligible individuals (not families). |
medicare_levy_lower_family_threshold, medicare_levy_upper_family_threshold | The equivalent values for families. |
medicare_levy_lower_family_sapto_threshold, medicare_levy_upper_family_sapto_threshold | The equivalent values for SAPTO-eligible individuals in a family. |
medicare_levy_lower_up_for_each_child | The amount to add to the |
lito_max_offset | The maximum offset available for low incomes. |
lito_taper | The taper to apply beyond |
lito_min_bracket | The taxable income at which the value of the offset starts to reduce (from |
lito_multi | A list of two components, named |
Budget2018_lamington | logical; default is `FALSE`. If set to `TRUE`, calculates the amount that taxpayers would be entitled to under the Low and Middle Income Tax Offset as contained in the 2018 Budget. |
Budget2019_lamington | logical; default is `FALSE`. If set to `TRUE`, calculates the amount that taxpayers would be entitled to under the Low and Middle Income Tax Offset as amended by the 2019 Budget. |
Budget2018_lito_202223 | The LITO proposed for 2022-23 proposed in the 2018 Budget. |
Budget2018_watr | logical; default is `FALSE`. If set to `TRUE`, calculates the "Working Australian Tax Refund" as proposed in the Labor Opposition Leader's Budget Reply Speech 2018. |
Budget2019_watr | logical; default is `FALSE`. If set to `TRUE`, calculates the "Working Australian Tax Refund" as revised in the Labor Opposition Leader's Budget Reply Speech 2019. |
sapto_eligible | Whether or not each taxpayer in |
sapto_max_offset | The maximum offset available through SAPTO. |
sapto_lower_threshold | The threshold at which SAPTO begins to reduce (from |
sapto_taper | The taper rate beyond |
sapto_max_offset_married, sapto_lower_threshold_married, sapto_taper_married | As above, but applied to members of a couple |
sbto_discount | The |
cgt_discount_rate | (numeric(1)) The capital gains tax discount rate, currently 50%. |
calc_baseline_tax | (logical, default: |
return. | What should the function return? One of |
clear_tax_cols | If |
warn_upper_thresholds | If |
.debug | Return a data.table of |
library(data.table) library(hutils) # With new tax-free threshold of $20,000: if (requireNamespace("taxstats", quietly = TRUE)) { library(taxstats) library(magrittr) model_income_tax(sample_file_1314, "2013-14", ordinary_tax_thresholds = c(0, 20e3, 37e3, 80e3, 180e3)) %>% select_grep("tax", "Taxable_Income") }#> #>#>#> #>#> Untaxed_othr_pnsn_amt Cost_tax_affairs_amt Spouse_adjusted_taxable_inc #> 1: 0 0 0 #> 2: 0 336 0 #> 3: 0 0 0 #> 4: 0 138 19914 #> 5: 0 61 0 #> --- #> 258770: 0 383 178171 #> 258771: 0 0 144777 #> 258772: 0 241 24200 #> 258773: 0 0 0 #> 258774: 0 0 0 #> Taxable_Income baseline_tax new_tax #> 1: 4800 0 0.000 #> 2: 126122 36503 36161.970 #> 3: 39742 4655 4313.410 #> 4: 108123 29574 29232.355 #> 5: 85957 21040 20698.445 #> --- #> 258770: 24462 1111 769.710 #> 258771: 37055 3701 3359.525 #> 258772: 45024 6530 6188.520 #> 258773: 5134 0 0.000 #> 258774: 46368 7007 6665.640