Segmented regression analysis