Learn R Programming

reliaR (version 0.01)

qq.moee: Quantile versus quantile (QQ) plot for the Marshall-Olkin Extended Exponential(MOEE) distribution

Description

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

Usage

qq.moee(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.moee() carries out a QQ plot for the MOEE.

References

Marshall, A. W., Olkin, I. (1997). A new method for adding a parameter to a family of distributions with application to the exponential 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.moee for PP plot and ks.moee function

Examples

Run this code
## Load dataset
data(stress)
## Estimates of alpha & lambda using 'maxLik' package
## alpha.est = 75.67982, lambda.est = 1.67576

qq.moee(stress, 75.67982, 1.67576, main = '',line.qt = FALSE)

Run the code above in your browser using DataLab