Optimization Error
Posted: Mon Mar 24, 2014 8:17 pm
I am running an initial estimation of my model with 10,000 iterations of the MH algorithm and 2 MCMC chains and am getting the following error:
Any insight into what the problem is here/where the problem lies? I am attaching my mod and data file. Note that the model is written in log-linear form already.
Thank you!
- Code: Select all
Undefined function 'Thesis_static' for input arguments of type 'double'.
Error in evaluate_steady_state (line 73)
[fvec,jacob] = fh_static(ys_init,exo_ss, ...
Error in resol (line 104)
[dr.ys,M.params,info] = evaluate_steady_state(oo.steady_state,M,options,oo,0);
Error in dynare_resolve (line 69)
[dr,info,Model,DynareOptions,DynareResults] =
resol(0,Model,DynareOptions,DynareResults);
Error in dsge_likelihood (line 256)
[T,R,SteadyState,info,Model,DynareOptions,DynareResults] =
dynare_resolve(Model,DynareOptions,DynareResults,'restrict');
Error in gmhmaxlik (line 249)
logpo2 = - feval(ObjFun,proposal,varargin{:});
Error in dynare_estimation_1 (line 437)
[xparam1,PostVar,Scale,PostMean] = ...
Error in dynare_estimation (line 89)
dynare_estimation_1(var_list,dname);
Error in Thesis (line 390)
Error in dynare (line 180)
evalin('base',fname) ;
Any insight into what the problem is here/where the problem lies? I am attaching my mod and data file. Note that the model is written in log-linear form already.
Thank you!