# Problem with estimation command

**URL:** <https://forum.dynare.org/t/problem-with-estimation-command/1392>\
**Category:** Dynare help (legacy posts)\
**Created:** [19 March 2010 05:34 UTC](https://forum.dynare.org/t/problem-with-estimation-command/1392 "2010-03-19T05:34:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pb2415](https://forum.dynare.org/letter_avatar_proxy/v4/letter/p/6f9a4e/32.png) [@pb2415](https://forum.dynare.org/u/pb2415)\
**Post date:** [19 March 2010 05:34 UTC](https://forum.dynare.org/t/problem-with-estimation-command/1392/1 "2010-03-19T05:34:15Z")

</div>

Hi I run a bayes estimation. It runs fine in my office comp. In my hmoe computer where I have a newer matlab version 7.9. It gives the following error error message… If I increase the std error to .1 for the beta prior this problem disappears but then I get nonsense estimates.  
Any clue?  
-PB  
??? Attempted to access k(1); index out of bounds because numel(k)=0.

Error in ==\> draw\_prior\_density at 93  
binf = abscissa(k(1));

Error in ==\> plot\_priors at 52  
[x,f,abscissa,dens,binf,bsup] = draw\_prior\_density(i,bayestopt\_);

Error in ==\> dynare\_estimation\_1 at 87  
plot\_priors(bayestopt\_,M\_,options\_)

Error in ==\> dynare\_estimation at 62  
dynare\_estimation\_1(var\_list,varargin{:});

Error in ==\> ap17\_adj\_ret\_est at 225  
dynare\_estimation(var\_list\_);

Error in ==\> dynare at 132  
evalin(‘base’,fname) ;
