Octave fminunc

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.

Octave fminunc

Postby Pert » Fri Sep 10, 2010 11:33 am

Hey guys,

I want to run Dynare in Octave, but it seems fminunc or similar function is not there. Estimation would not converge using mode compute=4, so I want to use 1. Any ideas what to do.

Thanks in advance.
Pert
 
Posts: 14
Joined: Thu Dec 03, 2009 8:54 am

Re: Octave fminunc

Postby SébastienVillemot » Mon Sep 13, 2010 11:00 am

Hi,

fminunc is present in Octave 3.2.4. Which version of Octave are you using ? Or do you get an error message ?
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France

Re: Octave fminunc

Postby Pert » Mon Sep 13, 2010 11:50 am

Hi Sebastien,

Thank you for your reply, much appreciate it.

Actually, my bad, what I wanted to do, was to run mode compute=1, which should call fmincon, but Octave says "fmincon not defined in Octave", so it seems that Octave does not have a similar function as fmincon?

[On the other hand, mode compute=3 (fminunc) is also showing error message: "Invalid call to fminunc" in Octave, but more importantly, the model would not converge in mode compute 3 (at least not enough to have Dynare run metropolis hastings), so we prefer to use mode compute = 1]

Any ideas? Thanks again.
Pert
 
Posts: 14
Joined: Thu Dec 03, 2009 8:54 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests