Hi!
I have a time series model which uses scan, and I would like to do leave-one-out cross validation with it, first by running arviz’s loo-function and then by refitting the model for the few observations where the pareto-k values are too high. (In the future I’d like to do LFO-CV too)
For LOO-CV I have to compute the log-likelihood of the left-out datapoint y_i, given the model fitted with y_{-i}. And since order matters for my model, I considered as an obvious idea that I’d fit the model with y where y_i is set to None. But it isn’t possible to have None as an element in a numpy array, so this doesn’t work.
Any idea what else I can do? I think there should probably be a really easy and obvious solution that I have somehow missed.
