R/model_mahlkow_wanner_2021.R
update_expenditure_mw_2021.RdSolves for tax-inclusive expenditure as [update_expenditure_cp_2015()], with suppliers receiving expenditure net of the tax wedge and the tax revenue as part of income. [process_results()] uses it for the initial expenditure.
update_expenditure_mw_2021(
expenditure_new,
consumption_share,
input_share,
trade_share_new,
tariff_new,
export_subsidy_new,
tax_new,
value_added,
wage_change,
trade_balance_new,
model_dimensions,
tolerance,
verbose,
convergence_method,
max_inner_iterations = 5000L
)Matrix of new expenditures, dimensions: country x sector.
Matrix of consumption shares, dimensions: country x sector.
Array of beta-multiplied input-output coefficients, dimensions: country x input x output.
Array of new trade shares, dimensions: origin x destination x sector.
Array of new tariffs, dimensions: origin x destination x sector.
Array of export subsidies, dimensions: origin x destination x sector.
Matrix of new tax wedges, dimensions: country x sector.
Vector of value added, dimension: country.
Vector of change in wages, dimension: country.
Vector of new aggregate trade balance, dimension: country.
List of model dimensions.
Tolerance for inner convergence.
Verbosity level.
Method for convergence checking.
Maximum number of inner iterations before the loop bails out (default 5000).
List with `expenditure_new` (country x sector), `n_iterations_expenditure_update` and `inner_converged`.