R/model_caliendo_parro_2015.R
update_input_cost_cp_2015.RdUpdates cost of input bundle following Caliendo & Parro (2015) equations (10).
update_input_cost_cp_2015(
input_cost_change,
wage_change,
productivity_change,
price_change,
factor_share,
intermediate_share,
model_dimensions
)Matrix of input cost changes, dimensions: sector x country.
Vector of change in wages, dimension: country.
Vector of change in productivity, dimension: country x sector.
Matrix of price index changes, dimensions: sector x country.
Matrix of input factor shares, dimensions: sector x country.
Array of input-output coefficients, dimensions: input_sector x output_sector x country.
List of model dimensions.
Matrix of changes in input costs, dimensions: sector x country.