# Julia Estimation

**URL:** <https://forum.dynare.org/t/julia-estimation/26535>\
**Category:** Dynare Julia\
**Created:** [6 October 2024 17:03 UTC](https://forum.dynare.org/t/julia-estimation/26535 "2024-10-06T17:03:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JMATOVU](https://forum.dynare.org/letter_avatar_proxy/v4/letter/j/838e76/32.png) [@JMATOVU](https://forum.dynare.org/u/JMATOVU)\
**Post date:** [6 October 2024 17:03 UTC](https://forum.dynare.org/t/julia-estimation/26535/1 "2024-10-06T17:03:34Z")

</div>

I am trying to run the files test2 and test4 unde  
[test4.mod](https://forum.dynare.org/uploads/short-url/eGHUB5MIasCIAnKVeM842rOWlrD.mod) (2.3 KB)  
[dsge.csv](https://forum.dynare.org/uploads/short-url/x1c1sCFLGopj0Lx6K9RLyC9hXtN.csv) (3.1 KB)  
r \test\models\estimation\ folder but cant get them to work. Attached are the files.

They bring this error message: ErrorException(“Unrecognized statement native first\_chain = rwmh\_compute!(datafile=‘dsge1\_data.csv’, mcmc\_replic=100000, mcmc\_jscale=0.02, mcmc\_chains=1, transformed\_parameters = true, back\_transformation = true);”).

---

<div class="post-metadata">

**Author:** ![MichelJuillard](https://forum.dynare.org/user_avatar/forum.dynare.org/micheljuillard/32/5318_2.png) [@MichelJuillard](https://forum.dynare.org/u/MichelJuillard)\
**Post date:** [7 October 2024 09:20 UTC](https://forum.dynare.org/t/julia-estimation/26535/2 "2024-10-07T09:20:16Z")

</div>

1. There is a difference between strings in Dynare commands that are delimited with simple quotes and string in DynrareJulia functions that are delimited with double quotes.  
Furthermore, the filename isn’t the correct one.  
You should write

```auto
rwmh_compute!(datafile="dsge.csv", mcmc_replic=100000, mcmc_jscale=0.001, mcmc_chains=1, transformed_parameters = false);

```

1. When you encounter an error message that you don’t understand, you may try the command line option “stoponerror”:

```auto
context = @dynare "test4" "stoponerror";

```

1. Very recent updates in packages needed by Dynare make problems for estimation. I will fix them tomorrow or Wednesday
