Dynare vs. GAMS: can anyone explain?

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Dynare vs. GAMS: can anyone explain?

Postby erezyerushalmi » Mon Sep 15, 2008 11:51 pm

Dear All,

I'm trying to understand how to solve the most simple, static model.

I can do it with GAMS, and I am trying to do the same with Dynare.

I think my problem lies with the fact that GAMS solves with Mixed Complementarity, while Dynare linearizes... ???

I must add that I don't (yet) know how to use Matlab.

However, this is basically have a system of 7 variables and 7 equations. Dynare finds a "spurious convergence", while I get a convergence in GAMS.
The initial values that I'm using are the GAMS convergence, which should be correct.

Here is the model.
1 agent with a Cobb-Douglas utility. Consumes X, Y
2 production sectors, using K, L in Cobb-Douglas. World is endowed with K=1, L=1.
Tax is my shock parameter, which is transfered to the Agent.

I'm attaching both Dynare and GAMS code, and a pdf file of the equations.

Hope someone there can give me direction.

Thanks, Erez
Attachments
dynare_GAMS.mod
Dynare code:
(962 Bytes) Downloaded 143 times
Dynare_vs_GAMS.pdf
The Equations
(46.51 KiB) Downloaded 154 times
GAMS_code.txt
GAMS file:
extension should be .gms to run with GAMS.
(1.59 KiB) Downloaded 140 times
erezyerushalmi
 
Posts: 5
Joined: Thu Sep 04, 2008 12:00 pm

Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 6 guests