FUNCTION REFERENCE

statset

Options structure for the statistics fitting functions.

Options structure for the statistics fitting functions.

Syntax

options = statset()

Syntax

options = statset(Name, Value, ...)

Syntax

options = statset(oldopts, Name, Value, ...)

Returns a structure with the fields Display, MaxFunEvals, MaxIter, TolBnd, TolFun, TolX, DerivStep, FunValCheck, GradObj, Jacobian, OutputFcn, Robust, Tune and UseParallel; unset fields are []. Names are case-insensitive. fitdist, mle and the <family>fit functions read MaxIter, MaxFunEvals, TolX and TolFun.

Example

opts = statset('MaxIter', 500, 'TolX', 1e-8)

Differences from MATLAB: statset('fitfunction') default sets are not supported; only the listed fields are known.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.