Learn R Programming

reliaR (version 0.01)

pp.moee: Probability versus Probability (PP) plot for the Marshall-Olkin Extended Exponential(MOEE) distribution

Description

The function pp.moee() produces a PP plot for the MOEE based on their MLE or any other estimate. Also, a reference line can be sketched.

Usage

pp.moee(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.moee() carries out a PP 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

qq.moee for QQ plot and ks.moee functions

Examples

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

pp.moee(stress, 75.67982, 1.67576, main = '', line = TRUE)

Run the code above in your browser using DataLab