R/model_caliendo_parro_2015.R
update_output_income_cp_2015.RdUpdates output and income analogous to Caliendo & Parro (2015) equation (13) for the expenditure update.
update_output_income_cp_2015(
output_new,
income_new,
consumption_share,
input_share,
trade_share_new,
tariff_new,
export_subsidy_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.
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).
Matrix of new expenditures, dimensions: country x sector.