FUNCTION REFERENCE
predint
Prediction bounds of a fit at new points.
Prediction bounds of a fit at new points.
Syntax
ci = predint(fitobject, x)Syntax
[ci, y] = predint(fitobject, x, level, intopt, simopt)Returns an n-by-2 array of lower and upper bounds and the predicted values y. intopt 'observation' (default) bounds a new observation, 'functional' the fitted curve; simopt 'off' (default) gives non-simultaneous bounds from the t quantile, 'on' simultaneous bounds sqrt(m*F(level; m, dfe)) with m the number of coefficients (plus one for observations). Surface fits take x as [x y].
Example
f = fit((1:6)', [1.1 1.9 3.2 3.9 5.1 6.0]', 'poly1'); [ci, y] = predint(f, [2.5; 7])These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.