# Problems about Bayesian and MCMC estimation

**URL:** https://forum.dynare.org/t/problems-about-bayesian-and-mcmc-estimation/5809
**Category:** Dynare help (legacy posts)
**Created:** [9 October 2016 16:12 UTC](https://forum.dynare.org/t/problems-about-bayesian-and-mcmc-estimation/5809 "2016-10-09T16:12:26Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![wyl](https://forum.dynare.org/letter_avatar_proxy/v4/letter/w/2acd7d/32.png) [@wyl](https://forum.dynare.org/u/wyl)
#### Post date: [14 October 2016 21:42 UTC](https://forum.dynare.org/t/problems-about-bayesian-and-mcmc-estimation/5809/7 "2016-10-14T21:42:24Z")

</div>

Thanks a lot, I have fixed the parameters. And yes, I have tried the examples. For fs2000 and fs2000a, I can get estimates and figures, but I got error messages for example1 and example2 in example file.  
\*for example1, messagess are:

MODEL SUMMARY

Number of variables: 6  
Number of stochastic shocks: 2  
Number of state variables: 3  
Number of jumpers: 3  
Number of static variables: 1  
Error using table (line 281)  
Wrong number of arguments.

Error in stoch\_simul (line 71)  
table(my\_title,headers,labels,Sigma\_e\_,lh,10,6);

Error in example1 (line 110)  
info=stoch\_simul(var\_list\_);

Error in dynare (line 26)  
evalin(‘base’,fname) ;

Caused by:  
You may have intended to create a table with one row from one or more variables that are  
character strings. Consider using cell arrays of strings rather than character arrays.  
Alternatively, create a cell array with one row, and convert that to a table using CELL2TABLE.

\*For example2, error messages are:

Error using dynare (line 19)  
DYNARE: could not open example.mod

\*And also I found some examples in the forum, in which those users said they are able to get results or figures. But I can’t run the mod files they shared. for example when I ran the mod (I also attached it)from [Help with declaring model local variables](https://forum.dynare.org/t/help-with-declaring-model-local-variables/4395/1) , again I got the same error:

Error using dynare (line 19)  
syntax error at line 261

\*But that poster said he was able to get estimates. So maybe it arises from the dynare version? My dynare file name is dynare\_v3.  
[dis3.zip](https://forum.dynare.org/uploads/default/original/2X/5/5a72b6e519c2ce95781b0bd98f6d147f0493df8d.zip) (563 KB)

---

_[View the full topic](https://forum.dynare.org/t/problems-about-bayesian-and-mcmc-estimation/5809)._
