R/model_mahlkow_wanner_2021.R
update_output_income_mw_2021.RdUpdates output and income as [update_output_income_cp_2015()], with tax-inclusive expenditure: suppliers receive expenditure net of the tax wedge, and the tax revenue is part of income.
update_output_income_mw_2021(
output_new,
income_new,
consumption_share,
input_share,
trade_share_new,
tariff_new,
export_subsidy_new,
tax_new,
value_added,
wage_change,
population_change,
trade_balance_new,
model_dimensions,
tolerance,
convergence_method,
verbose,
max_inner_iterations = 5000L
)Matrix of new outputs, dimensions: country x sector.
Vector of new incomes, dimension: country.
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 change in population, dimension: country.
Vector of new aggregate trade balance, dimension: country.
List of model dimensions.
Tolerance for inner convergence.
Method for convergence checking.
Verbosity level.
Maximum number of inner iterations before the loop bails out (default 5000).
List with `income_new`, `output_new`, `expenditure_new`, `n_iterations_output_update` and `inner_converged`.