Stdsslct: Difference between revisions
Jump to navigation
Jump to search
imported>Jeremy (Importing text file) |
imported>Jeremy No edit summary |
||
(One intermediate revision by the same user not shown) | |||
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 outputs are the subset of spectra selected specsub, and the sample numbers (indices) of the selected spectra specnos. | The inputs are the spectra to be used in generating the transform <tt>spec</tt>, and the number of samples to be selected for the subset <tt>nosamps</tt>. The optional input ''<tt>rinv</tt>'' uses the pseudo inverse from a calibration regression model to determine sample leverages. | ||
The outputs are the subset of spectra selected <tt>specsub</tt>, and the sample numbers (indices) of the selected spectra <tt>specnos</tt>. | |||
===See Also=== | ===See Also=== | ||
[[distslct]], [[doptimal]], [[stdgen]], [[stdize]], [[rinverse]] | [[distslct]], [[doptimal]], [[stdgen]], [[stdize]], [[rinverse]] |
Latest revision as of 12:49, 9 October 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.