Skip to content
Snippets Groups Projects
Select Git revision
  • c125d35347eb354cc834471bc79fad21a4d06ac4
  • master default
  • nlf-fixes
  • newton-quadratic-equation-solver
  • nlf-fixes-r
  • nls-fixes
  • sep-fixes
  • sep
  • use-dprior
  • ep-sparse
  • rebase-1
  • parfor
  • reset-seed-in-unit-tests
  • remove-persistent-variables
  • nonlinear-filter-fixes
  • pac-mce-with-composite-target
  • 6.x
  • dprior
  • covariance-quadratic-approximation
  • benchmark-ec
  • kalman_mex
  • 5.5
  • 5.4
  • 5.3
  • 5.2
  • 5.1
  • 5.0
  • 5.0-rc1
  • 4.7-beta3
  • 4.7-beta2
  • 4.7-beta1
  • 4.6.4
  • 4.6.3
  • 4.6.2
  • 4.6.1
  • 4.6.0
  • 4.6.0-rc2
  • 4.6.0-rc1
  • 4.6-beta1
  • 4.5.7
  • 4.5.6
41 results

the-model-file.rst

Blame
  • Forked from Dynare / dynare
    Source project has a limited visibility.
    Dynare AIM use Doc.tex 9.09 KiB
    
    % This LaTeX was auto-generated from an M-file by MATLAB.
    % To make changes, update the M-file and republish this document.
    
    \documentclass{article}
    \usepackage{graphicx}
    \usepackage{color}
    
    \sloppy
    \definecolor{lightgray}{gray}{0.5}
    \setlength{\parindent}{0pt}
    
    \begin{document}
    
        
        
    \section*{Dunare AIM Solver Subsystem}
    
    
    \subsection*{Contents}
    
    \begin{itemize}
    \setlength{\itemsep}{-1ex}
       \item AIM Solver Subsystem
       \item APPENDIX 1: AIM System SPecification and Dynare Mapping
       \item APPENDIX 2: dynAIMsolver1 Function Specification
    \end{itemize}
    
    
    \subsection*{AIM Solver Subsystem}
    
    \begin{par}
    The AIM subsystem in the AIM subdirectory of the main Dynare matlab directory contains Matlab functions necessary for using Gary Anderson's AIM 1st order solver as an alternative to Dynare's default mjdgges solver (see  \begin{verbatim}http://www.federalreserve.gov/Pubs/oss/oss4/aimindex.html\end{verbatim} ).
    \end{par} \vspace{1em}
    \begin{par}
    It cosists of:
    \end{par} \vspace{1em}
    \begin{itemize}
    \setlength{\itemsep}{-1ex}
       \item New Dynare function \textbf{dynAIMsolver1(jacobia\_, M\_, dr)} which is called from \textbf{dr1.m} and which maps Dynare system to the AIM package subsystem. It then derives the solution for gy=dr.hgx and gu=dr.hgu from the AIM outputs. ("1" in the title is for 1st order solver).
    \end{itemize}
    \begin{itemize}
    \setlength{\itemsep}{-1ex}
       \item A subset of Matlab routines from Gary Anderson's own AIM package needed to compute and solve system passed on and returned by dynAIMsolver1 whose names start with SP.. of which \textbf{SPAmalg.m} is the main driver:
    \end{itemize}
    \begin{itemize}
    \setlength{\itemsep}{-1ex}
       \item SPAmalg.m
       \item SPBuild\_a.m
       \item SPSparse.m
       \item SPShiftright.m
       \item SPExact\_shift.m
       \item SPNumeric\_shift.m
       \item SPObstruct.m
       \item SPEigensystem.m
       \item SPReduced\_form
       \item SPCopy\_w.m
       \item SPAimerr.m
    \end{itemize}
    \begin{par}
    The path to the AIM directory, if exists, is added by \textbf{dynare\_config.m} using addpath
    \end{par} \vspace{1em}
    \begin{par}
    \textbf{USE:}
    \end{par} \vspace{1em}
    \begin{par}
    Dynare DR1.m tries to invoke AIM solver instead default mjdgges if options\_.useAIM == 1 is set and, if not check only, and if 1st order solution is needed, i.e.:
    \end{par} \vspace{1em}
    
    \begin{verbatim}  if (options_.useAIM == 1) && (task == 0) && (options_.order == 1)\end{verbatim}