Statistical analysis of NIR data: data pretreatment | Synapse