Stdsslct
Jump to navigation
Jump to search
Purpose
Selects subsets of spectra for use in instrument standardization based on sample leverage.
Synopsis
- [specsub,specnos] = stdsslct(spec,nosamps,rinv)
Description
STDSSLCT selects samples for use in instrument standardization transform development based on their multivariate leverage. The inputs are the spectra to be used in generating the transform spec, and the number of samples to be selected for the subset nosamps. The optional input rinv uses the pseudo inverse from a calibration regression model to determine sample leverages.
The outputs are the subset of spectra selected specsub, and the sample numbers (indices) of the selected spectra specnos.