# Dynare v4 (legacy)

**URL:** https://forum.dynare.org/c/dynare-v4/9.md?page=1

[Latest](https://forum.dynare.org/latest.md) · [Categories](https://forum.dynare.org/categories.md)

**Page:** 2

---

## [An error in coding with many 'varexo\_det's](https://forum.dynare.org/t/an-error-in-coding-with-many-varexo-dets/914)

<div class="topic-metadata">

**Author:** [@kym0802](https://forum.dynare.org/u/kym0802)\
**Replies:** 1\
**Last updated:** [17 February 2009 10:05 UTC](https://forum.dynare.org/t/an-error-in-coding-with-many-varexo-dets/914 "2009-02-17T10:05:30Z")

</div>

I made a mod file( : ccg.mod ) containing three exo. deterministic variables( : varexo\_det cpb q ct; ) After runnig the mod file, dynare returned an error message and I found an error in the ccg.m file( which is made…

---

## [Parameter Valuse used in some DSGE model](https://forum.dynare.org/t/parameter-valuse-used-in-some-dsge-model/926)

<div class="topic-metadata">

**Author:** [@bigbigben](https://forum.dynare.org/u/bigbigben)\
**Replies:** 0\
**Last updated:** [16 February 2009 20:45 UTC](https://forum.dynare.org/t/parameter-valuse-used-in-some-dsge-model/926 "2009-02-16T20:45:50Z")

</div>

Hi, guys: This question is not about how to use dynare, but about the parameter values in DSGE models. I have seen some paper calibrate a parameter log(Lss)=397or some number abround this value. For example, Primeceri …

---

## [\`steady' after initval does not set values to steady state](https://forum.dynare.org/t/steady-after-initval-does-not-set-values-to-steady-state/779)

<div class="topic-metadata">

**Author:** [@bertsmid](https://forum.dynare.org/u/bertsmid)\
**Replies:** 2\
**Last updated:** [16 February 2009 18:03 UTC](https://forum.dynare.org/t/steady-after-initval-does-not-set-values-to-steady-state/779 "2009-02-16T18:03:45Z")

</div>

Hello, In the attached mod-file, the steady-command after the initval does not seem to set the values of the endogenous variables equal to their steady state values. Instead, the simulation starts with the values of ini…

---

## [Matlab Parallel toolbox (and Matlab 64bits)](https://forum.dynare.org/t/matlab-parallel-toolbox-and-matlab-64bits/872)

<div class="topic-metadata">

**Author:** [@lombard](https://forum.dynare.org/u/lombard)\
**Replies:** 1\
**Last updated:** [11 February 2009 04:57 UTC](https://forum.dynare.org/t/matlab-parallel-toolbox-and-matlab-64bits/872 "2009-02-11T04:57:57Z")

</div>

Hi, First of all I’ve run Dynare on a Matlab 64 bits and it seems to work fine (except that I didn’t re-compile the mex codes so I’m using the defauld .m). Second, I would like to run the MCMC in parallel using the par…

---

## [Irf's in Dynare 4](https://forum.dynare.org/t/irfs-in-dynare-4/923)

<div class="topic-metadata">

**Author:** [@jlandonl](https://forum.dynare.org/u/jlandonl)\
**Replies:** 0\
**Last updated:** [10 February 2009 21:29 UTC](https://forum.dynare.org/t/irfs-in-dynare-4/923 "2009-02-10T21:29:47Z")

</div>

When I run the simple example model from the website (RBC\_Monop\_JFV.mod) I get the following error message after I run stoch\_simul ??? Error using ==\> irf Too many input arguments. Error in ==\> stoch\_simul at 130 y=i…

---

## [Ramsey policy](https://forum.dynare.org/t/ramsey-policy/675)

<div class="topic-metadata">

**Author:** [@wgonzalez](https://forum.dynare.org/u/wgonzalez)\
**Replies:** 2\
**Last updated:** [10 February 2009 16:10 UTC](https://forum.dynare.org/t/ramsey-policy/675 "2009-02-10T16:10:33Z")

</div>

Dear All, I need some help to understand what exactly do dynare v4 in Ramsey Policy, specific I see some plot of irf of mult\_1, mult\_2,… and I don’t understand what is this variable, exist some documentation about it?. …

---

## [Stable version of dynare](https://forum.dynare.org/t/stable-version-of-dynare/921)

<div class="topic-metadata">

**Author:** [@simpatico](https://forum.dynare.org/u/simpatico)\
**Replies:** 0\
**Last updated:** [10 February 2009 05:24 UTC](https://forum.dynare.org/t/stable-version-of-dynare/921 "2009-02-10T05:24:07Z")

</div>

G’day I am very new to dynare. I’d like to know which is the version which will run the dynare examples - v4 ? v3.065?? Thanks Keith

---

## [Filtered Shocks and var decomposition](https://forum.dynare.org/t/filtered-shocks-and-var-decomposition/919)

<div class="topic-metadata">

**Author:** [@wgonzalez](https://forum.dynare.org/u/wgonzalez)\
**Replies:** 0\
**Last updated:** [6 February 2009 13:29 UTC](https://forum.dynare.org/t/filtered-shocks-and-var-decomposition/919 "2009-02-06T13:29:39Z")

</div>

Hi, I using the option filtered\_var in my estimation line, but after running the program, I don´t find the filtered shocks in the results mat file (oo.-). Someone knows where to find it. Another question, when I make h…

---

## [Post. Theoretical Moments](https://forum.dynare.org/t/post-theoretical-moments/918)

<div class="topic-metadata">

**Author:** [@Saint1106](https://forum.dynare.org/u/Saint1106)\
**Replies:** 0\
**Last updated:** [4 February 2009 04:54 UTC](https://forum.dynare.org/t/post-theoretical-moments/918 "2009-02-04T04:54:39Z")

</div>

Running moments\_varendo increases the computation time of the Bayesian estimation, by days, if not weeks. What is this so? Any suggestions for getting faster results?

---

## [Algorithm for first and second-order approximation](https://forum.dynare.org/t/algorithm-for-first-and-second-order-approximation/909)

<div class="topic-metadata">

**Author:** [@dennis0125hk](https://forum.dynare.org/u/dennis0125hk)\
**Replies:** 0\
**Last updated:** [19 January 2009 02:47 UTC](https://forum.dynare.org/t/algorithm-for-first-and-second-order-approximation/909 "2009-01-19T02:47:43Z")

</div>

Dear all, I would like to know what kinds of algorithm the Dynare uses to carry out first and second order approximation. What is the default setting to carry out first and second order approximation? I’ve come across t…

---

## [Problem with running dynare in Matlab 2008b](https://forum.dynare.org/t/problem-with-running-dynare-in-matlab-2008b/903)

<div class="topic-metadata">

**Author:** [@bigbigben](https://forum.dynare.org/u/bigbigben)\
**Replies:** 3\
**Last updated:** [13 January 2009 13:11 UTC](https://forum.dynare.org/t/problem-with-running-dynare-in-matlab-2008b/903 "2009-01-13T13:11:08Z")

</div>

I use the newest update in SVN server. Below is the error message. Since the color is black, I believe it is from Dynare itself, instead of from Matlab. It looks like irrelavant with my code. ‘“C:\\JingHan\\acdemic\\Resear…

---

## [Is the SVN Server Down?](https://forum.dynare.org/t/is-the-svn-server-down/891)

<div class="topic-metadata">

**Author:** [@bigbigben](https://forum.dynare.org/u/bigbigben)\
**Replies:** 1\
**Last updated:** [29 December 2008 01:56 UTC](https://forum.dynare.org/t/is-the-svn-server-down/891 "2008-12-29T01:56:03Z")

</div>

I can’t update dynare with the SVN service. I am using Tortoise SVN. Below is the error message: Command: Checkout from dynare.org/download \*, revision HEAD, Fully recursive, Externals included Error: Server sent unexp…

---

## [Loop](https://forum.dynare.org/t/loop/892)

<div class="topic-metadata">

**Author:** [@ivip](https://forum.dynare.org/u/ivip)\
**Replies:** 0\
**Last updated:** [24 December 2008 17:53 UTC](https://forum.dynare.org/t/loop/892 "2008-12-24T17:53:37Z")

</div>

Dear all, I’m trying to perform an optimal monetary policy exercise for different values of a parameters, something that should be straightforward with a simple loop in MATLAB. I have tried appending after the model the…

---

## [Problems with "optim" settings under 4.0.2](https://forum.dynare.org/t/problems-with-optim-settings-under-4-0-2/884)

<div class="topic-metadata">

**Author:** [@SamuelHurtado](https://forum.dynare.org/u/SamuelHurtado)\
**Replies:** 1\
**Last updated:** [15 December 2008 15:47 UTC](https://forum.dynare.org/t/problems-with-optim-settings-under-4-0-2/884 "2008-12-15T15:47:13Z")

</div>

Hi with the change to 4.0.2 (I installed a snapshot from a couple of days ago), I can no longer set the “optim” options for fmincon optimization I used to state optim=(‘MaxIter’,1000) as an option to my estimate comman…

---

## [Declare endogenous variables after the estimation command?](https://forum.dynare.org/t/declare-endogenous-variables-after-the-estimation-command/873)

<div class="topic-metadata">

**Author:** [@shwayder](https://forum.dynare.org/u/shwayder)\
**Replies:** 1\
**Last updated:** [15 December 2008 13:16 UTC](https://forum.dynare.org/t/declare-endogenous-variables-after-the-estimation-command/873 "2008-12-15T13:16:22Z")

</div>

Hi There, Using Dynare 4.0.2 in MATLAB, and trying to do a Bayesian estimation. When I run my code, after computing the steady state Dynare spits out the line: You did not declare endogenous variables after the estima…

---

## [Where is "mode\_compute =5" file in Dynare?](https://forum.dynare.org/t/where-is-mode-compute-5-file-in-dynare/879)

<div class="topic-metadata">

**Author:** [@measilva](https://forum.dynare.org/u/measilva)\
**Replies:** 0\
**Last updated:** [8 December 2008 19:30 UTC](https://forum.dynare.org/t/where-is-mode-compute-5-file-in-dynare/879 "2008-12-08T19:30:38Z")

</div>

Does anyone know where I can find the file correspondent to “mode\_compute=5” in Dynare? Does anyone know a paper or a documentation explaining this routine? In what dimensions this routine is better than Chris Simms’ ro…

---

## [Ramsey\_policy](https://forum.dynare.org/t/ramsey-policy/877)

<div class="topic-metadata">

**Author:** [@r.rossi.1](https://forum.dynare.org/u/r.rossi.1)\
**Replies:** 0\
**Last updated:** [7 December 2008 16:05 UTC](https://forum.dynare.org/t/ramsey-policy/877 "2008-12-07T16:05:24Z")

</div>

Hi everyone, I am currently running an optimal policy exercise. Does anyone know if the command ramsey\_policy computes optimal “pre-commitment” or optimal “timeless perspective” policy? Thanks Raffaele

---

## [Jscale and gmhmaxlik](https://forum.dynare.org/t/jscale-and-gmhmaxlik/864)

<div class="topic-metadata">

**Author:** [@measilva](https://forum.dynare.org/u/measilva)\
**Replies:** 1\
**Last updated:** [2 December 2008 22:06 UTC](https://forum.dynare.org/t/jscale-and-gmhmaxlik/864 "2008-12-02T22:06:11Z")

</div>

Does anyone know how to turn in gmhmaxlik within the mod file? I am facing some issues with the acceptance ratio in my model. For really small changes in the mjscale the acceptance ratio goes from numbers bellow 10% to a…

---

## [Error using steady state function](https://forum.dynare.org/t/error-using-steady-state-function/868)

<div class="topic-metadata">

**Author:** [@jmadeira](https://forum.dynare.org/u/jmadeira)\
**Replies:** 1\
**Last updated:** [1 December 2008 19:13 UTC](https://forum.dynare.org/t/error-using-steady-state-function/868 "2008-12-01T19:13:56Z")

</div>

Hi, I have a mod file for a model where I use a matlab code to compute the steady state. In dynare version 3 my mode file works fine. But with Dynare version 4 it does not (I copied pasted the message that shows up in …

---

## [Dynare on OSX Tiger](https://forum.dynare.org/t/dynare-on-osx-tiger/866)

<div class="topic-metadata">

**Author:** [@a\_tran84](https://forum.dynare.org/u/a_tran84)\
**Replies:** 1\
**Last updated:** [1 December 2008 13:22 UTC](https://forum.dynare.org/t/dynare-on-osx-tiger/866 "2008-12-01T13:22:01Z")

</div>

Hi, I’m trying to compile the preprocessor on OS X Tiger with GCC 4.0 and Bison (from Fink) installed but I come up with this error after running make in the preprocessor folder: MacroBison.yy:21.1-8: invalid directive…

---

## [Error message for 2nd order approximation](https://forum.dynare.org/t/error-message-for-2nd-order-approximation/858)

<div class="topic-metadata">

**Author:** [@lombard](https://forum.dynare.org/u/lombard)\
**Replies:** 1\
**Last updated:** [19 November 2008 15:26 UTC](https://forum.dynare.org/t/error-message-for-2nd-order-approximation/858 "2008-11-19T15:26:40Z")

</div>

Hi, I couldn’t find any related QA in the forum (I searched Gamma\_y{nar+2}) The problem is that Dynare (4.0.2) crashes with the message My options are where u and c are two existing variables. If I set options\_nom…

---

## [Dynare version 4.0.2 is released](https://forum.dynare.org/t/dynare-version-4-0-2-is-released/812)

<div class="topic-metadata">

**Author:** [@MichelJuillard](https://forum.dynare.org/u/MichelJuillard)\
**Replies:** 3\
**Last updated:** [16 November 2008 16:59 UTC](https://forum.dynare.org/t/dynare-version-4-0-2-is-released/812 "2008-11-16T16:59:23Z")

</div>

A bug fixing release 4.0.2 is now available Release of Dynare 4.0.0 Dynare 4.0.0 for Windows 32-bit is available in the Download section of the web site. It take the form of a EXE installer that you need to execute on …

---

## [Suggestion for more information](https://forum.dynare.org/t/suggestion-for-more-information/853)

<div class="topic-metadata">

**Author:** [@lombard](https://forum.dynare.org/u/lombard)\
**Replies:** 0\
**Last updated:** [13 November 2008 14:26 UTC](https://forum.dynare.org/t/suggestion-for-more-information/853 "2008-11-13T14:26:27Z")

</div>

Hi, I see that in dynare\_estimation you have the following piece of code if any(xparam1 \< bounds(:,1)) | any(xparam1 \> bounds(:,2)) find(xparam1 \< bounds(:,1)) find(xparam1 \> bounds(:,2)) error('Initial parameter v…

---

## [Wrong computation of lower bounds for priors?](https://forum.dynare.org/t/wrong-computation-of-lower-bounds-for-priors/852)

<div class="topic-metadata">

**Author:** [@lombard](https://forum.dynare.org/u/lombard)\
**Replies:** 0\
**Last updated:** [13 November 2008 11:36 UTC](https://forum.dynare.org/t/wrong-computation-of-lower-bounds-for-priors/852 "2008-11-13T11:36:07Z")

</div>

Hi, In relation to my previous message to this forum, I’ve tried to trace the source of the problems. I’ve noticed that Dynare computes bounds for priors, even if the user did not want to have bounds (besided the natur…

---

## [Strange crashes in evaluating priors](https://forum.dynare.org/t/strange-crashes-in-evaluating-priors/851)

<div class="topic-metadata">

**Author:** [@lombard](https://forum.dynare.org/u/lombard)\
**Replies:** 0\
**Last updated:** [13 November 2008 09:35 UTC](https://forum.dynare.org/t/strange-crashes-in-evaluating-priors/851 "2008-11-13T09:35:56Z")

</div>

Hi, I’ve got this error message \[quote\]Error in computing likelihood for initial parameter values ??? Error using ==\> print\_info This case shouldn’t happen. Contact the authors of Dynare Error in ==\> initial\_estimat…

---

## [Strange crashes in evaluating priors](https://forum.dynare.org/t/strange-crashes-in-evaluating-priors/850)

<div class="topic-metadata">

**Author:** [@lombard](https://forum.dynare.org/u/lombard)\
**Replies:** 0\
**Last updated:** [13 November 2008 09:21 UTC](https://forum.dynare.org/t/strange-crashes-in-evaluating-priors/850 "2008-11-13T09:21:08Z")

</div>

Hi, I’ve got this error message \[quote\]Error in computing likelihood for initial parameter values ??? Error using ==\> print\_info This case shouldn’t happen. Contact the authors of Dynare Error in ==\> initial\_estimat…

---

## [Problem with dynare-Octave](https://forum.dynare.org/t/problem-with-dynare-octave/847)

<div class="topic-metadata">

**Author:** [@ripatti](https://forum.dynare.org/u/ripatti)\
**Replies:** 3\
**Last updated:** [12 November 2008 15:13 UTC](https://forum.dynare.org/t/problem-with-dynare-octave/847 "2008-11-12T15:13:19Z")

</div>

Dear Musketeers, I am running dynare 4.0.2 with Octave 3.0.1. The dynare code is something very simple (so far). The code crashes to the following error message that is accompanied with an error message window saying A…

---

## [? mydgges](https://forum.dynare.org/t/mydgges/849)

<div class="topic-metadata">

**Author:** [@mkulish](https://forum.dynare.org/u/mkulish)\
**Replies:** 2\
**Last updated:** [12 November 2008 11:04 UTC](https://forum.dynare.org/t/mydgges/849 "2008-11-12T11:04:35Z")

</div>

Hi All, I get the following error message. It happens after computing the mode and before launching the MCMC. For some choice of priors it does not occur. Does anybody know what this might mean? Thanks, Mariano ??? M…

---

## [Matlab Functions in Dynare 4](https://forum.dynare.org/t/matlab-functions-in-dynare-4/677)

<div class="topic-metadata">

**Author:** [@bigbigben](https://forum.dynare.org/u/bigbigben)\
**Replies:** 4\
**Last updated:** [3 November 2008 09:52 UTC](https://forum.dynare.org/t/matlab-functions-in-dynare-4/677 "2008-11-03T09:52:24Z")

</div>

Hi, I write a code with Matlab functions in Dynare. It looks like Dynare won’t recognize. The function is just normcdf in Matlab, below is the line Dynare recognized as an error normcdf((log(omeU)+sig\_omeU^2)/sig\_omeU)…

---

## [MJDGGES returns the following error code31](https://forum.dynare.org/t/mjdgges-returns-the-following-error-code31/844)

<div class="topic-metadata">

**Author:** [@mmyy56](https://forum.dynare.org/u/mmyy56)\
**Replies:** 2\
**Last updated:** [31 October 2008 02:33 UTC](https://forum.dynare.org/t/mjdgges-returns-the-following-error-code31/844 "2008-10-31T02:33:37Z")

</div>

Attached is my mod file . It can be run in Version 3.065. But in Ver 4.0 , it gives: ??? Error using ==\> print\_info at 53 MJDGGES returns the following error code31 Error in ==\> check at 54 print\_info(info); Error i…

[Previous page](https://forum.dynare.org/c/dynare-v4/9.md)

[Next page](https://forum.dynare.org/c/dynare-v4/9.md?page=2)
