Estimation Problem

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.

Estimation Problem

Postby Victor_Naegele » Fri Dec 13, 2013 6:01 pm

Hi everyone,

I just started learning how to use Dynare, then maybe my problem can easily be solved.

I am trying to estimate a model based on Gertler and Karadi paper "A model of unconventional monetary policy" using brazilian data but when I try to estimate the model it doesn´t run correctly.

Any help would be greatly appreciated.

Thanks in advance.
Attachments
G_K_est.xls
(31 KiB) Downloaded 84 times
G_K_model.mod
(2.97 KiB) Downloaded 96 times
Victor_Naegele
 
Posts: 2
Joined: Fri Dec 13, 2013 5:45 pm

Re: Estimation Problem

Postby Victor_Naegele » Fri Dec 13, 2013 6:48 pm

I forgot to post the error message, here it is:

Starting preprocessing of the model file ...
ERROR: rascunho.mod:107.17: syntax error, unexpected ';', expecting EQUAL

I have searched for this unexpected ";" but there isn´t one.

Thanks in advance
Victor_Naegele
 
Posts: 2
Joined: Fri Dec 13, 2013 5:45 pm

Re: Estimation Problem

Postby costa » Fri Dec 13, 2013 11:23 pm

You forgot to put end; after the initival block. In the end of your code you need to put ";", after the estimation command. By the way, the excel file you sent differs from the one in your code. I think your priors look strange for some parameters as well.
costa
 
Posts: 47
Joined: Thu Nov 14, 2013 8:09 pm

Re: Estimation Problem

Postby donihue » Sun Dec 15, 2013 4:18 pm

There is another, more serious problem: you need exactly as many shocks as observed variables. You need either to add shocks or reduce the number of observed variables.
Regards
Donihue
donihue
 
Posts: 34
Joined: Mon Sep 12, 2011 1:12 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests