Learn R Programming

reliaR (version 0.01)

qq.inv.genexp: Quantile versus quantile (QQ) plot for the Inverse Generalized Exponential(IGE) distribution

Description

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

Usage

qq.inv.genexp(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.inv.genexp() carries out a QQ plot for the Exponetial Extension.

References

Gupta, R. D. and Kundu, D. (2001). Exponentiated exponential family; an alternative to gamma and Weibull distributions, Biometrical Journal, 43(1), 117-130.

Gupta, R.D. and Kundu, D., (2007). Generalized exponential distribution: Existing results and some recent development, Journal of Statistical Planning and Inference. 137, 3537-3547.

See Also

pp.inv.genexp for PP plot and ks.inv.genexp function;

Examples

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

qq.inv.genexp(repairtimes, 1.097807, 1.206889, main = " ", line.qt = FALSE)

Run the code above in your browser using DataLab