Learn R Programming

reliaR (version 0.01)

pp.inv.genexp: Probability versus Probability (PP) plot for the Inverse Generalized Exponential(IGE) distribution

Description

The function pp.inv.genexp() produces a PP plot for the Inverse Generalized Exponential(IGE) based on their MLE or any other estimate. Also, a reference line can be sketched.

Usage

pp.inv.genexp(x, alpha.est, lambda.est, main = " ", line = 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
logical; if TRUE, a 45 degree line is sketched.
...
additional arguments to be passed to the underlying plot function.

Value

The function pp.inv.genexp() carries out a PP plot for the Inverse Generalized Exponential(IGE).

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

qq.inv.genexp for QQ 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

pp.inv.genexp(repairtimes, 1.097807, 1.206889, main = " ", line = TRUE)

Run the code above in your browser using DataLab