Closed mapi1 closed 2 years ago
Indeed! I am preparing a quick patch to solve the issue across models. Thank you for pointing it out
The case for DAR is a little different, since we need to lag the observations vector in the system matrices there are NaNs inside the system matrices. For now I am putting an error message stating that DAR does not accept missing values
Solved in #300
I was experimenting with missing values when I ran into LAPACKExceptions for some models (namely
LocalLinearTrend
andDAR
, which are the ones I tested). They seem to arise from the hessian being all NaN in thepinv
call caused by theinitial_hyperparameters!
method missing the[findall(!isnan, model.system.y)]
part. This is at least my guess forLocalLinearTrend
.MWE to reproduce: