calculate linearity uncertainty select y values