Ils esterror
Jump to navigation
Jump to search
Purpose
Estimation error for ILS models.
Synopsis
- model = ils_esterror(model);
- pred = ils_esterror(model,pred);
Inputs
- model = a standard model structure (see PLS, PCR, MLR).
Optional Inputs
- pred = a standard model prediction or validation structure [e.g. outputs (pred) or (valid) from PLS, PCR, or MLR].
Outputs
- if I/O == model = ils_esterror(model); the input (model) is output, with the field model.detail.esterror.dy populated with the estimation error.
- if I/O == pred = ils_esterror(model,pred); the input (pred) is output, with the field pred.detail.esterror.dy populated with the estimation error.
Options
options = a structure array with the following fields:
- plots: [ {'none'} | 'final' ] governs plotting of results, and
- order: positive integer for polynomial order {default = 1}.