Principal components regression in practice. An evaluation of EMD battery activity from X-ray diffraction patterns