Learn R Programming

reliaR (version 0.01)

qq.flex.weibull: Quantile versus quantile (QQ) plot for the flexible Weibull(FW) distribution

Description

The function qq.flex.weibull() produces a QQ plot for the flexible Weibull(FW) based on their MLE or any other estimate. Also, a line going through the first and the third quartile can be sketched.

Usage

qq.flex.weibull(x, alpha.est, beta.est, main = " ", line.qt = FALSE, ...)

Arguments

x
vector of observations
alpha.est
estimate of the parameter alpha
beta.est
estimate of the parameter beta
main
the title for the plot
line.qt
logical; if TRUE, a line going by the first and third quartile is sketched.
...
additional arguments to be passed to the underlying plot function.

Value

The function qq.flex.weibull() carries out a QQ plot for the flexible Weibull(FW).

References

Bebbington, M., Lai, C.D. and Zitikis, R. (2007). A flexible Weibull extension, Reliability Engineering and System Safety, 92, 719-726.

See Also

pp.flex.weibull for PP plot and ks.flex.weibull function;

Examples

Run this code
## Load data sets
data(repairtimes)
## Maximum Likelihood(ML) Estimates of alpha & beta for the data(repairtimes)
## Estimates of alpha & beta using 'maxLik' package
## alpha.est = 0.07077507, beta.est = 1.13181535

qq.flex.weibull(repairtimes, 0.07077507, 1.13181535, main = " ", line.qt = FALSE)

Run the code above in your browser using DataLab