AR1 with heteroskedastic filter

Good afternoon,

Please, I am trying to run calib_smoother in a simple AR1 with heteroskedastick_filter. I get the following error message:

“Unable to perform assignment because the size of the left side is 1-by-1 and the size of the right side is 1-by-1-by-231.”

The error message only appears when using heteroskedastick_filter.

I noted that a similar error message has appeared before in the Forum. Nonetheless, I think those posts refer to issues different from the one I am trying to deal with here, wich is heteroskedasticity.

I attach the files. I would very much appreciate any hint.

Best regards,


Model.mod (460 Bytes)
Run_Model.m (281 Bytes)
Data_Input.xlsx (15.1 KB)

Dear Javier,
thanks for reporting this. A fix is at 🐛 OccBin: fix crashes due to leading singleton dimensions being ignored by ndim (!2288) · Merge requests · Dynare / dynare · GitLab and will be part of Dynare 6.1.

Dear Johaness,
Thank you very much.
Best regards,