R/model_chowdhry_hinz_kamin_wanner_2022.R
update_expenditure_chkw_2022.RdUpdates expenditures following Chowdhry, Hinz, Kamin & Wanner (2022) equation (13).
update_expenditure_chkw_2022(
expenditure_new,
consumption_share,
input_share,
trade_share_new,
tariff_new,
export_subsidy_new,
value_added,
wage_change,
trade_balance,
transfer,
model_dimensions,
tolerance,
verbose
)Matrix of new expenditures, dimensions: sector x country.
Matrix of elasticities of substitution or consumption shares, dimensions: sector x country.
Array of beta-multiplied input-output coefficients, dimensions: input_sector x output_sector x country.
Array of new trade flows (FOB), dimensions: origin x destination x sector.
Array of new tariffs, dimensions: origin x destination x sector.
Array of export taxes, dimensions: origin x destination x sector.
Matrix of value added, dimension: country.
Vector of change in wages, dimension: country.
Vector of aggregate trade balance, dimension: country.
Vector of transfers, dimension: country.
List of model dimensions.
tolerance
verbose
Matrix of new expenditures, dimensions: sector x country.