Visualizing Multi-Dimensional Functions In Economics
AbstractThis paper shows how a forward-shooting algorithm can be easily implemented using the Matlab programming language. In the paper we develop and implement a forward-shooting numerical algorithm for computing the dynamics of a small representative agent macroeconomic model when subjected to an exogenous shock. The model has a number of important characteristics that effect its dynamic solution. These characteristics are common to a wide range of economic models. One characteristic is that the model is highly non-linear so that numeric solutions to the dynamics are necessary. Another characteristic is that the solution must lie on a stable manifold. This requires the model to contain jumping variables and makes the numeric solution of the dynamics difficult as the solution will easily 'fall off' the stable manifold. The model terminal solution is particularly sensitive to initial conditions and to computational errors introduced in the solution.A forward-shooting algorithm can be used to find the necessary jumps to ensure the model lies on the stable manifold. In the paper we use computer visualisation techniques to show the algorithm searching for the necessary jumps to determine the dynamic solution. The algorithm searches for the initial conditions of the jumping variables that result in the terminal solution of the model being close to the known values.The paper shows how the algorithm, and its visualisation, can be implemented in the Matlab programming language using standard Matlab routines. The program implements a Nelder-Mead simplex search to find the particular initial conditions of the jumping variables that minimises the 2-norm between known terminal solution and that generated by the candidate initial conditions. For each candidate initial conditions a Runge-Kutta solver is used to generate the dynamics of the model, and plotting routines are used to visualise these dynamics.
Download InfoTo our knowledge, this item is not available for download. To find whether it is available, there are three options:
1. Check below under "Related research" whether another version of this item is available online.
2. Check on the provider's web page whether it is in fact available.
3. Perform a search for a similarly titled item that would be available.
Bibliographic InfoPaper provided by Society for Computational Economics in its series Computing in Economics and Finance 2000 with number 127.
Date of creation: 05 Jul 2000
Date of revision:
Contact details of provider:
Postal: CEF 2000, Departament d'Economia i Empresa, Universitat Pompeu Fabra, Ramon Trias Fargas, 25,27, 08005, Barcelona, Spain
Fax: +34 93 542 17 46
Web page: http://enginy.upf.es/SCE/
More information through EDIRC
Other versions of this item:
- Bill Goffe, 1999. "Visualizing Multi-Dimensional Functions in Economics," Computing in Economics and Finance 1999 1334, Society for Computational Economics.
You can help add them by filling out this form.
reading list or among the top items on IDEAS.Access and download statisticsgeneral information about how to correct material in RePEc.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Christopher F. Baum).
If references are entirely missing, you can add them using this form.