-
Notifications
You must be signed in to change notification settings - Fork 0
Set initial parameters #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 2 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
2cf9b86
Added initial version of settings.yml
arindamsaha1507 bbe656b
Completed initial version
arindamsaha1507 4cfe2b4
Better formatting
arindamsaha1507 0496a82
Simplified filepaths
arindamsaha1507 af8bbcc
Categorised input files into base and derived
arindamsaha1507 92a1536
Removed manual threshold
arindamsaha1507 7d7443e
Removed the 'required' field
arindamsaha1507 f0d7cd5
Merge branch '2-set-initial-parameters' of https://github.com/UCL/Sup…
arindamsaha1507 f839089
Added outputs section
arindamsaha1507 389a516
Removed obsolete parameter values
arindamsaha1507 77cc8cd
Sensible renaming initial pass
arindamsaha1507 5152f8e
Added list of industry names
arindamsaha1507 25eee78
Renamed and recategorised en masse
arindamsaha1507 b2f783c
Typo
arindamsaha1507 b65dfce
Removed mat outputs
arindamsaha1507 a314589
Merge branch '2-set-initial-parameters' of https://github.com/UCL/Sup…
arindamsaha1507 3fe610e
Additional renaming
arindamsaha1507 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
categories: | ||
- Agriculture | ||
- Forestry | ||
- Fishing | ||
- Mining | ||
- "Manufacturing: food" | ||
- "Manufacturing: textiles" | ||
- "Manufacturing: wood" | ||
- "Manufacturing: paper" | ||
- Printing | ||
- "Manufacturing: coke" | ||
- "Manufacturing: chemicals" | ||
- "Manufacturing: pharmaceuticals" | ||
- "Manufacturing: rubber" | ||
- "Manufacturing: minerals" | ||
- "Manufacturing: metals" | ||
- "Manufacturing: fabricated metals" | ||
- "Manufacturing: computers" | ||
- "Manufacturing: electrical" | ||
- "Manufacturing: machinery" | ||
- "Manufacturing: motor vehicles" | ||
- "Manufacturing: other transport" | ||
- "Manufacturing: other" | ||
- "Machinery repair" | ||
- Electricity | ||
- Water | ||
- Sewerage | ||
- Construction | ||
- "Wholesale/retail: motor vehicles" | ||
- "Wholesale: other" | ||
- "Retail: other" | ||
- "Land transport" | ||
- "Water transport" | ||
- "Air transport" | ||
- Warehousing | ||
- Postal | ||
- "Accommodation/food services" | ||
- Publishing | ||
- Film | ||
- Telecoms | ||
- Programming | ||
- Financial | ||
- Insurance | ||
- "Other financial/insurance services" | ||
- "Real estate" | ||
- "Imputed rents" | ||
- "Legal/accounting" | ||
- Architecture | ||
- "R&D" | ||
- Advertising | ||
- "Other professional" | ||
- "Rental services" | ||
- "Employment services" | ||
- Travel | ||
- "Other office services" | ||
- "Public administration" | ||
- Education | ||
- Health | ||
- "Social work" | ||
- Arts | ||
- Sports | ||
- "Membership organizations" | ||
- "Household goods repair" | ||
- "Other personal services" | ||
- "Household employers" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
version: "2024-12-31" | ||
experiment_run: 1 | ||
|
||
constants: | ||
# Industry names file | ||
industry_names: "industry_names.yml" | ||
# IO table data year | ||
data_year: 2019 | ||
# First date to simulate | ||
first_date: "2020-01-01" | ||
# Last date to simulate | ||
last_date: "2025-10-01" | ||
|
||
flags: | ||
stochasticity: | ||
# Use data from mat files | ||
data_from_mat: false # Replace mat by better format | ||
|
||
# Random initial values for parameters | ||
random_initial_values: false | ||
|
||
elasticities: | ||
consumption: | ||
- [3, 2.0] | ||
eu_export_demand: | ||
- [3, 2.0, 2.0] | ||
rest_of_world__export_demand: | ||
- [3, 2.0, 2.0] | ||
production: | ||
- [0.4, 0.75, 2.0] | ||
investment: | ||
- [0.4, 2.0] | ||
|
||
files: | ||
input_dir: input | ||
output_dir: output | ||
scenario: 0 # 0: noCovid, 1: covid | ||
|
||
input_derived_dir: derived | ||
|
||
inputs: | ||
base: | ||
input_output: "uk_input_output2019.xlsx" | ||
imports: "uk_input_output2019.xlsx" | ||
merge_codes_64: "mergeCodes64.xlsx" | ||
merge_codes_105: "mergeCodes105.csv" | ||
|
||
derived: | ||
scenario_dependent: | ||
# Time series: income of two types (lo, hi) in two scenarios (0,1) = (noCovid, covid) | ||
lo_income: "noCollegeIncome.csv" | ||
hi_income: "collegeIncome.csv" | ||
|
||
# Time series: hours worked of two types (lo, hi) in two scenarios (0,1) | ||
lo_hours: "noCollegeHours.csv" | ||
hi_hours: "collegeHours.csv" | ||
|
||
# Time series: capital in two scenarios (0,1) | ||
capital: "capital.csv" | ||
|
||
# Forecast scenarios | ||
turnover_S: "turnover_s.csv" | ||
arindamsaha1507 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
scenario_independent: | ||
# Time series: inventories (one scenario only) | ||
inventory: "derived/{version}/inventories.csv" | ||
arindamsaha1507 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
# Base year: depreciation rates | ||
depreciation: "depreciation.csv" | ||
|
||
# Financial data | ||
RiskFreeRate: "interestRate.csv" | ||
assets: "firmData.csv" | ||
DefaultSigma: "modelResults.csv" | ||
arindamsaha1507 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
# Forecast scenarios | ||
gdp: "gdp_forecast.csv" | ||
|
||
outputs: | ||
scenario_dependent: | ||
forecast_mat: "forecast.mat" | ||
forecast_csv: "forecast.csv" | ||
|
||
scenario_independent: | ||
base_data: "ukdata.mat" | ||
parms: "parms.mat" | ||
log_p: "logp.mat" | ||
log_Y: "logy.mat" | ||
covid_csv: "cge_results.csv" | ||
covid_mat: "turnover_model.mat" | ||
trade_csv: "net_exports.csv" | ||
simulate_economy_3_mat: "simEcon3.mat" | ||
simulate_economy_3_csv: "simEcon3.csv" | ||
comp_stats_results: "compStats.mat" | ||
arindamsaha1507 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
initial_params: | ||
price_index: | ||
eu: 1 | ||
eu_export: 1 | ||
rest_of_world: 1 | ||
rest_of_world_export: 1 | ||
|
||
beginning_price_of_capital: 1.0 | ||
leverage_grid_resolution: 10 | ||
assets_destroyed_in_bankrupcy: 0.12 # see Bernanke et al. page 1368 |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.