Learn R Programming

reliaR (version 0.01)

qq.moew: Quantile versus quantile (QQ) plot for the Marshall-Olkin Extended Weibull(MOEW) distribution

Description

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

Usage

qq.moew(x, alpha.est, lambda.est, main = " ", line.qt = FALSE, ...)

Arguments

x
vector of observations
alpha.est
estimate of the parameter alpha
lambda.est
estimate of the parameter lambda
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.moew( ) carries out a QQ plot for the MOEW.

References

Marshall, A. W., Olkin, I. (1997). A new method for adding a parameter to a family of distributions with application to the Weibull and Weibull families. Biometrika,84(3):641-652.

Marshall, A. W., Olkin, I.(2007). Life Distributions: Structure of Nonparametric, Semiparametric, and Parametric Families. Springer, New York.

See Also

pp.moew for PP plot and ks.moew function;

Examples

Run this code
## Load data sets
data(sys2)
## Maximum Likelihood(ML) Estimates of alpha & lambda for the data(sys2)
## alpha.est = 0.3035937,  lambda.est = 279.2177754

qq.moew(sys2, 0.3035937, 279.2177754, main = " ", line.qt = FALSE)

Run the code above in your browser using DataLab