Update variance reduction computation to account for impose_zero_start and duration
Currently, the VR computation takes into account the whole data length. This is not accurate for when a zero imposition (e.g., impose_zero_start
or duration
) is applied, since this zeros the predicted data but not the observed data, resulting in artificially lower VR. The solution is likely to apply the same zero impositions to the observed data being fed into the VR computation.