At line
https://github.com/stan-dev/loo/blame/426c2d8cabd532170fa5fb2ecf78c44869ee0365/R/loo_subsample.R#L1180
there is - but the eq (9) has +. Which one is correct?
Also, I have an example which gives negative hat_v_y with either . or + in that place, so it would be good to check the whole equation