I am trying to estimate a fiscal semi-structural model with an occasional binding constraint on public expenditure that depends on the primary balance using the calib_smoother and I get the following error:
Unable to perform assignment because the left and right sides have a different number of elements.
On the other hand, when I try to use the estimation command I get the following error:
Piecewise linear Kalman filter: There was a problem in obtaining the likelihood.
I’d really appreciate if any of you could help me figure this out.