- You cannot have more observables than shocks. This would cause stochastic singularity. See Issue with the Kalman filter - #2 by jpfeifer
- Without the full codes, it is impossible to tell why the Hessian is not positive definite. Often the
mode_check
-plots provide an indication. - The problem with the shock size suggests a wrong data-scaling.