R/model_chowdhry_hinz_kamin_wanner_2022.R
update_transfer_chkw_2022.RdUpdates transfers following Chowdhry, Hinz, Kamin & Wanner (2022) equation (13).
update_transfer_chkw_2022(
transfer,
income_old,
income_new,
price_index_change,
expenditure,
expenditure_new,
consumption_share,
trade_share,
trade_share_new,
tariff,
tariff_new,
export_subsidy,
export_subsidy_new,
value_added,
wage_change,
trade_balance,
price_change,
coalition_member,
model_dimensions,
trade_balance_new = trade_balance
)Vector of transfers, dimension: country.
Matrix of old income, dimensions: country.
Matrix of new income, dimensions: country.
Matrix of change of price index, dimensions: country.
Matrix of expenditures, dimensions: sector x country.
Matrix of new expenditures, dimensions: sector x country.
Matrix of elasticities of substitution or consumption shares, dimensions: sector x country.
Array of trade flows (FOB), dimensions: origin x destination x sector.
Array of new trade flows (FOB), dimensions: origin x destination x sector.
Array of tariffs, 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.
Array of new 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.
Matrix of price index changes, dimensions: sector x country.
Vector of country codes with coalition members, dimension: country.
List of model dimensions.
Vector of counterfactual aggregate trade balance, dimension: country.
Vector of new transfers, dimensions: country.