consistency between xi, x, yi, and y