generate Weibull plots
WeibullPlot(X, options, plotoptions)
(optional) equation(s) of the form option=value where option is one of scale, shape, sorted, reference, showprobabilities, color or legend; specify options for generating the Weibull plot
options to be passed to the plots[display] command
A Weibull Plot is used to verify whether a particular data set follows the Weibull distribution and provides additional information about the estimated shape and scale parameters. It plots the Weibull cumulative probability on the vertical axis and data points on the horizontal axis where the axes are ln⁡−ln⁡1−F⁡x and ln⁡x respectively. Here F⁡x denotes the estimated Weibull cumulative distribution function. The change of variables linearizes the cumulative distribution function and therefore if the data follows a Weibull distribution then a straight line is expected on the Weibull Plot. By default, a reference line is additionally drawn, which indicates where points following the distribution exactly would lie. The plot also contains a horizontal line at probability 0.632 and a vertical line where the horizontal line intersects the reference line. In general the scale parameter represents the 0.632-quantile of the Weibull distribution regardless of the value of shape parameter since F⁡scale=1−ⅇ−1≈0.632 . Therefore, the vertical line indicates the value of the scale parameter.
The first parameter, X, corresponds to the data set to be analysed.
The options argument can contain one or more of the options shown below. All unrecognized options will be passed to the plots[display] command. See plot[options] for details.
scale=deduce or realcons
The scale parameter for the Weibull distribution. If scale is set to deduce, the scale parameter will be estimated from the data sample X. The default value is deduce. See Weibull distribution for more details.
shape=deduce or realcons
The shape parameter for the Weibull distribution. If shape is set to deduce, the shape parameter will be estimated from the data sample X. See Weibull distribution for more details. The default value is deduce.
If sorted is set to true, a sorted (ascending) copy of data is used. Otherwise, if false the original data is used. The default value is true.
If reference is set to true, a reference line is drawn, which indicates where points following the distribution exactly would lie. The default value is true.
If showprobabilities is true, then the vertical axis is labelled with the appropriate probability values. Otherwise the specially scaled probability values are used for labeling. The default value is true.
color=name or list
This option specifies colors for the points and for the reference line. When a list of colors is given, the set of points and the reference line will be colored with the corresponding colors in the list.
legend=s or list
This option specifies legends for the points and for the reference line. When a list of values is given, the set of points and the reference line will be assigned legend entries with the corresponding values in the list. For more information on how to specify s, see plot/typesetting.
Get a random sample of a Weibull distribution
X ≔ RandomVariable⁡Weibull⁡1,0.6:
A ≔ Sample⁡X,100:
Estimate the parameters.
Using the original parameters.
Plot it against a Weibull distribution with different shape and scale parameters.
Compare sample generated from a different distribution to the Weibull distribution
Y ≔ RandomVariable⁡Uniform⁡1,3:
B ≔ Sample⁡Y,300:
The Statistics[WeibullPlot] command was introduced in Maple 2017.
For more information on Maple 2017 changes, see Updates in Maple 2017.
Download Help Document
What kind of issue would you like to report? (Optional)