hello everyone, can someone please check my steady state file to tell me what i am missing, because it runs into an error. attached is the main mod file and stead file. Thank you!

dsge11.mod (4.3 KB)

Your basic structure is wrong. Use

Thank you it worked. However, I was unable to find the steady state. Please can you advise how I can reduce the residuals of the static equations to obtain a solution or fix the model itself so that I can obtain a solution? like what my model may be missing.

Residuals of the static equations:
Equation number 1: 1 : 0.120466
Equation number 2: 2 : 0.099780
Equation number 3: 3 : 2.665801
Equation number 4: 4 : -30.291978
Equation number 5: W : 5.122013
Equation number 6: 6 : 0.916862
Equation number 7: 7 : 0.066648
Equation number 8: L : 1.297390
Equation number 9: q : 5.822523
Equation number 10: R : 8.318732
Equation number 11: 11 : -1947.026591
Equation number 12: Y : 3.312748
Equation number 13: K : -110.072376
Equation number 14: 14 : 60.142211
Equation number 15: 15 : 0.319329
Equation number 16: 16 : 0.021557
Equation number 17: d : -4.239330
Equation number 18: 18 : 8.291523
Equation number 19: 19 : -10.209679
Equation number 20: m : -4.481926
Equation number 21: t : -23.717288
Equation number 22: g : -6.659118
Equation number 23: 23 : 8.302002
Equation number 24: 24 : 0.000000
Equation number 25: 25 : -0.000001

Error using print_info
Impossible to find the steady state (the sum of squared residuals of the static equations is
3808600.0614). Either the model doesn’t have a steady state, there are an infinity of steady states, or
the guess values are too far from the solution
print_info(info,options_.noprint, options_);
Error in dsge11.driver (line 765)
Error in dynare (line 310)
evalin(‘base’,[fname ‘.driver’]);

Focus on the equations with the biggest residuals. That being said, it’s strange that your analytical steady state is pretty much inconsistent with every single equation. That suggests a conceptual mistake.