Chemometrics for analytical chemistry