Reagents and software
All the materials used in this research were of analytical grades purchased from Merck (Darmstadt, Germany). Modeling calculations were performed on a Core™i5 (Intel) laptop employing Matlab® software (Mathworks Inc., Natick, MA, USA) with the SMV Toolbox (Eigenvesctor Research Inc., version R2012a). Extra manipulations on spectra, referred in the following sections, were operated with our own codes written in Matlab® software package.
Reference treatment
A reference solution was prepared by diluting appropriate amounts of Fe++, as reference material of flame atomic absorption spectroscopy (AAS) (varian spectra. 20 PLUS, USA), to calibrate the instrument for iron assay. Output data was analyzed to set a calibration of elemental iron concentrations against absorbance.
Sample preparation
An aqueous solution of standard solutions of marketed ferrous sulphate drops and syrups were prepared. Accordingly, the concentration of iron in the samples was within the range of 0.5- 25 mg L-1. Linear correlation between iron concentration and AAS data were explored. Each company contains three different batches and all samples were studied tree times. The range of selected concentrations was chosen due to common concentrations in pharmaceutical assays.
Sample preparation for ATR-IR analysis
All samples prepared by the previous method were subjected to ATR-IR spectroscopy and the absorbance data were studied by ATR-IR spectrophotometer (Bruker, VERTEX 70, Germany). Spectra were recorded by a diamond crystal prism equipped cell between 4000 cm−1 and 400 cm-1 with nominal resolution 4 cm−1 and 128 co-added scans. Distilled water was consumed as reference for the background spectrum before collecting samples spectra (n = 3).
Chemometrics model proportion
ATR-IR data preprocessing
The ATR-IR spectra of iron samples in different concentrations were processed by standard normal variate method (SNV method) to improve the resolution of overlapping bands and reduce baseline offsets. Furthermore, by this method, AAS data are related to ATR-IR wavenumber intensity (
23,
24).
Data separation
ATR-IR outputs were divided into calibration (training) and validation (test) sets by applying Kennard-stone algorithm. This algorithm is based on Euclidean distance of data set that means; the first two objects are selected in a manner to have maximum distance from each other. The third object is selected in a way to have the farthest distance from the primarily selected set (
25-
27). 158 samples were used for setting a calibration set and 40 samples were used as test set.
Model selection and validation
The obtained calibration matrix from Kennard-stone algorithm was subjected to a m-file for performing PLS-LS-SVM calculations on data set. Gaussian-RBF was used as the function type in PLS-LS-SVM calculations. Predicted residual error sum of squares (PRESS) inside calibration set was used as an error metric to select the optimum number of latent variables for further validations. Model robustness was determined by leave-one-out (LOO) and leave-many-out (20%) (LMO) cross validation methods. These methods are based on excluding the samples from the data set and estimating the excluded values based on the obtained model (
26,
28). This process is done for all samples to show the stability of the model.
External validation analysis was employed to predict the responses in the test set based on calibration data set. PRESS and R2 of external validation show the predictive ability of the models against external data sets.
Predictability of the model
Response permutation test was operated to assure that the model was not obtained accidentally. For this reason, randomly ordered response vectors (Y) (AAS data) were assigned several times to establish calibration set. Obtaining high error values by scrambled vectors means that the presented model was not achieved randomly.