Hello,
I just want to replicate a basic RBC model with indivisible labor(Hansen, 1985).
However, I had an error message:
dynare rbc
Configuring Dynare …
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
[mex] Local state space iteration (second order).
[mex] Bytecode evaluation.
[mex] k-order perturbation solver.
[mex] k-order solution simulation.
[mex] Quasi Monte-Carlo sequence (Sobol).
[mex] Markov Switching SBVAR.
Starting Dynare (version 4.3.3).
Starting preprocessing of the model file …
Found 6 equation(s).
Evaluating expressions…done
Computing static model derivatives:
- order 1
Computing dynamic model derivatives: - order 1
Processing outputs …done
Preprocessing completed.
Starting MATLAB/Octave computing.
Error: File: rbc.m Line: 90 Column: 1
Unexpected MATLAB operator.
Error in dynare (line 120)
evalin(‘base’,fname) ;
Can you guys explain to me why I got an error?
FYI, the utility function is U(c,n)=log(c)-Bn, gamma is a growth rate, and lambda is a Lagrangian multiplier.
Thanks.
RBC.mod (556 Bytes)