I am Li,a phd student in economics from PKU in China.I plan to estimated the DSGE model with financial frictions,and I attached the code and data in the appendix,if you run the mparun2.m,you can get the steady state and then estimate the model,but it displays : error using dseries/struct, could you please tell me how to fix it?Thank you!
Dear jpfeifer ,thank you for your reply.I use dynare 4.5.7,the code runs at the very beginning,but after the sampling procedure,which might take 10-15 minutes,it didn’t work,the full error messsage is:
error using dseries/struct.
too many input arguments .
error in posterior_sampler (line 84).
localVars = struct(‘TargetFun’, TargetFun, …
error in dynare_estimation_1 (line 448)
could you please tell me how to fix?Thank you!I really need your help.