Skip to content
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

Macro #18

Open
wants to merge 50 commits into
base: main
Choose a base branch
from
Open

Macro #18

wants to merge 50 commits into from

Conversation

jpycroft
Copy link
Collaborator

@jdebacker @rickecon

This PR is to add macro_params.py to OG-UK-Calibration.

macro_params.py contains get_macro_params function, which produces / includes the seven macroeconomic parameters required for OG-UK. As of 18 May 2021, the values obtained are:

macro_parameters: {'initial_debt_ratio': 0.858, 'alpha_T': 0.14987823280692056, 'alpha_G': 0.23609202014014433, 'gamma': 0.30000000000000004, 'g_y': 1.775, 'r_gov_shift': 1.4872414588323613, 'r_gov_scale': -5.373278437402958}

The file contains complete information as to the origin of the data used. Much of the data was obtained from the UK Office of National Statistics (ONS). To my knowledge, much of the data is released as xlsx spreadsheets only, from which the few required values were copied.

To calculate the relationship between the government interest rate and the corporate interest rate, expressed as r_gov_shift and r_gov_scale, a regression was run of UK government bond rates against US corporate bond rates (used as a proxy for the global rate).

jpycroft and others added 30 commits March 14, 2021 09:09
@jdebacker
Copy link
Member

@jpycroft Thanks for working on the macro params! FYI, this branch has the demographics and macro changes. But I will take a look at those macros soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants