calculate linearity uncertainty select regression