A robust regression approach for spectrophotometric signal analysis