Statistics Toolbox    
weibfit

Parameter estimates and confidence intervals for Weibull data

Syntax

Description

phat = weibfit(x) returns the maximum likelihood estimates, phat, of the parameters of the Weibull distribution given the values in vector x, which must be positive. phat is a two-element row vector: phat(1) estimates the Weibull parameter a, and phat(2) estimates the Weibull parameter b in the pdf

[phat,pci] = weibfit(x) also returns 95% confidence intervals in the two-row matrix pci. The first row contains the lower bound of the confidence interval, and the second row contains the upper bound. The columns of pci correspond to the columns of phat.

[phat,pci] = weibfit(x,alpha) allows control over the confidence interval returned, 100(1-alpha)%.

Example

See Also

betafit, binofit, expfit, gamfit, normfit, poissfit, unifit, weibcdf, weibinv, weiblike, weibpdf, weibplot, weibrnd, weibstat


  weibcdf weibinv