Macro Parameter Estimation Functions

Macro Parameter Estimation Functions#

macro_params.py modules

ogzaf.macro_params#

This module uses data from World Bank WDI, World Bank Quarterly Public Sector Debt (QPSD) database, the IMF, and UN ILO to find values for parameters for the OG-ZAF model that rely on macro data for calibration.

ogzaf.macro_params.get_macro_params(data_start_date=datetime.datetime(1947, 1, 1), data_end_date=datetime.date.today(), country_iso='ZAF')[source]#

Compute values of parameters that are derived from macro data

Parameters:
  • data_start_date (datetime) – start date for data

  • data_end_date (datetime) – end date for data

  • country_iso (str) – ISO code for country

Returns:

dictionary of parameter values

Return type:

macro_parameters (dict)