Multivariate analysis for scanning tunneling spectroscopy data