# Problem with estimation

**URL:** <https://forum.dynare.org/t/problem-with-estimation/480>\
**Category:** Dynare help (legacy posts)\
**Created:** [2 November 2007 15:32 UTC](https://forum.dynare.org/t/problem-with-estimation/480 "2007-11-02T15:32:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![p.gelain](https://forum.dynare.org/letter_avatar_proxy/v4/letter/p/439d5e/32.png) [@p.gelain](https://forum.dynare.org/u/p.gelain)\
**Post date:** [2 November 2007 15:32 UTC](https://forum.dynare.org/t/problem-with-estimation/480/1 "2007-11-02T15:32:35Z")

</div>

Hi!  
I have the following problem. I am trying to estimate my model, but every time I run the .mod file the results from the posterior maximization are different. In particular the number of iterations are different (this should not be a problem) and it gives different values of the objective function at mode. Should you help me?

I am attaching my .mod file and the datafile.

Thanks.

Paolo Gelain  
[datamiobasesw2.m](https://forum.dynare.org/uploads/default/original/1X/c23f366961110a31263b2061bd3e8d46cfc5b1d3.m) (10.1 KB)  
[mio\_base\_est.mod](https://forum.dynare.org/uploads/default/original/1X/6be97fcdb205f9d05efae74e6c2eb0aa0590c768.mod) (3.53 KB)
