# Question about estimation

**URL:** <https://forum.dynare.org/t/question-about-estimation/22614>\
**Category:** Estimation\
**Created:** [18 June 2023 08:53 UTC](https://forum.dynare.org/t/question-about-estimation/22614 "2023-06-18T08:53:52Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [13 July 2023 18:43 UTC](https://forum.dynare.org/t/question-about-estimation/22614/41 "2023-07-13T18:43:51Z")

</div>

Unfortunately, I don’t know the answer. Do you have access to a machine with a different graphics driver?

---

<div class="post-metadata">

**Author:** ![redbanana](https://forum.dynare.org/user_avatar/forum.dynare.org/redbanana/32/12120_2.png) [@redbanana](https://forum.dynare.org/u/redbanana)\
**Post date:** [18 July 2023 16:38 UTC](https://forum.dynare.org/t/question-about-estimation/22614/42 "2023-07-18T16:38:53Z")

</div>

I don’t. Do you obtain different result running the file (not freezing after first chart pops up)?

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [18 July 2023 17:36 UTC](https://forum.dynare.org/t/question-about-estimation/22614/43 "2023-07-18T17:36:39Z")

</div>

Yes, after switching to software OpenGL so as to not rely on the Intel Driver on my Laptop, I can run the code, at least from the command line of Octave.

---

<div class="post-metadata">

**Author:** ![redbanana](https://forum.dynare.org/user_avatar/forum.dynare.org/redbanana/32/12120_2.png) [@redbanana](https://forum.dynare.org/u/redbanana)\
**Post date:** [20 July 2023 15:58 UTC](https://forum.dynare.org/t/question-about-estimation/22614/44 "2023-07-20T15:58:56Z")

</div>

Do you mean I should open “Octave CLI”, rather than “Octave GUI” on the desktop? I have two icons for Octave…

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [20 July 2023 17:08 UTC](https://forum.dynare.org/t/question-about-estimation/22614/45 "2023-07-20T17:08:48Z")

</div>

Yes, I use the Command Line Interface (CLI). It tends to provide an error message before entering the infinite loop.

---

<div class="post-metadata">

**Author:** ![redbanana](https://forum.dynare.org/user_avatar/forum.dynare.org/redbanana/32/12120_2.png) [@redbanana](https://forum.dynare.org/u/redbanana)\
**Post date:** [22 July 2023 11:35 UTC](https://forum.dynare.org/t/question-about-estimation/22614/46 "2023-07-22T11:35:29Z")

</div>

Using CLI, I obtained two identical error messages:

GL2PS warning: Unknown token in buffer  
GL2PS warning: Unknown token in buffer

Otherwise, nothing changes (I.e. everything freezes after first figure pops up).

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [24 July 2023 12:43 UTC](https://forum.dynare.org/t/question-about-estimation/22614/47 "2023-07-24T12:43:18Z")

</div>

I got that exact error message with the Hardware OpenGL. It vanished with the software version as mentioned in

> **[GNU Octave - Bugs: bug #47337, \[Windows\] fltk toolkt: infinite... \[Savannah\]](https://savannah.gnu.org/bugs/index.php?47337)**
>
> Savannah is a central point for development, distribution
> and maintenance of free software, both GNU and non-GNU.

---

<div class="post-metadata">

**Author:** ![redbanana](https://forum.dynare.org/user_avatar/forum.dynare.org/redbanana/32/12120_2.png) [@redbanana](https://forum.dynare.org/u/redbanana)\
**Post date:** [25 July 2023 18:59 UTC](https://forum.dynare.org/t/question-about-estimation/22614/48 "2023-07-25T18:59:38Z")

</div>

I switched from system to software OpenGL, and then ran the code in CLI, but everything freezes after first figure pops up.

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [25 July 2023 22:14 UTC](https://forum.dynare.org/t/question-about-estimation/22614/49 "2023-07-25T22:14:43Z")

</div>

I am out of ideas. It seems to work for other people: [Octave not responding after running example1 - #3 by MicWal](https://forum.dynare.org/t/octave-not-responding-after-running-example1/22793/3)

---

<div class="post-metadata">

**Author:** ![redbanana](https://forum.dynare.org/user_avatar/forum.dynare.org/redbanana/32/12120_2.png) [@redbanana](https://forum.dynare.org/u/redbanana)\
**Post date:** [30 July 2023 16:38 UTC](https://forum.dynare.org/t/question-about-estimation/22614/50 "2023-07-30T16:38:02Z")

</div>

So the best thing would be trying this on another computer…

---

<div class="post-metadata">

**Author:** ![redbanana](https://forum.dynare.org/user_avatar/forum.dynare.org/redbanana/32/12120_2.png) [@redbanana](https://forum.dynare.org/u/redbanana)\
**Post date:** [25 September 2023 15:38 UTC](https://forum.dynare.org/t/question-about-estimation/22614/51 "2023-09-25T15:38:58Z")

</div>

Dear professor,

I contacted an IT department at my university in order to try to install Dynare there and run the program, since it doesn’t work on my computer, but it works with other people, but they asked me what are the requirements for computer in order to run the code. Do you have any suggestion, regarding RAM, processor, graphics card etc.?

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [26 September 2023 06:35 UTC](https://forum.dynare.org/t/question-about-estimation/22614/52 "2023-09-26T06:35:07Z")

</div>

Dynare should work on pretty much any recent computer. Take what you can get. Only avoid Intel Graphics drivers.

---

<div class="post-metadata">

**Author:** ![miikebross](https://forum.dynare.org/letter_avatar_proxy/v4/letter/m/b9e5f3/32.png) [@miikebross](https://forum.dynare.org/u/miikebross)\
**Post date:** [4 October 2023 11:21 UTC](https://forum.dynare.org/t/question-about-estimation/22614/53 "2023-10-04T11:21:30Z")

</div>

I tried setting OpenGL Switcher to software, but after running my Dynare model file, again everything freezes after first chart pops up.[.](https://waplus.win/)  
[.](https://projectfreetv.onl/)

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [4 October 2023 18:23 UTC](https://forum.dynare.org/t/question-about-estimation/22614/54 "2023-10-04T18:23:59Z")

</div>

Can you try changing the figure type using

```auto
graph_format = pdf

```

---

<div class="post-metadata">

**Author:** ![redbanana](https://forum.dynare.org/user_avatar/forum.dynare.org/redbanana/32/12120_2.png) [@redbanana](https://forum.dynare.org/u/redbanana)\
**Post date:** [6 October 2023 12:03 UTC](https://forum.dynare.org/t/question-about-estimation/22614/55 "2023-10-06T12:03:17Z")

</div>

> [@jpfeifer](#):
>
> ```auto
> graph_format = pdf
> 
> ```

Do you mean entering this line in Octave? If so, I obtain error message:

> > graph\_format = pdf  
> > error: ‘pdf’ undefined near line 1, column 16

The ‘pdf’ function belongs to the statistics package from Octave Forge  
which you have installed but not loaded. To load the package, run ‘pkg  
load statistics’ from the Octave prompt.

Please read [https://www.octave.org/missing.html](https://www.octave.org/missing.html) to learn how you can  
contribute missing functionality.

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [7 October 2023 07:46 UTC](https://forum.dynare.org/t/question-about-estimation/22614/56 "2023-10-07T07:46:58Z")

</div>

No, as an option to `stoch_simul`.

---

<div class="post-metadata">

**Author:** ![redbanana](https://forum.dynare.org/user_avatar/forum.dynare.org/redbanana/32/12120_2.png) [@redbanana](https://forum.dynare.org/u/redbanana)\
**Post date:** [7 October 2023 11:57 UTC](https://forum.dynare.org/t/question-about-estimation/22614/57 "2023-10-07T11:57:01Z")

</div>

I replaced stoch\_simul with stoch\_simul(graph\_format = pdf) but still everything freezes. I will try to find computer without Intel graphics driver.

---

<div class="post-metadata">

**Author:** ![redbanana](https://forum.dynare.org/user_avatar/forum.dynare.org/redbanana/32/12120_2.png) [@redbanana](https://forum.dynare.org/u/redbanana)\
**Post date:** [21 October 2023 10:56 UTC](https://forum.dynare.org/t/question-about-estimation/22614/58 "2023-10-21T10:56:13Z")

</div>

Hello, a professor at my university told me that Dynare works fine and that the problem is with graphics and that I should try something else, like GNU Plot. I don’t know the programming language of GNU Plot, so I wanted to ask if you think this may help (I still have Intel’s graphics driver) and if you could even tell me what code to enter in GNU Plot (Octave code doesn’t work) Thank you!

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [22 October 2023 07:25 UTC](https://forum.dynare.org/t/question-about-estimation/22614/59 "2023-10-22T07:25:45Z")

</div>

Can you try the Dynare unstable version with `stoch_simul(graph_format = fig)`. That will use the native Octave figure format.

---

<div class="post-metadata">

**Author:** ![redbanana](https://forum.dynare.org/user_avatar/forum.dynare.org/redbanana/32/12120_2.png) [@redbanana](https://forum.dynare.org/u/redbanana)\
**Post date:** [22 October 2023 10:33 UTC](https://forum.dynare.org/t/question-about-estimation/22614/60 "2023-10-22T10:33:39Z")

</div>

Now I obtain error message:

Starting Dynare (version 5.4).  
Calling Dynare with arguments: none  
Starting preprocessing of the model file …  
ERROR: Model.mod: line 93, cols 1-6: syntax error, unexpected VAROBS

error: Dynare: preprocessing failed  
error: called from  
dynare at line 266 column 5

Even though the file has 79 lines only, rather than 266. I attached the Model file.  
[Model.mod](https://forum.dynare.org/uploads/short-url/hpKjs0hz5BLI0YaYO9B2ptooSWY.mod) (2.5 KB)

[Previous page](https://forum.dynare.org/t/question-about-estimation/22614.md?page=2)

[Next page](https://forum.dynare.org/t/question-about-estimation/22614.md?page=4)
