FUNCTION REFERENCE
confint
Confidence bounds for the coefficients of a fit.
Confidence bounds for the coefficients of a fit.
Syntax
ci = confint(fitobject)Syntax
ci = confint(fitobject, level)Returns a 2-by-n array: lower bounds in the first row and upper bounds in the second, b +- t*sqrt(diag(inv(J'*J))*sse/dfe) with the t quantile at (1+level)/2 and dfe error degrees of freedom (level defaults to 0.95). Bounds are NaN without error degrees of freedom and for interpolants.
Example
f = fit((1:6)', [1.1 1.9 3.2 3.9 5.1 6.0]', 'poly1'); confint(f)Differences from MATLAB: coefficients held at a bound are treated like free ones.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.