Stdsslct: Difference between revisions
Jump to navigation
Jump to search
imported>Jeremy (Importing text file) |
imported>Jeremy (Importing text file) |
||
Line 1: | Line 1: | ||
===Purpose=== | ===Purpose=== | ||
Selects subsets of spectra for use in instrument standardization based on sample leverage. | Selects subsets of spectra for use in instrument standardization based on sample leverage. | ||
===Synopsis=== | ===Synopsis=== | ||
:[specsub,specnos] = stdsslct(spec,nosamps,''rinv'') | :[specsub,specnos] = stdsslct(spec,nosamps,''rinv'') | ||
===Description=== | ===Description=== | ||
STDSSLCT selects samples for use in instrument standardization transform development based on their multivariate leverage. | 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 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. | The outputs are the subset of spectra selected specsub, and the sample numbers (indices) of the selected spectra specnos. | ||
===See Also=== | ===See Also=== | ||
[[distslct]], [[doptimal]], [[stdgen]], [[stdize]], [[rinverse]] | [[distslct]], [[doptimal]], [[stdgen]], [[stdize]], [[rinverse]] |
Revision as of 14:27, 3 September 2008
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.