Detecting shifts in location and scale in regression