Variance estimation from integrated likelihoods (VEIL)