IDEAS home Printed from https://ideas.repec.org/p/sce/scecf0/127.html
   My bibliography  Save this paper

Visualizing Multi-Dimensional Functions In Economics

Author

Listed:
  • William L. Goffe

    (University of Southern Mississippi)

Abstract

This 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.

Suggested Citation

  • William L. Goffe, 2000. "Visualizing Multi-Dimensional Functions In Economics," Computing in Economics and Finance 2000 127, Society for Computational Economics.
  • Handle: RePEc:sce:scecf0:127
    as

    Download full text from publisher

    To our knowledge, this item is not available for download. To find whether it is available, there are three options:
    1. Check below 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.

    Other versions of this item:

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:sce:scecf0:127. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum (email available below). General contact details of provider: https://edirc.repec.org/data/sceeeea.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.