The analytic_derivation and loglinear options are not compat

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.

The analytic_derivation and loglinear options are not compat

Postby shuixing » Mon Jul 25, 2016 8:26 am

dear professor Pfeifer
I build a stationary model and write the first order condition into dynare without loglinearize the variables and use a loglinear option in estimation set, and get a warning "The analytic_derivation and loglinear options are not compatible", it seems that there is a mistake using loglinear option, I am not clear where is wrong,what might be the problem, looking forward to hearing your reply, thanks.

best
shuixing
 
Posts: 38
Joined: Sun Apr 13, 2014 2:08 pm

Re: The analytic_derivation and loglinear options are not co

Postby jpfeifer » Mon Jul 25, 2016 8:39 am

As it says, you cannot use the
Code: Select all
loglinear
option together with the
Code: Select all
analytic_derivation
option. If you have not enabled the latter on purpose, there must be something in your mod-file that triggers
Code: Select all
analytic_derivation
before the estimation command. Please try adding
Code: Select all
analytic_derivation=0

to the estimation command
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: The analytic_derivation and loglinear options are not co

Postby shuixing » Tue Jul 26, 2016 8:39 am

jpfeifer wrote:As it says, you cannot use the
Code: Select all
loglinear
option together with the
Code: Select all
analytic_derivation
option. If you have not enabled the latter on purpose, there must be something in your mod-file that triggers
Code: Select all
analytic_derivation
before the estimation command. Please try adding
Code: Select all
analytic_derivation=0

to the estimation command


dear professor peifer
I add analytic_derivation=0 to the estimation command, but it seems that Dynare does not accept the expression "analytic_derivation=0" in estimation (options), because it is reported that ',' is expected rather than '='.
shuixing
 
Posts: 38
Joined: Sun Apr 13, 2014 2:08 pm

Re: The analytic_derivation and loglinear options are not co

Postby jpfeifer » Tue Jul 26, 2016 8:41 am

I see. Then add
Code: Select all
options_.analytic_derivation=0;

immediately before the estimation command.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: The analytic_derivation and loglinear options are not co

Postby shuixing » Thu Jul 28, 2016 3:22 am

thanks professor Peifer, it works.
shuixing
 
Posts: 38
Joined: Sun Apr 13, 2014 2:08 pm


Return to Dynare help

Who is online

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