Products & Services Solutions Academia Support User Community Company

Learn more about Statistics Toolbox   

wblcdf - Weibull cumulative distribution function

Syntax

P = wblcdf(X,A,B)
[P,PLO,PUP] = wblcdf(X,A,B,PCOV,alpha)

Description

P = wblcdf(X,A,B) computes the cdf of the Weibull distribution with scale parameter A and shape parameter B, at each of the values in X. X, A, and B can be vectors, matrices, or multidimensional arrays that all have the same size. A scalar input is expanded to a constant array of the same size as the other inputs. The default values for A and B are both 1. The parameters A and B must be positive.

[P,PLO,PUP] = wblcdf(X,A,B,PCOV,alpha) returns confidence bounds for P when the input parameters A and B are estimates. PCOV is the 2-by-2 covariance matrix of the estimated parameters. alpha has a default value of 0.05, and specifies 100(1 - alpha)% confidence bounds. PLO and PUP are arrays of the same size as P containing the lower and upper confidence bounds.

The function wblcdf computes confidence bounds for P using a normal approximation to the distribution of the estimate

and then transforms those bounds to the scale of the output P. The computed bounds give approximately the desired confidence level when you estimate mu, sigma, and PCOV from large samples, but in smaller samples other methods of computing the confidence bounds might be more accurate.

The Weibull cdf is

Examples

What is the probability that a value from a Weibull distribution with parameters a = 0.15 and b = 0.8 is less than 0.5?

probability = wblcdf(0.5, 0.15, 0.8)
probability =
  0.9272

How sensitive is this result to small changes in the parameters?

[A, B] = meshgrid(0.1:0.05:0.2,0.2:0.05:0.3);
probability = wblcdf(0.5, A, B)
probability =
  0.7484  0.7198  0.6991
  0.7758  0.7411  0.7156
  0.8022  0.7619  0.7319

See Also

cdf, wblpdf, wblinv, wblstat, wblfit, wbllike, wblrnd

Weibull Distribution

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS