gEconpy.model.statespace.DSGEStateSpace#
- class gEconpy.model.statespace.DSGEStateSpace(variables, shocks, equations, param_dict, hyper_param_dict, param_priors, shock_priors, parameter_mapping, steady_state_mapping, ss_jac, ss_resid, ss_error, ss_error_grad, ss_error_hess, linearized_system, verbose=True)#
Core class for estimating DSGE models using PyMC.
Methods
DSGEStateSpace.__init__(variables, shocks, ...)Create a
pmx.statespace.PyMCStateSpacemodel representing a linearized DSGE.Given a parameter vector theta, constructs the full computational graph describing the state space model and the associated log probability of the data.
DSGEStateSpace.configure(observed_states[, ...])Finalize the setup of a DSGE Statespace object.
The purpose of the make_symbolic_graph function is to hide tedious parameter allocations from the user.
DSGEStateSpace.to_pymc([exclude_priors])Attributes
coordsPyMC model coordinates
data_infoInformation about Data variables that need to be declared in the PyMC model block.
data_namesNames of data variables expected by the model.
observed_statesA k_endog length list of strings, associated with the model's observed states
param_dimsDictionary of named dimensions for each model parameter
param_infoInformation about parameters needed to declare priors
param_namesNames of model parameters
shock_namesA k_posdef length list of strings, associated with the model's shock processes
state_namesA k_states length list of strings, associated with the model's hidden states