Solve and process |
|
|---|---|
Update equilibrium |
|
Process results for new equilibrium |
|
Models |
|
Compute Caliendo and Parro (2015)-type model in changes |
|
Compute Chowdhry, Hinz, Kamin & Wanner (2022) model in changes |
|
Compute Mahlkow and Wanner (2021)-type model with carbon policy in changes |
|
Model componentsEquilibrium updates that the model functions call. |
|
Update expenditure for Caliendo Parro (2015) |
|
Update input cost matrix for Caliendo and Parro (2015) |
|
Update output and income for Caliendo Parro (2015) |
|
Update price index matrix for Caliendo and Parro (2015) |
|
Update trade share matrix for Caliendo and Parro (2015) |
|
Update expenditure for Chowdhry, Hinz, Kamin & Wanner (2022) |
|
Update input cost matrix for Chowdhry, Hinz, Kamin & Wanner (2022) |
|
Update price index matrix for Chowdhry, Hinz, Kamin & Wanner (2022) |
|
Update trade share matrix for Chowdhry, Hinz, Kamin & Wanner (2022) |
|
Update transfers for Chowdhry, Hinz, Kamin & Wanner (2022) |
|
Read carbon intensities for Mahlkow and Wanner (2021) |
|
Carbon policy outputs of Mahlkow and Wanner (2021) |
|
Read a selection of countries or sectors for Mahlkow and Wanner (2021) |
|
Read the carbon policy of Mahlkow and Wanner (2021) |
|
Update carbon tax, border carbon tariffs and export rebates for Mahlkow and Wanner (2021) |
|
Update expenditure for Mahlkow and Wanner (2021) |
|
Update input cost matrix for Mahlkow and Wanner (2021) |
|
Update output and income for Mahlkow and Wanner (2021) |
|
Update trade balance according to different adjustment rules |
|
Array and convergence helpers |
|
Sum Over Specified Dimensions of an Array |
|
Sweep Over Array Margins |
|
Check Convergence of Iterative Algorithm |
|
Format Time Difference |
|
Slice a three-dimensional array into a matrix |
|
Slightly faster implementation of diagonal elements of matrix product |
|
Internal helpers |
|
Cast variable from data.tables to vectors, matrices and arrays |
|
Melt variable from vectors, matrices and arrays, to data.tables |
|
Initialize variable as array |
|
Create one-dimensional array from vector |
|
Dimensions of a data.table |
|
Dimension names of a data.table |
|
Generate inputs from initial and counterfactual conditions |
|
Get all dimensions of a model by inspecting initial conditions |
|
Nest elasticity-related initial conditions under a dedicated list |
|
Extract selected output variables from input list |
|
Predict convergence ETA |
|
Check that the solved trade balances can hold for the world |
|
Package |
|
KITE |
|
KITE Model Suite |
|