Welcome to RISE Toolbox’s documentation!
Getting started
- 1. Getting started
- 1.1. RISE at a glance
- 1.2. What’s new
- 1.3. RISE Toolbox License
- 1.4. Setting up your RISE environment
- 1.5. Quickstart
- 1.6. Documentation of the +rise package
- 1.6.1. Opening the PDF documentation
- 1.6.2. Leaving/Quitting RISE
- 1.6.3. Obtaining the release information
- 1.6.4. Starting RISE
- 1.6.5. Obtaining the toolbox information
- 1.6.6. Obtaining the version of the Toolbox
- 1.6.7. Why : Answers to random question rhyming with RISE
- 1.6.8. Whatsup : Random sentences rhyming with RISE
- 1.7. Finding help
- 1.8. Citing RISE in your research
- 1.9. Contributing to RISE
- 1.10. Acknowledgements
Modeling
- 1. Hit the ground running : An introductory example
- 1.1. The model economy
- 1.2. Baseline calibration
- 1.3. Preparing the model for RISE
- 1.4. Creating the model object (rising the model)
- 1.5. Parameterizing the model
- 1.6. Setting some options for the solution
- 1.7. Stochastic simulation in a Dynare-like run
- 1.8. Solving the model and printing the solution
- 1.9. Solving a 5th-order perturbation
- 1.10. Checking the accuracy of derivatives
- 1.11. Impulse response functions
- 1.12. Collecting Data from FRED
- 1.13. Filtration
- 1.14. Priors for Bayesian estimation
- 1.15. Visualizing the priors
- 1.16. Posterior maximization
- 1.17. Posterior simulation
- 1.18. Computation of the marginal data density using the Bridge approach
- 2. DSGE Modeling
- 2.1. Description
- 2.2. An example
- 2.3. The model(rise/dsge) file language
- 2.3.1. Conventions
- 2.3.2. Ways to declare a model
- 2.3.3. Handling Multiple Model Specifications
- 2.3.4. Atoms declarations
- 2.3.5. The @functions block
- 2.3.6. The @model block
- 2.3.7. The @optimization_problem block
- 2.3.8. The @steady_state_model block (optional)
- 2.3.9. The @transition_functions block (optional)
- 2.3.10. The @epilogue block (optional)
- 2.3.11. The @parameterization block (optional)
- 2.3.12. The @parameter_restrictions block (optional)
- 2.3.13. Tools for bounded rationality (Non-rational expectations)
- 2.3.14. Macro Language for preparsing
- 2.4. Deriving models with
rise.microfound - 2.5. Very large models
- 2.6. Setting up calibration and priors outside the model file
- 2.7. Deterministic and quasi-deterministic solutions
- 2.8. Stochastic solution via perturbation
- 2.9. Optimal (Ramsey) policy
- 2.9.1. Declaring the planner’s problem
- 2.9.2. Choosing the policy type at solve time
- 2.9.3. Loose commitment and stochastic replanning
- 2.9.4. Non-cooperative games: OLE vs MPE
- 2.9.5. Welfare and comparing policies
- 2.9.6. Worked example: Ramsey optimal capital taxation
- 2.9.7. Worked example: comparing policy types in a New Keynesian model
- 2.10. Optimal (optimized) simple rules
- 2.11. Stochastic simulations
- 2.12. Generic simulations with plans
- 2.13. Forecasting
- 2.14. Resimulation and counterfactuals
- 2.15. DSGE Filtering
- 2.16. Occasionally-binding constraints
- 2.17. Understanding a rise or dsge model object
- 2.18. Extending the DSGE functionalities
- 2.19. Automatic Translation of files
- 2.20. Technical documentation for rise/dsge objects
- 2.20.1. The properties
- 2.20.2. The methods
- abcd
- accuracy
- calculate_loss
- calibrate
- check_derivatives
- condition_draws_on_model
- counterfactual
- dbminusdb
- draw_parameter
- drop
- estimate
- extract_first_order_structure
- filter
- fisher
- fold_solution
- forecast
- forecast_real_time
- frontier
- get
- growth_database
- hessian
- historical_decomposition
- historical_decomposition_switch
- indirect_inference
- initial_conditions
- initial_sstate
- irf
- is_forward_guidance_puzzle
- is_stable_system
- is_stationary_system
- isnan
- itranslate
- link_parameters
- loadObj
- load_parameters
- log_posterior_kernel
- log_prior_density
- map_solution
- max_discrepancy
- mode_curvature
- model_information
- observables_decomposition
- optimal_simple_rule
- parameters_to_file
- perfect_foresight
- plan2database
- posterior_sample
- predictive_analysis
- print_estimation_results
- print_solution
- pull_objective
- randsample
- refresh
- regime_partition_analysis
- resid
- resimulate
- rise
- saveObj
- set
- set_z_eplus_horizon
- simulate
- simulate_nonlinear
- solve
- solve_alternatives
- srf
- sstate
- state_var_list
- stoch_simul
- summary
- table
- theoretical_autocorrelations
- theoretical_autocovariances
- translate
- unlink_parameters
- update_file
- variance_decomposition
- view_linked_parameters
- 3. DSGE-VAR Modeling
- 3.1. Description
- 3.2. A quick-start example
- 3.2.1. A simple New Keynesian DSGE model
- 3.2.2. Setting up the BVAR-DSGE model
- 3.2.3. Fixed parameters
- 3.2.4. Setting up and visualing the priors
- 3.2.5. Collecting and transforming the data
- 3.2.6. Maximizing the posterior
- 3.2.7. IRFs of the BVAR-DSGE at the maximized posterior
- 3.2.8. IRFs of the DSGE model at the maximized posterior
- 3.2.9. IRF comparison
- 3.3. Technical documentation for dsge_var objects
- 4. Reduced-form VAR Modeling
- 4.1. Description
- 4.2. Quick-start examples
- 4.2.1. A constant-parameter VAR
- Collecting and transforming data
- Setting up the Reduced.form VAR
- Estimating the VAR using classical techniques
- Restrictions on the VAR : Domestic variables do not affect oil prices
- Estimate the restricted VAR
- Identification
- Compare structural shocks
- Compare CHOLESKI irfs
- Compare irfs based on the identification scheme
- Variance decomposition
- Historical decomposition
- Bootstrap
- Variance decomposition distribution
- Historical decomposition distribution
- IRF distribution
- Bayesian estimation
- Posterior sampling of parameters
- Bayesian forecasting
- Conditional forecasting
- 4.2.2. Adding regime switching with constant transition probabilities
- 4.2.3. Adding regime switching with time~varying transition probabilities
- 4.2.1. A constant-parameter VAR
- 4.3. Technical documentation for rfvar objects
- 5. Panel VAR Modeling
- 6. Structural VAR Modeling
- 7. Proxy (instrumental) SVAR Modeling
Estimation, data and analysis
- 1. Bayesian Estimation
- 1.1. Restrictions on parameters during estimation
- 1.2. Prior distributions and implementation
- 1.3. Posterior maximization
- 1.4. Posterior sampling
- 1.5. Processing Posterior draws : The mcmc class
- 1.6. Marginal Data Density computation : the mdd class
- 1.7. Indirect Inference
- 2. Time Series and Data Management
- 3. Global Sensitivity Analysis and Uncertainty Quantification
- 4. Conditional forecasting using relative entropy
- 5. RISE’s reporting system
- 5.1. Description
- 5.2. Quick start
- 5.3. Structuring the document
- 5.4. Adding content
- 5.5. Page control
- 5.6. Publishing
- 5.7. Legacy
@rprtcompatibility - 5.8. Details
- 5.8.1. The properties
- 5.8.2. The methods
- addParameterTable
- chapter
- checkLatexLiteralSafety
- cleardoublepage
- clearpage
- create_figure
- description
- dsge
- enumerate
- equation
- figure
- footnote
- getfieldWithDefault
- input
- itemize
- latexSafe
- maketitle
- newpage
- pagebreak
- paragraph
- publish
- quotation
- quote
- rnotes
- section
- subparagraph
- subsection
- subsubsection
- table
- text
- toc
- url
- verbatim
- 6. Stochastic Global Optimization
- 7. Plotting tools
Extending RISE
- 1. Extending RISE through paradigms
Indices and tables
Stéphane Adjemian, Houtan Bastani, Michel Juillard, Fréderic Karamé, Junior Maih, Ferhat Mihoubi, George Perendia, Johannes Pfeifer, Marco Ratto, and Sébastien Villemot. Dynare: Reference Manual Version 4. Dynare Working Papers 1, CEPREMAP, April 2011. URL: https://ideas.repec.org/p/cpm/dynare/001.html.
Gary Anderson. Solving Linear Rational Expectations Models: A Horse Race. Computational Economics, 31(2):95–113, March 2008. URL: https://ideas.repec.org/a/kap/compec/v31y2008i2p95-113.html, doi:10.1007/s10614-007-9108-0.
Martin M. Andreasen, Jesus Fernandez-Villaverde, and Juan Rubio-Ramirez. The pruned state-space system for non-linear dsge models: theory and empirical applications. NBER Working Papers 18983, National Bureau of Economic Research, Inc, Apr 2013. URL: http://ideas.repec.org/p/nbr/nberwo/18983.html.
Michal Andrle and Jaromir Benes. System Priors: Formulating Priors about DSGE Models' Properties. IMF Working Papers 2013/257, International Monetary Fund, Dec 2013. URL: https://ideas.repec.org/p/imf/imfwpa/2013-257.html, doi:.
Michal Andrle and Miroslav Plasil. System Priors for Econometric Time Series. Working Papers 2017/01, Czech National Bank, May 2017. URL: https://ideas.repec.org/p/cnb/wpaper/2017-01.html, doi:.
Michal Andrle and Miroslav Plašil. Econometrics with system priors. Economics Letters, 172:134–137, 2018. URL: https://www.sciencedirect.com/science/article/pii/S0165176518303598, doi:https://doi.org/10.1016/j.econlet.2018.08.038.
Y. Bar-Shalom, X.R. Li, and T. Kirubarajan. Estimation with Applications to Tracking and Navigation: Theory Algorithms and Software. Electronic and electrical engineering. Wiley, 2001. ISBN 9780471416555. URL: https://books.google.no/books?id=j2dGkwEACAAJ.
Yaakov bar-shalom, X.‐Rong Li, and Thia Kirubarajan. Estimation with Applications to Tracking and Navigation: Theory, Algorithms and Software. The Author, 01 2004. ISBN 047141655X. doi:10.1002/0471221279.ch11.
Andrew Binning and Junior Maih. Sigma point filters for dynamic nonlinear regime switching models. Working Paper 2015/10, Norges Bank, 2015. URL: https://EconPapers.repec.org/RePEc:bno:worpap:2015_10.
Stephen P. Brooks and Andrew Gelman. General methods for monitoring convergence of iterative simulations. Journal of Computational and Graphical Statistics, 7(4):434–455, 1998. doi:10.1080/10618600.1998.10474787.
Adam Cagliarini and Mariano Kulish. Solving Linear Rational Expectations Models with Predictable Structural Changes. The Review of Economics and Statistics, 95(1):328–336, March 2013. URL: https://ideas.repec.org/a/tpr/restat/v95y2013i1p328-336.html.
Javier Castro, Daniel Gómez, and Juan Tejada. Polynomial calculation of the Shapley value based on sampling. Computers & Operations Research, 36(5):1726–1730, 2009. doi:10.1016/j.cor.2008.04.004.
Yoosoon Chang, Junior Maih, and Fei Tan. Origins of monetary policy shifts: A New approach to regime switching in DSGE models. Journal of Economic Dynamics and Control, 2021. URL: https://ideas.repec.org/a/eee/dyncon/v133y2021ics0165188921001706.html, doi:10.1016/j.jedc.2021.10423.
Siddhartha Chib and Ivan Jeliazkov. Marginal likelihood from the metropolis–hastings output. Journal of the American Statistical Association, 96(453):270–281, 2001.
Seonghoon Cho. Characterizing Markov-Switching Rational Expectation Models. Working Paper, Yonsei University, February 2014.
Lawrence J. Christiano, Mathias Trabandt, and Karl Walentin. Introducing financial frictions and unemployment into a small open economy model. Journal of Economic Dynamics and Control, 35(12):1999–2041, 2011. URL: https://ideas.repec.org/a/eee/dyncon/v35y2011i12p1999-2041.html, doi:10.1016/j.jedc.2011.09.00.
Oswaldo Luiz do Valle Costa, M. D. (Marcelo Dutra) Fragoso, and Ricardo Paulino Marques. Discrete-time Markov jump linear systems. Probability and its applications. Springer, London, 2005. ISBN 1-85233-761-3. URL: http://opac.inria.fr/record=b1120049.
Piet De Jong and Singfat Chu‐Chun‐Lin. Smoothing With An Unknown Initial Condition. Journal of Time Series Analysis, 24(2):141–148, March 2003. URL: https://ideas.repec.org/a/bla/jtsera/v24y2003i2p141-148.html, doi:10.1111/1467-9892.00298.
Marco Del Negro and Frank Schorfheide. Priors from General Equilibrium Models for VARS. International Economic Review, 45(2):643–673, May 2004. URL: https://ideas.repec.org/a/ier/iecrev/v45y2004i2p643-673.html, doi:.
Marco Del Negro and Frank Schorfheide. Forming priors for dsge models (and how it affects the assessment of nominal rigidities). Journal of Monetary Economics, 55(7):1191–1208, 2008. URL: https://www.sciencedirect.com/science/article/pii/S0304393208001396, doi:https://doi.org/10.1016/j.jmoneco.2008.09.006.
Marco Del Negro, Frank Schorfheide, Frank Smets, and Rafael Wouters. On the Fit of New Keynesian Models. Journal of Business & Economic Statistics, 25:123–143, April 2007. URL: https://ideas.repec.org/a/bes/jnlbes/v25y2007p123-143.html.
James Durbin and Siem Jan Koopman. Time Series Analysis by State Space Methods. Volume of OUP Catalogue. Oxford University Press, edition, November 2012. ISBN ARRAY(0x60272498). URL: https://ideas.repec.org/b/oxp/obooks/9780199641178.html, doi:.
Roger E.A. Farmer, Daniel F. Waggoner, and Tao Zha. Minimal state variable solutions to Markov-switching rational expectations models. Journal of Economic Dynamics and Control, 35(12):2150–2166, 2011. URL: https://ideas.repec.org/a/eee/dyncon/v35y2011i12p2150-2166.html, doi:10.1016/j.jedc.2011.08.00.
Andrew Foerster, Juan F. Rubio-Ramirez, Daniel F. Waggoner, and Tao Zha. Perturbation methods for Markov-switching dynamic stochastic general equilibrium models. Quantitative Economics, 7(2):637–669, 07 2016. URL: https://ideas.repec.org/a/wly/quante/v7y2016i2p637-669.html, doi:.
Sylvia Frühwirth-Schnatter. Finite mixture and Markov switching models. Springer, Berlin, 1st edition, 2006.
Paolo Gelain, Kevin J. Lansing, and Caterina Mendicino. House Prices, Credit Growth, and Excess Volatility: Implications for Monetary and Macroprudential Policy. International Journal of Central Banking, 9(2):219–276, June 2013. URL: https://ideas.repec.org/a/ijc/ijcjou/y2013q2a11.html.
Andrew Gelman, John B. Carlin, Hal S. Stern, and Donald B. Rubin. Bayesian Data Analysis. Chapman & Hall/CRC, 2 edition, 2004.
Andrew Gelman and Donald B. Rubin. Inference from Iterative Simulation Using Multiple Sequences. Statistical Science, 7(4):457 – 472, 1992. URL: https://doi.org/10.1214/ss/1177011136, doi:10.1214/ss/1177011136.
John Geweke. Using simulation methods for bayesian econometric models: inference, development,and communication. Econometric Reviews, 18(1):1–73, 1999.
Luca Guerrieri and Matteo Iacoviello. OccBin: A toolkit for solving dynamic models with occasionally binding constraints easily. Journal of Monetary Economics, 70(C):22–38, 2015. URL: https://ideas.repec.org/a/eee/moneco/v70y2015icp22-38.html, doi:10.1016/j.jmoneco.2014.08.
Luca Guerrieri and Matteo Iacoviello. Collateral constraints and macroeconomic asymmetries. Journal of Monetary Economics, 90(C):28–49, 2017. URL: https://ideas.repec.org/a/eee/moneco/v90y2017icp28-49.html, doi:10.1016/j.jmoneco.2017.06.
V. Gupta, R.M. Murray, and B. Hassibi. On the control of jump linear markov systems with markov state estimation. In American Control Conference, 2003. Proceedings of the 2003, volume 4, 2893–2898 vol.4. June 2003. doi:10.1109/ACC.2003.1243762.
Peter N. Ireland. A method for taking models to the data. Journal of Economic Dynamics and Control, 28(6):1205–1226, 2004. URL: https://www.sciencedirect.com/science/article/pii/S0165188903000800, doi:https://doi.org/10.1016/S0165-1889(03)00080-0.
Michel Juillard and Junior Maih. Estimating DSGE Models with Observed Real-Time Expectation Data. 2010. URL: https://www.kansascityfed.org/publicat/events/research/2010CenBankForecasting/Maih_paper.pdf.
C.J. Kim and C.R. Nelson. State-space Models with Regime Switching: Classical and Gibbs-sampling Approaches with Applications. MIT Press, 1999. ISBN 9780262112383. URL: http://books.google.no/books?id=eQFsQgAACAAJ.
Chang-Jin Kim and Charles Nelson. A bayesian approach to testing for markov-switching in univariate and dynamic factor models. International Economic Review, 42(4):989–1013, 2001. URL: http://EconPapers.repec.org/RePEc:ier:iecrev:v:42:y:2001:i:4:p:989-1013.
Paul Klein. Using the generalized schur form to solve a multivariate linear rational expectations model. Journal of Economic Dynamics and Control, 24(10):1405–1423, September 2000. URL: http://ideas.repec.org/a/eee/dyncon/v24y2000i10p1405-1423.html.
S. J. Koopman and J. Durbin. Fast Filtering and Smoothing for Multivariate State Space Models. Journal of Time Series Analysis, 21(3):281–296, May 2000. URL: https://ideas.repec.org/a/bla/jtsera/v21y2000i3p281-296.html, doi:10.1111/1467-9892.00186.
S. J. Koopman and J. Durbin. Filtering and smoothing of state vector for diffuse state‐space models. Journal of Time Series Analysis, 24(1):85–98, January 2003. URL: https://ideas.repec.org/a/bla/jtsera/v24y2003i1p85-98.html, doi:10.1111/1467-9892.00294.
Junior Maih. Conditional forecasts in DSGE models. Working Paper 2010/07, Norges Bank, April 2010. URL: https://ideas.repec.org/p/bno/worpap/2010_07.html.
Junior Maih. Efficient perturbation methods for solving regime-switching DSGE models. Working Paper 2015/01, Norges Bank, January 2015. URL: https://ideas.repec.org/p/bno/worpap/2015_01.html, doi:.
Junior Maih and Daniel Waggoner. Perturbation Methods for DSGE Models with Time Varying Coefficients and Transition Matrices. Mimeograph, Norges Bank, 2018.
Xiao-Li Meng and Wing Hung Wong. Simulating ratios of normalizing constants via a simple identity: a theoretical exploration. Statistica Sinica, 6(4):831–860, 1996. URL: http://www.jstor.org/stable/24306045.
Btażej Miasojedow, Eric Moulines, and Matti Vihola. An adaptive parallel tempering algorithm. Journal of Computational and Graphical Statistics, 22(3):649–664, 2013.
Christophe Planas, Marco Ratto, and Alessandro Rossi. Slice sampling in bayesian estimation of dsge models. Working Papers, Joint Research Centre, European Commission, 2015.
Christophe Planas and Alessandro Rossi. The slice sampler and centrally symmetric distributions. Working Papers 2018-11, Joint Research Centre, European Commission, November 2018. URL: https://ideas.repec.org/p/jrs/wpaper/201811.html, doi:.
Adrian E. Raftery and Steven Lewis. How many iterations in the gibbs sampler? In A. P. Dawid J. M. Bernardo, J. Berger and A. F. M. Smith, editors, Bayesian Statistics, volume 4, 763–73. Oxford University Press, 1992.
Marco Ratto. Analysing dsge models with global sensitivity analysis. Computational Economics, 31:115–139, 02 2008. doi:10.1007/s10614-007-9110-6.
Francisco Ruge-Murcia. Estimating nonlinear dsge models by the simulated method of moments: with an application to business cycles. Journal of Economic Dynamics and Control, 36(6):914–938, 2012. URL: https://www.sciencedirect.com/science/article/pii/S0165188912000231, doi:https://doi.org/10.1016/j.jedc.2012.01.008.
Christopher A Sims. Solving Linear Rational Expectations Models. Computational Economics, 20(1-2):1–20, October 2002. URL: https://ideas.repec.org/a/kap/compec/v20y2002i1-2p1-20.html.
Christopher A. Sims, Daniel F. Waggoner, and Tao Zha. Methods for inference in large multiple-equation Markov-switching models. Journal of Econometrics, 146(2):255–274, October 2008. URL: https://ideas.repec.org/a/eee/econom/v146y2008i2p255-274.html, doi:.
Charles F. Van Loan. The ubiquitous Kronecker product. Journal of Computational and Applied Mathematics, 123(123):85–100, 2000.