FUNCTION REFERENCE
paramci
Confidence intervals for the parameters of a fitted distribution object.
Confidence intervals for the parameters of a fitted distribution object.
Syntax
ci = paramci(pd)Syntax
ci = paramci(pd, 'Alpha', alpha)Syntax
ci = paramci(pd, 'Parameter', name)ci is 2-by-k: row 1 holds the lower and row 2 the upper limits of the 100(1-alpha)% intervals (alpha default 0.05). Normal and Lognormal use the exact t and chi-square intervals of normfit, Exponential the exact chi-square interval with 2r degrees of freedom (r uncensored observations), Poisson the exact Garwood interval, Binomial the Clopper-Pearson interval and Rayleigh the exact chi-square interval. Other parameters get Wald intervals from ParameterCovariance: on the log scale for positive parameters, the logit scale for probabilities and the natural scale for locations and the GEV/GP shape k. Fixed parameters give a zero-width interval. 'Parameter' takes a name, a cell array of names or indices. pd.paramci(...) also works.
Example
pd = fitdist([4.1 5.3 2.2 6.0 4.8 5.1]', 'Normal'); ci = paramci(pd)Example
pd = fitdist([1.2 0.4 2.2 0.9 3.1]', 'Gamma'); paramci(pd, 'Alpha', 0.1, 'Parameter', 'a')Differences from MATLAB: objects from makedist return zero-width intervals; Kernel objects have no parameters and raise an error. Interval methods are as listed (censored Normal, Lognormal and Rayleigh fits use Wald intervals).
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.